/* Compassion Mental Health Counseling
   Colors come from the logo: sky blue, mint green, sunshine yellow. */

:root {
  --sky: #38b6ff;
  --mint: #31dda9;
  --sun: #f8bc58;

  --sky-tint: #eaf6ff;
  --mint-tint: #e4faf2;
  --sun-tint: #fff4dc;

  --ink: #14344a;        /* headings and body text */
  --ink-soft: #3f5b6e;   /* secondary text */
  --blue-deep: #0b5f9e;  /* links and primary buttons */
  --blue-deeper: #084a7c;
  --white: #ffffff;
  --line: #d5e6f2;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --radius-s: 10px;
  --radius-m: 20px;
  --radius-l: 32px;
  --wrap: 1180px;
  --shadow: 0 14px 34px rgba(20, 78, 120, 0.12);
}

/* Fonts are served from assets/fonts/ (SIL Open Font License; license files are alongside). */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

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

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

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

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

a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue-deeper); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "SOFT" 100;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.7rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; color: var(--white); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

[hidden] { display: none !important; }
.rounded-img { border-radius: var(--radius-m); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; line-height: 1.2;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 2px solid var(--blue-deep);
  background: var(--blue-deep);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--blue-deeper); border-color: var(--blue-deeper); color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn--outline { background: var(--white); color: var(--blue-deep); }
.btn--outline:hover { background: var(--sky-tint); color: var(--blue-deeper); }

.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ink:hover { background: #0c2536; border-color: #0c2536; }

.btn--ink-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ink-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Cookie notice ---------- */

.cookie-notice {
  position: fixed; z-index: 60; left: 50%; bottom: 1rem; transform: translateX(-50%);
  width: min(100% - 2rem, 46rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap;
  background: var(--white); color: var(--ink);
  border: 2px solid var(--blue-deep); border-radius: var(--radius-m);
  box-shadow: var(--shadow); padding: 1.1rem 1.3rem;
}
.cookie-notice__text { flex: 1 1 18rem; font-size: 0.98rem; }
.cookie-notice__text p { margin: 0; }
.cookie-notice__title { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: 1.2rem; margin-bottom: 0.2rem; }
.cookie-notice__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-notice .btn { padding: 0.7rem 1.3rem; }

.link-button {
  font-family: var(--font-body); font-size: inherit; color: var(--ink-soft);
  background: transparent; border: 0; padding: 0.2rem 0; min-height: 24px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.link-button:hover { color: var(--blue-deeper); }
html:not(.js) .link-button { display: none; }

/* ---------- Header ---------- */

.topbar { background: var(--mint-tint); font-size: 0.93rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.3rem 1.5rem; padding-block: 0.45rem; }
.topbar a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { text-decoration: underline; }
.topbar svg { width: 1em; height: 1em; flex: none; }
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.4rem; }
.topbar__social a { padding: 0.25rem; min-width: 28px; min-height: 28px; justify-content: center; }
.topbar__social svg { width: 1.25em; height: 1.25em; }

.site-header { background: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.85rem; }
.site-logo { flex: 0 1 auto; min-width: 0; display: block; }
.site-logo img { width: clamp(150px, 24vw, 290px); }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  background: var(--white); color: var(--ink); cursor: pointer;
  border: 2px solid var(--ink); border-radius: 999px; padding: 0.5rem 1rem;
}
.nav-toggle svg { width: 1.2em; height: 1.2em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a, .site-nav .menu-button {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  color: var(--ink); background: transparent; border: 0; cursor: pointer;
  text-decoration: none; padding: 0.55rem 0.8rem; border-radius: 999px;
}
.site-nav a:hover, .site-nav .menu-button:hover { background: var(--sky-tint); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--mint-tint); }
.site-nav .menu-button svg { width: 0.9em; height: 0.9em; transition: transform 0.15s ease; }
.site-nav .menu-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .has-menu { position: relative; }
.site-nav .submenu {
  display: none; position: absolute; left: 0; top: calc(100% + 0.5rem); min-width: 15rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  box-shadow: var(--shadow); padding: 0.5rem;
}
.site-nav .submenu.is-open { display: block; }
.site-nav .submenu a { display: flex; border-radius: var(--radius-s); }
.site-nav .nav-cta { margin-left: 0.5rem; }
.site-nav .nav-cta a { background: var(--blue-deep); color: var(--white); padding: 0.65rem 1.15rem; }
.site-nav .nav-cta a:hover { background: var(--blue-deeper); color: var(--white); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 5rem); overflow-y: auto; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; padding-block: 0.8rem 1.2rem; }
  .site-nav a, .site-nav .menu-button { width: 100%; justify-content: space-between; padding: 0.8rem 0.9rem; font-size: 1.08rem; }
  .site-nav .submenu { position: static; box-shadow: none; border: 0; padding: 0 0 0.4rem 0.9rem; min-width: 0; }
  .site-nav .nav-cta { margin: 0.7rem 0 0; }
  .site-nav .nav-cta a { justify-content: center; }
}

