/* =========================================================
   Alia Mai Therapy — styles.css
   Fonts: Fraunces (soft serif headings) + Nunito Sans (rounded body),
   loaded from Google Fonts with display=swap; system fonts as fallback.
   ========================================================= */

/* Plain, classic ampersand for headings (Fraunces draws a decorative curl) */
@font-face {
  font-family: "Amp";
  src: local("Georgia"), local("Times New Roman");
  unicode-range: U+0026;
}

:root {
  --bg: #fbf6f0;            /* warm cream */
  --surface: #fffcf8;       /* warm white */
  --sand: #f3e8db;          /* warm beige */
  --sage: #e6ede5;          /* pale sage */
  --ink: #223a32;           /* deep forest green */
  --muted: #56645c;         /* green-grey */
  --primary: #2f5548;       /* brand green, from the logo */
  --primary-dark: #244339;
  --accent: #a8644a;        /* earthy terracotta — the one warm accent */
  --accent-tint: #f3e3d8;   /* very light wash of the same terracotta */
  --line: #ebdccd;
  --footer-green: #1b322c;  /* shared colour where the sunset band meets the footer */

  --serif: "Amp", "Fraunces", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(90, 60, 40, .05), 0 10px 28px rgba(90, 60, 40, .08);
  --container: 72rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;                          /* lighter = calmer, more refined; closer to the logo */
  font-variation-settings: "SOFT" 100;     /* soft, rounded letter corners */
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem); letter-spacing: -.01em; }
h3 { font-weight: 500; }                     /* small headings need a little more weight to read well */
h2, h3 { color: var(--primary-dark); }

/* Hero H1: small keyword line on top, emotional headline below */
.hero-kicker {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: clamp(.8rem, .75rem + .2vw, .9rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--accent);
  font-variation-settings: normal;
}
.kicker-line { display: block; text-wrap: wrap; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; text-wrap: pretty; }   /* avoids single orphan words on the last line */
li { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8f5039; /* deeper terracotta: 5:1+ contrast on every section background */
  margin-bottom: .75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 42px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn-lg {
  min-height: 58px;
  padding: 1rem 2.25rem;
  font-size: 1.12rem;
  box-shadow: 0 10px 24px rgba(36, 67, 57, .25);
}
.btn-lg:hover { box-shadow: 0 12px 28px rgba(36, 67, 57, .32); }
.btn-xl { min-height: 66px; padding: 1.15rem 3rem; font-size: 1.25rem; }
@media (max-width: 480px) { .btn-xl { padding: 1.05rem 1.75rem; font-size: 1.15rem; } }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-secondary { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-secondary:hover { background: var(--primary); color: #fff; }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--sand); color: var(--primary-dark); }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 240, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
@media (min-width: 821px) { .header-inner { min-height: 126px; } }

.brand { display: inline-flex; align-items: center; padding-block: .5rem; }
.brand img { width: clamp(200px, 28vw, 400px); height: auto; }
@media (max-width: 820px) { .brand img { width: clamp(200px, 62vw, 280px); } }
.brand:hover img { opacity: .8; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--accent); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); }
}

/* Practice Areas dropdown */
.has-sub { position: relative; display: flex; align-items: center; gap: .15rem; }
.site-nav .has-sub.is-current > .sub-parent { color: var(--primary); border-bottom-color: var(--accent); }
.sub-toggle {
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.sub-toggle::before {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}
.has-sub.is-open .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
.sub-toggle:hover { color: var(--primary); background: var(--sage); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }

@media (min-width: 821px) {
  .site-nav > ul { align-items: center; }
}
@media (min-width: 821px) {
  .site-nav .sub-menu {
    position: absolute;
    top: calc(100% + .65rem);
    left: -1rem;
    z-index: 60;
    flex-direction: column;
    gap: 0;
    min-width: 18rem;
    padding: .5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility 0s .18s;
  }
  /* invisible bridge so the menu doesn't close while the pointer moves down to it */
  .site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu,
  .has-sub.is-open .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .18s, transform .18s;
  }
  .has-sub.is-closed .sub-menu { opacity: 0; visibility: hidden; }
  .has-sub:hover .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
  .site-nav .sub-menu a {
    display: block;
    padding: .6rem .85rem;
    border: 0;
    border-radius: 10px;
    white-space: nowrap;
  }
  .site-nav .sub-menu a:hover,
  .site-nav .sub-menu a[aria-current="page"] { background: var(--sage); color: var(--primary-dark); }
}

