/* ==========================================================================
   Brooktree Counseling & Consulting, PLLC
   Warm editorial design system.

   EB Garamond carries the display type, chosen to sit with the Garamond-like
   serif in the logo wordmark. Raleway carries body and interface text.
   Olive is an accent here, not the field colour it used to be.
   ========================================================================== */

:root {
  /* paper and ink */
  --paper:        #faf7f0;   /* page background */
  --paper-deep:   #f2ece0;   /* alternating band */
  --paper-edge:   #e4dccd;   /* hairline rules */
  --ink:          #2c281f;   /* headings */
  --body:         #55503f;   /* running text */
  --muted:        #8a8271;   /* labels, captions */

  --accent:       #475a00;   /* the practice's olive */
  --accent-deep:  #36450b;
  --accent-soft:  #eef0e2;

  --dark:         #24211a;   /* footer, reversed bands */

  --shell:        1200px;
  --measure:      66ch;
  --radius:       2px;

  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  color: var(--body);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; border: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.005em;
  line-height: 1.16;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.24; }
h4 { font-size: 21px; line-height: 1.34; }

p, ul, ol, table, blockquote { margin: 0 0 1.35em; padding: 0; }
ul, ol { padding-left: 1.15em; }
li { margin-bottom: .45em; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--accent-deep); }

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

hr { border: 0; border-top: 1px solid var(--paper-edge); margin: 0 0 1.5em; }

.container {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 600px) { .container { padding: 0 20px; } }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* small caps label used throughout */
.eyebrow-label,
.footer-heading,
.trust-list li,
.menu a,
.btn,
.post-card__date,
.section-more,
.service-item__index {
  font-family: var(--sans);
}

