/* samlawcanada.com
   Brand: navy #101d30, maple #a62025, gold #bba362, cream #eaefdd (from the SAMLAW logo master file).
   Type: Jost (headings, UI) + Source Serif 4 (reading text). Both self-hosted, SIL OFL. */

@font-face { font-family: "Jost"; src: url("/assets/fonts/jost-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-italic-var.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --navy: #101d30;
  --navy-2: #182841;
  --navy-3: #22355a;
  --maple: #a62025;
  --maple-dk: #861a1e;
  --gold: #bba362;
  --cream: #eaefdd;
  --tint: #f4f6ee;
  --paper: #ffffff;
  --ink: #18222f;
  --slate: #4a5466;
  --rule: #d9ddd0;
  --rule-dk: rgba(234, 239, 221, .18);
  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65; font-optical-sizing: auto; }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--maple); }
:focus-visible { outline: 3px solid var(--navy-3); outline-offset: 2px; border-radius: 2px; }
.site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible, .topbar :focus-visible { outline-color: var(--cream); }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--navy); padding: 10px 14px; z-index: 100; font-family: var(--sans); }
.skip:focus { left: 8px; }
.icon { width: 1.05em; height: 1.05em; flex: none; vertical-align: -.15em; }
.small { font-size: .9rem; color: var(--slate); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.2;
  padding: .85em 1.4em; border-radius: var(--r); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--maple); color: #fff; }
.btn--primary:hover { background: var(--maple-dk); color: #fff; }
.btn--ghost-light { border-color: rgba(234, 239, 221, .55); color: var(--cream); background: transparent; }
.btn--ghost-light:hover { border-color: var(--cream); color: #fff; background: rgba(234, 239, 221, .08); }
.btn--block { width: 100%; }
.textlink { font-family: var(--sans); font-weight: 500; color: var(--maple); text-decoration: underline; text-decoration-thickness: 1px; }
.textlink:hover { color: var(--maple-dk); }

/* ---------- top bar + header */
.topbar { background: var(--navy); color: var(--cream); font-family: var(--sans); font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: .4em; color: var(--cream); text-decoration: none; }
a.topbar__item:hover { color: #fff; text-decoration: underline; }
.topbar__item:first-child { margin-right: auto; }
@media (max-width: 700px) { .topbar__item:first-child { display: none; } .topbar__inner { justify-content: space-between; } }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .4em; background: none; border: 0; color: var(--cream); font: inherit; cursor: pointer; padding: 6px 0; }
.lang__btn:hover span { text-decoration: underline; }
.lang__menu { position: absolute; right: 0; top: 100%; z-index: 60; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 12px 30px rgba(16, 29, 48, .16); list-style: none; margin: 4px 0 0; padding: 6px; width: min(330px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; columns: 2; column-gap: 4px; }
.lang__menu a { display: block; padding: 6px 8px; color: var(--navy); text-decoration: none; border-radius: 2px; break-inside: avoid; font-size: .9rem; white-space: nowrap; }
.lang__menu a:hover, .lang__menu a:focus { background: var(--tint); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: block; flex: none; }
.brand img { width: 172px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--navy); text-decoration: none; padding: .6rem .7rem; border-radius: 2px; }
.nav__link:hover, .nav__link[aria-current] { color: var(--maple); }
.nav__link[aria-current] { box-shadow: inset 0 -2px 0 var(--maple); }
.nav__sub-toggle { display: none; background: none; border: 0; color: var(--navy); cursor: pointer; padding: .4rem; }
.nav__panel { position: absolute; top: 100%; left: -.5rem; min-width: 300px; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--maple);
  box-shadow: 0 16px 36px rgba(16, 29, 48, .14); padding: .6rem; visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s, visibility 0s .12s; }
.nav__panel ul { list-style: none; margin: 0; padding: 0; }
.nav__panel a { display: block; padding: .45rem .7rem; font-family: var(--sans); font-size: .95rem; color: var(--navy); text-decoration: none; border-radius: 2px; }
.nav__panel a:hover, .nav__panel a:focus { background: var(--tint); color: var(--maple); }
.nav__panel a[aria-current] { color: var(--maple); }
.nav__panel-all { border-top: 1px solid var(--rule); margin-top: .35rem; padding-top: .35rem; }
.nav__panel-all a { font-weight: 500; color: var(--maple); }
@media (min-width: 1081px) {
  .has-sub:hover .nav__panel, .has-sub:focus-within .nav__panel, .has-sub.is-open .nav__panel { visibility: visible; opacity: 1; transform: none; transition: opacity .12s, transform .12s; }
}
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: .4rem; background: none; border: 1px solid var(--rule); border-radius: var(--r); padding: .55rem .8rem; font-family: var(--sans); font-size: .95rem; color: var(--navy); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 20px 30px rgba(16, 29, 48, .12);
    flex-direction: column; align-items: stretch; padding: .5rem var(--gut) 1.25rem; max-height: calc(100vh - 120px); overflow: auto; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
  .nav__link { flex: 1; padding: .85rem 0; font-size: 1.05rem; }
  .nav__link[aria-current] { box-shadow: none; }
  .nav__sub-toggle { display: inline-flex; padding: .7rem; }
  .nav__sub-toggle svg { width: 20px; height: 20px; transition: transform .15s; }
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__panel { position: static; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; min-width: 0; width: 100%; }
  .has-sub.is-open .nav__panel { display: block; }
  .nav__cta { margin-top: 1rem; }
}

