/* ==========================================================================
   The Therapy Works Counselling — Grove design system
   Locked direction: Grove v2 · EB Garamond headings · Mulish body · Tailored corners
   Shared across all pages.
   ========================================================================== */

:root {
  --cream: #F4EFE7;
  --cream-deep: #EAE2D5;
  --white: #FBFAF7;
  --sage: #7B8D79;
  --sage-soft: #9FAE99;
  --sage-deep: #46563F;
  --sage-tint: #E4E8DD;
  --terracotta: #C79A83;
  --terracotta-deep: #A9755B;
  --terracotta-tint: #EFDFD3;
  --charcoal: #353330;
  --charcoal-soft: #5F5B53;
  --line: #DED5C6;
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Mulish', system-ui, sans-serif;
  /* Corner / shape language — "Tailored" preset locked in during design */
  --r-btn: 8px;
  --r-tag: 8px;
  --r-band: 16px;
  --r-img: 12px;
  --r-blob: 16px;
  --r-chip: 6px;
  --r-icon: 10px;
  --band-inset: 0px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--charcoal); background: var(--cream); line-height: 1.7; font-size: 18px; font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--sage-deep); line-height: 1.08; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 44px; }

:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--sage-deep); color: var(--cream); padding: 12px 20px; border-radius: 0 0 var(--r-btn) 0; font-weight: 700; }
.skip-link:focus { left: 0; }

.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.26em; font-size: 12px; font-weight: 700; color: var(--terracotta-deep); }

.btn { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--sans); font-weight: 700; font-size: 15.5px; padding: 15px 32px; border-radius: var(--r-btn); cursor: pointer; transition: all 0.25s ease; border: 1.5px solid transparent; letter-spacing: 0.02em; }
.btn-primary { background: var(--terracotta-deep); color: var(--cream); }
.btn-primary:hover { background: #95644c; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(169,117,91,0.3); }
.btn-ghost { background: transparent; color: var(--sage-deep); border-color: var(--sage); }
.btn-ghost:hover { background: var(--sage-tint); }
.btn-light { background: var(--cream); color: var(--sage-deep); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }
.btn-arrow::after { content: "→"; transition: transform 0.25s; }
.btn-arrow:hover::after { transform: translateX(4px); }
.link-arrow { font-weight: 700; color: var(--terracotta-deep); font-size: 15.5px; display: inline-flex; align-items: center; gap: 0.45em; transition: gap 0.2s; }
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 0.7em; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(244,239,231,0.9); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo { display: flex; align-items: center; gap: 13px; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo-text .l1 { font-family: var(--serif); font-size: 23px; color: var(--sage-deep); font-weight: 600; }
.logo-text .l2 { font-family: var(--sans); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terracotta-deep); font-weight: 700; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--charcoal-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--terracotta-deep); }
.menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; }

/* Mobile nav panel */
.mobile-nav { display: none; background: var(--cream); border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 18px 44px 26px; display: grid; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; font-weight: 600; color: var(--charcoal-soft); border-bottom: 1px solid var(--line); }
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav a:hover { color: var(--terracotta-deep); }
.mobile-nav .mobile-nav-cta { padding-top: 16px; }
.mobile-nav .mobile-nav-cta .btn { display: inline-flex; width: 100%; justify-content: center; padding: 15px 32px; color: var(--cream); border-bottom: none; }

/* Placeholder imagery (used on pages awaiting photography) */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #b9c6b1 0%, #92a489 42%, #7b8d79 62%, #c79a83 100%); isolation: isolate; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 70% at 30% 120%, rgba(244,239,231,0.5), transparent 55%), repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 30px); mix-blend-mode: soft-light; }
.ph::after { content: attr(data-label); position: absolute; left: 18px; bottom: 16px; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.95); font-weight: 700; background: rgba(70,86,63,0.34); padding: 5px 12px; border-radius: var(--r-chip); backdrop-filter: blur(3px); }
.ph.photo { background-size: cover; background-position: center; }
.ph.photo::before, .ph.photo::after { display: none; }