.eyebrow-label {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 17px 30px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  margin: 0 10px 12px 0;
}
.btn:hover, .btn:focus { background: var(--accent); color: #fff; }

.btn-filled { background: var(--accent); color: #fff; }
.btn-filled:hover, .btn-filled:focus { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

.btn-lg { padding: 19px 36px; }

.btn-white { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-white:hover, .btn-white:focus { background: #fff; border-color: #fff; color: var(--ink); }

.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover, .btn-outline-light:focus { background: #fff; border-color: #fff; color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

.nav-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-edge);
  transition: box-shadow .3s ease;
}
.site-header.is-stuck .nav-bar { box-shadow: 0 1px 12px rgba(44,40,31,.07); }

.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.site-logo { display: block; line-height: 0; flex: 0 0 auto; }
.site-logo img { display: block; width: 156px; height: auto; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  color: var(--ink); line-height: 0;
}
.nav-toggle svg { width: 24px; height: 24px; fill: currentColor; }

.site-nav { display: flex; align-items: center; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; }
.menu > li { position: relative; margin-left: 30px; }
.menu > li:first-child { margin-left: 0; }

.menu a {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding: 6px 0;
}
.menu a:hover, .menu a:focus, .menu li:hover > a, .menu li:focus-within > a { color: var(--accent); }
.menu .current > a { color: var(--accent); }

.menu .has-sub > a { padding-right: 15px; }
.menu .has-sub > a::after {
  content: ""; position: absolute; right: 0; top: 50%; margin-top: -2px;
  border: 4px solid transparent; border-top-color: currentColor;
}

.sub-menu {
  position: absolute; top: 100%; left: -18px; width: 250px; padding: 10px 0;
  background: var(--ink);
  opacity: 0; visibility: hidden; transform: translate3d(0,8px,0);
  transition: all .25s ease; z-index: 99;
}
.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu,
.menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.sub-menu a {
  display: block; padding: 9px 22px; color: rgba(255,255,255,.82);
  letter-spacing: .09em; font-size: 11px;
}
.sub-menu a:hover, .sub-menu a:focus { color: #fff; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  margin-left: 30px; padding: 12px 20px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  color: var(--accent); background: transparent;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav-cta:hover, .nav-cta:focus { background: var(--accent); color: #fff; }
.nav-cta svg { width: 15px; height: 15px; fill: currentColor; }
.nav-cta-inline { display: inline-flex; }
.nav-cta-bar { display: none; }

@media (max-width: 1099px) {
  .nav-toggle { display: block; order: 3; }
  .nav-inner { padding: 12px 0; }
  .site-logo img { width: 124px; }

  .nav-cta-inline { display: none; }
  .nav-cta-bar {
    display: inline-flex; order: 2; margin-left: auto; margin-right: 2px;
    padding: 10px 16px; font-size: 11.5px;
  }

  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--paper-edge);
    box-shadow: 0 10px 22px rgba(44,40,31,.09);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }

  .menu { display: block; padding: 6px 0; }
  .menu > li { margin: 0; border-top: 1px solid var(--paper-edge); }
  .menu > li:first-child { border-top: 0; }
  .menu a { display: block; padding: 15px 24px; font-size: 12px; }
  .menu .has-sub > a::after { right: 24px; }

  .sub-menu {
    position: static; width: auto; padding: 0; background: var(--accent-soft);
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .menu > li.is-open > .sub-menu { display: block; }
  .sub-menu a { color: var(--body); padding: 13px 24px 13px 40px; }
  .sub-menu a:hover, .sub-menu a:focus { color: var(--accent); }
}

@media (max-width: 420px) {
  .site-logo img { width: 106px; }
  .nav-cta-bar span { display: none; }
  .nav-cta-bar { padding: 11px 13px; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--paper-deep); }
.text-center { text-align: center; }

@media (max-width: 767px) { .section { padding: 68px 0; } }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--muted); margin-bottom: 0; }

.section-more {
  display: inline-block; margin-top: 8px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

/* rule used as an editorial divider */
.rule { height: 1px; background: var(--paper-edge); border: 0; margin: 0; }

/* ---------- Home: hero ---------- */
.hero {
  background: var(--paper);
  padding: 96px 0 104px;
  border-bottom: 1px solid var(--paper-edge);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 76px;
}

.hero h1 { margin-bottom: 24px; }

.hero-lede {
  font-size: 19px;
  line-height: 1.68;
  color: var(--body);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-actions { margin-bottom: 0; }

.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
/* a thin offset frame, the editorial touch */
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  z-index: 0;
}

@media (max-width: 991px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { max-width: 420px; }
  .hero-figure::after { inset: 14px -14px -14px 14px; }
}

/* ---------- Trust line ---------- */
.trust-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-edge);
  padding: 0;
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-list li {
  margin: 0;
  padding: 26px 30px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  border-left: 1px solid var(--paper-edge);
}
.trust-list li:first-child { border-left: 0; }

@media (max-width: 767px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { border-left: 0; border-top: 1px solid var(--paper-edge); padding: 18px 20px; }
  .trust-list li:first-child { border-top: 0; }
}

/* ---------- Home: services as photo cards ----------
   Editorial numbering and type, but every service shows its photograph
   without the visitor having to click through first. */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-item { margin: 0; }

.service-item a {
  display: block;
  color: inherit;
}

.service-item__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
  background: var(--paper-deep);
}
.service-item__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-item a:hover .service-item__media img,
.service-item a:focus-visible .service-item__media img { transform: scale(1.045); }

.service-item__index {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
}

.service-item__title {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 8px;
  transition: color .2s ease;
}
.service-item a:hover .service-item__title,
.service-item a:focus-visible .service-item__title { color: var(--accent); }

.service-item__desc { display: block; margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.service-item__go { display: none; }

@media (max-width: 899px) {
  .service-list { grid-template-columns: repeat(2, 1fr); gap: 36px 26px; }
  .service-item__title { font-size: 22px; }
}

@media (max-width: 520px) {
  .service-list { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Full-bleed photo band with a quote ---------- */
.photo-band {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-image: url("../img/hero-1920.jpg");
  background-size: cover;
  background-position: center 45%;
  background-color: var(--accent-deep);
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,24,8,.42), rgba(20,24,8,.60));
}
.photo-band .container { position: relative; z-index: 2; }

.band-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(25px, 3.1vw, 38px);
  line-height: 1.32;
  color: #fff;
}
.band-quote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

@media (max-width: 767px) { .photo-band { min-height: 340px; padding: 64px 0; } }

/* ---------- Two-column editorial block ---------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  gap: 72px;
}
.editorial__aside h2 { margin-bottom: 0; }
.editorial__body > *:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .editorial { grid-template-columns: 1fr; gap: 28px; }
}

.tick-list { list-style: none; padding: 0; margin: 0 0 30px; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 11px; }
.tick-list li::before {
  content: "";
  position: absolute; left: 2px; top: .5em;
  width: 13px; height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Insurance ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 30px 54px; list-style: none; margin: 0; padding: 0;
}
.logo-strip li { margin: 0; }
.logo-strip img { max-height: 44px; width: auto; mix-blend-mode: multiply; }

@media (max-width: 767px) {
  .logo-strip { gap: 22px 32px; }
  .logo-strip img { max-height: 34px; }
}

/* ---------- Interior page header ---------- */
.page-banner {
  position: relative;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--paper-edge);
  padding: 96px 0 84px;
  overflow: hidden;
}
.page-banner .container { max-width: 900px; position: relative; z-index: 2; }