@media (max-width: 820px) {
  .has-sub { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav .has-sub > .sub-parent { flex: 1; border-bottom: 0; }
  .sub-toggle { width: 44px; height: 44px; }
  .site-nav .sub-menu { display: none; flex-basis: 100%; padding: 0 0 .6rem 1rem; }
  .has-sub.is-open .sub-menu { display: flex; }
  .site-nav .sub-menu a { padding: .55rem 0; border-bottom: 0; font-size: .95rem; color: var(--muted); }
  .site-nav .sub-menu a[aria-current="page"] { color: var(--primary); font-weight: 700; }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem);
  background:
    /* cream fade only behind the text, so the landscape shows on the right */
    linear-gradient(90deg, rgba(251, 246, 240, .94) 0%, rgba(251, 246, 240, .84) 38%, rgba(251, 246, 240, .2) 62%, rgba(251, 246, 240, 0) 78%),
    linear-gradient(rgba(196, 128, 92, .1), rgba(196, 128, 92, .1)),   /* light warm tint */
    url("images/hero-mountain-lake.jpg") center / cover no-repeat,
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-inner { max-width: 44rem; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 106%;
  margin-left: -6%;   /* grows slightly into the gap, text column unchanged */
  aspect-ratio: 800 / 918;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);  /* soft arch */
  box-shadow: 0 20px 50px rgba(120, 70, 45, .2), 14px 14px 0 var(--accent);
  background: var(--sand);
}

@media (max-width: 860px) {
  /* Stacked layout: photo shows at the top, text sits on a cream fade below */
  .hero {
    background:
      linear-gradient(180deg, rgba(251, 246, 240, .15) 0%, rgba(251, 246, 240, .55) 30%, rgba(251, 246, 240, .9) 48%, rgba(251, 246, 240, .94) 100%),
      linear-gradient(rgba(196, 128, 92, .1), rgba(196, 128, 92, .1)),
      url("images/hero-mountain-lake.jpg") center top / cover no-repeat,
      var(--bg);
  }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; max-width: 22rem; margin-inline: auto; }
  .hero-photo img { width: 100%; margin-left: 0; border-radius: 160px 160px var(--radius) var(--radius); }
}
.hero-lead {
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  color: var(--muted);
  max-width: 42rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  color: var(--muted);
}
.hero-facts li { display: flex; align-items: center; gap: .5rem; }
.hero-facts li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--muted); }

/* ---------- About ---------- */
.about { background: var(--surface); }
.about .section-head p:last-child { color: var(--muted); }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.approach {
  padding: 1.75rem;
  background: var(--sage);
  border-radius: var(--radius);
}
.approach img { width: 64px; height: 64px; margin-bottom: 1rem; }
.approach h3 { color: var(--primary); }
.approach p { color: var(--muted); font-size: 1rem; margin: 0; }
.about-more { margin: 2rem 0 0; }