@media (max-width: 760px) { .topbar__group span, .topbar a[href^="mailto"] { display: none; } }
@media (max-width: 360px) { .site-header .wrap { gap: 0.75rem; } .nav-toggle { padding: 0.45rem 0.8rem; } }

/* Navigation without JavaScript.
   The <html> element gets a "js" class when scripts run. Without it,
   every link stays visible and the Services menu opens on hover or focus. */

html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav .has-menu:hover .submenu,
html:not(.js) .site-nav .has-menu:focus-within .submenu { display: block; }
@media (max-width: 1040px) {
  html:not(.js) .site-header { position: static; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  html:not(.js) .site-nav { display: block; position: static; width: 100%; max-height: none; box-shadow: none; border: 0; }
  html:not(.js) .site-nav > ul { width: 100%; padding-block: 0 0.6rem; }
  html:not(.js) .site-nav .submenu { display: block; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section--sky { background: var(--sky-tint); }
.section--mint { background: var(--mint-tint); }
.section--sun { background: var(--sun-tint); }

.section-head { max-width: 44rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--ink-soft); font-size: 1.12rem; }

.lede { font-size: 1.2rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Hero ---------- */

.hero { background: var(--sky-tint); position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4.5rem, 9vw, 7.5rem);
}
.hero__lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; margin: 0; }
.hero__facts { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-size: 0.98rem; color: var(--ink-soft); }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__facts svg { width: 1.1em; height: 1.1em; color: var(--blue-deep); flex: none; }

.hero__media { position: relative; }
.hero__media img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow); object-fit: cover; }
.hero__media--square img { aspect-ratio: 1 / 1; }
.sun { position: absolute; z-index: 0; color: var(--sun); width: clamp(220px, 30vw, 380px); top: 0; right: 0; transform: translate(42%, -42%); pointer-events: none; }
.sun svg { width: 100%; height: auto; display: block; }

.hero__badge { margin-top: 1.6rem; min-height: 46px; }
.hero__badge .sx-verified-seal { display: block; width: 146px; height: 46px; }

.hero__horizon { position: absolute; left: -5%; right: -5%; bottom: -1px; width: 110%; height: clamp(36px, 6vw, 80px); color: var(--white); display: block; }