/* the page's own photograph, behind a wash that keeps the type readable */
.page-banner--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--page-photo);
  background-size: cover;
  background-position: center 42%;
}
.page-banner--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24,26,14,.78) 0%, rgba(24,26,14,.55) 55%, rgba(24,26,14,.42) 100%);
}
.page-banner--photo .page-title { color: #fff; }
.page-banner--photo .eyebrow-label { color: rgba(255,255,255,.72); }

.page-title { margin: 0; }
.page-banner .eyebrow-label { margin-bottom: 18px; }

@media (max-width: 767px) { .page-banner { padding: 56px 0 50px; } }

/* ---------- Article body ---------- */
.entry { padding: 84px 0 96px; }
.entry .container { max-width: 900px; }

.entry-content { max-width: var(--measure); margin: 0 auto; }
.entry-content > *:last-child { margin-bottom: 0; }

.entry-content h2 { margin-top: 2em; }
.entry-content h3, .entry-content h4 { margin-top: 1.9em; }
.entry-content > *:first-child { margin-top: 0; }

.entry-content figure { margin: 0 0 1.4em; }

/* first paragraph of a page reads as a standfirst */
.entry-content > p:first-child {
  font-size: 20px;
  line-height: 1.62;
  color: var(--ink);
}

@media (max-width: 767px) {
  .entry { padding: 52px 0 64px; }
  .entry-content > p:first-child { font-size: 18px; }
}

/* media + text, breaking out of the reading column */
.media-text {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 48px;
  margin-bottom: 2.4em;
  width: min(1020px, calc(100vw - 56px));
  margin-left: 50%;
  transform: translateX(-50%);
}
.media-text__media img { display: block; width: 100%; border-radius: var(--radius); }
.media-text__body > *:last-child { margin-bottom: 0; }
.media-text.media-right .media-text__media { order: 2; }
.media-text.media-top { align-items: start; }
.media-text.media-third { grid-template-columns: .78fr 1.6fr; }

@media (max-width: 767px) {
  .media-text {
    grid-template-columns: 1fr; gap: 26px;
    width: 100%; margin-left: 0; transform: none;
  }
  .media-text.media-right .media-text__media { order: 0; }
}

.credentials {
  margin-bottom: 1.4em;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.text-right { text-align: right; }

/* ---------- FAQ accordion ---------- */
.accordion { margin-bottom: 2em; border-top: 1px solid var(--paper-edge); }
.accordion-item { border-bottom: 1px solid var(--paper-edge); }
.accordion-item h2 { margin: 0; }

.accordion-trigger {
  display: flex; align-items: flex-start; gap: 16px;
  width: 100%; margin: 0; padding: 24px 4px;
  border: 0; background: none;
  font-family: var(--serif);
  font-size: 21px; line-height: 1.34; font-weight: 500;
  color: var(--ink); text-align: left; cursor: pointer;
  transition: color .2s ease;
}
.accordion-trigger:hover { color: var(--accent); }
.accordion-trigger[aria-expanded="true"] { color: var(--accent); }

.accordion-trigger .chev {
  flex: 0 0 auto; margin-top: .52em;
  border: 5px solid transparent; border-left-color: currentColor;
  transition: transform .25s ease;
}
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(90deg) translateX(-2px); }

.accordion-panel { padding: 0 4px 28px 32px; }
.accordion-panel > *:last-child { margin-bottom: 0; }
.accordion-panel[hidden] { display: none; }

@media (max-width: 767px) {
  .accordion-trigger { font-size: 18px; padding: 18px 2px; }
  .accordion-panel { padding: 0 2px 22px 26px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 66px;
  align-items: start;
  width: min(1020px, calc(100vw - 56px));
  margin-left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; gap: 42px; width: 100%; margin-left: 0; transform: none; }
}

.contact-card {
  background: var(--paper-deep);
  border: 1px solid var(--paper-edge);
  padding: 32px;
  margin-bottom: 26px;
}
.contact-card p:last-child { margin-bottom: 0; }
.contact-card strong { color: var(--ink); font-family: var(--serif); font-size: 21px; font-weight: 500; }

.site-form label {
  display: block; margin-bottom: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
}
.site-form .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); }

