/* Amy Law-Smith Counselling — 2026 refresh
   Layout: the original "white sheet on a lavender frame", kept, but fluid and mobile-first. */
:root {
  --frame: #89739b;        /* original page frame / nav purple */
  --frame-deep: #6e5682;
  --plum: #4d225e;         /* original heading colour */
  --plum-soft: #6b4a7d;    /* links: darker than the frame so it passes contrast */
  --mist: #f4f0f6;         /* soft lavender tint for panels */
  --line: #e2d9e8;
  --paper: #ffffff;
  --ink: #2e2733;
  --ink-soft: #5b5263;

  --font-display: "Faculty Glyphic", "Optima", "Candara", Georgia, serif;
  --font-body: "Quattrocento Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --font-script: "Niconne", "Brush Script MT", cursive;
  --font-quote: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;

  --radius: 10px;
  --sheet: 64rem;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* the original's lilac ground with a dragonfly watermark (seamless tile) */
  background-color: var(--frame);
  background-image: url("../images/bg-dragonflies.png");
  background-image: image-set(url("../images/bg-dragonflies.webp") type("image/webp"), url("../images/bg-dragonflies.png") type("image/png"));
  background-size: 900px auto;
  background-position: center top;
  background-repeat: repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  padding-block: clamp(0px, 3vw, 2.5rem);
  padding-left: max(0px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
}

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

a { color: var(--plum-soft); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--plum); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- The sheet ---------- */
.sheet {
  max-width: var(--sheet);
  margin-inline: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(40, 20, 50, .12), 0 20px 50px -20px rgba(40, 20, 50, .45);
  overflow: hidden;
}
@media (max-width: 720px) { .sheet { border-radius: 0; } }

.wrap { padding-inline: clamp(1rem, 4vw, 2.75rem); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 17rem);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}
.site-header::before {               /* the original's line-drawn dragonflies, top-left */
  content: "";
  position: absolute; left: clamp(-10px, 1vw, 12px); top: 8px;
  width: clamp(70px, 11vw, 120px); aspect-ratio: 300 / 455;
  background: url("../images/dragonflies.png") no-repeat center / contain;
  opacity: .55;
  pointer-events: none;
}
.portrait {
  width: clamp(96px, 16vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--line), 0 10px 24px -12px rgba(77, 34, 94, .5);
  margin-left: clamp(3.25rem, 9vw, 6rem);
}
.brand { min-width: 0; }
.brand a { text-decoration: none; color: inherit; }
.brand .site-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--plum);
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: .01em;
}
.brand .tagline span { display: block; }   /* one phrase per line on every screen size */
.brand .site-title .name { white-space: nowrap; }
.brand .site-title .sub { display: block; color: var(--frame-deep); font-size: .72em; margin-top: .2rem; }
.brand .tagline {
  margin: .6rem 0 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* rotating quotes (top right, as on the original) */
.quotes {
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; gap: .75rem;
  padding-left: clamp(1rem, 2.5vw, 1.75rem);
  border-left: 1px solid var(--line);
}
.quote-stage { display: grid; }
.quote {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 1.2s ease, transform 1.2s ease, visibility 0s linear 1.2s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 1.2s ease, transform 1.2s ease, visibility 0s; }
.quote p {
  margin: 0;
  font-family: var(--font-quote);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.quote-controls { display: flex; justify-content: center; align-items: center; gap: .15rem; }
.quote-controls button {
  width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; border-radius: 50%;
}
.quote-controls .dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--line); box-shadow: inset 0 0 0 1px var(--frame);
  transition: background-color .3s ease, transform .3s ease;
}
.quote-controls .dot[aria-current="true"]::before { background: var(--frame); transform: scale(1.25); }
.quote-controls .dot:hover::before { background: var(--frame); }
.quote-pause span { width: 9px; height: 10px; border-inline: 3px solid var(--frame); }
.quote-pause[aria-pressed="true"] span {
  border: 0; width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 9px solid var(--frame);
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr); }
  .quotes {
    grid-column: 1 / -1;
    border-left: 0; padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.1rem;
  }
}