@media (prefers-reduced-motion: no-preference) {
  .sun svg { animation: sunrise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; transform-origin: 50% 50%; }
  @keyframes sunrise { from { opacity: 0; transform: scale(0.6) rotate(-18deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { max-width: 34rem; }
  .sun { transform: translate(30%, -40%); }
}

/* ---------- Home: questions ---------- */

.bubbles { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; align-items: start; }
.bubbles li {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.3rem; line-height: 1.3;
  padding: 1.5rem 1.4rem; border-radius: 28px 28px 28px 6px; background: var(--sky-tint);
}
.bubbles li:nth-child(2) { background: var(--mint-tint); margin-top: 1.8rem; border-radius: 28px 28px 6px 28px; }
.bubbles li:nth-child(3) { background: var(--sun-tint); }
.bubbles li:nth-child(4) { background: var(--mint-tint); margin-top: 1.8rem; border-radius: 28px 28px 6px 28px; }
@media (max-width: 900px) { .bubbles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bubbles li:nth-child(n) { margin-top: 0; } }
@media (max-width: 480px) { .bubbles { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .card-grid { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.card__img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.4rem; }
.card__body p { color: var(--ink-soft); font-size: 1rem; }
.card__link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__link { text-decoration: underline; }
.card:focus-within { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.card__link:focus-visible { outline: none; }
.card__meta { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.5rem; }

.card--consult { background: var(--sun-tint); box-shadow: none; justify-content: center; }
/* Four services plus this card: let it fill the rest of the last row in the 3- and 2-column layouts */
@media (min-width: 581px) { .card--consult { grid-column: span 2; } }
.card--consult .card__body { justify-content: center; }
.card--consult .btn { align-self: flex-start; margin-top: 0.4rem; }

.card--post .card__img { aspect-ratio: 16 / 9; }
.card--post h2, .card--post h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 0.5rem; }

/* ---------- Split (text + image) ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media img { border-radius: var(--radius-l); width: 100%; }
.split--narrow-media { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
@media (max-width: 820px) { .split, .split--narrow-media { grid-template-columns: 1fr; } .split__media { max-width: 26rem; } }

/* ---------- Team strip (home) ---------- */

.team-strip { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; text-align: center; }
.team-strip img { width: 100%; max-width: 150px; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 18%; border-radius: 50%; margin: 0 auto 0.7rem; border: 4px solid var(--white); box-shadow: var(--shadow); }
.team-strip strong { display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: 1.1rem; line-height: 1.25; }
.team-strip span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.35; display: block; }
@media (max-width: 760px) { .team-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Quotes ---------- */

.quotes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2.2rem; }
.quotes li { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.25rem; line-height: 1.4; padding-left: 1.2rem; border-left: 4px solid var(--mint); }
.quotes li:nth-child(3n + 2) { border-color: var(--sun); }
.quotes li:nth-child(3n) { border-color: var(--sky); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Call-to-action band ---------- */

.cta-band { background: var(--sky); position: relative; overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; padding-block: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { margin: 0; max-width: 40rem; font-size: 1.12rem; }
.cta-band .btn-row { margin-top: 0; }
.cta-band .sun { color: #8ed6ff; top: 50%; right: 0; width: 520px; transform: translate(35%, -50%); }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }

.cta-band :focus-visible { outline-color: var(--ink); }
@media (max-width: 760px) { .cta-band .sun { opacity: 0.45; width: 360px; transform: translate(50%, -50%); } }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { background: var(--sky-tint); position: relative; overflow: hidden; }
.page-hero .wrap { padding-block: clamp(2.6rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6.5rem); }
.page-hero--media .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-hero .lede { max-width: 40rem; margin: 0; }
.page-hero--plain .wrap { padding-bottom: clamp(3.4rem, 7vw, 5rem); }
@media (max-width: 860px) { .page-hero--media .wrap { grid-template-columns: 1fr; } .page-hero .hero__media { max-width: 24rem; } }

.breadcrumb { font-size: 0.93rem; margin-bottom: 1.1rem; color: var(--ink-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--ink-soft); }

/* ---------- Content pages ---------- */

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 940px) { .content-layout { grid-template-columns: 1fr; } }

.prose { max-width: 44rem; }
.prose, .post-body, .faq__answer { overflow-wrap: break-word; }
.prose a, .post-body a, .site-footer a { overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: 0.35em; }
.prose img { border-radius: var(--radius-m); }

.check-list { list-style: none; padding: 1.4rem 1.5rem; margin: 0 0 1.4em; background: var(--mint-tint); border-radius: var(--radius-m); display: grid; gap: 0.6rem; }
.check-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; align-items: start; margin: 0; }
.check-list svg { width: 1.35rem; height: 1.35rem; margin-top: 0.18rem; color: #0a7a58; }

.side-card { background: var(--sun-tint); border-radius: var(--radius-m); padding: 1.6rem 1.5rem; position: sticky; top: 6.5rem; }
.side-card h2 { font-size: 1.45rem; }
.side-card p { font-size: 1rem; }
.side-card .btn { width: 100%; margin-top: 0.5rem; }
.side-card__phone { font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.6rem; font-weight: 500; color: var(--ink); text-decoration: none; display: block; margin-bottom: 0.4rem; }
@media (max-width: 940px) { .side-card { position: static; } }

.link-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.link-pills a { display: inline-block; padding: 0.7rem 1.2rem; border-radius: 999px; background: var(--white); border: 2px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; }
.link-pills a:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.page-hero .link-pills { margin-top: 1.6rem; }

/* ---------- About: team ---------- */

.person { scroll-margin-top: 6.5rem; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-block: clamp(2.2rem, 5vw, 3.2rem); border-top: 1px solid var(--line); }
.person:first-of-type { border-top: 0; padding-top: 0; }
.person__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; border-radius: var(--radius-m); box-shadow: var(--shadow); }
.person h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-bottom: 0.2em; }
.person__role { color: var(--blue-deep); font-weight: 600; margin-bottom: 1em; }
.person__license { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.15rem; }
.person__body { max-width: 44rem; }
@media (max-width: 680px) { .person { grid-template-columns: 1fr; } .person__photo { max-width: 200px; } }

/* ---------- FAQ ---------- */

.faq { max-width: 50rem; }
.faq details { border: 2px solid var(--line); border-radius: var(--radius-m); background: var(--white); margin-bottom: 0.9rem; }
.faq details[open] { border-color: var(--sky); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.22rem; font-weight: 500; line-height: 1.3; border-radius: var(--radius-m); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--blue-deep); transition: transform 0.15s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq__answer { padding: 0 1.4rem 1.2rem; }
.faq__answer > :last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: 1.2rem; }
.contact-list li { display: grid; grid-template-columns: 2.8rem 1fr; gap: 0.9rem; align-items: start; }
.contact-list .icon { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--mint-tint); display: grid; place-items: center; }
.contact-list .icon svg { width: 1.25rem; height: 1.25rem; color: var(--ink); }
.contact-list strong { display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 500; font-size: 1.15rem; }
.contact-list a { color: var(--ink); }
.social-row { display: flex; gap: 0.6rem; margin-top: 0.3rem; }
.social-row a { display: inline-flex; align-items: center; gap: 0.4rem; }
.social-row svg { width: 1.2rem; height: 1.2rem; }

.form-card { background: var(--white); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.4rem); }
.form-card h2 { font-size: 1.7rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1.05rem; color: var(--ink);
  background: var(--white); border: 2px solid #56809a; border-radius: var(--radius-s); padding: 0.75rem 0.9rem;
}
.field input:focus, .field textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--blue-deep); }
.field textarea { min-height: 9rem; resize: vertical; }
.form-note { font-size: 0.93rem; color: var(--ink-soft); margin: 1rem 0 0; }
.field .req { font-weight: 400; color: var(--ink-soft); font-size: 0.93rem; }
.form-card .btn { margin-top: 1.2rem; }
.form-status { margin: 1rem 0 0; font-weight: 600; color: #0a6a4d; }
.form-status:empty { margin: 0; }
.form-status--error { color: #a3261b; }
.btn[disabled] { opacity: 0.6; cursor: default; }
/* Hidden spam-trap field: off screen for people, visible to automated form fillers */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius-m); display: block; }
.map--placeholder { height: auto; min-height: 320px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem 1.4rem; background: var(--white); border: 2px solid var(--line); }
.map--placeholder .btn-row { justify-content: center; margin-top: 1rem; }
.map__address { font-weight: 600; margin: 0; }
.turnstile { margin-top: 1.2rem; min-height: 65px; }

