/* ────────────────────────────────────────────────────────────
     DCHP — One-Page Wireframe v2
     Warm cream palette (#FEFAE0 dominant)
     Reframed per Shamil call: team-carried expertise, not firm-owned.
     Focus: GCC/MENA. No country sections. No NRC story block.
     ──────────────────────────────────────────────────────────── */

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

  :root {
    --cream:       #FEFAE0;   /* 01 — dominant background */
    --cream-deep:  #F5EFD0;   /* alt section bg */
    --black:       #2C2C2C;   /* 02 — structure, primary text */
    --tan:         #8B7355;   /* 03 — primary accent */
    --tan-dark:    #6B5642;   /* hover/active accent */
    --red:         #C8102E;   /* 04 — emphasis only */
    --mid:         #5C5145;   /* body text */
    --light:       #A89880;   /* captions, metadata */
    --rule:        #DDD4B8;   /* dividers, borders */
    --white:       #FFFFFF;   /* inset cards/boxes */

    --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --sans:  'Source Sans 3', Arial, Helvetica, sans-serif;

    --max: 1200px;
    --gutter: 48px;
  }

  html { font-size: 16px; scroll-behavior: smooth; }
  body {
    font-family: var(--sans);
    color: var(--black);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  /* ── PLACEHOLDERS ── */
  .ph {
    background: var(--cream-deep);
    border: 2px dashed var(--tan);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--tan);
    font-size: 0.72rem;
    font-family: var(--sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 20px;
  }
  .ph-hero   { width: 100%; height: 520px; }
  .ph-img-lg { width: 100%; height: 380px; }
  .ph-img-md { width: 100%; height: 240px; }
  .ph-portrait { width: 100%; aspect-ratio: 4 / 5; }
  .ph-logo {
    width: 110px; height: 54px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.68rem;
  }

  /* ── NAVIGATION ── */
  nav.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
  }
  .nav-top {
    background: var(--black);
    color: var(--cream-deep);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px var(--gutter);
    display: flex;
    justify-content: flex-end;
    gap: 24px;
  }
  .nav-top a { color: rgba(254,250,224,0.6); text-decoration: none; }
  .nav-top a:hover { color: var(--cream); }

  .nav-main {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 40px;
    height: 74px;
  }
  .nav-logo {
    font-family: var(--serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    line-height: 1.2;
    flex-shrink: 0;
  }
  .nav-logo span {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--tan);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--sans);
    margin-top: 2px;
  }
  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin-left: auto;
    align-items: center;
  }
  .nav-links a {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s;
  }
  .nav-links a:hover { border-color: var(--tan); color: var(--tan-dark); }
  .nav-cta {
    background: var(--tan);
    color: var(--white) !important;
    padding: 9px 20px;
    font-size: 0.78rem !important;
    border: none !important;
  }
  .nav-cta:hover { background: var(--tan-dark); }
  .tan-rule {
    height: 3px;
    background: var(--tan);
    max-width: var(--max);
    margin: 0 auto;
    display: none; /* alternate to bottom border if desired */
  }

  /* ── LAYOUT ── */
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
  .section { padding: 96px 0; }
  .section-sm { padding: 56px 0; }
  .divider { border: none; border-top: 1px solid var(--rule); margin: 0; }

  /* ── TYPOGRAPHY ── */
  .eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tan);
    margin-bottom: 16px;
  }
  h1 {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--black);
  }
  h2 {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--black);
  }
  h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--black);
  }
  h4 {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--black);
  }
  p { font-size: 1rem; line-height: 1.75; color: var(--mid); }
  .lead { font-size: 1.12rem; line-height: 1.7; color: var(--mid); }

  /* accent rule used under eyebrows/section heads */
  .accent-rule {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--tan);
    margin-bottom: 24px;
  }

  /* ── BUTTONS ── */
  .btn-primary {
    display: inline-block;
    background: var(--tan);
    color: var(--white);
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--tan);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }
  .btn-primary:hover { background: var(--tan-dark); border-color: var(--tan-dark); }

  .btn-outline {
    display: inline-block;
    color: var(--black);
    background: transparent;
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--black);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .btn-outline:hover { background: var(--black); color: var(--cream); }

  .btn-outline-cream {
    display: inline-block;
    color: var(--cream);
    background: transparent;
    padding: 14px 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--cream);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
  }
  .btn-outline-cream:hover { background: var(--cream); color: var(--black); }

  /* ══════════════════════════════════════════════════════════════
     HERO
     Split layout: text left (dominant cream), image right.
     Not a dark band — warmth carries the tone.
     ══════════════════════════════════════════════════════════════ */
  .hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 620px;
    border-bottom: 1px solid var(--rule);
  }
  .hero-text {
    padding: 100px 64px 100px calc((100vw - var(--max)) / 2 + 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero-image {
    background: var(--cream-deep);
    position: relative;
    overflow: hidden;
    border-left: 1px solid var(--rule);
  }
  .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-text h1 { margin-bottom: 24px; }
  .hero-text .lead { max-width: 540px; margin-bottom: 40px; color: var(--mid); }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

  /* ══════════════════════════════════════════════════════════════
     CONTEXT ("The Moment")
     Global challenge, regional response. Credits the region.
     ══════════════════════════════════════════════════════════════ */
  .context {
    background: var(--cream-deep);
    border-bottom: 1px solid var(--rule);
  }
  .context-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
  }
  .context h2 { max-width: 500px; margin-bottom: 0; }
  .context-body p { margin-bottom: 18px; }
  .context-body p:last-child { margin-bottom: 0; }
  .context-source {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 0.78rem;
    color: var(--light);
    font-style: italic;
  }
  .context-source::before {
    content: '';
    width: 24px; height: 1px; background: var(--tan);
  }

  /* ══════════════════════════════════════════════════════════════
     WHO WE ARE
     A team of specialists, not a firm of generalists.
     Positions the consultants, not the institution.
     ══════════════════════════════════════════════════════════════ */
  .who-inner {
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 80px;
    align-items: center;
  }
  .who-body p { margin-bottom: 18px; font-size: 1.05rem; }
  .who-body p:last-child { margin-bottom: 0; }
  .who-visual {
    position: relative;
  }
  .who-visual img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--rule);
  }
  .who-visual .caption {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--light);
    font-style: italic;
    line-height: 1.5;
  }

  /* ══════════════════════════════════════════════════════════════
     TEAM — collective treatment, credential-forward
     Not biographical prose — dense, specific.
     ══════════════════════════════════════════════════════════════ */
  .team {
    background: var(--cream-deep);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 40px;
  }
  .team-header .heading-block { max-width: 560px; }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  .team-member {
    display: flex;
    flex-direction: column;
  }
  .team-portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--black);
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
  }
  .team-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    /* subtle tonal unification — very light warm filter */
    filter: saturate(0.92) contrast(1.02);
  }
  .team-member h4 { margin-bottom: 4px; font-size: 0.95rem; }
  .team-member .role {
    font-size: 0.72rem;
    color: var(--tan);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .team-member p {
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--mid);
  }
  /* NOTE: scoped explicitly — the section-level `.credentials` rule
     (dark band on the home page) would otherwise leak its background in. */
  .team-member .credentials {
    margin-top: 14px;
    padding: 13px 16px 14px;
    background: var(--black);
    color: #BBAD8C;
    border-top: none;
    font-size: 0.76rem;
    line-height: 1.6;
    font-style: italic;
  }

  .team-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: center;
  }
  .team-footer p { font-size: 0.95rem; color: var(--mid); margin: 0; }
  .team-footer .stat-row { display: flex; gap: 48px; justify-content: flex-end; }
  .stat { text-align: right; }
  .stat .num {
    display: block;
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1;
  }
  .stat .label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--light);
    margin-top: 4px;
  }

  /* ══════════════════════════════════════════════════════════════
     WHAT WE DO — four capabilities, tight
     Not ten services. Not three pillars. Four.
     ══════════════════════════════════════════════════════════════ */
  .services-header { margin-bottom: 56px; max-width: 640px; }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }
  .service-card {
    background: var(--cream);
    padding: 40px 36px;
    transition: background 0.2s;
  }
  .service-card:hover { background: var(--cream-deep); }
  .service-num {
    display: inline-block;
    font-family: var(--serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--tan);
    margin-bottom: 12px;
  }
  .service-card h3 { margin-bottom: 12px; }
  .service-card p { font-size: 0.95rem; line-height: 1.7; }

  .specialty-note {
    margin-top: 32px;
    padding: 24px 32px;
    background: var(--cream-deep);
    border-left: 3px solid var(--tan);
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }
  .specialty-note .label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tan);
    flex-shrink: 0;
    padding-top: 2px;
  }
  .specialty-note p { font-size: 0.95rem; margin: 0; }

  /* ══════════════════════════════════════════════════════════════
     CREDENTIALS / AFFILIATIONS
     Institutional trust. Short and dense.
     ══════════════════════════════════════════════════════════════ */
  .credentials {
    background: var(--black);
    color: var(--cream);
  }
  .credentials h2 { color: var(--cream); margin-bottom: 16px; }
  .credentials .eyebrow { color: var(--tan); }
  .credentials .lead { color: #BBAD8C; max-width: 620px; margin-bottom: 48px; }
  .credentials .accent-rule { background: var(--tan); }

  .logo-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 900px;
  }
  .logo-cell {
    background: var(--white);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 14px;
    min-height: 170px;
  }
  .logo-cell.dark-bg {
    background: #111111;
  }
  .logo-cell.dark-bg .label {
    color: var(--cream-deep);
  }
  .logo-cell .logo-img {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
  }
  .logo-cell .logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
  }
  .logo-cell .label {
    font-size: 0.68rem;
    color: var(--mid);
    letter-spacing: 0.04em;
    line-height: 1.5;
    font-weight: 600;
  }

  /* ══════════════════════════════════════════════════════════════
     CTA
     Direct. Conversational. Not abstract.
     ══════════════════════════════════════════════════════════════ */
  .cta-band {
    background: var(--cream);
    padding: 88px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .cta-inner {
    display: grid;
    grid-template-columns: 1.3fr auto;
    gap: 48px;
    align-items: center;
  }
  .cta-inner h2 { max-width: 660px; font-weight: 500; }
  .cta-inner .lead { color: var(--mid); max-width: 560px; margin-top: 12px; }

  /* ══════════════════════════════════════════════════════════════
     FOOTER
     ══════════════════════════════════════════════════════════════ */
  footer.site-footer {
    background: var(--black);
    color: var(--cream);
  }
  .footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px var(--gutter) 36px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
  .footer-brand h3 {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 4px;
  }
  .footer-brand p {
    font-size: 0.85rem;
    color: #BBAD8C;
    line-height: 1.7;
    margin-top: 14px;
    max-width: 300px;
  }
  .footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tan);
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 9px; }
  .footer-col ul li a {
    color: #BBAD8C;
    text-decoration: none;
    font-size: 0.88rem;
  }
  .footer-col ul li a:hover { color: var(--cream); }
  .footer-bottom {
    border-top: 1px solid #3C3830;
    max-width: var(--max);
    margin: 0 auto;
    padding: 20px var(--gutter);
    display: flex;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #776A53;
  }
  .footer-bottom a { color: #776A53; text-decoration: none; }
  .footer-bottom a:hover { color: var(--cream); }
/* ════════════════════════════════════════════════════════════════
   ADDITIONAL STYLES — FIVE-PAGE SITE
   Page headers, gap markers, team bios, articles, contact form
   ════════════════════════════════════════════════════════════════ */

/* ── PAGE HEADER (used on all non-home pages) ── */
.page-header {
  background: var(--cream-deep);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.page-header .breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 24px;
}
.page-header .breadcrumb a {
  color: var(--tan);
  text-decoration: none;
}
.page-header h1 {
  margin-bottom: 20px;
}
.page-header .lead {
  max-width: 680px;
  font-size: 1.15rem;
  color: var(--mid);
}

/* ── INLINE NAV (page-level section nav) ── */
.inline-nav {
  border-bottom: 1px solid var(--rule);
  margin-bottom: 60px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.inline-nav a {
  padding: 16px 20px 16px 0;
  margin-right: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mid);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.inline-nav a:hover,
.inline-nav a.active {
  color: var(--tan);
  border-color: var(--tan);
}

/* ── EXPANDED TEAM BIOS (Team page) ── */
.bio-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.bio-block:last-of-type { border-bottom: none; }
.bio-block .bio-image {
  position: sticky;
  top: 100px;
}
.bio-block .bio-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}
.bio-block .bio-image-caption {
  margin-top: 18px;
}
.bio-block h2 {
  margin-bottom: 6px;
  font-size: 1.6rem;
}
.bio-block .role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 24px;
  display: block;
}
.bio-block p {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.bio-block .bio-credentials {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--cream-deep);
  border-left: 3px solid var(--tan);
}
.bio-block .bio-credentials h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tan);
  margin-bottom: 12px;
}
.bio-block .bio-credentials ul {
  list-style: none;
  padding: 0;
}
.bio-block .bio-credentials li {
  font-size: 0.88rem;
  color: var(--mid);
  padding: 4px 0;
  border-bottom: 1px solid var(--rule);
}
.bio-block .bio-credentials li:last-child { border: none; }

