/* About Us only. The page uses shared V31 tokens from design-system.css. */
.ema-page { overflow: hidden; background: #fff; }
.ema-shell { width: min(var(--em-width), calc(100% - 44px)); margin-inline: auto; }
.ema-section { padding: var(--em-space) 0; }

.ema-hero {
  height: var(--em-hero-height);
  min-height: var(--em-hero-height);
  display: grid;
  place-items: center;
  padding: 58px 22px;
  background: linear-gradient(90deg, rgba(14,34,55,.36), rgba(14,34,55,.18)), var(--ema-hero) center 58%/cover no-repeat;
  color: #fff;
  text-align: center;
}
.ema-hero > div { width: min(860px, 100%); }
.ema-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(44px, 6vw, 68px); line-height: 1.05; text-shadow: 0 3px 14px rgba(8,25,43,.35); }
.ema-hero-credentials { display: grid; gap: 5px; margin: 0; color: rgba(255,255,255,.9); font-weight: 650; }

.ema-story { background: #fff; }
.ema-story-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(38px, 6vw, 72px); align-items: center; }
.ema-story-grid > img { width: 100%; min-height: 410px; height: 100%; object-fit: cover; object-position: 72% center; border-radius: var(--em-radius); }
.ema-story h2,
.ema-team h2 { margin: 0 0 20px; color: var(--em-navy); font-size: clamp(34px, 4vw, 48px); line-height: 1.08; }
.ema-story-copy > p { color: var(--em-muted); }
.ema-affiliation { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; margin-top: 25px; padding: 18px; border: 1px solid var(--em-line); border-radius: var(--em-radius); background: var(--em-soft); }
.ema-affiliation img { max-height: 58px; object-fit: contain; }
.ema-affiliation p { margin: 0; font-size: 14px; }

