.site-header { min-height: 116px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--rule); }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.site-header nav a { font-size: 15px; text-decoration: none; padding-block: 12px; white-space: nowrap; }
.site-header nav a:hover { text-decoration: underline; }
.header-contact { display: inline-flex; align-items: center; gap: 18px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-block: 8px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-block: 64px 80px; align-items: center; }
.hero h1 span { color: #617653; }
.hero-description { max-width: 43ch; font-size: 20px; line-height: 1.6; margin-top: 28px; }
.hero .button { margin-top: 32px; min-width: 168px; }
.hero-image { align-self: stretch; min-height: 460px; overflow: hidden; background: var(--sage); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.services, .team, .testimonials { background: var(--sage); }
.history, .cases { background: var(--paper); }
.service-list { border-top: 1px solid #b8c5af; }
.service-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; padding-block: 34px; border-bottom: 1px solid #c4ceb9; }
.service-row:last-child { padding-bottom: 0; border-bottom: 0; }
.service-row h3 { max-width: 22ch; font-size: 26px; }
.service-lead { color: var(--ink); font-size: 20px; }
.service-row p + p { margin-top: 12px; font-size: 17px; }
.history { padding-block: clamp(72px, 8vw, 120px); }
.history-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.history-body h3 { margin-top: 36px; margin-bottom: 20px; font-size: 22px; }
.sectors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 16px; }
.sectors li { border-top: 1px solid var(--rule); padding-top: 10px; }
.team h2 { margin-bottom: 48px; }
.team-member { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 80px; }
.team-member.without-portrait { grid-template-columns: 1fr; max-width: 760px; }
.team-member + .team-member { margin-top: 60px; padding-top: 40px; border-top: 1px solid #c4ceb9; }
.team-member h3 { font-size: 34px; }
.role { margin-top: 8px; font-size: 18px; color: var(--muted); }
.bio { margin-top: 28px; }
.qualifications { border-top: 1px solid #c4ceb9; padding-top: 22px; margin-top: 28px; font-size: 16px; line-height: 1.9; }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.case-study { border-top: 1px solid #9aa78d; padding-top: 28px; }
.case-study h3 { max-width: 25ch; font-size: 29px; }
.case-sector { margin-top: 16px; font-size: 15px; color: var(--ink); }
.case-study .sample-label { margin-top: 6px; }
.case-study dl { margin: 28px 0 0; }
.case-study dt { margin-top: 22px; margin-bottom: 6px; font-weight: 600; font-size: 16px; }
.case-study dd { margin: 0; color: var(--body); font-size: 17px; }
.testimonials { text-align: left; }
.testimonial { max-width: 850px; margin: 44px 0 0; }
.testimonial blockquote { margin-top: 20px; }
.testimonial blockquote p { font-size: clamp(25px, 2.8vw, 36px); line-height: 1.4; letter-spacing: -.015em; color: var(--ink); }
.testimonial figcaption { display: flex; flex-direction: column; gap: 5px; margin-top: 28px; font-size: 16px; }
.testimonial figcaption span { color: var(--muted); }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 80px 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; padding-bottom: 80px; }
.contact-grid p { color: #d6e0d0; margin-bottom: 32px; max-width: 50ch; }
.contact-email { display: inline-flex; gap: 30px; align-items: center; font-size: 24px; text-decoration: none; border-bottom: 1px solid #8aa28f; padding-bottom: 12px; }
.footer-bottom { border-top: 1px solid #577064; padding-top: 30px; display: flex; align-items: center; gap: 40px; }
.footer-bottom p { font-size: 14px; color: #d6e0d0; margin-left: auto; }
.footer-bottom .brand img { width: 196px; }
.footer-bottom > a:last-child { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 14px; }
.footer-bottom > a:last-child svg { transform: rotate(-90deg); width: 18px; }
.site-footer a:focus-visible { outline-color: var(--accent); }

@media (min-width: 1100px) {
  .hero-image img { animation: settle .9s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes settle { from { clip-path: inset(0 0 3% 0); } to { clip-path: inset(0); } }
}
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; padding-block: 24px 16px; gap: 24px; }
  .site-header nav { order: 3; width: 100%; justify-content: flex-start; gap: 26px; }
  .header-contact { margin-left: auto; }
  .hero { gap: 30px; }
  .hero-image { min-height: 420px; }
  .history-grid, .team-member, .contact-grid, .service-row { gap: 44px; }
}
@media (max-width: 760px) {
  .site-header { padding-top: 26px; gap: 22px; }
  .brand img { width: 184px; }
  .header-contact { font-size: 15px; gap: 10px; }
  .site-header nav { flex-wrap: wrap; gap: 0 23px; }
  .site-header nav a { font-size: 14px; padding-block: 8px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 40px 56px; }
  .hero-description { font-size: 18px; max-width: 49ch; margin-top: 24px; }
  .hero-image { height: 340px; min-height: 0; }
  .hero-image img { object-position: 65% 55%; }
  .hero .button { margin-top: 28px; }
  .section-intro > p { font-size: 18px; }
  .service-row { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
  .service-row h3 { max-width: none; font-size: 25px; }
  .history-grid, .team-member, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .sectors { gap: 12px 18px; }
  .team h2 { margin-bottom: 32px; }
  .team-member h3 { font-size: 31px; }
  .portrait { max-width: 480px; }
  .case-grid { grid-template-columns: 1fr; gap: 42px; }
  .case-study h3 { font-size: 27px; }
  .site-footer { padding-top: 62px; }
  .contact-grid { padding-bottom: 58px; }
  .footer-bottom { flex-wrap: wrap; gap: 28px 22px; }
  .footer-bottom p { order: 3; margin-left: 0; width: 100%; }
  .footer-bottom > a:last-child { margin-left: auto; }
}
@media (max-width: 370px) {
  .brand img { width: 154px; }
  .site-header { gap: 14px; }
  .header-contact { gap: 4px; font-size: 14px; }
  .sectors { grid-template-columns: 1fr; }
  .footer-bottom .brand img { width: 160px; }
}
