/* ============================================================
   GROUP PAGES CSS — Ireu Group sub-pages
   Shared by: offices, partners, standard, leadership,
   vision, global-network, impact-report
   ============================================================ */

.grp-page { font-family: var(--font-sans); color: var(--ink); background: var(--paper); overflow-x: clip; }
.grp-page img { display: block; max-width: 100%; }
.grp-page section[id] { scroll-margin-top: 124px; }

/* ── Hero (no image — text-only dark hero) ── */
.grp-hero {
  background: var(--navy-ink);
  padding: clamp(80px,9vw,110px) 0 clamp(36px,4vw,52px);
  position: relative;
  overflow: hidden;
}
.grp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 10% 60%, rgba(199,165,117,0.18), transparent 65%),
    radial-gradient(ellipse 50% 50% at 90% 20%, rgba(77,123,167,0.20), transparent 60%);
  pointer-events: none;
}
.grp-hero-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.grp-eyebrow-hero { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); font-weight: 500; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.grp-eyebrow-hero::before { content: ""; display: block; width: 28px; height: 1px; background: var(--sand); }
.grp-hero-title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px,4.4vw,56px); line-height: 1.03; letter-spacing: -0.015em; color: var(--cream); max-width: 16ch; margin: 0; }
.grp-hero-title .gold { color: var(--sand-light); font-style: italic; }
.grp-hero-sub { font-size: clamp(15px,1.5vw,18px); line-height: 1.65; color: rgba(252,249,242,0.78); max-width: 54ch; margin-top: 14px; }
.grp-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(252,249,242,0.15); }
.grp-hero-meta .m { display: inline-flex; align-items: center; gap: 8px; color: rgba(252,249,242,0.72); font-size: 13.5px; }
.grp-hero-meta .m svg { width: 16px; height: 16px; color: var(--sand-light); flex-shrink: 0; }

/* ── Sub-nav ── */
.grp-nav { position: sticky; top: 64px; z-index: 80; background: rgba(252,249,242,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); transition: top .3s; }
.grp-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 8px; height: 56px; }
.grp-nav-links { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.grp-nav-links::-webkit-scrollbar { display: none; }
.grp-nav-links a { font-size: 13.5px; color: var(--mute-deep); padding: 7px 13px; border-radius: 7px; white-space: nowrap; transition: color .22s, background .22s; }
.grp-nav-links a:hover { color: var(--ink); background: rgba(199,165,117,0.12); }
.grp-nav-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--cream); font-size: 13px; font-weight: 500; padding: 9px 18px; border-radius: 40px; flex-shrink: 0; transition: background .3s; }
.grp-nav-cta:hover { background: var(--sand); color: var(--ink); }
.grp-nav-cta svg { width: 13px; height: 13px; }

/* ── Sections ── */
.grp-section { padding: clamp(44px,5.5vw,72px) 0; }
.grp-section.dark { background: var(--navy-ink); }
.grp-section.cream { background: var(--cream); }
.grp-section.paper { background: var(--paper); }
.grp-wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.grp-eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand-deep); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.grp-eyebrow::before { content: ""; display: block; width: 20px; height: 1px; background: var(--sand); }
.grp-h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px,3.4vw,48px); line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); margin: 16px 0 0; }
.grp-h2 .gold { color: var(--sand-deep); font-style: italic; }
.grp-h2-light { color: var(--cream); }
.grp-h2-light .gold { color: var(--sand-light); }
.grp-lead { font-size: clamp(15px,1.5vw,17px); color: var(--mute); line-height: 1.65; margin-top: 16px; max-width: 680px; }
.grp-lead-light { color: rgba(252,249,242,0.74); }
.grp-underline { width: 36px; height: 2px; background: var(--sand); border-radius: 2px; margin-top: 20px; }

/* ── Cards ── */
.grp-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 40px; }
.grp-cards.two { grid-template-columns: repeat(2,1fr); }
.grp-cards.four { grid-template-columns: repeat(4,1fr); }
.grp-card { background: var(--cream); border: 1px solid var(--line-soft); border-radius: 14px; padding: 28px 24px; transition: transform .3s var(--ease), box-shadow .3s; }
.grp-card:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -24px rgba(26,36,64,0.22); }
.grp-card.dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.grp-card.dark:hover { background: rgba(255,255,255,0.1); }
.grp-card-num { font-family: var(--font-serif); font-size: 13px; font-style: italic; color: var(--sand); margin-bottom: 14px; }
.grp-card-eye { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-deep); font-weight: 600; margin-bottom: 10px; }
.grp-card-eye.light { color: var(--sand-light); }
.grp-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 19px; color: var(--ink); margin: 0 0 10px; line-height: 1.15; }
.grp-card h3.light { color: var(--cream); }
.grp-card p { font-size: 13.5px; color: var(--mute); line-height: 1.6; margin: 0; }
.grp-card p.light { color: rgba(252,249,242,0.65); }
.grp-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.grp-card-tag { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--sand-deep); background: rgba(199,165,117,0.12); border: 1px solid rgba(199,165,117,0.3); border-radius: 30px; padding: 4px 11px; font-weight: 600; }
.grp-card-tag.light { color: var(--sand-light); background: rgba(199,165,117,0.1); border-color: rgba(199,165,117,0.25); }