/* ---------- Service cards ---------- */
.services { background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--accent-tint); }
.card h3 { font-size: clamp(1.35rem, 1.2rem + .4vw, 1.5rem); line-height: 1.22; }
.card h3 a { color: var(--ink); text-decoration: none; }
/* Whole card is clickable via the heading link */
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { color: var(--muted); font-size: 1rem; flex-grow: 1; }
.card-more { font-weight: 600; color: var(--primary); font-size: .95rem; }
.card:hover .card-more { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta {
  background:
    /* fades to solid --footer-green at the bottom so it melts into the footer */
    linear-gradient(180deg, rgba(34, 62, 52, .5) 0%, rgba(30, 56, 48, .72) 55%, var(--footer-green) 100%),
    url("images/sunset-meadow.jpg") center / cover no-repeat,
    var(--primary);
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 40rem; }
.cta h2 { color: #fff; text-shadow: 0 2px 18px rgba(20, 35, 30, .45); }
.cta p { color: rgba(255, 255, 255, .85); margin-bottom: 1.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background:
    /* starts as solid --footer-green (matching the band above), then lets the leaves show */
    linear-gradient(180deg, var(--footer-green) 0, rgba(27, 50, 44, .62) 9rem, rgba(22, 40, 34, .7) 100%),
    url("images/footer-leaves.jpg") center / cover no-repeat,
    var(--footer-green);
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  padding-top: 3.5rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #e9b7a3; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.4fr 1fr; gap: 2rem 2.5rem; }
}
.footer-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .8rem;
}
.footer-logo { margin: 0 0 1rem; }
.footer-logo img { width: 200px; height: auto; }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.footer-badges a { display: block; border-radius: 10px; }
.footer-badges img {
  width: 84px; height: 84px;
  background: #fff;
  border-radius: 10px;
  padding: 2px;
}
.footer-badges a:hover img { box-shadow: 0 0 0 3px #e9b7a3; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .4rem; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.75rem 2rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .62);
}
.footer-legal p { max-width: 60rem; }
.footer-legal p:last-child { margin-bottom: 0; }

/* ---------- Footer v2: four even columns + slim centred bottom bar (home page) ---------- */
.footer-v2 {
  font-size: 1rem;
  line-height: 1.65;
  padding-top: 4.5rem;
}
.footer-v2 .footer-grid {
  grid-template-columns: 1fr;
  gap: 2.75rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .footer-v2 .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
.footer-v2 .footer-title {
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.footer-v2 p,
.footer-v2 address { margin: 0 0 1.1rem; }
.footer-v2 .footer-logo { margin-bottom: 1.4rem; }
.footer-v2 .footer-links li { margin-bottom: .65rem; }
.footer-v2 .footer-creds-list { margin-bottom: .5rem; }
.footer-v2 .footer-rating {
  margin-top: .75rem;
  gap: .1rem .45rem;
  padding: .45rem .8rem;
  font-size: .85rem;
  white-space: normal;
  flex-wrap: wrap;
  border-radius: 16px;
}
.footer-v2 .footer-hours { margin-bottom: 0; }

/* slim, centred bottom bar */
.footer-v2 .footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .6rem;
  padding-block: 2rem 2.25rem;
  font-size: .85rem;
  line-height: 1.6;
}
.footer-v2 .footer-legal p { margin: 0; max-width: 46rem; }
.footer-v2 .footer-badges {
  justify-content: center;
  gap: .9rem;
  margin: 0 0 .9rem;
}
.footer-v2 .footer-badges { gap: 1.25rem; }
.footer-v2 .footer-badges img { width: 96px; height: 96px; border-radius: 12px; }

/* social icons */
.footer-v2 .footer-social {
  display: flex;
  gap: .75rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.footer-v2 .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.footer-v2 .footer-social a:hover { background: rgba(255, 255, 255, .14); }

/* =========================================================
   About Me page
   ========================================================= */

/* Breadcrumb (sits above the page H1) */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: .9rem;
  color: var(--muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--accent); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Philosophy quote band: matches the original site (cat photo, olive tint at 50%, quote low and centred) */
.quote-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(83vh, 54rem);
  padding-block: clamp(5rem, 10vw, 8rem) clamp(5.5rem, 10vw, 8rem);
  background:
    linear-gradient(rgba(72, 87, 62, .5), rgba(72, 87, 62, .5)),
    url("images/alia-mai-tea-and-cat.jpg") center / cover no-repeat,
    #cba590;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.quote-inner { max-width: 62rem; }
.quote-band blockquote { margin: 0 0 1.75rem; }
.quote-band blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.1rem);
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 2px 22px rgba(0, 0, 0, .35);
}
/* soft wavy edges, coloured to match the sections above and below */
.quote-wave {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  height: clamp(18px, 3vw, 40px);
}
.quote-wave-top { top: -1px; fill: var(--bg); }
.quote-wave-bottom { bottom: -1px; fill: var(--sand); }
@media (max-width: 640px) { .quote-band { min-height: 60vh; } }

/* Story */
.story { background: var(--bg); }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.story-copy p { color: var(--muted); }
.story-photo { margin: 0; }
.story-photo img {
  width: 100%;
  aspect-ratio: 500 / 625;
  object-fit: cover;
  border-radius: var(--radius) 120px var(--radius) var(--radius);
  box-shadow: 14px 14px 0 var(--accent);
}
@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { max-width: 24rem; }
}

/* Education & training */
.training { background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); }
.creds-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 860px) { .creds-grid { grid-template-columns: 1fr; } }