/* ---------- home hero: copy on the left, team photo on the right inside the content width, in the branded frame */
.hero { background: var(--navy); color: var(--cream); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; padding: clamp(44px, 6vw, 80px) var(--gut) clamp(36px, 4.5vw, 56px); }
.hero__copy { min-width: 0; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.04; max-width: 14ch; }
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--cream); max-width: 34em; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.4rem; }
.hero__note { font-family: var(--sans); font-size: .95rem; color: var(--gold); max-width: 34em; padding-left: .9rem; border-left: 2px solid var(--gold); margin: 0; }
/* Branded frame, as on the other portraits: maple top rule, lighter navy panel offset down-right with the gold leaf watermark, maple leaf badge */
.hero__photo { position: relative; isolation: isolate; margin: 0; padding: 0 18px 18px 0; width: 100%; max-width: 580px; justify-self: end; }
.hero__photo::before { content: ""; position: absolute; z-index: -1; inset: 18px 0 0 18px;
  background: #1a2a42 url("/assets/brand/leaf-watermark.svg") no-repeat right -24px bottom -20px / 46%; box-shadow: inset 0 0 0 1px rgba(187, 163, 98, .35); }
.hero__photo picture { display: block; }
.hero__photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0; border-top: 4px solid var(--maple); filter: saturate(1.04) contrast(1.03); }
.hero__photo::after { content: ""; position: absolute; z-index: 1; left: 0; bottom: 18px; width: 52px; height: 52px;
  background: var(--maple) url("/assets/brand/leaf-cream.svg") center / 30px no-repeat; }