/* ── Split layout ── */
.grp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.grp-split.flip { direction: rtl; }
.grp-split.flip > * { direction: ltr; }
.grp-split-img { border-radius: 16px; overflow: hidden; }
.grp-split-img img { width: 100%; height: clamp(260px,32vw,420px); object-fit: cover; display: block; }

/* ── Stats band ── */
.grp-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-soft); border-radius: 14px; overflow: hidden; margin-top: 40px; }
.grp-stat { background: var(--cream); padding: 28px 22px; }
.grp-stat.dark-bg { background: rgba(255,255,255,0.06); }
.grp-stat .v { font-family: var(--font-serif); font-size: clamp(28px,3.5vw,44px); color: var(--sand); line-height: 1; }
.grp-stat .l { font-size: 11.5px; color: var(--mute-deep); margin-top: 8px; line-height: 1.4; letter-spacing: .02em; }
.grp-stat .l.light { color: rgba(252,249,242,0.6); }

/* ── Person cards ── */
.grp-persons { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 36px; }
.grp-person { background: var(--navy-deep); border-radius: 16px; padding: 32px 28px; }
.grp-person-init { width: 56px; height: 56px; border-radius: 12px; background: rgba(199,165,117,0.2); border: 1px solid rgba(199,165,117,0.35); display: grid; place-items: center; font-family: var(--font-serif); font-size: 18px; color: var(--sand-light); margin-bottom: 18px; }
.grp-person-role { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); font-weight: 600; margin-bottom: 6px; }
.grp-person h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px,2.2vw,26px); color: var(--cream); margin: 0 0 6px; line-height: 1.1; }
.grp-person .sub { font-size: 12.5px; color: rgba(252,249,242,0.6); margin-bottom: 16px; }
.grp-person p { font-size: 14px; color: rgba(252,249,242,0.74); line-height: 1.65; margin: 0 0 18px; }
.grp-person-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.grp-person-tag { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(252,249,242,0.7); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 30px; padding: 4px 10px; }

/* ── Advisor grid ── */
.grp-advisors { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-top: 32px; }
.grp-advisor { background: var(--navy-deep); border-radius: 12px; padding: 22px 16px; text-align: center; }
.grp-advisor .init { font-family: var(--font-serif); font-size: 22px; color: var(--sand-light); margin-bottom: 12px; }
.grp-advisor h4 { font-family: var(--font-serif); font-weight: 400; font-size: 14px; color: var(--cream); margin: 0 0 4px; line-height: 1.2; }
.grp-advisor .role { font-size: 11px; color: rgba(252,249,242,0.55); line-height: 1.4; margin-bottom: 8px; }
.grp-advisor .spec { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); font-weight: 600; }
.grp-advisor-more { background: rgba(199,165,117,0.08); border: 1px dashed rgba(199,165,117,0.3); border-radius: 12px; padding: 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.grp-advisor-more .num { font-family: var(--font-serif); font-size: 28px; color: var(--sand-light); }
.grp-advisor-more .lbl { font-size: 11px; color: rgba(252,249,242,0.55); margin-top: 4px; }

/* ── List ── */
.grp-list { margin-top: 24px; display: flex; flex-direction: column; }
.grp-list-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: 15px; color: var(--ink-soft); line-height: 1.6; align-items: start; }
.grp-list-item .bullet { color: var(--sand-deep); font-family: var(--font-serif); font-size: 16px; padding-top: 1px; }
.grp-list-item b { color: var(--ink); font-weight: 600; }
.grp-list-item.light { color: rgba(252,249,242,0.74); border-top-color: rgba(255,255,255,0.1); }
.grp-list-item.light b { color: var(--cream); }

/* ── Quote block ── */
.grp-quote { background: var(--navy-deep); border-radius: 16px; padding: clamp(32px,4vw,52px); margin-top: 36px; position: relative; overflow: hidden; }
.grp-quote::before { content: "\201C"; font-family: var(--font-serif); font-size: 120px; color: rgba(199,165,117,0.12); position: absolute; top: -10px; left: 20px; line-height: 1; pointer-events: none; }
.grp-quote blockquote { font-family: var(--font-serif); font-style: italic; font-size: clamp(16px,1.8vw,20px); color: var(--cream); line-height: 1.65; margin: 0 0 18px; position: relative; z-index: 1; }
.grp-quote cite { font-size: 12.5px; color: var(--sand-light); font-style: normal; letter-spacing: .04em; }