.creds-card {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius);
}
.creds-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.creds-head h3 { margin: 0; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); font-weight: 400; }
.creds-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
}
.creds-icon svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Education: deep green card with a simple timeline */
.creds-education {
  background:
    radial-gradient(28rem 18rem at 110% -10%, rgba(203, 165, 144, .22), transparent 60%),
    var(--primary-dark);
  color: #fff;
  box-shadow: var(--shadow);
}
.creds-education h3 { color: #fff; }
.creds-education .creds-icon { background: rgba(255, 255, 255, .1); color: #f1cdb9; }

.edu-list { list-style: none; margin: 0; padding: 0; position: relative; }
.edu-list li:not(:last-child)::after {   /* timeline line, dot to dot */
  content: "";
  position: absolute;
  left: 6px; top: 1.2rem; bottom: -.45rem;
  width: 2px;
  background: rgba(241, 205, 185, .35);
}
.edu-list li { position: relative; padding: 0 0 1.5rem 2rem; }
.edu-list li:last-child { padding-bottom: 0; }
.edu-list li::before {            /* the timeline dot */
  content: "";
  position: absolute;
  left: 0; top: .45rem;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--primary-dark);
}
.edu-degree {
  display: block;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #fff;
}
.edu-school {
  display: block;
  margin-top: .3rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f1cdb9;
}

/* Training: cream card with soft sage tags */
.creds-training {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
}
.creds-training .creds-icon { background: var(--sage); color: var(--primary); }
.training-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.training-tags li {
  padding: .6rem 1rem;
  border-radius: 999px;
  background: var(--sage);
  border: 1px solid rgba(47, 85, 72, .12);
  color: var(--primary-dark);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Values */
.values { background: var(--surface); }
.values-head { display: flex; gap: 1.5rem; align-items: flex-start; max-width: 50rem; }
.values-head img { width: 72px; height: 72px; flex-shrink: 0; margin-top: .25rem; }
@media (max-width: 560px) { .values-head { flex-direction: column; gap: .75rem; } }

/* CTA with two buttons */
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }
.btn-outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--primary-dark); }