.licences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-dk); }
.licences li { padding: 1.1rem 1.2rem 1.25rem; border-left: 1px solid var(--rule-dk); font-family: var(--sans); }
.licences li:first-child { border-left: 0; padding-left: 0; }
.licences__k { display: block; color: #fff; font-weight: 500; font-size: 1rem; }
.licences__v { display: block; color: var(--gold); font-size: .88rem; margin-top: .15rem; }
.licences__lang { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.licences__lang:hover .licences__k { text-decoration: underline; }
/* Tablet and phone: the photo becomes a short, full-width band above the headline, cropped from the top so heads are never cut */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .hero__photo { order: -1; margin: 0 calc(var(--gut) * -1); padding: 0; max-width: none; width: auto; justify-self: stretch; }
  .hero__photo::before { display: none; }
  .hero__photo img { aspect-ratio: 16 / 10; max-height: 46vh; object-position: 50% 0; border-top: 0; border-bottom: 4px solid var(--maple); }
  .hero__photo::after { left: var(--gut); bottom: -18px; width: 44px; height: 44px; background-size: 26px; }
  .hero__copy { padding-top: 34px; }
  .hero h1 { max-width: none; }
  .licences { grid-template-columns: 1fr 1fr; }
  .licences li:nth-child(3) { border-left: 0; padding-left: 0; }
  .licences li:nth-child(n+3) { border-top: 1px solid var(--rule-dk); }
}
@media (max-width: 900px) and (orientation: landscape) { .hero__photo img { aspect-ratio: auto; height: 50vh; } }
@media (max-width: 560px) {
  .hero__photo img { aspect-ratio: 16 / 10; max-height: 40vh; }
  .hero__copy { padding-top: 30px; }
  .hero h1 { font-size: 2rem; }
  .hero__lede { font-size: 1rem; line-height: 1.55; }
}

/* ---------- page hero */
.page-hero { background: var(--navy); color: var(--cream); padding: clamp(28px, 5vw, 56px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero .lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 42em; color: var(--cream); margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.eyebrow { font-family: var(--sans); color: var(--gold); font-size: 1rem; margin: 0 0 .4rem; }
.crumbs { font-family: var(--sans); font-size: .88rem; margin-bottom: 1.1rem; color: rgba(234, 239, 221, .8); display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs a { color: var(--cream); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs__sep { opacity: .5; }

/* ---------- sections */
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section--tint { background: var(--tint); }
.section__h { margin-bottom: 1.5rem; }
.section__more { margin: 1.5rem 0 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.two-col--wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .two-col, .two-col--wide-left { grid-template-columns: 1fr; } }

/* router */
.router__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--navy); }
.router__col { padding: 1.4rem 1.4rem 1.6rem 0; }
.router__col + .router__col { padding-left: 1.4rem; border-left: 1px solid var(--rule); }
.router__col h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.router__col h3 a { color: var(--navy); text-decoration: none; }
.router__col h3 a:hover { color: var(--maple); text-decoration: underline; }
.router__col > p { color: var(--slate); font-size: .98rem; }
.router__col ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); }
.router__col li { border-top: 1px solid var(--rule); }
.router__col li a { display: block; padding: .55rem 0; color: var(--navy); text-decoration: none; }
.router__col li a:hover { color: var(--maple); }
@media (max-width: 1000px) {
  .router__grid { grid-template-columns: 1fr 1fr; }
  .router__col:nth-child(3) { padding-left: 0; border-left: 0; }
  .router__col:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 620px) {
  .router__grid { grid-template-columns: 1fr; }
  .router__col, .router__col + .router__col { padding-left: 0; padding-right: 0; border-left: 0; }
  .router__col + .router__col { border-top: 1px solid var(--rule); }
}

/* feature (profile teaser) */
.feature__inner { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature__role { font-family: var(--sans); color: var(--maple); margin-top: -.4rem; }
.facts { list-style: none; padding: 0; margin: 0 0 1.25rem; font-family: var(--sans); font-size: .98rem; }
.facts li { padding: .5rem 0 .5rem 1.1rem; border-top: 1px solid var(--rule); position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; background: var(--maple); }
@media (max-width: 760px) { .feature__inner { grid-template-columns: 1fr; } .feature__photo { max-width: 320px; } }

/* testimonials */
.quotes { columns: 3 320px; column-gap: clamp(20px, 3vw, 40px); }
.quote { break-inside: avoid; margin: 0 0 clamp(20px, 3vw, 36px); padding: 0 0 0 1.25rem; border-left: 2px solid var(--gold); }
.quote blockquote { margin: 0 0 .8rem; }
.quote blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.quote figcaption { font-family: var(--sans); font-size: .9rem; line-height: 1.4; }
.quote__who { display: block; font-weight: 600; color: var(--navy); }
.quote__where { display: block; color: var(--slate); }
.quote__matter { display: block; color: var(--maple); margin-top: .15rem; }

/* steps (a real sequence) */
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.steps__list li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1rem; }
.steps__list li::before { content: counter(step); display: block; font-family: var(--sans); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--maple); margin-bottom: .7rem; }
.steps__list h3 { font-size: 1.15rem; }
.steps__list p { color: var(--slate); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .steps__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps__list { grid-template-columns: 1fr; } }

