/* Page proportions from the four client design boards. */
.selected-inquiry-service { padding: 14px 18px; border-inline-start: 3px solid var(--gold); background: #f7f5ed; color: var(--green); line-height: 1.7; }
.draft-preview-notice { padding: 14px 24px; background: #fff2c9; color: #183e31; border-bottom: 1px solid #c4a850; text-align: center; font-size: 14px; line-height: 1.7; }
.draft-preview-notice + .hero { border-top: 0; }
/* Additional sector navigation uses the established typography and colours. */
.industry-detail-link { display: inline-flex; margin-top: 18px; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.page-breadcrumbs { padding-block: 20px; font-size: 13px; }
.page-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.page-breadcrumbs li + li::before { content: '/'; display: inline-block; margin-inline-end: 10px; opacity: .5; }
.page-breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.related-expertise-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 24px; }
.related-expertise-card { display: flex; flex-direction: column; padding: 30px; border: 1px solid #deded3; border-radius: 4px; background: #fff; color: var(--green); }
.related-expertise-card h3 { font-size: 24px; line-height: 1.35; }
.related-expertise-card p { color: #52615c; line-height: 1.8; }
.related-expertise-card > span { margin-top: auto; padding-top: 20px; font-weight: 700; }
.related-expertise-card:hover { border-color: var(--gold); }
.industry-detail-link:focus-visible, .related-expertise-card:focus-visible, .page-breadcrumbs a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.privacy-measurement { max-width: 860px; }
.privacy-measurement p { line-height: 1.9; }
:root {
  --reference-paper: #f8f6f0;
  --reference-tint: #f1efe8;
  --reference-dark: #05271f;
  --reference-olive: #6c5c24;
}
.container, .nav-wrap { width: min(1360px, calc(100% - clamp(40px, 5.25vw, 112px))); }
.site-header { height: clamp(64px, 5.25vw, 86px); }
.brand-label { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.035em; }
.main-nav { gap: clamp(18px, 2.3vw, 39px); }
.nav-cta { text-transform: none; font-size: 12px; }
.page-home .site-header, .page-services .site-header { background: var(--reference-paper); }
.page-about .site-header, .page-contact .site-header { background: #335249; }
.hero-home, .hero-about { background: var(--reference-paper); }
.hero-home .hero-grid { grid-template-columns: 1.45fr 1fr; gap: 7%; min-height: clamp(645px, 63vw, 890px); padding-block: clamp(65px, 10vw, 155px); }
.hero-about .hero-grid { grid-template-columns: 1.42fr 1fr; gap: 7%; min-height: clamp(600px, 61vw, 870px); padding-block: clamp(65px, 9vw, 140px); }
.hero h1, .vision h2, .section-heading h2, .impact h2, .meaning h2, .cta-strip h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -.035em; }
.hero h1 { line-height: .99; }
.hero h1 em, .home-purpose h2 em { color: var(--reference-olive); }
.hero h1 em { font-weight: inherit; }
.hero-home h1, .hero-about h1 { font-size: clamp(47px, 5.2vw, 78px); max-width: none; }
.hero-home .hero-intro, .hero-about .hero-intro { max-width: 520px; }
.hero-home .hero-visual, .hero-about .hero-visual { height: auto; margin: 0; padding: 0; aspect-ratio: 103 / 132; }
.hero-about .hero-visual { aspect-ratio: 100 / 124; }
.hero-home .hero-photo, .hero-about .hero-photo { border-radius: 7px; background-position: center; box-shadow: 0 15px 35px #142b1d1c; }
.hero-home .hero-photo::after, .hero-about .hero-photo::after { display: none; }
.hero .eyebrow { margin: 0 0 20px; }
.hero-home .eyebrow, .hero-services .eyebrow, .hero-contact .eyebrow { display: inline-flex; padding: 5px 12px; border-radius: 20px; background: #e9d894; color: #483b11; line-height: 1.15; }
.hero-services .eyebrow, .hero-contact .eyebrow { background: #68591d; color: white; }
.hero-home .eyebrow-line, .hero-contact .eyebrow-line, .hero-services .eyebrow-line { display: none; }
.hero-home .hero-photo-note, .hero-about .hero-photo-note { inset: auto auto -12px -22px; display: block; min-width: 0; width: 46%; padding: 16px; border-radius: 3px; font-size: clamp(10px, 1vw, 14px); }
.rtl .hero-home .hero-photo-note, .rtl .hero-about .hero-photo-note { inset: auto auto -12px -22px; text-align: start; }
.hero-photo-note strong { display: block; margin-bottom: 2px; font: 700 25px/1 Georgia, serif; }
.hero-home .hero-photo-note, .hero-about .hero-photo-note { bottom: -9px; min-height: 19%; display: flex; flex-direction: column; justify-content: center; }
.hero-home .btn-ghost { background: #edeae3; border-color: #edeae3; }
.home-purpose { background: #fff; }
.home-purpose .vision { grid-template-columns: 1fr 2.25fr; padding-block: clamp(70px, 8vw, 125px); }
.home-purpose .vision h2 { max-width: 825px; font-size: clamp(34px, 4.25vw, 67px); line-height: 1.02; }
.home-purpose .section-kicker::after { content: ''; display: block; background: var(--reference-olive); width: 30px; height: 2px; margin-top: 7px; }
.sec-industries, .about-story, .leaders-strip, .offices { background: var(--reference-tint); }
.sec-industries .card-symbol { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--reference-dark); color: #fff; font-size: 17px; }
.sec-industries .card-number { display: none; }
.sec-industries .info-card { min-height: 220px; }
.page-home .impact { background: var(--reference-dark); }
.impact-grid { grid-template-columns: 1fr 1fr; gap: 5%; }
.impact h2 { max-width: 530px; }
.impact-photo { min-height: 0; aspect-ratio: 123 / 70; }
.impact-photo::after { display: none; }
.impact .stats { display: grid; grid-template-columns: 1fr 1fr; max-width: 435px; gap: 22px 30px; }
.impact .stats strong { color: #d3b74d; }
.impact .stats small { font-size: 12px; }
.page-home .leaders-strip { padding-block: 42px; background: var(--reference-paper); }
.leaders-strip .section-kicker { color: #5f684e; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.logo-words { gap: 16px; margin-top: 24px; }
.logo-words span { color: #6f7465; }
.page-home .sec-method { background: var(--reference-paper); }
.page-home .testimonials-section { background: var(--reference-tint); }
.page-home .testimonials-section .section-heading h2 { font-style: italic; }
.page-home .cta-strip, .page-about .cta-strip { background: #e8e5dd; }
.page-home .cta-strip h2, .page-about .cta-strip h2 { max-width: 560px; }
.about-story, .about-principles { padding-block: clamp(58px, 7vw, 110px); }
.about-story .section-heading { max-width: 920px; margin: auto; }
.about-story .line-gold { width: 44px; }
.about-story .story-copy { margin-top: 38px; text-align: start; }
.about-story .story-copy p { margin-block: 0 1rem; }
.about-story .story-copy p:last-child { margin-bottom: 0; }
.about-principles { background: #f8f6f0; }
.page-about .sec-pillars { background: var(--reference-tint); }
.page-about .sec-pillars .info-card { background: #ece9e2; }
.page-about .sec-pillars .card-number { display: none; }
.meaning { background: var(--reference-dark); }
.meaning h2 { font-style: italic; }
.meaning figure { margin: 0; }
.meaning img { display: block; width: 100%; height: auto; border-radius: 2px; }
.meaning figcaption { color: #d6ddd2; font-size: 12px; margin-top: 10px; }
.team-portrait { height: auto; aspect-ratio: 79 / 104; }
.team-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-home .hero-photo:has(.hero-image) { background-image: none !important; }
.impact-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.source-inquiry { background: var(--reference-tint); }
.source-inquiry .contact-form-panel { width: min(900px, 100%); margin-inline: auto; }
.source-inquiry .form-grid { gap: 0 20px; }
.source-inquiry .wide-field { grid-column: 1 / -1; }
.source-case { display: grid; grid-template-columns: 1.5fr 1fr; gap: 35px; padding-block: 35px; border-top: 1px solid var(--border); }
.source-case h3 { font-size: 27px; }
.source-case p, .source-case li { line-height: 1.95; }
.source-case li { margin-bottom: 14px; }
.source-note { margin-block: 15px 50px; }
@media(max-width:760px) { .source-case { grid-template-columns: 1fr; gap: 15px; } }
.team-card h3 { margin-top: 18px; }
.hero-contact .hero-grid { min-height: clamp(465px, 50vw, 700px); position: static; grid-template-columns: 1fr 1fr; }
.hero-contact .hero-visual { inset: 0; width: 100%; }
.hero-contact .hero-photo { background-position: right center; background-repeat: no-repeat; background-size: 62% 100%; opacity: 1; }
.hero-contact .hero-photo.custom-photo { background-size: cover; }
.hero-contact .hero-photo::after { background: linear-gradient(90deg, #f5f2e9 12%, #f5f2e9f2 32%, #f5f2e9a0 49%, transparent 84%); }
.rtl .hero-contact .hero-photo { background-position: left center; }
.rtl .hero-contact .hero-photo::after { background: linear-gradient(270deg, #f5f2e9 12%, #f5f2e9f2 32%, #f5f2e9a0 49%, transparent 84%); }
.hero-contact .hero-content { max-width: none; }
.hero-contact .hero-intro { max-width: 470px; }
.contact-partners { display: inline-flex; align-items: center; gap: 14px; color: #40554c; font-size: 12px; margin-top: 11px; }
.partner-avatars { display: flex; padding-inline-end: 6px; }
.partner-avatars img { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #fff; object-fit: cover; }
.partner-avatars img+img { margin-inline-start: -6px; }
.contact-grid { grid-template-columns: 1.45fr 1fr; gap: 5%; }
.contact-form-panel, .booking-panel { padding: clamp(25px, 4vw, 60px); }
.contact-form-panel .eyebrow, .booking-panel .eyebrow { display: none; }
.contact-form-panel .submit-btn { width: auto; }
.booking-panel { background: var(--reference-dark); }
.booking-panel .submit-btn { color: #fff; background: #6c5b17; }
.booking-panel .booking-controls { background: #10372b; padding: 14px; border-radius: 4px; margin-bottom: 18px; }
.booking-panel .booking-controls label { margin-bottom: 0; }
.booking-reveal { display: block; width: 100%; margin-bottom: 16px; }
.booking-reveal[aria-expanded='true'] { display: none; }
.office-heading { color: #706447; font: 700 11px/1.4 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
.offices .offices-grid .office-heading { font-size: 11px; }
.offices-grid h3 { font: 700 24px/1.2 Georgia, serif; letter-spacing: 0; margin-block: 20px 8px; }
.rtl .offices-grid h3 { font-family: 'IBM Plex Sans Arabic', Tahoma, sans-serif; }
.why-panel { border-inline-start: 2px solid #897435; padding: 2px 0 0 20px; padding-inline-start: 20px; margin-top: 30px; }
.offices-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.offices-grid h2 { font-size: 26px; }
.reference-map { width: min(100%, 470px); height: auto; aspect-ratio: 1; background: transparent; margin: 0; border-radius: 6px; }
.reference-map img { width: 100%; height: auto; }
.footer { background: var(--reference-dark); }

@media (max-width: 970px) {
  .hero-home h1, .hero-about h1 { font-size: clamp(41px, 5.35vw, 56px); }
  .hero-home .hero-grid, .hero-about .hero-grid { min-height: 570px; }
  .contact-form-panel, .booking-panel { padding: 24px; }
}
@media (max-width: 760px) {
  .container, .nav-wrap { width: calc(100% - 36px); }
  .site-header { height: 66px; }
  .main-nav { top: 66px; gap: 0; }
  .hero-home .hero-grid, .hero-about .hero-grid { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding-block: 55px 58px; }
  .hero-home h1, .hero-about h1 { font-size: clamp(34px, 8.9vw, 55px); }
  .hero-home .hero-visual, .hero-about .hero-visual { width: min(90%, 410px); height: auto; }
  .hero-home .hero-photo-note, .hero-about .hero-photo-note { inset-inline-start: -10px; width: 48%; }
  .home-purpose .vision h2 { font-size: clamp(30px, 7.6vw, 45px); line-height: 1.1; }
  .impact-grid, .contact-grid, .offices-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-contact .hero-grid { grid-template-columns: 1fr; min-height: 440px; }
  .hero-contact .hero-photo, .rtl .hero-contact .hero-photo { background-size: cover; background-position: center; }
  .hero-contact .hero-photo::after, .rtl .hero-contact .hero-photo::after { background: #f5f2e9cb; }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-card h3 { font-size: 19px; }
  .reference-map { max-width: 390px; }
}

/* Keep the booking action and menu comfortable on phones and narrow tablets. */
@media (max-width: 970px) {
  .site-header { height: auto; min-height: 70px; }
  .site-header .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 32px);
    min-height: 70px;
    gap: 10px;
    padding-block: 9px;
  }
  .site-header .brand { min-width: 0; max-width: 100%; white-space: normal; }
  .site-header .brand-label {
    font-size: clamp(15px, 2.6vw, 21px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .rtl .site-header .brand-label { font-size: clamp(15px, 3vw, 20px); line-height: 1.4; }
  .site-header .nav-actions { gap: 6px; flex-shrink: 0; }
  .site-header .nav-cta {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .site-header .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 3px;
  }
  .site-header .menu-toggle span { width: 20px; height: 2px; margin: 0; flex-shrink: 0; }
  .site-header .main-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    margin: 0;
    padding: 14px 20px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 20px #0001;
  }
  .site-header .main-nav.open { display: flex; }
  .site-header .main-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 8px; }
  .site-header .main-nav a.active { padding-bottom: 10px; }
  .site-header .nav-cta:focus-visible, .site-header .menu-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
  .page-about .site-header .main-nav, .page-contact .site-header .main-nav { background: #335249; }
  .page-about .site-header .menu-toggle span, .page-contact .site-header .menu-toggle span { background: #fff; }
}