/* Hero — immersive full-bleed */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg .ph { width: 100%; height: 100%; border-radius: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(70,86,63,0.82) 0%, rgba(70,86,63,0.55) 42%, rgba(70,86,63,0.12) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; max-width: 680px; padding: 70px 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { color: var(--white); font-size: clamp(44px, 6vw, 80px); font-weight: 500; margin-bottom: 26px; line-height: 1.12; }
.hero h1 em { font-style: italic; color: #e9cdbb; }
.hero-sub { color: rgba(251,250,247,0.92); font-size: 21px; max-width: 34ch; margin-bottom: 22px; font-weight: 400; }
.hero-locations { display: inline-flex; align-items: center; gap: 12px; color: #e9cdbb; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 38px; }
.hero-locations span { opacity: 0.5; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
.pad { padding: 110px 0; }
.sec-head { max-width: 660px; margin-bottom: 60px; }
.sec-head.center { margin: 0 auto 60px; text-align: center; }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(40px, 5vw, 62px); }
.sec-head p { margin-top: 14px; color: var(--charcoal-soft); font-size: 19px; }

/* Welcome — offset rounded image with blob */
.welcome { background: var(--white); border-radius: var(--r-band) var(--r-band) 0 0; margin-top: -48px; position: relative; z-index: 3; }
.welcome-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 80px; align-items: center; }
.welcome-imgwrap { position: relative; }
.welcome-imgwrap .blob { position: absolute; inset: -28px -28px auto auto; width: 75%; height: 75%; background: var(--terracotta-tint); border-radius: var(--r-blob); z-index: 0; }
.welcome-img { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: var(--r-img); }
.welcome-text h2 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 22px; }
.welcome-text p { color: var(--charcoal-soft); margin-bottom: 16px; }
.welcome-points { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.welcome-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; font-weight: 500; }
.welcome-points .tick { width: 28px; height: 28px; border-radius: var(--r-icon); background: var(--sage-tint); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.welcome-points .tick svg { width: 14px; height: 14px; stroke: var(--sage-deep); }

/* Areas — flowing rounded cards */
.areas { background: var(--white); }
.area-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.area-card { display: flex; align-items: center; gap: 14px; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-tag); padding: 14px 26px 14px 16px; transition: all 0.25s; }
.area-card:hover { background: var(--sage-tint); border-color: var(--sage-soft); transform: translateY(-3px); }
/* Botanical Duotone icon set — deep-sage glyphs on an organic "pebble".
   The asymmetric border-radius is exact per the handoff spec; symmetrical values lose the handmade feel. */
.area-card .ic { width: 36px; height: 36px; border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; background: var(--sage-tint); display: grid; place-items: center; color: var(--sage-deep); flex-shrink: 0; }
.area-card .ic svg { width: 20px; height: 20px; }
/* Card hover turns sage-tint, so the pebble swaps to white to stay visible */
.area-card:hover .ic { background: var(--white); }
.area-card h3 { font-family: var(--sans); font-weight: 700; font-size: 16px; color: var(--charcoal); }
.areas-note { margin-top: 48px; text-align: center; color: var(--charcoal-soft); }

/* About — deep sage band */
.about { background: var(--sage-deep); color: var(--cream); border-radius: var(--r-band); margin: 0 auto; max-width: 1440px; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.about-imgwrap { min-height: 540px; }
.about-imgwrap .ph { width: 100%; height: 100%; border-radius: 0; }
.about-text { padding: 92px 72px; }
.about .eyebrow { color: var(--terracotta); }
.about h2 { color: var(--cream); font-size: clamp(36px, 4.2vw, 54px); margin-bottom: 22px; }
.about p { color: rgba(244,239,231,0.82); margin-bottom: 16px; }
.about .link-arrow { color: #e9cdbb; margin-top: 14px; }

/* Pluralistic — big statement on cream */
.plural { background: var(--cream); text-align: center; }
.plural .inner { max-width: 940px; margin: 0 auto; }
.plural .eyebrow { display: block; margin-bottom: 26px; }
.plural .statement { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); font-weight: 400; color: var(--sage-deep); line-height: 1.18; margin-bottom: 36px; }
.plural .statement em { font-style: italic; color: var(--terracotta-deep); }
.plural .lead { font-size: 20px; color: var(--charcoal-soft); max-width: 60ch; margin: 0 auto 36px; }

/* Trust */
.trust { background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { text-align: center; }
.trust-seal { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: var(--r-icon); background: var(--sage-tint); display: grid; place-items: center; color: var(--sage-deep); }
.trust-seal.ncps { background: var(--sage-deep); color: var(--cream); font-family: var(--serif); font-weight: 600; font-size: 19px; }
.trust-seal svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.trust-item h3 { font-family: var(--sans); font-weight: 700; font-size: 16.5px; color: var(--charcoal); margin-bottom: 6px; }
.trust-item p { font-size: 14.5px; color: var(--charcoal-soft); line-height: 1.55; }

/* Final CTA */
.final { background: var(--terracotta-deep); color: var(--cream); border-radius: var(--r-band); margin: 0 var(--band-inset) 24px; text-align: center; }
.final .inner { max-width: 700px; margin: 0 auto; }
.final .eyebrow { color: #f3e1d6; display: block; margin-bottom: 16px; }
.final h2 { color: var(--cream); font-size: clamp(40px, 5.4vw, 68px); margin-bottom: 22px; }
.final p { color: rgba(244,239,231,0.9); font-size: 20px; margin-bottom: 36px; }
.final .btn { font-size: 16.5px; padding: 17px 38px; }

/* Footer */
footer { background: var(--cream); color: var(--charcoal-soft); padding: 80px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 54px; }
.foot-about { font-size: 15.5px; margin-top: 20px; max-width: 32ch; }
footer h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-deep); margin-bottom: 20px; font-weight: 700; }
.foot-links { list-style: none; display: grid; gap: 12px; }
.foot-links a { font-size: 15.5px; color: var(--charcoal-soft); transition: color 0.2s; }
.foot-links a:hover { color: var(--terracotta-deep); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--charcoal-soft); }

/* Contact page */
.page-head { padding: 84px 0 20px; }
.page-head .eyebrow { display: block; margin-bottom: 18px; }
.page-head h1 { font-size: clamp(42px, 5.4vw, 66px); margin-bottom: 18px; }
.page-lead { color: var(--charcoal-soft); font-size: 20px; max-width: 56ch; }
.pad-sm { padding: 56px 0 110px; }

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }

.form-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-band); padding: 44px; }
.form-title { font-size: clamp(28px, 3vw, 36px); margin-bottom: 28px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14.5px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.field label .optional { font-weight: 500; color: var(--charcoal-soft); }
.field label.req::after { content: " *"; color: var(--terracotta-deep); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: 16.5px; color: var(--charcoal); background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-tag); padding: 13px 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-tint); }
.field textarea { resize: vertical; min-height: 150px; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--charcoal-soft); margin-bottom: 24px; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--r-tag); font-size: 15.5px; font-weight: 600; }
.form-status.ok { display: block; background: var(--sage-tint); color: var(--sage-deep); }
.form-status.err { display: block; background: var(--terracotta-tint); color: #7a4630; }

.contact-aside .aside-block { margin-bottom: 36px; }
.contact-aside h2 { font-size: 26px; margin-bottom: 12px; }
.contact-aside p { color: var(--charcoal-soft); font-size: 16.5px; }
.aside-list { list-style: none; display: grid; gap: 10px; }
.aside-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.aside-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  /* The booking CTA lives in the menu panel whenever the hamburger is active */
  .nav > .btn-primary { display: none; }
  .pad { padding: 84px 0; }
  .sec-head, .sec-head.center { margin-bottom: 44px; }
  .welcome-grid, .about-grid { grid-template-columns: 1fr; }
  .welcome-grid { gap: 48px; }
  .about-imgwrap { min-height: 340px; }
  .about-text { padding: 56px 40px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 22px; }
  .pad { padding: 64px 0; }
  .pad-sm { padding: 40px 0 64px; }
  .page-head { padding: 56px 0 12px; }
  .form-card { padding: 28px 22px; }
  .sec-head, .sec-head.center { margin-bottom: 36px; }
  .welcome-grid { gap: 40px; }
  .about-text { padding: 44px 26px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .about, .final { margin-left: 12px; margin-right: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .mobile-nav ul { padding: 14px 22px 22px; }
  body { font-size: 17px; }
}

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