/* ---------- Inner-page banner (header style for pages other than Home) ---------- */
.page-banner {
  position: relative;
  isolation: isolate;
  padding-block: clamp(6rem, 13vw, 10.5rem) clamp(8rem, 16vw, 13rem);
  /* each page sets its own photo with an inline background-image */
  background: var(--primary) center / cover no-repeat;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
/* light, neutral shade so the photo reads naturally; slightly deeper only behind the title */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 50% 48%, rgba(20, 20, 18, .34), rgba(20, 20, 18, 0) 100%),
    linear-gradient(rgba(20, 20, 18, .16), rgba(20, 20, 18, .16));
}
.page-banner-inner { max-width: 64rem; }
.page-banner h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35), 0 2px 28px rgba(0, 0, 0, .45);
}
@media (min-width: 640px) { .page-banner h1 { white-space: nowrap; } }
/* long titles wrap onto two balanced lines instead of overflowing */
.page-banner h1.is-long { white-space: normal; max-width: 24ch; margin-inline: auto; text-wrap: balance; }
.page-banner .hero-kicker { color: #f1cdb9; margin-bottom: 1rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.page-banner .breadcrumb ol { justify-content: center; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.page-banner .breadcrumb a { color: #fff; }
.page-banner .breadcrumb li + li::before { color: #f1cdb9; }
.page-banner-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(36px, 6vw, 80px);
  fill: var(--bg);
}

/* Intro under the banner */
.about-intro { background: var(--bg); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(1rem, 2vw, 1.5rem); }
/* Text-only intro, centred */
.about-intro-inner { max-width: 52rem; text-align: center; }
.about-intro .hero-actions { justify-content: center; }
.intro-statement {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  line-height: 1.35;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

/* My Values: two shorter values stacked left, the longer one full height right, so columns balance */
.values .approach-grid { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .values .approach-grid { grid-template-columns: 1fr 1fr; }
  .values .approach:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
}
.values .approach { display: flex; flex-direction: column; justify-content: center; }

/* ---------- Google review rating ---------- */
.stars { color: #d9a441; letter-spacing: .08em; }

.footer-rating {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .9rem;
  text-decoration: none;
}
.footer-rating:hover { background: rgba(255, 255, 255, .14); }

/* =========================================================
   Home: "Is this you?"
   ========================================================= */
.is-this-you { background: var(--sand); }
.itu-intro { max-width: 40rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.itu-intro h2 { margin-bottom: .35rem; }
.itu-intro p:last-child {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
}

/* Shared "leaf-dot" card list: used by Is this you? and practice-area focus lists */
.itu-list,
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.itu-list li,
.focus-grid li {
  position: relative;
  padding: 1.25rem 1.35rem 1.25rem 3.1rem;
  background: var(--surface);
  border-radius: 14px;
  color: var(--ink);
  line-height: 1.55;
  box-shadow: 0 1px 2px rgba(90, 60, 40, .05);
}
.itu-list li::before,
.focus-grid li::before {
  content: "";
  position: absolute;
  left: 1.3rem; top: 1.62rem;
  width: 11px; height: 11px;
  border-radius: 0 50% 50% 50%;
  background: var(--accent);
  transform: rotate(45deg);
}
.itu-list .itu-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--primary-dark);
  color: #fff;
}
.itu-list .itu-cta::before { display: none; }
.itu-cta p { margin: 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; }

@media (max-width: 960px) {
  .itu-list, .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .itu-list, .focus-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Practice area pages
   ========================================================= */
.bg-cream { background: var(--bg); }
.bg-white { background: var(--surface); }
.bg-sand  { background: linear-gradient(180deg, var(--sand) 0%, var(--bg) 100%); }
.bg-sage  { background: var(--sage); }

/* Text + photo */
.pa-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.pa-split.is-reversed { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pa-split.is-reversed .pa-photo { order: -1; }
.pa-copy > p { color: var(--muted); }
.pa-copy .btn { margin-top: .75rem; }
.pa-copy .note { color: var(--primary-dark); font-weight: 600; }
.pa-photo { margin: 0; }
.pa-photo img {
  width: 100%;
  max-height: 36rem;
  object-fit: cover;
  border-radius: var(--radius) 120px var(--radius) var(--radius);
  box-shadow: 14px 14px 0 var(--accent);
}
.pa-split.is-reversed .pa-photo img {
  border-radius: 120px var(--radius) var(--radius) var(--radius);
  box-shadow: -14px 14px 0 var(--accent);
}
@media (max-width: 860px) {
  .pa-split, .pa-split.is-reversed { grid-template-columns: 1fr; }
  .pa-split.is-reversed .pa-photo { order: 0; }
  .pa-photo { max-width: 26rem; width: calc(100% - 14px); }
}

/* Larger copy so a short paragraph balances a full-size photo */
.section.is-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.pa-split.is-large-copy .pa-copy > p:not(.eyebrow) { font-size: clamp(1.2rem, 2.3vw, 1.5rem); line-height: 1.8; }
.pa-split.is-large-copy .pa-copy h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }

/* Centred highlight (e.g. "How long will this take?") */
.pa-highlight-inner { max-width: 50rem; text-align: center; }
.pa-highlight-inner > p:not(.eyebrow) {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem);
  line-height: 1.6;
  color: var(--primary-dark);
}
.pa-highlight-inner .btn { margin-top: .75rem; }
/* Longer, plain-text sections (CVAP) */
.pa-prose { max-width: 50rem; }
.pa-prose.is-centred { text-align: center; }
.pa-prose > p:not(.eyebrow) { color: var(--muted); }
.pa-prose h3 { margin-top: 1.75rem; }

/* Focus lists sit under a section head */
.focus-grid { margin-bottom: 2rem; }
.section-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.section-actions.is-centred { justify-content: center; }

/* Tick list (CVAP benefits) */
.check-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .65rem; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink);
  font-weight: 600;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .15rem;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232f5548' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Plain bullet list inside copy */
.dot-list { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--muted); }
.dot-list li { margin-bottom: .35rem; }
.dot-list li::marker { color: var(--accent); }

/* Impact cards (CVAP) */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.impact-grid li {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border-top: 4px solid var(--accent);
}
.impact-grid h3 { margin-bottom: .4rem; }
.impact-grid p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .impact-grid { grid-template-columns: 1fr; } }