.ema-pillars { padding: 28px 0 0; background: linear-gradient(var(--em-soft), #fff); }
.ema-pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ema-pillar-grid article { min-height: 235px; padding: 32px 27px; border: 1px solid var(--em-line); border-radius: var(--em-radius); background: #fff; box-shadow: var(--em-shadow); text-align: center; }
.ema-line-icon { display: block; width: 66px; height: 66px; margin: 0 auto 18px; overflow: visible; }
.ema-line-icon path,
.ema-line-icon circle { vector-effect: non-scaling-stroke; }
.ema-icon-navy,.ema-icon-red,.ema-icon-link { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ema-icon-navy { stroke: var(--em-navy); }
.ema-icon-red,.ema-icon-link { stroke: var(--em-red); }
.ema-icon-red-fill { fill: var(--em-red); }
.ema-icon-link { stroke-dasharray: 3 5; }
.ema-pillar-grid h3 { margin: 0 0 11px; color: var(--em-navy); font-size: 22px; }
.ema-pillar-grid p { margin: 0; color: var(--em-muted); }

.ema-approach-section { background: #fff; }
.ema-approach { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: 350px; overflow: hidden; border: 1px solid var(--em-line); border-radius: var(--em-radius); background: var(--em-navy); background-clip: padding-box; box-shadow: var(--em-shadow); }
.ema-approach-copy { padding: 38px 40px; }
.ema-approach h2 { margin: 0 0 21px; color: #fff; font-size: clamp(30px, 3vw, 39px); }
.ema-approach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 24px; }
.ema-approach-icon { display: block; width: 38px; color: var(--em-red); }
.ema-approach-icon svg { width: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ema-approach-grid h3 { margin: 9px 0 6px; color: #fff; font-size: 18px; }
.ema-approach-grid p { margin: 0; color: #d7e1ea; }
.ema-approach-image { min-height: 350px; background: var(--ema-approach) 68% center/cover no-repeat; }

.ema-team { background: var(--em-soft); }
.ema-team-intro { margin-bottom: 28px; text-align: center; }
.ema-team-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 145px)); grid-auto-rows: 205px; justify-content: center; gap: 18px; }
.ema-team-grid > article { position: relative; grid-column: span 2; width: 100%; min-width: 0; height: 205px; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto 1fr; gap: 0 14px; padding: 22px 20px; overflow: hidden; border: 1px solid #dfe5ed; border-radius: 13px; background: #fff; box-shadow: 0 8px 23px rgba(12,39,79,.06); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease,border-color .2s ease; }
.ema-team-grid > article:hover { transform: translateY(-4px); border-color: #aebbd2; box-shadow: 0 14px 30px rgba(12,39,79,.12); }
.ema-team-grid > article:focus-visible { outline: 3px solid rgba(226,37,45,.3); outline-offset: 3px; }
.ema-team-grid > article:nth-child(1) { grid-column: 3 / span 2; }
.ema-team-grid > article:nth-child(2) { grid-column: 2 / span 2; }
.ema-team-grid > article:nth-child(3) { grid-column: 4 / span 2; }
.ema-team-grid > article:nth-child(3n+4) { grid-column: 1 / span 2; }
.ema-team-grid > article:nth-child(3n+5) { grid-column: 3 / span 2; }
.ema-team-grid > article:nth-child(3n+6) { grid-column: 5 / span 2; }
.ema-team-grid > article:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
.ema-team-grid > article:nth-child(3n+2):last-child { grid-column: 4 / span 2; }
.ema-team-grid > article:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
.ema-avatar { grid-row: 1 / span 2; width: 48px; height: 48px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #edf2f6; color: var(--em-navy); font-size: 19px; }
.ema-team-content { min-width: 0; display: flex; flex-direction: column; }
.ema-team-content h3 { max-width: calc(100% - 32px); margin: 3px 0; color: #112a72; font-size: 18px; line-height: 1.2; }
.ema-team-content > strong { margin-bottom: 9px; color: var(--em-red); font-size: 13px; line-height: 1.35; }
.ema-team-content > p { margin: 0; color: #243a70; font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ema-biography-button { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(226,37,45,.35); border-radius: 50%; background: #fff; color: var(--em-red); font-size: 18px; cursor: pointer; transition: transform .24s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.ema-biography-plus { display: block; line-height: 1; transition: transform .25s ease; }
.ema-team-grid > article:hover .ema-biography-button,
.ema-biography-button:hover,
.ema-biography-button:focus-visible { transform: rotate(90deg) scale(1.08); border-color: var(--em-red); background: var(--em-red); color: #fff; box-shadow: 0 7px 16px rgba(226,37,45,.24); outline: none; }
.ema-biography-button:hover .ema-biography-plus,
.ema-biography-button:focus-visible .ema-biography-plus { transform: none; }
.ema-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ema-biography-dialog { width: min(720px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--em-radius); box-shadow: 0 25px 80px rgba(9, 30, 53, .3); }
.ema-biography-dialog::backdrop { background: rgba(12, 29, 48, .7); }
.ema-biography-dialog-inner { padding: 34px; }
.ema-biography-close { float: right; border: 0; background: transparent; color: var(--em-navy); font-size: 30px; cursor: pointer; }
.ema-biography-avatar { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #edf2f6; color: var(--em-navy); font-size: 22px; }
.ema-biography-dialog h2 { margin: 18px 0 4px; color: var(--em-navy); }
.ema-biography-role { color: var(--em-red); }
.ema-biography-text { margin-top: 20px; color: var(--em-muted); }
.ema-biography-done { min-height: 42px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--em-red); color: #fff; font-weight: 800; cursor: pointer; }

@media (max-width: 900px) {
  .ema-story-grid,
  .ema-approach { grid-template-columns: 1fr; }
  .ema-approach-copy { padding: 40px 34px; }
  .ema-approach-image { min-height: 290px; }
  .ema-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 205px; }
  .ema-team-grid > article:nth-child(n) { grid-column: auto; }
  .ema-team-grid > article:nth-child(1) { grid-column: 1 / -1; width: calc(50% - 10px); justify-self: center; }
}

@media (max-width: 680px) {
  .ema-shell { width: min(var(--em-width), calc(100% - 32px)); }
  .ema-hero { height: var(--em-hero-height); min-height: var(--em-hero-height); padding: 44px 16px; background-position: center 56%; }
  .ema-story-grid > img { min-height: 290px; }
  .ema-approach-copy { padding: 34px 24px; }
  .ema-approach-image { min-height: 240px; }
  .ema-pillar-grid,
  .ema-approach-grid,
  .ema-team-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .ema-team-grid > article:nth-child(n) { grid-column: auto; width: 100%; }
  .ema-team-grid > article { height: auto; min-height: 205px; }
}