/* ── Progress bars (Impact) ── */
.grp-progress-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.grp-progress-item { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.grp-progress-item .label { font-size: 13.5px; color: var(--ink-soft); }
.grp-progress-item .pct { font-size: 13px; color: var(--sand-deep); font-weight: 600; }
.grp-progress-bar { height: 5px; background: var(--line); border-radius: 3px; margin-top: 6px; grid-column: 1 / -1; }
.grp-progress-fill { height: 100%; background: linear-gradient(90deg, var(--sand-deep), var(--sand-light)); border-radius: 3px; }

/* ── CTA band ── */
.grp-cta { background: var(--navy-ink); padding: clamp(44px,5.5vw,68px) 0; text-align: center; position: relative; overflow: hidden; }
.grp-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(199,165,117,0.14), transparent 70%); pointer-events: none; }
.grp-cta-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.grp-cta h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px,4vw,54px); color: var(--cream); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 18px; }
.grp-cta h2 .gold { color: var(--sand-light); font-style: italic; }
.grp-cta p { color: rgba(252,249,242,0.72); font-size: 16px; line-height: 1.6; max-width: 54ch; margin: 0 auto 32px; }
.grp-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.grp-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; padding: 14px 26px; border-radius: 8px; border: 1px solid transparent; transition: all .3s var(--ease); cursor: pointer; text-decoration: none; }
.grp-btn svg { width: 16px; height: 16px; }
.grp-btn-primary { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.grp-btn-primary:hover { background: var(--sand-light); }
.grp-btn-ghost { background: transparent; color: var(--cream); border-color: rgba(252,249,242,0.5); }
.grp-btn-ghost:hover { background: var(--cream); color: var(--ink); }
.grp-badge { display: inline-block; font-size: 11.5px; letter-spacing: .06em; color: var(--sand-light); border: 1px solid rgba(217,188,145,0.4); border-radius: 40px; padding: 6px 15px; background: rgba(199,165,117,0.1); margin-bottom: 20px; }

/* ── Country / location cards ── */
.grp-locations { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 36px; }
.grp-location { background: var(--navy-deep); border-radius: 12px; padding: 22px 20px; }
.grp-location .code { font-family: var(--font-serif); font-size: 22px; color: var(--cream); line-height: 1; margin-bottom: 8px; }
.grp-location h4 { font-family: var(--font-serif); font-weight: 400; font-size: 15px; color: var(--sand-light); margin: 0 0 6px; }
.grp-location .detail { font-size: 12px; color: rgba(252,249,242,0.58); line-height: 1.5; }
.grp-location .loc-tag { display: inline-block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); font-weight: 600; margin-top: 10px; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .grp-cards.four { grid-template-columns: repeat(2,1fr); }
  .grp-advisors { grid-template-columns: repeat(3,1fr); }
  .grp-locations { grid-template-columns: repeat(2,1fr); }
  .grp-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .grp-split { grid-template-columns: 1fr; }
  .grp-split.flip { direction: ltr; }
  .grp-cards { grid-template-columns: 1fr !important; }
  .grp-persons { grid-template-columns: 1fr; }
  .grp-advisors { grid-template-columns: repeat(2,1fr); }
  .grp-locations { grid-template-columns: 1fr; }
  .grp-stats { grid-template-columns: repeat(2,1fr); }
}

/* ── Hero split layout (text left, image right) ── */
.grp-hero-split .grp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: clamp(360px,44vw,480px);
  padding: 0;
}
.grp-hero-split .grp-hero-left {
  padding: clamp(80px,9vw,110px) var(--gutter) clamp(36px,4vw,52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.grp-hero-split .grp-hero-img {
  position: relative;
  overflow: hidden;
}
.grp-hero-split .grp-hero-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.grp-hero-split .grp-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-ink) 0%, transparent 28%);
  pointer-events: none;
}
@media (max-width: 860px) {
  .grp-hero-split .grp-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .grp-hero-split .grp-hero-left {
    padding: 80px var(--gutter) 36px;
  }
  .grp-hero-split .grp-hero-img {
    height: clamp(200px, 44vw, 320px);
    position: relative;
  }
  .grp-hero-split .grp-hero-img img {
    position: absolute;
  }
  .grp-hero-split .grp-hero-img::after {
    background: linear-gradient(to bottom, var(--navy-ink) 0%, transparent 30%);
  }
}