/* team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.team__card a { display: block; text-decoration: none; color: inherit; }
.team__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 1rem; background: #9a9a9a; }
.team__name { display: block; font-family: var(--sans); font-weight: 600; font-size: 1.25rem; color: var(--navy); }
.team__card a:hover .team__name { color: var(--maple); text-decoration: underline; }
.team__role { display: block; font-family: var(--sans); color: var(--maple); font-size: .95rem; margin: .15rem 0 .4rem; }
.team__line { display: block; color: var(--slate); font-size: .98rem; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .team { grid-template-columns: 1fr; gap: 1.25rem; }
  .team__card a { display: grid; grid-template-columns: 104px 1fr; column-gap: 1rem; align-items: start; }
  .team__card picture { grid-row: 1 / span 3; }
  .team__card img { margin: 0; }
  .team__name { font-size: 1.12rem; }
}

/* hub lists */
.hub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.hub li { border-bottom: 1px solid var(--rule); }
.hub li:nth-child(odd) { padding-right: clamp(16px, 3vw, 40px); }
.hub li:nth-child(even) { padding-left: clamp(16px, 3vw, 40px); border-left: 1px solid var(--rule); }
.hub__item { display: block; padding: 1.1rem 0 1.2rem; text-decoration: none; color: inherit; }
.hub__name { display: block; font-family: var(--sans); font-weight: 600; font-size: 1.2rem; color: var(--navy); margin-bottom: .25rem; }
.hub__item:hover .hub__name { color: var(--maple); text-decoration: underline; }
.hub__desc { display: block; color: var(--slate); font-size: .98rem; }
.hub--extra { border-top: 0; }
@media (max-width: 760px) {
  .hub { grid-template-columns: 1fr; }
  .hub li:nth-child(odd), .hub li:nth-child(even) { padding: 0; border-left: 0; }
}

