@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}

:root {
  --ivory: #fdfbf6;
  --cream: #f7f1e3;
  --white: #ffffff;
  --gold: #b8913a;
  --gold-light: #d9bc72;
  --gold-dark: #8c6a22; /* use for text: 4.8:1 on ivory */
  --gold-deeper: #735619;
  --ink: #2f2a24;
  --ink-soft: #5d554b;
  --line: #e8dcc0;

  /* woodland */
  --trunk: #5b4130;
  --hill-back: #e9d9b4;
  --hill-front: #d8bf8a;

  /* sea */
  --sea-1: #c9d6d8;
  --sea-2: #9fb6bb;
  --sea-3: #6f8f97;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(140, 106, 34, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
}
img, svg { display: block; }
a { color: var(--gold-dark); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3, .h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; margin-bottom: .3em; }
p { margin: 0 0 1em; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); padding: .6em 1em; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

.eyebrow {
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: .8em;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 400;
  letter-spacing: .03em;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-gold {
  background: var(--gold-dark);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(184, 145, 58, .35);
}
.btn-gold:hover { background: var(--gold-deeper); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184, 145, 58, .45); }
.btn-ghost { border: 1px solid var(--gold); color: var(--gold-dark); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: var(--gold-dark); color: var(--white); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 246, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1200px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 0;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); font-weight: 600; margin: 0; }
.brand-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); }
.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav-links a:not(.nav-cta):hover { color: var(--gold-dark); }
.nav-cta { padding: .5em 1.2em; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-dark) !important; }
.nav-cta:hover { background: var(--gold-dark); color: var(--white) !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; }
  .nav-cta { border: 0; border-radius: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero woodland */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(3rem, 9vh, 7rem) 16px 0;
  background: radial-gradient(ellipse at 50% 0%, #fffaf0 0%, var(--ivory) 55%, var(--cream) 100%);
  overflow: hidden;
  text-align: center;
}
.hero-text { position: relative; z-index: 3; max-width: 780px; }
.hero .lead { font-size: 1.1rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.woodland { position: absolute; inset: auto 0 0 0; height: 46vh; min-height: 280px; z-index: 1; }
.hills { position: absolute; bottom: 0; width: 100%; height: 60%; }
.trees { position: absolute; inset: 0; }
.t { position: absolute; bottom: 14%; overflow: visible; }
.t1 { left: 2%;  width: 150px; height: 240px; color: #c98a3c; bottom: 24%; opacity: .75; }
.t2 { left: 13%; width: 120px; height: 190px; color: #d9a441; bottom: 20%; }
.t3 { left: 22%; width: 90px;  height: 145px; color: #a8572d; bottom: 18%; opacity: .85; }
.t4 { right: 24%; width: 95px; height: 150px; color: #c7772f; bottom: 20%; opacity: .85; }
.t5 { right: 14%; width: 130px; height: 210px; color: #e0b44f; bottom: 17%; }
.t6 { right: 2%;  width: 165px; height: 260px; color: #b4692e; bottom: 22%; opacity: .8; }
.t7 { left: 46%;  width: 70px;  height: 112px; color: #d4a24c; bottom: 30%; opacity: .55; }
.leaves { position: absolute; inset: -60vh 0 0 0; pointer-events: none; }
.lf { position: absolute; top: 0; width: 18px; height: 18px; animation: fall linear infinite; opacity: 0; }
.l1 { left: 8%;  color: #c98a3c; animation-duration: 14s; }
.l2 { left: 20%; color: #a8572d; animation-duration: 17s; animation-delay: 3s; }
.l3 { left: 38%; color: #d9a441; animation-duration: 15s; animation-delay: 7s; }
.l4 { left: 64%; color: #b4692e; animation-duration: 19s; animation-delay: 1s; }
.l5 { left: 80%; color: #e0b44f; animation-duration: 16s; animation-delay: 5s; }
.l6 { left: 92%; color: #c7772f; animation-duration: 18s; animation-delay: 9s; }
@keyframes fall {
  0%   { transform: translate(0, 0) rotate(0); opacity: 0; }
  10%  { opacity: .9; }
  50%  { transform: translate(40px, 50vh) rotate(180deg); }
  90%  { opacity: .9; }
  100% { transform: translate(-20px, 100vh) rotate(360deg); opacity: 0; }
}
@media (max-width: 700px) {
  .hero { min-height: auto; padding-bottom: 260px; }
  .woodland { height: 260px; min-height: 0; }
  .t3, .t4, .t7 { display: none; }
  .t1 { width: 100px; height: 160px; } .t6 { width: 110px; height: 175px; }
  .t2 { width: 80px; height: 128px; left: 22%; } .t5 { width: 86px; height: 138px; right: 22%; }
}

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head .sub { color: var(--ink-soft); }
.section-head h2::after, .about h2::after {
  content: ""; display: block; width: 60px; height: 2px;
  background: var(--gold); margin: .6em auto 0;
}
.about h2::after { margin-left: 0; }

/* About */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.credentials {
  list-style: none; margin: 0; padding: 2rem;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.credentials li { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.credentials li:last-child { border-bottom: 0; }
.cred-icon { color: var(--gold); font-size: 1.1rem; line-height: 1.6; }
.credentials strong { display: block; font-weight: 500; }
.credentials span:not(.cred-icon) { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* EMDR tabs */
.emdr { background: linear-gradient(var(--ivory), var(--cream)); }
.tabs {
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.tabs button {
  font: inherit; font-size: .95rem;
  padding: .6em 1.3em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-soft);
  transition: all .2s;
}
.tabs button:hover { border-color: var(--gold); color: var(--gold-dark); }
.tabs button[aria-selected="true"] { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow);
}
.panel[hidden], .tabs[hidden] { display: none; }
.tabs[hidden] ~ .panel + .panel { margin-top: 1.5rem; }
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.callout { background: var(--ivory); border-left: 3px solid var(--gold); border-radius: 8px; padding: 1.2rem 1.4rem; }
.callout p { margin: 0; font-size: .98rem; }
.callout-wide { margin-top: 1.5rem; }
@media (max-width: 640px) { .callouts { grid-template-columns: 1fr; } }

/* Specialisms */
.specialisms { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card-wide { grid-column: 1 / -1; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, #fbf3df, #f1e2bb);
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

/* Contact seascape */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(11rem, 20vw, 15rem);
  background: linear-gradient(#fdf8ec 0%, #f6ecd5 45%, #eef0ea 100%);
  text-align: center;
}
.contact-inner { position: relative; z-index: 2; max-width: 680px; }
.contact-statement {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.35; color: var(--ink); margin-bottom: 1rem;
}
.contact-form {
  text-align: left; margin-top: 2rem;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 400; margin-bottom: .35rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .7em .9em; border: 1px solid #cdbf9f; border-radius: 8px; background: var(--white);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold-dark); }
.field [aria-invalid="true"] { border-color: #a3341f; }
.field-check { display: flex; gap: .7rem; align-items: flex-start; }
.field-check input { width: 1.15rem; height: 1.15rem; margin-top: .35rem; accent-color: var(--gold-dark); flex: none; }
.field-check label { margin: 0; font-size: .95rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 1rem 0 0; min-height: 1.5em; }
.form-status.ok { color: #2f6b3a; }
.form-status.error { color: #a3341f; }
.seascape { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sun {
  position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 120, .55) 0%, rgba(232, 200, 120, .15) 55%, transparent 70%);
}
.waves { position: absolute; bottom: 0; left: 0; width: 200%; height: 220px; }
.w { animation: drift linear infinite; }
.w1 { fill: var(--sea-1); animation-duration: 24s; }
.w2 { fill: var(--sea-2); opacity: .9; animation-duration: 18s; animation-direction: reverse; }
.w3 { fill: var(--sea-3); opacity: .85; animation-duration: 30s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-720px); } }

/* Footer */
.site-footer { background: var(--ink); color: #e9e2d3; padding: 1.5rem 0; }
.site-footer .brand-name { color: var(--gold-light); margin-bottom: .4rem; }
.site-footer .muted { color: #b9b0a0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-inner > p { max-width: 360px; }
.copyright { text-align: center; margin: 0; }

/* Reveal on scroll: content is visible by default; JS only hides what is below the fold */
.reveal { transition: opacity .8s ease, transform .8s ease; }
.reveal.pending { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lf { display: none; }
  .w { animation: none; }
  .reveal, .reveal.pending { opacity: 1; transform: none; transition: none; }
}

/* Simple content pages (privacy, 404) */
.page { padding: clamp(3rem, 8vw, 6rem) 0; min-height: 60vh; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page h2 { font-size: 1.6rem; margin-top: 2rem; }
.todo { background: #fff6dc; border: 1px dashed var(--gold); padding: .2em .4em; border-radius: 4px; }
.site-footer a { color: var(--gold-light); }
.footer-links { list-style: none; display: flex; justify-content: center; gap: 1.5rem; margin: 0 0 .6rem; padding: 0; font-size: .9rem; }
