/* Shared refinements: comfortable type, full photographs, robust narrow layouts. */
:root { --muted: #596862; }
img { max-width: 100%; }
.hero-photo > img, .process-intro img, .context-photo img, .contact-photo img {
  aspect-ratio: auto 1200 / 798;
}
.about-image img { aspect-ratio: auto 1200 / 1804; }
.section > *, .service-grid > *, .industry-grid > *, .steps article > *,
.roles summary > *, .audience > div > *, .footer-bottom > * { min-width: 0; }
h1, h2, h3, p, li, summary, .contact-links strong { overflow-wrap: break-word; }
.industry-grid p, .roles li, .legal h1, .legal h2, .legal p { hyphens: auto; }
.small-number, .steps article > span, .quote-section .eyebrow { color: #486455; }
.eyebrow { font-size: 11px; }
.text-link { font-size: 14px; min-height: 44px; }
.button { min-height: 48px; }
.header nav { gap: 20px; }
.header nav > a { font-size: 13px; }
.header nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; }
.header .button-small { gap: 18px; }
.hero-copy { padding-top: 40px; padding-bottom: 28px; }
.hero .eyebrow { margin-bottom: 25px; }
.hero-intro { max-width: 490px; }
.hero-bottom { font-size: 12px; padding-top: 24px; }
.hero-photo { margin-top: 28px; margin-bottom: 28px; }
.photo-label { padding: 18px 24px; }
.photo-label span { font-size: 13px; }
.photo-label strong { font-size: 30px; }
.perit-banner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 7%; padding: 30px 7%; }
.perit-banner h2 { font-size: clamp(27px,2.7vw,35px); margin-top: 10px; }
.perit-banner .eyebrow { font-size: 11px; }
.perit-banner-copy > p { font-size: 16px; line-height: 1.65; color: #344f42; }
.perit-banner .text-link { font-size: 14px; margin-top: 8px; }
.facts { grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr) minmax(0,1.2fr); }
.facts > div { min-width: 0; }
.facts p { font-size: 13px; }
.service-grid p, .steps p, .industry-grid p, .about-copy > p:not(.eyebrow),
.partner > div > p:not(.lead):not(.eyebrow), .audience > div > p { font-size: 16px; }
.service-note { flex-wrap: wrap; }
.service-note p { font-size: 13px; }
.process-intro > p:not(.eyebrow) { font-size: 16px; }
.process-intro .image-caption { font-size: 12px !important; }
.industry-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.industry-grid article { min-width: 0; }
.industry-grid article > span { font-size: 11px; }
.industry-grid h3 { hyphens: auto; }
.tags { max-width: 100%; }
.tags span { font-size: 12px; overflow-wrap: anywhere; }
.detail-content, .roles ul, .wide-detail p { font-size: 15px; }
.about-copy summary, .wide-detail summary { font-size: 15px; min-height: 52px; }
.partner-award p { font-size: 14px; }
.partner-award strong { font-size: 15px; }
.role-count { font-size: 13px; }
.roles h3 { overflow-wrap: anywhere; }
.roles ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
.audience > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
.blog-heading { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; }
.blog-heading h2 { margin-top: 18px; }
.blog-profile-link { flex-shrink: 0; gap: 12px; }
.blog-profile-link .linkedin-mark { height: 29px; width: 29px; font-size: 19px; }
.blog-description { margin-top: 24px; font-size: 17px; color: var(--muted); }
.feed-panel { margin-top: 28px; padding: 22px 0 0; background: transparent; border: 0; border-top: 1px solid #bdcbbb; }
.feed-panel .feed-privacy { max-width: 780px; margin: 0; font-size: 13px !important; line-height: 1.7; }
.feed-privacy a { display: inline; }
#linkedin-feed { margin-top: 20px; }
.contact-links strong { overflow-wrap: anywhere; }
.contact-links > a > span:first-child { font-size: 12px; }
.contact-note, .contact-small { font-size: 13px; }
.footer-top p, .footer-bottom { font-size: 12px; }
.footer-bottom { gap: 12px 28px; flex-wrap: wrap; }
.footer-bottom > div { flex-wrap: wrap; gap: 4px 24px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.legal { max-width: 940px; }
.legal-page { padding-bottom: 0; }
.legal h1 { font-size: clamp(30px,5vw,54px); overflow-wrap: anywhere; }
.legal h2 { font-size: 23px; line-height: 1.4; overflow-wrap: anywhere; }
.legal p { font-size: 16px; line-height: 1.8; }
.legal a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-page .header > .text-link { font-size: 14px; flex-shrink: 0; }
@media (min-width:1101px) and (max-width:1280px) {
  .header { padding-inline: 3%; }
  .header nav { gap: 14px; }
  .header nav > a { font-size: 13px; }
  .header .brand-name { font-size: 12px; }
  .header .button-small { padding: 12px 14px; gap: 12px; }
}
@media (max-width:1100px) {
  html { scroll-padding-top: 100px; }
  .header { height: 80px; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; background: transparent; border: 1px solid #99ac9f; font-size: 14px; }
  .header nav { display: none; position: absolute; left: 0; right: 0; top: 80px; padding: 16px 6% 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px #10232b18; max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  .header nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header nav > a:not(.button) { padding: 12px 0; font-size: 16px; }
  .header nav .button { margin-top: 12px; font-size: 15px; }
  .facts > div { flex-direction: column; align-items: flex-start; gap: 8px; }
  .facts strong { font-size: 36px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid article, .industry-grid article:first-child, .industry-grid article:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid #50636a; }
  .industry-grid article:last-child { border-bottom: 0; }
  .industry-grid h3 { margin: 14px 0; font-size: 30px; }
  .industry-grid h3 br { display: none; }
  .industry-grid p { max-width: 720px; margin-bottom: 20px; }
  .blog-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .blog-profile-link { flex-shrink: 1; }
}
@media (max-width:850px) {
  .process, .about, .partner { display: grid; grid-template-columns: 1fr; gap: 32px; }
  .process-intro > p:not(.eyebrow) { max-width: 640px; }
  .process-intro img { max-width: 640px; }
  .steps { margin-top: 0; }
  .about { display: grid; }
  .about-image { max-width: 360px; justify-self: start; }
  .about-copy h2, .partner h2 { font-size: 38px; }
  .partner > div:last-child { margin-top: 0; }
  .roles ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .perit-banner { padding: 28px 6%; }
  .perit-banner-copy > p { font-size: 15px; }
  .photo-label span { font-size: 12px; }
  .hero-photo { margin: 0 6% 28px; }
}
@media (max-width:600px) {
  body { padding-bottom: 0; }
  .home-page { padding-bottom: calc(76px + env(safe-area-inset-bottom,0px)); }
  .header { height: 74px; gap: 12px; }
  .header nav { top: 74px; max-height: calc(100dvh - 74px - 76px - env(safe-area-inset-bottom,0px)); }
  .hero-copy { padding-top: 25px; padding-bottom: 20px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .07em; margin-bottom: 18px; }
  .hero .eyebrow .line { display: none; }
  .hero-intro { margin-top: 17px; font-size: 16px; line-height: 1.65; }
  .hero .button { margin-top: 20px; }
  .hero-bottom { padding-top: 18px; }
  .hero-photo { margin-bottom: 22px; }
  .photo-label { padding: 14px 18px; }
  .photo-label > span:first-child { display: none; }
  .photo-label strong { font-size: 27px; }
  .perit-banner { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 25px 6%; }
  .perit-banner h2 { font-size: 29px; margin-top: 8px; }
  .perit-banner h2 br { display: none; }
  .perit-banner-copy > p { font-size: 14px; }
  .perit-banner-copy > p br { display: none; }
  .perit-banner .text-link { margin-top: 3px; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 24px 6%; gap: 20px 16px; }
  .facts strong { font-size: clamp(29px,8.3vw,35px); }
  .facts p { font-size: 13px; }
  .facts > div:last-child { flex-direction: row; }
  .service-note .text-link { margin-left: 0; font-size: 14px; }
  .about-image { justify-self: center; max-width: 330px; }
  .roles ul { grid-template-columns: 1fr; margin-left: 30px; }
  .roles summary { gap: 8px; }
  .roles h3 { font-size: clamp(20px,5.6vw,25px); }
  .blog-heading h2 { margin-top: 14px; }
  .blog-description { font-size: 16px; margin-top: 16px; }
  .feed-panel { margin-top: 20px; padding-top: 18px; }
  .feed-panel .feed-privacy { font-size: 13px !important; }
  .blog-profile-link { font-size: 14px; }
  .mobile-contact { grid-template-columns: minmax(0,.75fr) minmax(0,1.5fr); gap: 8px; }
  .mobile-contact a { font-size: 13px; padding: 0 12px; }
  .mobile-contact a > span { font-size: 17px; flex-shrink: 0; }
  .legal-page .header > .text-link { max-width: 75px; font-size: 13px; line-height: 1.4; text-align: right; }
  .legal-page .header .brand { gap: 9px; }
  .legal-page .header .brand-mark { padding-right: 12px; }
  .legal-page .header .brand-name { font-size: 11px; }
  .legal h1 { font-size: clamp(30px,8.4vw,43px); }
  .legal h2 { font-size: 22px; }
}
@media (max-width:360px) {
  .brand { gap: 8px; }
  .brand-mark { font-size: 36px; padding-right: 12px; }
  .brand-name { font-size: 11px; }
  .brand-name small { font-size: 7px; }
  .menu-toggle { padding: 8px 10px; font-size: 13px; }
  .hero h1 { font-size: 30px; }
  .hero-bottom { font-size: 11px; }
  .hero .button { font-size: 13px; gap: 12px; }
}

/* Mobile menu: solid desktop button styling. */
@media (max-width: 1100px) {
  .header .menu-toggle {
    appearance: none;
    background: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
    border-radius: 0;
    min-height: 44px;
    flex-shrink: 0;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
  }
  .header .menu-toggle:hover,
  .header .menu-toggle[aria-expanded="true"] {
    background: #294c55;
    border-color: #294c55;
  }
  .header .menu-toggle:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
  }
}