/* ---------- Navigation ---------- */
.site-nav {
  background: var(--frame);
  border-block: 1px solid var(--frame-deep);
}
.nav-toggle { display: none; }
.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex;
  justify-content: space-between;
}
.site-nav li { flex: 1; }
.site-nav a {
  display: block;
  text-align: center;
  padding: .8rem .5rem;
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: background-color .2s ease;
}
.site-nav a:hover { background: var(--frame-deep); color: #fff; }
.site-nav a[aria-current="page"] {
  background: var(--paper);
  color: var(--plum);
  font-weight: 700;
}
.site-nav a:focus-visible { outline-color: #fff; outline-offset: -4px; }

@media (max-width: 720px) {
  .nav-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    background: none; border: 0; color: #fff;
    font: 700 1rem var(--font-body);
    padding: .85rem clamp(1rem, 4vw, 2.75rem);
    cursor: pointer;
  }
  .nav-toggle .bars { width: 22px; height: 14px; position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff; border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle .bars::before { top: 0; }
  .nav-toggle .bars span { top: 6px; }
  .nav-toggle .bars::after { bottom: 0; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle[aria-expanded="true"] .bars span { opacity: 0; }

  .site-nav ul { flex-direction: column; padding-bottom: .5rem; }
  .site-nav ul[data-collapsed="true"] { display: none; }
  .site-nav a { text-align: left; padding: .7rem clamp(1rem, 4vw, 2.75rem); }
  .site-nav a[aria-current="page"] { margin-inline: .5rem; border-radius: 6px; padding-inline: calc(clamp(1rem, 4vw, 2.75rem) - .5rem); }
}

/* ---------- Main content ---------- */
main { padding-block: clamp(2rem, 5vw, 3.25rem); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17rem;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 820px) { .intro { grid-template-columns: minmax(0, 1fr); } }

.page-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: var(--plum);
  font-size: clamp(1.5rem, 3.4vw, 1.9rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.lede { font-size: 1.15rem; color: var(--ink); }
main p { margin: 0 0 1.1rem; max-width: 62ch; }

/* contact card */
.contact-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-card h2 {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.25rem;
  color: var(--plum);
  margin: 0 0 .25rem;
}
.contact-card .note { font-size: .9rem; color: var(--ink-soft); margin: 0 0 1rem; }
.contact-card dl { margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.contact-card dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.contact-card dd a { font-weight: 700; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--plum-soft); color: #fff; transform: translateY(-1px); }
.btn + .btn { margin-top: .6rem; }
.btn.ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn.ghost:hover { background: var(--paper); color: var(--plum); }

/* ---------- The quote ---------- */
.journey {
  margin-inline: 0;
  margin-bottom: 0;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}
.journey blockquote { margin: 0; }
.journey p {
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  line-height: 1.45;
  color: var(--ink);
  text-align: center;
  margin: 0;
  text-wrap: balance;
}
.journey img { width: clamp(90px, 16vw, 190px); }
@media (max-width: 560px) {
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey img { justify-self: end; margin-top: -.5rem; width: 90px; }
}

/* ---------- Gentle next steps ---------- */
.paths {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 720px) { .paths { grid-template-columns: minmax(0, 1fr); } }
.paths a {
  display: block;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s ease, background-color .2s ease;
}
.paths a:hover { border-color: var(--frame); background: var(--mist); }
.paths strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--plum);
}
.paths span { font-size: .92rem; color: var(--ink-soft); }
.paths strong::after { content: " \2192"; color: var(--frame); }

/* ---------- Memberships & footer ---------- */
.memberships {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2.5rem;
}
.memberships h2 {
  flex-basis: 100%;
  text-align: center;
  font: 700 .75rem var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}
.memberships a { display: block; padding: .25rem; }
.memberships img { height: auto; }
.memberships .cd img { width: 180px; }
.memberships .cp img { width: 170px; }
.memberships .bacp img { width: 160px; }

.site-footer {
  background: var(--mist);
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-block: 1.1rem;
}
.site-footer p { margin: 0; }
.footer-links { display: flex; align-items: center; gap: 1.25rem; }
.footer-links .social {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 6px;
  background: #0a66c2; color: #fff;          /* LinkedIn brand blue */
  transition: background-color .2s ease, transform .2s ease;
}
.footer-links .social:hover { background: #004182; color: #fff; transform: translateY(-1px); }
.footer-links .maker { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-soft); text-decoration: none; }
.footer-links .maker img { width: 150px; height: auto; }
.footer-links .maker:hover img { opacity: .8; }

@media (max-width: 520px) {
  .site-header { gap: .9rem; }
  .portrait { width: 84px; margin-left: 2.5rem; }
  .site-header::before { width: 56px; }
  .brand .site-title { font-size: 1.75rem; }
  .brand .tagline { font-size: .85rem; line-height: 1.5; }
}

/* ---------- Inner pages ---------- */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 820px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.side { display: grid; gap: 1.5rem; justify-items: center; }
.side .btn { width: 100%; }
.side-photo {
  width: 100%;
  max-width: 18rem;
  border-radius: 50% / 42%;          /* the original's soft oval frames */
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--line), 0 14px 30px -18px rgba(77, 34, 94, .6);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.room-photo {
  width: 100%;
  border-radius: 50%;              /* soft oval, as on the original */
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--line), 0 14px 30px -18px rgba(77, 34, 94, .6);
  aspect-ratio: 7 / 5;
  object-fit: cover;
}
.side-quote { margin: 0; text-align: center; position: relative; }
.side-quote blockquote { margin: 0; }
.side-quote p { font-family: var(--font-script); font-size: 2rem; line-height: 1.2; margin: 0; max-width: none; }
.side-quote figcaption { font-family: var(--font-script); font-size: 1.5rem; color: var(--plum); }
.side-quote img { width: 110px; margin: .5rem auto 0; }

.training {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
  max-width: 62ch;
}
.training li {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .95rem;
  color: var(--plum);
}

.rates {
  width: 100%;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.rates h2 { font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: 1.25rem; margin: 0 0 .75rem; }
.rates dl { margin: 0 0 .75rem; display: grid; gap: .5rem; }
.rates dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .4rem; }
.rates dt { color: var(--ink); }
.rates dd { margin: 0; font-family: var(--font-display); color: var(--plum); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.rates p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* client comments */
.comments {
  columns: 2 22rem;
  column-gap: 1.5rem;
  margin-top: .5rem;
}
.comment {
  break-inside: avoid;
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.comment::before {
  content: "\201C";
  position: absolute; top: -.35rem; left: 1rem;
  font-family: var(--font-quote); font-size: 4.5rem; line-height: 1;
  color: var(--frame);
}
.comment blockquote { margin: 0; padding-top: .9rem; }
.comment p { margin: 0 0 .8rem; }
.comment figcaption {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--plum);
  text-align: right;
}
.comment figcaption::before { content: "\2014\00a0"; font-family: var(--font-body); font-size: 1rem; color: var(--frame); }
.comments-cta { margin-top: .5rem; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-info address { font-style: normal; margin: 0 0 1.25rem; line-height: 1.6; }
.contact-info dl { margin: 0; display: grid; gap: .6rem; }
.contact-info dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-info dd { margin: 0; overflow-wrap: anywhere; }
.contact-info dd a { font-weight: 700; }
.contact-quote {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.contact-quote img { float: right; width: 96px; margin: 0 0 .25rem .75rem; shape-outside: circle(50%); }
.contact-quote blockquote { margin: 0; }
.contact-quote p {
  font-family: var(--font-script);
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

.contact-form {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.contact-form h2 { font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: 1.35rem; margin: 0 0 1rem; }
.contact-form form { display: grid; gap: .9rem; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #cbbdd6;
  border-radius: 8px;
  padding: .65rem .8rem;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; width: auto; padding-inline: 2.5rem; border: 0; font: 700 1rem var(--font-body); cursor: pointer; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-status { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 8px; font-weight: 700; max-width: none; }
.form-status.is-ok { background: #e7f3ea; color: #24572f; border: 1px solid #b9dcc1; }
.form-status.is-error { background: #fbeaea; color: #7a2424; border: 1px solid #ecc1c1; }

.map-wrap { margin-top: clamp(2rem, 5vw, 3rem); }
.map {
  display: block;
  width: 100%;
  height: clamp(260px, 40vw, 380px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.map-note { margin: .5rem 0 0; font-size: .9rem; }
.map-link {
  display: grid; gap: .2rem;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--frame);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-soft);
}
.map-link strong { font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: 1.15rem; }

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