.smp-profile-page {
  --smp-profile-bg: #f7faf8;
  --smp-profile-surface: #fff;
  --smp-profile-ink: #0e2e31;
  --smp-profile-copy: #3d5751;
  --smp-profile-muted: #526a63;
  --smp-profile-teal: #0f766e;
  --smp-profile-deep: #0a4a50;
  --smp-profile-mint: #e8f2ed;
  --smp-profile-gold: #d3a43a;
  --smp-profile-line: #d6e2dc;
  width: 100%;
  color: var(--smp-profile-ink);
  background: var(--smp-profile-surface);
  font: 400 0.9375rem/1.55 "Figtree", system-ui, sans-serif;
}

.smp-profile-page,
.smp-profile-page *,
.smp-profile-page *::before,
.smp-profile-page *::after {
  box-sizing: border-box;
}

.smp-profile-page-header {
  background: #fff;
}

.smp-profile-page-header.smp-teamlist-title-section {
  background: #f8f9fb;
}

.inner-page-wrapper.smp-teamlist-page {
  background-color: #f8f9fb;
}

.smp-profile-header-container {
  max-width: 960px;
}

@media (min-width: 1400px) {
  .smp-teamlist-page .team-section > .container {
    max-width: 1140px;
  }
}

.smp-profile-banner {
  position: relative;
  z-index: 1;
  min-height: 112px;
  color: #fff;
  background:
    linear-gradient(135deg, rgb(0 74 80 / 92%), rgb(7 155 145 / 78%)),
    repeating-linear-gradient(135deg, transparent 0 65px, rgb(255 255 255 / 18%) 66px 72px);
  background-color: #087e82;
  box-shadow: 0 14px 30px rgb(4 42 45 / 52%), 0 4px 10px rgb(4 42 45 / 38%);
}

.smp-profile-banner .container {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 1.5rem;
}

.smp-profile-banner-emblem {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.smp-profile-banner-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.smp-profile-banner-copy p {
  margin: 0.4rem 0 0;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.35;
}

.smp-profile-title-panel {
  width: min(calc(100% - 3rem), 1120px);
  max-width: 1120px;
  min-height: 0;
  margin: clamp(2.5rem, 5vw, 3.75rem) auto clamp(1rem, 2vw, 1.5rem);
  padding: 0;
  border: 0;
  box-shadow: none;
}

.smp-profile-title-panel h1,
.smp-profile-title-panel h2 {
  max-width: 28ch;
  margin: 0.65rem 0 0.45rem;
  color: #1f2c2d;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.smp-profile-title-panel h1 em,
.smp-profile-title-panel h2 em {
  color: #0f766e;
  font-style: italic;
  font-weight: 500;
}

.smp-profile-title-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  color: #0f766e;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.smp-profile-title-label::before {
  display: block;
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2px;
  background: #e8b84a;
  content: "";
}

.smp-profile-title-panel p {
  max-width: none;
  margin: 0;
  color: #526a63;
  font-size: 0.875rem;
  line-height: 1.5;
}

.smp-profile-wrap {
  width: min(calc(100% - 3rem), 1120px);
  margin: 0 auto;
}

.smp-profile-page h2,
.smp-profile-page h3 {
  margin-top: 0;
  color: var(--smp-profile-ink);
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.1;
}

.smp-profile-page h3 {
  line-height: 1.35;
}

.smp-profile-page h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  letter-spacing: -0.01em;
}

.smp-profile-page p {
  color: var(--smp-profile-copy);
}

.smp-profile-about {
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.smp-profile-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "intro photo"
    "facts facts";
  gap: clamp(1rem, 1.5vw, 1.5rem) clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.smp-profile-intro {
  grid-area: intro;
}

.smp-profile-intro h2 {
  max-width: none;
}

.smp-profile-intro > p {
  max-width: 62ch;
  margin: 1.15rem 0 0;
}

.smp-profile-value-proposition {
  margin: 1.5rem 0;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--smp-profile-line);
  border-radius: 14px;
  background: var(--smp-profile-mint);
}

.smp-profile-value-proposition h3 {
  margin-bottom: 0.4rem;
  color: var(--smp-profile-deep);
  font-size: 1rem;
}

.smp-profile-value-proposition p {
  margin: 0;
  color: var(--smp-profile-deep);
  font-weight: 600;
}

.smp-profile-photo {
  grid-area: photo;
  margin: 0;
  align-self: center;
}

.smp-profile-photo img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.smp-profile-quote {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.3vw, 1rem);
  width: 100%;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid var(--smp-profile-line);
  border-top: 2px solid var(--smp-profile-gold);
  border-radius: 14px;
  background: var(--smp-profile-mint);
  box-shadow: 0 8px 18px rgb(14 46 49 / 6%);
}

.smp-profile-quote-mark {
  flex: 0 0 auto;
  color: var(--smp-profile-teal);
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 0.8;
}

.smp-profile-quote p {
  max-width: 62ch;
  margin: 0;
  color: var(--smp-profile-deep);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 500;
  line-height: 1.4;
}

.smp-profile-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: 0;
  padding-top: clamp(0.75rem, 1.5vw, 1rem);
}

.smp-profile-facts h3 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  line-height: 1.1;
}