/* ---------- Blog post ---------- */

.post-header { background: var(--sky-tint); }
.post-header .wrap { padding-block: clamp(2.4rem, 5vw, 3.6rem) clamp(7rem, 16vw, 12rem); max-width: 54rem; }
.post-header h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.post-meta { color: var(--ink-soft); margin: 0; }
.post-figure { margin: calc(-1 * clamp(5.5rem, 13vw, 10rem)) auto 0; width: min(100% - 2.5rem, 54rem); }
.post-figure img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.post-body { width: min(100% - 2.5rem, 42rem); margin-inline: auto; padding-block: clamp(2.2rem, 5vw, 3.5rem); font-size: 1.12rem; line-height: 1.75; }
.post-body h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.post-back { font-weight: 600; }

.post-related { background: var(--mint-tint); border-radius: var(--radius-m); padding: 1.2rem 1.4rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--sky-tint); font-size: 1rem; }
.site-footer .wrap { padding-block: clamp(2.8rem, 6vw, 4rem) 1.6rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer-logo img { width: 260px; margin-bottom: 1.2rem; }
.site-footer h2 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--blue-deeper); }
.footer-contact li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.6rem; align-items: start; }
.footer-contact svg { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; color: var(--blue-deep); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer-social a { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.footer-social svg { width: 1.25rem; height: 1.25rem; }
.footer-legal { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid #c4dded; font-size: 0.93rem; color: var(--ink-soft); }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; margin-bottom: 0.9rem; }
.footer-legal p { margin: 0 0 0.3rem; }
.footer-legal a { color: var(--ink-soft); text-decoration: underline; }

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

/* ---------- Forms page ---------- */

.form-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.form-doc { background: var(--mint-tint); border-radius: var(--radius-m); padding: 1.5rem 1.4rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.form-doc:nth-child(3n + 2) { background: var(--sun-tint); }
.form-doc:nth-child(3n) { background: var(--sky-tint); }
.form-doc h2 { font-size: 1.3rem; margin: 0; }
.form-doc .btn { margin-top: auto; }
@media (max-width: 820px) { .form-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .form-docs { grid-template-columns: 1fr; } }
.forms-bring { max-width: 44rem; margin-bottom: 1.8rem; color: var(--ink); }
.forms-notes { margin-top: 2.4rem; }

/* Password gate */
.forms-gate { max-width: 30rem; margin-inline: auto; }
.forms-gate__message { color: #a3261b; font-weight: 600; margin: 0.7rem 0 0; min-height: 1.5em; }
.forms-gate__message:empty { min-height: 0; margin: 0; }