/* FAQ */
.faq { margin-top: 2.5rem; }
.faq h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1rem 0; font-family: var(--sans); font-weight: 500; font-size: 1.08rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--maple); }
.faq__chev { width: 22px; height: 22px; flex: none; margin-top: 2px; transition: transform .15s; color: var(--maple); }
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 0 1.1rem; }
.faq__a p:last-child { margin-bottom: 0; }
.section .faq:first-child { margin-top: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--cream); padding: clamp(40px, 6vw, 72px) 0; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 40em; margin: 0; }
.cta-band__actions { display: flex; flex-direction: column; gap: .75rem; }
@media (max-width: 800px) { .cta-band__inner { grid-template-columns: 1fr; } .cta-band__actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- article (practice pages) */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); align-items: start; }
.article__aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 1.5rem; font-family: var(--sans); }
@media (max-width: 980px) {
  .article { grid-template-columns: 1fr; }
  .article__aside { position: static; order: 2; }
  .toc { display: none; }
}
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.22rem; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--maple); }
.prose strong { font-weight: 650; color: var(--navy); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 2px solid var(--gold); color: var(--slate); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; font-family: var(--sans); }
.prose th, .prose td { text-align: left; padding: .6em .7em; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { color: var(--navy); border-bottom: 2px solid var(--navy); }
.lede-dark { font-size: 1.2rem; color: var(--navy); }
.reviewed { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--slate); font-family: var(--sans); }
.consult-card { background: var(--navy); color: var(--cream); padding: 1.4rem; border-radius: var(--r); }
.consult-card__h { font-weight: 600; font-size: 1.15rem; color: #fff; margin-bottom: .5rem; line-height: 1.3; }
.consult-card p { font-size: .95rem; }
.consult-card__tel { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .8rem; color: var(--cream); text-decoration: none; }
.consult-card__tel:hover { color: #fff; text-decoration: underline; }
.aside__h { font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: .5rem; }
.toc ol, .related ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.toc a, .related a { display: block; padding: .3rem 0 .3rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--slate); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.toc a:hover, .related a:hover { color: var(--maple); border-left-color: var(--maple); }
.toc a.is-active { color: var(--navy); border-left-color: var(--navy); font-weight: 500; }
.client-voices { margin: 2.5rem 0 0; padding: 1.75rem 0 0; border-top: 2px solid var(--navy); }
.client-voices .quotes { columns: 2 260px; }
.prose .quote blockquote { margin: 0 0 .8rem; padding-left: 0; border-left: 0; color: inherit; }
.client-voices__more { font-family: var(--sans); font-size: .95rem; margin: 0; }

/* ---------- panels, profile, photos */
.panel { border-top: 2px solid var(--navy); padding-top: 1rem; font-family: var(--sans); }
.panel__h { font-size: 1rem; font-weight: 600; margin: 1.2rem 0 .5rem; }
.panel__h:first-child { margin-top: 0; }
.panel p { font-size: .98rem; }
.panel .icon { color: var(--maple); }
.profile { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.profile__side { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 104px; }
.profile__side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile__side { position: static; max-width: 420px; } }
.wide-photo { margin: 0; }
.wide-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 18%; }
.wide-photo figcaption { font-family: var(--sans); font-size: .9rem; color: var(--slate); margin-top: .6rem; }

/* ---------- contact + form */
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form { font-family: var(--sans); }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row--2 { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 500; color: var(--navy); margin-bottom: .35rem; font-size: .98rem; }
.opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #a9b0a0; border-radius: var(--r); padding: .7rem .8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(34, 53, 90, .35); outline-offset: 0; border-color: var(--navy-3); }
.field textarea { resize: vertical; min-height: 140px; }
.field [aria-invalid="true"] { border-color: var(--maple); }
.help { font-size: .9rem; color: var(--slate); margin: .35rem 0 0; }
.field--check { display: flex; gap: .6rem; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--maple); }
.field--check label { font-weight: 400; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts { margin: .5rem 0 1rem; min-height: 0; }
.form__status { margin: 1rem 0 0; font-size: .98rem; }
.form__status.is-error { color: var(--maple); }
.form__done { border-top: 2px solid var(--navy); padding-top: 1.2rem; font-family: var(--sans); }
.form__done h2 { font-size: 1.5rem; }
.next-steps { padding-left: 1.2rem; }
.next-steps li { margin-bottom: .6rem; }
.next-steps a { font-weight: 500; color: var(--maple); }

/* ---------- footer */
.site-footer { background: var(--navy); color: var(--cream); font-family: var(--sans); font-size: .95rem; padding: clamp(44px, 6vw, 72px) 0 1.5rem; border-top: 4px solid var(--maple); }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: clamp(28px, 5vw, 64px); }
.footer__firm .brand img { width: 200px; margin-bottom: 1.25rem; }
.footer__firm address { font-style: normal; display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1rem; }
.footer__langs { color: var(--gold); font-size: .9rem; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.footer__h { color: #fff; font-weight: 600; margin-bottom: .6rem; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; }
.footer__cols li { margin-bottom: .4rem; line-height: 1.35; }
.footer__legal { margin: 2.5rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--rule-dk); font-size: .85rem; color: rgba(234, 239, 221, .78); max-width: 90ch; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; color: rgba(234, 239, 221, .78); }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .cta-band, .article__aside, .site-footer { display: none; }
  .page-hero { background: none; color: #000; } .page-hero h1 { color: #000; }
}

/* ---------- branded portrait frame: navy panel offset behind the photo, maple rule, maple-leaf badge */
.feature__photo, .team__card picture, .profile__side picture {
  position: relative; display: block; isolation: isolate; padding: 0 16px 16px 0;
}
.feature__photo::before, .team__card picture::before, .profile__side picture::before {
  content: ""; position: absolute; inset: 16px 0 0 16px; z-index: -1;
  background: var(--navy) url("/assets/brand/leaf-watermark.svg") no-repeat right -30px bottom -24px / 58%;
  background-blend-mode: normal;
}
.feature__photo::before, .team__card picture::before, .profile__side picture::before { box-shadow: inset 0 0 0 1px rgba(187, 163, 98, .35); }
.feature__photo img, .team__card picture img, .profile__side picture img {
  display: block; border-top: 4px solid var(--maple);
  filter: saturate(1.04) contrast(1.03);
}
.feature__photo::after, .team__card picture::after, .profile__side picture::after {
  content: ""; position: absolute; left: 0; bottom: 16px; width: 46px; height: 46px; z-index: 1;
  background: var(--maple) url("/assets/brand/leaf-cream.svg") center / 28px no-repeat;
}
.section--tint .team__card picture::before { background-color: var(--navy); }
.team__card img { margin-bottom: 0; }
.team__card picture { margin-bottom: 1rem; }
@media (max-width: 520px) {
  .team__card picture { padding: 0 8px 8px 0; margin: 0; }
  .team__card picture::before { inset: 8px 0 0 8px; background-image: none; }
  .team__card picture::after { width: 26px; height: 26px; bottom: 8px; background-size: 15px; }
}
@media (max-width: 800px) {
  .feature__photo { max-width: 340px; }
  .feature.section { padding-top: 12px; }
}

/* ---------- article extras */
.byline { font-family: var(--sans); font-size: .9rem; color: var(--slate); margin: 0 0 1.25rem; }
.keypoints { background: var(--tint); border-left: 4px solid var(--maple); padding: 1.1rem 1.25rem 1rem 1.4rem; margin: 0 0 2rem; }
.keypoints__h { font-family: var(--sans); font-weight: 600; color: var(--navy); margin: 0 0 .5rem; font-size: 1.02rem; }
.keypoints ul { margin: 0; padding-left: 1.1em; }
.keypoints li { margin-bottom: .45em; }
.prose table { display: block; overflow-x: auto; }
@media (min-width: 700px) { .prose table { display: table; } }
.sources { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.sources h2 { font-size: 1.15rem; margin: 0 0 .6rem; }
.sources ul { font-family: var(--sans); font-size: .95rem; }
.post-related { margin-top: 2rem; }
.post-related h2 { font-size: 1.15rem; }
.post-related ul { font-family: var(--sans); }
.editor-note { border: 1px solid var(--gold); background: #fbf9f2; padding: 1rem 1.25rem; margin: 0 0 2rem; font-size: .98rem; }
.editor-note__h { font-family: var(--sans); font-weight: 600; color: var(--navy); margin: 0 0 .4rem; }
.editor-note ul { margin-bottom: .5rem; }
.video-note { font-family: var(--sans); font-size: .9rem; color: var(--slate); }

/* ---------- The Maple Brief identity */
.mb-kicker { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--sans); font-weight: 600; letter-spacing: .01em;
  color: var(--gold); text-decoration: none; margin-bottom: .8rem; font-size: 1rem; }
.mb-kicker img { width: 24px; height: auto; }
.mb-kicker:hover { color: #fff; }
.post-hero { border-bottom: 4px solid var(--gold); }
.post-hero h1 { max-width: 26ch; }
.post-hero__meta { font-family: var(--sans); font-size: .95rem; color: var(--cream); margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; }
.post-hero__cat { background: var(--maple); color: #fff; padding: .15rem .55rem; border-radius: 2px; font-weight: 500; }
.post-hero__sep { opacity: .45; }
.mb-mast { background: var(--navy); color: var(--cream); border-bottom: 4px solid var(--gold); overflow: hidden; }
.mb-mast__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 6vw, 72px); }
.mb-mast__by { font-family: var(--sans); color: var(--gold); margin: 0 0 .3rem; font-weight: 500; }
.mb-mast__title { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); line-height: .98; letter-spacing: -.025em; margin: 0 0 1rem; }
.mb-mast__tag { max-width: 40em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin: 0 0 1.4rem; }
.mb-mast__jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--sans); }
.mb-mast__jump a { display: inline-block; padding: .4rem .85rem; border: 1px solid rgba(234, 239, 221, .4); color: var(--cream); text-decoration: none; border-radius: 2px; }
.mb-mast__jump a:hover { border-color: var(--gold); color: #fff; }
.mb-mast__mark { width: clamp(120px, 18vw, 220px); height: auto; opacity: .9; }
@media (max-width: 700px) { .mb-mast__inner { grid-template-columns: 1fr; } .mb-mast__mark { display: none; } }
.section__intro { color: var(--slate); max-width: 46em; margin: -1rem 0 1.5rem; }

/* cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2.5vw, 28px); }
.card__link { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--navy);
  padding: 1.1rem 1.2rem 1.25rem; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.section--tint .card__link { background: var(--paper); }
.card__link:hover { border-top-color: var(--maple); }
.card__link:hover .card__title { color: var(--maple); text-decoration: underline; }
.card__media { position: relative; display: block; margin: -1.1rem -1.2rem 1rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__meta { display: flex; flex-wrap: wrap; gap: .3rem .75rem; font-family: var(--sans); font-size: .85rem; color: var(--slate); margin-bottom: .45rem; }
.card__cat { color: var(--maple); font-weight: 500; }
.card__title { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; line-height: 1.25; color: var(--navy); }
.card__desc { margin-top: .5rem; color: var(--slate); font-size: .97rem; }
.card__flag { margin-top: auto; padding-top: .8rem; font-family: var(--sans); font-size: .82rem; color: var(--slate); }

/* YouTube click-to-play */
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--navy); margin: 0 0 1.5rem; border-bottom: 4px solid var(--maple); }
.yt__btn { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; }
.yt__btn:focus-visible { outline: 3px solid var(--maple); outline-offset: 3px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: var(--maple); border-radius: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.yt__play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt__btn:hover .yt__play, .card__link:hover .yt__play, .vcar__card:hover .yt__play { background: var(--maple-dk); }

/* ---------- homepage: social proof */
.proof { background: var(--cream); padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--rule); }
.proof__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.proof__head .section__h { margin: 0; font-size: clamp(2rem, 4vw, 3rem); }
.proof__reach { margin: 0; font-family: var(--sans); color: var(--navy); font-size: 1.05rem; }
.proof__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
.proof__lead { position: relative; margin: 0; background: var(--navy); color: var(--cream); padding: clamp(28px, 4vw, 48px); padding-top: clamp(56px, 6vw, 72px); border-bottom: 4px solid var(--maple); }
.proof__mark { position: absolute; top: .1em; left: clamp(20px, 3vw, 40px); font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--gold); }
.proof__lead blockquote { margin: 0 0 1.25rem; }
.proof__lead blockquote p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; margin: 0; color: #fff; }
.proof__lead .quote__who { color: #fff; } .proof__lead .quote__where { color: var(--cream); } .proof__lead .quote__matter { color: var(--gold); }
.proof__lead figcaption, .proof__item figcaption { font-family: var(--sans); font-size: .95rem; line-height: 1.4; }
.proof__side { display: grid; gap: clamp(20px, 3vw, 28px); align-content: start; }
.proof__item { margin: 0; background: var(--paper); padding: 1.4rem 1.5rem; border-left: 4px solid var(--gold); }
.proof__item blockquote { margin: 0 0 .9rem; }
.proof__item blockquote p { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.proof__more { margin: 2rem 0 0; }
.btn--ghost-dark { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }
@media (max-width: 860px) { .proof__head, .proof__grid { grid-template-columns: 1fr; } }

/* ---------- homepage: video carousel */
.videos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.videos__head .section__intro { margin: 0; }
.videos__head .section__h { margin-bottom: .5rem; }
.vcar { position: relative; }
.vcar__nav { display: flex; gap: .5rem; justify-content: flex-end; margin-bottom: .9rem; }
.vcar__btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--navy); background: var(--paper); color: var(--navy); cursor: pointer; border-radius: 2px; }
.vcar__btn:hover { background: var(--navy); color: #fff; }
.vcar__btn[disabled] { opacity: .35; cursor: default; background: var(--paper); color: var(--navy); }
.vcar__ico { width: 22px; height: 22px; }
.vcar__ico--prev { transform: rotate(90deg); } .vcar__ico--next { transform: rotate(-90deg); }
.vcar__track { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 46%;
  gap: clamp(18px, 2.5vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; }
.vcar__slide { scroll-snap-align: start; }
.vcar__card { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--navy); border-bottom: 4px solid var(--maple); }
.vcar__card .card__media { margin: 0; }
.vcar__body { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.25rem 1.3rem; }
.vcar__body .card__cat { color: var(--gold); font-family: var(--sans); font-size: .85rem; }
.vcar__title { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: #fff; }
.vcar__cta { font-family: var(--sans); color: var(--cream); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; margin-top: .3rem; }
.vcar__card:hover .vcar__title { text-decoration: underline; }
@media (max-width: 600px) { .vcar__track { grid-auto-columns: 86%; } }
@media (prefers-reduced-motion: reduce) { .vcar__track { scroll-behavior: auto; } }

/* Navigation items capitalized */
.nav__link, .nav__panel a, .nav__cta { text-transform: capitalize; }
.btn, button, .vcar__cta { text-transform: capitalize; }

/* Highlighted sound-bites in testimonials */
.quote blockquote strong, .proof__item blockquote strong { font-weight: 700; color: var(--navy); }
.proof__lead blockquote strong { font-weight: 700; color: #fff; background: linear-gradient(transparent 62%, rgba(201,162,75,.45) 62%); }

/* Blog search and topic filters */
.bf { background: var(--paper); border-bottom: 1px solid var(--line, rgba(0,0,0,.1)); padding: 1.5rem 0; }
.bf[hidden], [data-bf-section][hidden], [data-bf-empty][hidden], .card[hidden] { display: none; }
.bf__label { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.bf__input { width: 100%; max-width: 38rem; font: inherit; font-family: var(--sans); padding: .75rem 1rem; border: 1px solid var(--slate); background: #fff; color: var(--ink); border-radius: 2px; }
.bf__input:focus-visible, .bf__pill:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bf__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.bf__pill { font-family: var(--sans); font-size: .92rem; padding: .45rem .9rem; border: 1px solid var(--navy); background: transparent; color: var(--navy); border-radius: 999px; cursor: pointer; }
.bf__pill:hover { background: rgba(10,30,60,.07); }
.bf__pill.is-on { background: var(--navy); color: #fff; }
.bf__n { opacity: .65; font-size: .85em; }
.bf__status { margin: .8rem 0 0; min-height: 1.3em; font-family: var(--sans); font-size: .9rem; color: var(--slate); }
.bf__none { font-size: 1.1rem; color: var(--slate); }

/* Header CTA beside the hamburger, with a radiating pulse */
.hdr-cta { display: none; margin-left: auto; padding: .6rem 1rem; font-size: .95rem; white-space: nowrap; }
.nav-toggle { margin-left: 0; padding: .55rem .6rem; }
@media (max-width: 1080px) {
  .hdr-cta { display: inline-flex; }
  .nav .nav__cta { display: none; }
  .site-header__inner { gap: .75rem; }
}
@media (max-width: 420px) { .brand img { width: 130px; } .hdr-cta { padding: .55rem .8rem; font-size: .9rem; } }
.btn--pulse { position: relative; animation: cta-pulse 2.2s ease-out infinite; }
.btn--pulse:hover, .btn--pulse:focus-visible { animation-play-state: paused; }
@keyframes cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(166, 32, 37, .55); }
  70% { box-shadow: 0 0 0 14px rgba(166, 32, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(166, 32, 37, 0); }
}
@media (prefers-reduced-motion: reduce) { .btn--pulse { animation: none; } }

/* Home: latest Maple Brief article with branded cover */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mbf { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--paper); border-left: 4px solid var(--maple); padding: clamp(16px, 2.5vw, 28px); }
.mbf__media { display: block; text-decoration: none; }
.cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 10; padding: 1rem 1.1rem; background: var(--navy) url(/assets/brand/leaf-watermark.svg) no-repeat right -18% bottom -30% / 62%; border-top: 4px solid var(--maple); color: #fff; overflow: hidden; }
.cover__cat { font-family: var(--sans); font-size: .85rem; color: var(--gold); }
.cover__brand { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.1; }
.mbf__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin: 0 0 .5rem; font-family: var(--sans); font-size: .9rem; color: var(--slate); }
.mbf__title { margin: 0 0 .6rem; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.2; }
.mbf__title a { color: var(--navy); text-decoration: none; }
.mbf__title a:hover { color: var(--maple); }
.mbf__excerpt { margin: 0 0 1rem; color: var(--ink); max-width: 60ch; }
@media (max-width: 700px) { .mbf { grid-template-columns: 1fr; } .mbf__media { max-width: 320px; } }

/* Sticky mobile action bar (call + consult) */
.mbar { display: none; }
@media (max-width: 1080px) {
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(16, 29, 48, .12); transform: translateY(110%); transition: transform .25s ease; }
  .mbar.is-on { transform: none; }
  body.has-mbar { padding-bottom: 72px; }
}
.mbar__btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; font-family: var(--sans); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: var(--r); text-transform: capitalize; }
.mbar__btn svg { width: 18px; height: 18px; }
.mbar__btn--call { color: var(--navy); border: 1px solid var(--navy); background: #fff; }
.mbar__btn--consult { color: #fff; background: var(--maple); }
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }

/* Contact page: a client testimonial beside the form */
.contact__proof { margin-bottom: 1.5rem; }
.contact__proof .quotes { columns: 1; }
.contact__proof .quote { margin-bottom: .6rem; }
.contact__proof-more { margin: 0; font-family: var(--sans); font-size: .95rem; }

/* Footer social icons */
.footer__social { display: flex; gap: .6rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(235, 240, 222, .45); border-radius: 50%; color: var(--cream); transition: background .15s, color .15s, border-color .15s; }
.footer__social a:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); text-decoration: none; }
.footer__social svg { width: 20px; height: 20px; }

/* Keep the last dropdown (Resources) inside the viewport on narrower desktops */
@media (min-width: 1081px) { .nav__list > .nav__item:last-child .nav__panel { left: auto; right: -.5rem; } }