.site-form input, .site-form textarea {
  display: block; width: 100%; margin-bottom: 26px;
  padding: 14px 16px;
  font-family: inherit; font-size: 16px; line-height: 1.5;
  color: var(--ink); background: #fff;
  border: 1px solid var(--paper-edge); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-form input:focus, .site-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(71,90,0,.12);
}
.site-form textarea { resize: vertical; }
.site-form button[type="submit"] { cursor: pointer; }
.site-form button[disabled] { opacity: .55; cursor: default; }

.form-status {
  padding: 26px; background: var(--accent-soft);
  border-left: 2px solid var(--accent);
}
.form-status[hidden] { display: none; }
.form-status p:last-child { margin-bottom: 0; }
.form-fail { border-left-color: #a3402c; background: #f6ece8; }

.form-note { margin-top: 26px; font-size: 14.5px; line-height: 1.66; color: var(--muted); }

/* ---------- Legal ---------- */
.legal h2 { font-size: 30px; margin-top: 1.9em; }
.legal h3 { font-size: 23px; margin-top: 1.7em; }
.legal h4 { font-size: 19px; margin-top: 1.5em; }
.legal li { margin-bottom: .6em; }

/* ---------- Articles ---------- */
.articles-intro { font-size: 20px; color: var(--ink); margin-bottom: 2.4em; }

.post-card { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--paper-edge); }
.post-card:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }

.post-card__date {
  margin: 0 0 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.post-card h2 { font-size: clamp(24px, 2.2vw, 31px); margin: 0 0 12px; }
.post-card h2 a { color: var(--ink); }
.post-card h2 a:hover, .post-card h2 a:focus { color: var(--accent); }
.post-card p { margin-bottom: 12px; }
.post-card__more { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.callout {
  margin: 2em 0; padding: 24px 28px;
  background: var(--accent-soft); border-left: 2px solid var(--accent);
}
.callout p { margin: 0; }
.callout strong { color: var(--ink); }

/* ---------- Closing call to action ---------- */
.cta-band { padding: 96px 0; text-align: center; background: var(--paper-deep); border-top: 1px solid var(--paper-edge); }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; color: var(--muted); }
.cta-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 4px; margin-bottom: 0 !important; }

@media (max-width: 767px) { .cta-band { padding: 64px 0; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.66);
  padding: 76px 0 30px; font-size: 15px; line-height: 1.7;
}
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer a:hover, .site-footer a:focus { color: #fff; }

.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 54px; padding-bottom: 46px; }
.footer-col-wide { max-width: 400px; }

.footer-logo { width: 140px; height: auto; margin-bottom: 20px; background: var(--paper); padding: 10px 12px; border-radius: var(--radius); }
.footer-blurb { color: rgba(255,255,255,.58); margin-bottom: 24px; }

.footer-heading {
  margin-bottom: 18px; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #fff;
}

.footer-nav, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-nav li, .footer-contact li { margin-bottom: 10px; }

.footer-crisis {
  margin: 0; padding: 24px 0 26px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px; color: rgba(255,255,255,.58);
}
.footer-crisis strong { color: #fff; }

.social-list { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social-list li { margin: 0; }
.social-list a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  color: #fff; transition: background-color .2s ease, border-color .2s ease;
}
.social-list a:hover, .social-list a:focus { background: var(--accent); border-color: var(--accent); }
.social-list svg { width: 16px; height: 16px; fill: currentColor; }

.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 12.5px; color: rgba(255,255,255,.44);
}

@media (max-width: 860px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-col-wide { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 0; margin: 0; padding: 0;
  background: var(--ink); border: 1px solid var(--ink); color: #fff;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease, background-color .2s ease;
}
.back-to-top.is-visible { opacity: .9; visibility: visible; }
.back-to-top:hover, .back-to-top:focus { opacity: 1; background: var(--accent); border-color: var(--accent); color: #fff; }
.back-to-top svg { width: 15px; height: 15px; fill: currentColor; }

.editorial__figure { margin: 30px 0 0; }
.editorial__figure img { display: block; width: 100%; border-radius: var(--radius); }
@media (max-width: 991px) { .editorial__figure { display: none; } }

.service-list + p { margin-top: 46px; margin-bottom: 0; }
