/* ─── About Page ─────────────────────────────────────────────────────────── */

body:has(.about-page) .wp-site-blocks > .wp-block-template-part:last-child,
body.page-id-13 .wp-site-blocks > .wp-block-template-part:last-child {
  margin-block-start: 0 !important;
}

.about-page {
  background: #F7F6F2;
  margin-top: 0 !important;
}

/* ── Container ── */
.about-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Hero ── */
.about-hero {
  position: relative;
  background: #F7F6F2;
  overflow: hidden;
  padding: 56px 0 64px;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 0% 100%, rgba(91, 75, 196, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero .about-container {
  position: relative;
  z-index: 1;
}

.about-hero .about-container > * {
  position: relative;
  z-index: 1;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.about-eyebrow {
  margin: 0 0 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #606078;
}

.about-hero .wp-block-post-title {
  max-width: 920px;
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #11111A;
}

.about-hero__divider {
  width: 48px;
  height: 2px;
  margin-top: 32px;
  margin-left: 0;
  margin-right: auto;
  background: #5B4BC4;
  border: 0;
  opacity: 1;
}

/* ── Body ── */
.about-body {
  padding: 48px 0 80px;
}

.about-body .entry-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.about-body .entry-content > * {
  min-width: 0;
}

.about-body .entry-content > h1 {
  display: none;
}

/* Lede / first italic paragraph */
.about-body .entry-content > .about-lede,
.about-body .entry-content > p:first-of-type {
  margin: 0 0 16px;
  max-width: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #4F4F67;
}

/* Second paragraph */
.about-body .entry-content > p:nth-of-type(2) {
  margin: 0;
  max-width: none;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: #4F4F67;
}

/* Approach section */
.about-body .entry-content > .about-approach {
  margin: 32px 0 0;
  align-self: start;
}

.about-approach > h2 {
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #11111A;
}

.about-approach > p {
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  color: #4F4F67;
}

.about-approach > p:last-child,
.about-approach > ul:last-child {
  margin-bottom: 0;
}

.about-approach > ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.about-approach > ul li {
  padding: 10px 0;
  border-top: 1px solid rgba(17, 17, 26, 0.1);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  color: #4F4F67;
}

.about-approach > ul li:last-child {
  border-bottom: 1px solid rgba(17, 17, 26, 0.1);
}

/* Section h2 */
.about-body .entry-content > h2 {
  margin: 40px 0 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #11111A;
}

.about-body .entry-content > h2:first-of-type {
  margin-top: 40px;
}

/* General body text */
.about-body .entry-content > p:not(.about-lede):not(:nth-of-type(2)),
.about-body .entry-content > li {
  max-width: 960px;
  margin: 0 0 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: #4F4F67;
}

.about-body .entry-content > ul {
  max-width: 960px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.about-body .entry-content > ul li {
  padding: 14px 0;
  border-top: 1px solid #E8E6E0;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #11111A;
}

.about-body .entry-content > ul li:last-child {
  border-bottom: 1px solid #E8E6E0;
}

.about-body .entry-content > .wp-block-columns {
  margin: 28px 0 0;
  max-width: none;
}

/* ── Studies & Team Grids ── */
.about-studies-grid,
.about-team-grid {
  display: grid !important;
  gap: 16px;
}

.about-studies-grid {
  grid-template-columns: 1fr;
}

.about-studies-grid .wp-block-column {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-study {
  margin: 0;
  border: 1px solid #E5E2DA;
  background: transparent;
  overflow: hidden;
}

.about-study img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.about-caption {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A8A9F;
}

.about-team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-team-grid .wp-block-column {
  margin: 0 !important;
  border: 1px solid #E5E2DA;
  background: transparent;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.about-team__image {
  margin: 0 0 12px;
  overflow: hidden;
}

.about-team__image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-team-grid h3 {
  margin: 0 0 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #11111A;
}

.about-team__role {
  margin: 0 0 10px !important;
  font-family: 'Manrope', sans-serif;
  font-size: 10px !important;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7B7B8C;
}

.about-team-grid .wp-block-column > p:last-child {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
  color: #4F4F67;
}

/* ══ Tablet: 768px+ ══════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .about-container {
    padding: 0 24px;
  }

  .about-hero {
    padding: 72px 0;
  }

  .about-body {
    padding: 72px 0 96px;
  }

  .about-eyebrow {
    margin-bottom: 24px;
  }

  .about-hero .wp-block-post-title {
    font-size: clamp(44px, 6vw, 64px);
    letter-spacing: -0.035em;
    line-height: 0.99;
  }

  .about-hero__divider {
    margin-top: 40px;
  }

  .about-body .entry-content > .about-lede,
  .about-body .entry-content > p:first-of-type {
    font-size: clamp(21px, 2.8vw, 26px);
    line-height: 1.52;
  }

  .about-body .entry-content > p:nth-of-type(2) {
    font-size: 19px;
  }

  .about-approach > h2 {
    font-size: clamp(22px, 2.4vw, 28px);
  }

  .about-body .entry-content > h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    margin: 56px 0 16px;
  }

  .about-body .entry-content > h2:first-of-type {
    margin-top: 56px;
  }

  .about-body .entry-content > p:not(.about-lede):not(:nth-of-type(2)),
  .about-body .entry-content > li {
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 22px;
  }

  .about-body .entry-content > ul li {
    font-size: 17px;
    line-height: 27px;
    padding: 16px 0;
  }

  .about-studies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .about-team-grid {
    gap: 24px;
  }

  .about-team-grid .wp-block-column {
    padding: 14px;
  }

  .about-team-grid h3 {
    font-size: 18px;
  }

  .about-team__role {
    font-size: 11px !important;
  }

  .about-team-grid .wp-block-column > p:last-child {
    font-size: 14px;
    line-height: 24px;
  }
}

/* ══ Desktop: 1024px+ ════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .about-container {
    padding: 0 32px;
  }

  .about-hero {
    padding: 88px 0 96px;
  }

  .about-body {
    padding: 96px 0 144px;
  }

  .about-hero .wp-block-post-title {
    font-size: clamp(52px, 7vw, 96px);
    letter-spacing: -0.04em;
    line-height: 0.98;
  }

  .about-body .entry-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 0 64px;
  }

  .about-body .entry-content > :not(.about-lede):not(p:first-of-type):not(p:nth-of-type(2)):not(.about-approach) {
    grid-column: 1 / -1;
  }

  .about-body .entry-content > .about-lede,
  .about-body .entry-content > p:first-of-type {
    grid-column: 1;
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.58;
    letter-spacing: -0.012em;
    margin-bottom: 18px;
  }

  .about-body .entry-content > p:nth-of-type(2) {
    grid-column: 2;
    margin-top: 10px;
    font-size: 21px;
    line-height: 1.7;
  }

  .about-body .entry-content > .about-approach {
    grid-column: 2;
    margin: 0;
  }

  .about-approach > h2 {
    font-size: clamp(24px, 2.4vw, 32px);
    letter-spacing: -0.03em;
  }

  .about-approach > p {
    font-size: 17px;
    line-height: 31px;
  }

  .about-approach > ul li {
    font-size: 16px;
    line-height: 26px;
    padding: 11px 0;
  }

  .about-body .entry-content > h2 {
    font-size: clamp(28px, 3vw, 42px);
    margin: 72px 0 18px;
    letter-spacing: -0.035em;
  }

  .about-body .entry-content > h2:first-of-type {
    margin-top: 72px;
  }

  .about-body .entry-content > p:not(.about-lede):not(:nth-of-type(2)),
  .about-body .entry-content > li {
    font-size: 17px;
    line-height: 31px;
    margin-bottom: 24px;
  }

  .about-body .entry-content > ul li {
    font-size: 18px;
    line-height: 28px;
    padding: 18px 0;
  }

  .about-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-team-grid .wp-block-column {
    padding: 16px;
  }

  .about-team-grid h3 {
    font-size: 20px;
    letter-spacing: -0.03em;
  }

  .about-team-grid .wp-block-column > p:last-child {
    font-size: 16px;
    line-height: 28px;
  }
}

/* ── Extra breathing room before the careers form ── */
body:has(.about-page) .norrma-form-section--mauve,
body.page-id-13 .norrma-form-section--mauve {
  margin-top: 80px;
}