.smp-profile-facts ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.smp-profile-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--smp-profile-line);
  color: var(--smp-profile-deep);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.smp-profile-facts li::before {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--smp-profile-gold);
  margin-top: 0.42rem;
  content: "";
}

.smp-profile-pillars {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: var(--smp-profile-bg);
}

.smp-profile-section-intro {
  max-width: 66ch;
  margin-bottom: 1.7rem;
}

.smp-profile-section-intro h2 {
  max-width: 28ch;
  margin: 0.65rem 0 0.45rem;
  color: #1f2c2d;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.smp-profile-section-intro h2 em {
  color: #0f766e;
  font-style: italic;
  font-weight: 500;
}

.smp-profile-section-intro p {
  margin: 0;
}

.smp-profile-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.smp-profile-card {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--smp-profile-line);
  border-radius: 18px;
  background: var(--smp-profile-surface);
}

.smp-profile-value-icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  color: var(--smp-profile-teal);
  background: var(--smp-profile-mint);
  font-size: 2rem;
  line-height: 1;
}

.smp-profile-card h3 {
  margin-bottom: 0.35rem;
  color: var(--smp-profile-deep);
  font-size: 1rem;
}

.smp-profile-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.smp-profile-learning {
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  background: var(--smp-profile-surface);
}

.smp-profile-learning-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.smp-profile-serviam {
  position: relative;
  display: grid;
  width: min(100%, 210px);
  aspect-ratio: 1;
  margin: 0;
  place-items: center;
}

.smp-profile-serviam::before {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: var(--smp-profile-mint);
  content: "";
}

.smp-profile-serviam::after {
  position: absolute;
  top: 12%;
  right: 10%;
  width: 0.7rem;
  height: 0.7rem;
  border: 3px solid var(--smp-profile-surface);
  border-radius: 50%;
  background: var(--smp-profile-gold);
  content: "";
}

.smp-profile-serviam img {
  position: relative;
  display: block;
  width: min(100%, 190px);
  height: auto;
  object-fit: contain;
}

.smp-profile-learning-copy h2 {
  max-width: 22ch;
  margin-bottom: 0.55rem;
}

.smp-profile-learning-copy p {
  max-width: 70ch;
  margin: 0;
}

.smp-profile-page ::selection {
  color: #fff;
  background: var(--smp-profile-teal);
}

@media (max-width: 900px) {
  .smp-profile-about-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 1rem 1.5rem;
  }

    .smp-profile-facts {
      grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
      gap: 1.25rem;
    }

    .smp-profile-facts ul {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

  .smp-profile-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .smp-profile-card {
    padding: 1.2rem;
  }
}

@media (max-width: 759.98px) {
  .smp-profile-banner,
  .smp-profile-banner .container {
    min-height: 96px;
  }

  .smp-profile-banner .container {
    gap: 1rem;
  }

  .smp-profile-banner-emblem {
    width: 52px;
    height: 52px;
  }

  .smp-profile-banner-copy h1 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .smp-profile-banner-copy p {
    font-size: 0.75rem;
  }

  .smp-profile-title-panel {
    min-height: 0;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
  }

  .smp-profile-about-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "photo"
      "facts";
  }

  .smp-profile-learning-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .smp-profile-intro h2 {
    max-width: none;
  }

  .smp-profile-title-panel p {
    font-size: 0.82rem;
  }

  .smp-profile-intro > p {
    font-size: 0.9375rem;
  }

  .smp-profile-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin-top: 0.25rem;
  }

  .smp-profile-quote {
    gap: 0.65rem;
    padding: 0.9rem;
  }

  .smp-profile-quote p {
    font-size: 0.92rem;
  }

  .smp-profile-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .smp-profile-serviam {
    width: min(100%, 160px);
  }

  .smp-profile-serviam img {
    width: min(100%, 145px);
  }
}

@media (max-width: 575.98px) {
  .smp-profile-banner,
  .smp-profile-banner .container {
    min-height: 96px;
  }

  .smp-profile-banner .container {
    justify-content: center;
    gap: 0.75rem;
  }

  .smp-profile-banner-emblem {
    width: 46px;
    height: 46px;
  }

  .smp-profile-banner-copy h1 {
    font-size: 1.15rem;
  }

  .smp-profile-banner-copy p {
    max-width: none;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .smp-profile-title-panel {
    min-height: 0;
    width: min(calc(100% - 2rem), 1120px);
    margin-top: 1.8rem;
    margin-bottom: 1rem;
  }

  .smp-profile-title-panel h2 {
    font-size: 1.45rem;
  }

  .smp-profile-section-intro h2 {
    font-size: 1.45rem;
  }

  .smp-profile-title-panel p {
    font-size: 0.9rem;
  }

  .smp-profile-wrap {
    width: min(calc(100% - 2rem), 1120px);
  }

  .smp-profile-about {
    padding: 1.25rem 0 2.5rem;
  }

  .smp-profile-intro > p {
    margin-top: 0.9rem;
    font-size: 0.96rem;
  }

  .smp-profile-value-proposition {
    padding: 1rem;
  }

  .smp-profile-facts ul {
    gap: 0.65rem 0.9rem;
  }

  .smp-profile-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .smp-profile-card {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 1rem;
  }

  .smp-profile-value-icon {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.85rem;
  }
}