/* Resource links (CVAP) */
.resource-links { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; }
.resource-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.resource-links a::after { content: "\2197"; color: var(--accent); }
.resource-links a:hover { border-color: var(--primary); background: #fff; }
.contact-line { color: var(--muted); }
.contact-line strong { color: var(--primary-dark); }

/* "Other ways I can help" */
.related .card-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .related .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Couples "Let's begin" note */
.lets-begin {
  max-width: 46rem;
  margin: 0 0 2rem;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.lets-begin h3 { margin-bottom: .4rem; }
.lets-begin p { margin: 0; color: var(--muted); }

/* Footer Quick Links: one list like the original site, practice pages indented under Practice Areas */
.quick-links ul { list-style: none; margin: .45rem 0 .2rem; padding: 0 0 0 1rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.quick-links ul li { margin-bottom: .35rem; font-size: .9rem; }
.quick-links-social { margin-top: .9rem; padding-top: .75rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   Fees page
   ========================================================= */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fee-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem 2rem;
  background: var(--sage);
  border-radius: var(--radius);
}
.fee-card h3 { margin-bottom: .6rem; color: var(--primary); }
.fee-price {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 2.1rem + 1.6vw, 3.4rem);
  line-height: 1.05;
  color: var(--primary);
  margin: 0 0 .6rem;
}
.fee-detail { margin: 0; color: var(--muted); }
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.policy {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.policy h3 { margin-bottom: .5rem; }
.policy p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .fee-grid, .policy-grid { grid-template-columns: 1fr; }
}
.fee-note { margin: 1.25rem 0 0; text-align: center; color: var(--muted); font-size: .95rem; }
.policy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--primary);
}
.policy-icon .acc { stroke: var(--accent); }
.policy-icon .accf { fill: var(--accent); stroke: none; }

/* =========================================================
   Blog
   ========================================================= */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.post-grid.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 52rem; margin-inline: auto; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid, .post-grid.is-pair { grid-template-columns: 1fr; } }
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(90, 60, 40, .05);
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.post-date { margin: 0 0 .5rem; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.post-card h3 { font-size: clamp(1.2rem, 1.1rem + .3vw, 1.4rem); line-height: 1.25; margin: 0 0 .65rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--primary); }
.post-excerpt { flex: 1; margin: 0; color: var(--muted); font-size: 1rem; }
.post-card .btn { align-self: flex-start; margin-top: 1.1rem; }

/* single post */
.post-header { text-align: center; padding: clamp(3rem, 6vw, 5rem) 0 2rem; background: var(--bg); }
.post-header .container { max-width: 56rem; }
.post-back { display: inline-block; margin-bottom: 1.25rem; font-weight: 600; font-size: .95rem; color: var(--primary); text-decoration: none; }
.post-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-header h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); line-height: 1.15; margin: 0 0 1rem; text-wrap: balance; }
.post-meta { margin: 0; color: var(--muted); font-size: .95rem; }
.post-meta a { color: var(--primary); }
.post-figure { margin: 0 auto; max-width: 62rem; }
.post-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); display: block; }
.post-body { max-width: 44rem; margin: 0 auto; padding: 2.5rem 0 1rem; font-size: 1.125rem; line-height: 1.8; }
.post-body h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.95rem); line-height: 1.25; margin: 2.5rem 0 .75rem; }
.post-body h3 { font-size: 1.3rem; line-height: 1.3; margin: 1.75rem 0 .5rem; color: var(--primary); }
.post-body p { margin: 0 0 1.25rem; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.post-body li { margin-bottom: .6rem; }
.post-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--accent); }
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  max-width: 44rem;
  margin: 2rem auto 3rem;
  padding: 1.5rem;
  background: var(--sage);
  border-radius: var(--radius);
}
.author-box img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.author-box p { margin: 0; font-size: 1rem; color: var(--ink); }
.author-box a { color: var(--primary); }
@media (max-width: 560px) { .author-box { flex-direction: column; align-items: flex-start; } }
@media (min-width: 960px) { .related .card-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- FAQ (service pages + home) ---------- */
.faq .section-head { margin-bottom: 2rem; }
.faq-list { max-width: 52rem; display: grid; gap: .85rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(90, 60, 40, .05);
}
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3.25rem 1.1rem 1.35rem;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100;
  font-weight: 500;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  line-height: 1.35;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem; top: 50%;
  transform: translateY(-50%);
  width: 1.6rem; height: 1.6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--accent);
  font-family: var(--sans, inherit);
  font-size: 1.2rem; line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 14px; }
.faq-answer { padding: 0 1.35rem 1.2rem; }
.faq-answer p { color: var(--muted); margin: 0 0 .6rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-more { max-width: 52rem; margin: 1.5rem 0 0; color: var(--muted); }

/* Two-up explainer cards (e.g. Big T / little t) */
.card-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .card-grid.is-two { grid-template-columns: 1fr; } }
.explain-note { max-width: 44rem; margin-top: 1.75rem; color: var(--muted); }
.focus-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .focus-grid.is-two { grid-template-columns: 1fr; } }