/* ── SERVICES PAGE — expanded capability sections ── */
.capability {
  padding: 80px 0;
  border-bottom: 1px solid var(--rule);
}
.capability:last-of-type { border-bottom: none; }
.capability-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.capability-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--tan);
  line-height: 1;
  margin-bottom: 12px;
  font-style: italic;
}
.capability h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.capability .body p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.capability h4 {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 28px 0 12px;
}
.capability ul.detail-list {
  list-style: none;
  padding: 0;
}
.capability ul.detail-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--mid);
}
.capability ul.detail-list li::before {
  content: '—';
  color: var(--tan);
  margin-right: 12px;
  font-weight: 700;
}

/* ── INSIGHTS — articles ── */
.featured-article {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--rule);
}
.featured-article .tag-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: center;
}
.featured-article .tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tan);
}
.featured-article .meta {
  font-size: 0.78rem;
  color: var(--light);
}
.featured-article h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.featured-article .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--mid);
  margin-bottom: 28px;
}
.featured-article .article-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-deep);
  border: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tan);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 60px 0;
}
.article-card {
  display: flex;
  flex-direction: column;
}
.article-card .article-image {
  aspect-ratio: 16/10;
  margin-bottom: 20px;
}
.article-card .tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tan);
  margin-bottom: 10px;
  display: inline-block;
}
.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.article-card .meta {
  font-size: 0.72rem;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* ── INSIGHT ARTICLE (full read) ── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 80px;
}
.article-body p {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--black);
}
.article-body p:first-of-type::first-line {
  font-weight: 600;
}
.article-body h3 {
  margin: 40px 0 16px;
  font-size: 1.4rem;
}
.article-body blockquote {
  border-left: 3px solid var(--tan);
  padding: 12px 28px;
  margin: 28px 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--black);
  line-height: 1.5;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
  padding: 64px 0 80px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--black);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--sans);
  color: var(--black);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--tan);
}
.contact-form textarea { height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info {
  background: var(--cream-deep);
  padding: 32px;
}
.contact-info h4 {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 6px;
}
.contact-info .info-block {
  margin-bottom: 28px;
}
.contact-info .info-block:last-child { margin-bottom: 0; }
.contact-info p {
  font-size: 0.95rem;
  color: var(--mid);
  margin-bottom: 4px;
}
.contact-info a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.contact-info a:hover { border-color: var(--tan); }

/* ── PROCESS STEPS ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0 0;
  border-top: 1px solid var(--rule);
}
.process-step .num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--tan);
  display: block;
  margin-bottom: 12px;
  font-style: italic;
}
.process-step h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   The layout above is desktop-first and fully grid-based.
   Two breakpoints: 900px (tablet) and 620px (phone).
   ══════════════════════════════════════════════════════════════ */

/* ---------- TABLET ---------- */
@media (max-width: 900px) {
  :root { --gutter: 28px; }

  .section     { padding: 64px 0; }
  .section-sm  { padding: 40px 0; }
  .page-header { padding: 56px 0 44px; }

  /* Hero: stack. The desktop rule uses a calc() that goes
     negative below --max width, so it must be overridden. */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 56px var(--gutter) 48px !important; }
  .hero-image { border-left: none; border-top: 1px solid var(--rule); }
  .hero-image img { height: 320px; }

  /* Two-column content blocks collapse */
  .context-inner,
  .who-inner,
  .capability-grid,
  .contact-grid,
  .cta-inner,
  .team-footer,
  .featured-article { grid-template-columns: 1fr; gap: 36px; }

  .team-header { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* tablets are touch devices — give links a real tap target */
  .nav-links a { padding: 12px 0; }
  .nav-top a   { padding: 8px 0; display: inline-block; }
  .nav-top     { padding: 0 var(--gutter); }

  .team-grid    { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .logo-row     { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Bio blocks: portrait above text, no sticky */
  .bio-block { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .bio-block .bio-image { position: static; max-width: 260px; }

  /* Inline section nav scrolls rather than wrapping into a stack */
  .inline-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 40px;
  }
  .inline-nav::-webkit-scrollbar { display: none; }
  .inline-nav a { white-space: nowrap; }

  /* Inline-styled blocks that align right on desktop */
  .team-footer > div,
  .cta-inner > div:last-child {
    align-items: flex-start !important;
  }
  .stat-row { justify-content: flex-start; gap: 40px; }
  .stat, .stat .num, .stat .label { text-align: left; }
}

/* ---------- PHONE ---------- */
@media (max-width: 620px) {
  :root { --gutter: 20px; }

  .section     { padding: 48px 0; }
  .page-header { padding: 40px 0 32px; }

  h1 { font-size: 2rem; line-height: 1.15; }
  h2 { font-size: 1.5rem; }
  .lead, .page-header .lead { font-size: 1rem; }

  /* Forced desktop line-breaks inside headings read badly narrow */
  h1 br { display: none; }

  /* Nav: logo on one row, links beneath. CTA is dropped — the
     hero, page CTAs and footer all still carry it. */
  .nav-main { height: auto; flex-wrap: wrap; gap: 0; padding: 12px var(--gutter) 0; }
  .nav-logo { font-size: 0.95rem; }
  .nav-logo span { font-size: 0.66rem; letter-spacing: 0.09em; }

  /* minimum readable sizes for small labels on a phone */
  .team-member .role      { font-size: 0.75rem; }
  .logo-cell .label       { font-size: 0.72rem; }
  .stat .label            { font-size: 0.72rem; }
  .article-card .meta     { font-size: 0.74rem; }
  .team-member .credentials { font-size: 0.78rem; }
  .who-visual .caption,
  .context-source         { font-size: 0.8rem; }
  .nav-links {
    width: 100%; margin: 10px 0 0; gap: 0;
    justify-content: space-between;
    border-top: 1px solid var(--rule);
  }
  .nav-links a { font-size: 0.68rem; letter-spacing: 0.03em; padding: 11px 0; }
  .nav-links .nav-cta { display: none; }
  .nav-top { padding: 0 var(--gutter); gap: 18px; font-size: 0.68rem; }
  .nav-top a { padding: 9px 0; display: inline-block; }

  .hero-image img { height: 240px; }

  /* Single column everywhere */
  .team-grid,
  .article-grid,
  .services-grid,
  .process-grid,
  .footer-inner,
  .form-row { grid-template-columns: 1fr; }

  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .logo-cell { min-height: 132px; padding: 18px 12px; }

  /* Specialty Focus on services.html is an inline 2-col grid */
  .capability > .wrap > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .specialty-note { flex-direction: column; gap: 10px; }

  .capability { padding: 48px 0; }
  .capability-num { font-size: 3rem; }
  .capability h2 { font-size: 1.6rem; }

  .bio-block .bio-image { max-width: 200px; }
  .bio-block h2 { font-size: 1.35rem; }
  .bio-block .bio-credentials { padding: 18px 20px; }

  .team-grid .team-portrait { max-width: 240px; }

  /* Empty [IMAGE] placeholder boxes add nothing on a small screen */
  .article-card .article-image,
  .featured-article .article-image { display: none; }

  .stat-row { gap: 28px; }
  .stat .num { font-size: 1.8rem; }

  /* Right-aligned inline blocks */
  div[style*="text-align:right"] { text-align: left !important; }

  .contact-info { padding: 24px; }
  .footer-inner { padding: 48px var(--gutter) 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 16px var(--gutter); }
}
