.page-template-custom-about,
body.about-custom-page,
.about-page {
  --about-bg: #0e0c22;
  --about-surface: rgba(255, 255, 255, 0.04);
  --about-surface-strong: rgba(255, 255, 255, 0.07);
  --about-border: rgba(255, 255, 255, 0.14);
  --about-text: rgba(255, 255, 255, 0.9);
  --about-muted: rgba(255, 255, 255, 0.68);
  --about-dim: rgba(255, 255, 255, 0.52);
  --about-green: #00f060;
  --about-pink: #ff0090;
  --about-pad: clamp(28px, 5vw, 88px);
  --about-hero-image: none;
  --about-advisory-sanika-image: none;
  --about-advisory-robin-image: none;
  --about-advisory-kyle-image: none;
  --about-team-nadia-image: none;
  --about-team-petra-image: none;
  background: var(--about-bg);
  color: var(--about-text);
}

.page-template-custom-about .gh-viewport,
body.about-custom-page .gh-viewport {
  background: var(--about-bg);
}

/* About page uses shared home/magazine footer partial */
.page-template-custom-about .gh-footer,
body.about-custom-page .gh-footer {
  display: none;
}

/* Match landing-page dark navigation treatment */
.page-template-custom-about .css-nav,
body.about-custom-page .css-nav {
  background: rgba(8, 12, 20, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  padding: 0 var(--about-pad);
  height: 80px;
}

.page-template-custom-about .css-nav-name,
.page-template-custom-about .css-nl,
.page-template-custom-about .css-n-si,
body.about-custom-page .css-nav-name,
body.about-custom-page .css-nl,
body.about-custom-page .css-n-si {
  color: rgba(255, 255, 255, 0.9);
}

.page-template-custom-about .css-nav-name,
body.about-custom-page .css-nav-name {
  color: rgba(255, 255, 255, 0.4);
}

.page-template-custom-about .css-nl:hover,
.page-template-custom-about .css-n-si:hover,
.page-template-custom-about .css-nl-active,
body.about-custom-page .css-nl:hover,
body.about-custom-page .css-n-si:hover,
body.about-custom-page .css-nl-active {
  color: #fff;
}

.page-template-custom-about .css-nav-links,
body.about-custom-page .css-nav-links {
  gap: clamp(14px, 2vw, 28px);
}

.page-template-custom-about .css-nl,
body.about-custom-page .css-nl {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-template-custom-about .css-n-si,
body.about-custom-page .css-n-si {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-template-custom-about .css-n-sub,
body.about-custom-page .css-n-sub {
  background: var(--about-pink);
  color: #fff;
  border: none;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s cubic-bezier(.16,1,.3,1);
}

.page-template-custom-about .css-n-sub:hover,
body.about-custom-page .css-n-sub:hover {
  transform: scale(1.05);
  color: #fff;
}

.page-template-custom-about .css-nav-burger span,
body.about-custom-page .css-nav-burger span {
  background: rgba(255, 255, 255, 0.86);
}

.page-template-custom-about .css-nav-links,
body.about-custom-page .css-nav-links {
  background: transparent;
}

@media (max-width: 900px) {
  .page-template-custom-about .css-nav,
  body.about-custom-page .css-nav {
    grid-template-columns: 1fr auto;
    height: 80px;
  }

  .page-template-custom-about .css-nav-links,
  body.about-custom-page .css-nav-links {
    background: rgba(255, 255, 255, 0.98);
    top: 80px;
  }
}

/* Match landing-page dark footer treatment */
.page-template-custom-about .footer,
body.about-custom-page .footer {
  background: #0b091d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(44px, 5vw, 72px) var(--about-pad);
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(22px, 2.8vw, 36px);
}

.page-template-custom-about .flogo-img,
body.about-custom-page .flogo-img {
  width: 48px;
  height: 48px;
  background: var(--about-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #0e0c22;
  margin-bottom: 10px;
}

.page-template-custom-about .fsite,
body.about-custom-page .fsite {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.page-template-custom-about .fdesc,
body.about-custom-page .fdesc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 200px;
  margin-bottom: 14px;
}

.page-template-custom-about .fc h5,
.page-template-custom-about .fnl-lbl,
body.about-custom-page .fc h5,
body.about-custom-page .fnl-lbl {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-template-custom-about .fc,
body.about-custom-page .fc {
  display: block;
}

.page-template-custom-about .fd,
.page-template-custom-about .fc a,
body.about-custom-page .fd,
body.about-custom-page .fc a {
  color: rgba(255, 255, 255, 0.5);
  display: block !important;
  font-size: clamp(17px, 1.15vw, 19px) !important;
  line-height: 1.55;
  margin-bottom: 6px;
  text-decoration: none;
}

.page-template-custom-about .fc a:hover,
body.about-custom-page .fc a:hover {
  color: #fff;
}

.page-template-custom-about .fnl-row,
body.about-custom-page .fnl-row {
  display: flex;
  gap: 3px;
  max-width: 280px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-template-custom-about .fnl-btn,
body.about-custom-page .fnl-btn {
  background: var(--about-green);
  color: #0e0c22;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 8px 22px rgba(0, 240, 96, 0.18);
}

.page-template-custom-about .fnl-btn:hover,
body.about-custom-page .fnl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 240, 96, 0.26);
}

.page-template-custom-about .fsocials,
body.about-custom-page .fsocials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.page-template-custom-about .fsoc,
body.about-custom-page .fsoc {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
}

.page-template-custom-about .fsoc:hover,
body.about-custom-page .fsoc:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.page-template-custom-about .fsoc svg,
body.about-custom-page .fsoc svg {
  width: 14px;
  height: 14px;
}

.page-template-custom-about .fbtm,
body.about-custom-page .fbtm {
  color: rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.08);
  padding: 11px var(--about-pad);
  font-size: 14px;
}

.page-template-custom-about .fbtm a,
body.about-custom-page .fbtm a {
  color: rgba(255, 255, 255, 0.18);
}

.page-template-custom-about .fbtm a:hover,
body.about-custom-page .fbtm a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.page-template-custom-about .gh-main,
.page-template-custom-about .gh-article,
.page-template-custom-about .gh-content,
body.about-custom-page .gh-main,
body.about-custom-page .gh-article,
body.about-custom-page .gh-content {
  max-width: none;
}

.about-page {
  background:
    radial-gradient(1200px 620px at 80% -5%, rgba(255, 0, 144, 0.1) 0%, rgba(255, 0, 144, 0) 62%),
    radial-gradient(1000px 620px at 20% -10%, rgba(0, 240, 96, 0.1) 0%, rgba(0, 240, 96, 0) 60%),
    var(--about-bg);
  color: var(--about-text);
}

.about-wrap {
  width: min(1200px, calc(100% - 2 * clamp(22px, 5vw, 74px)));
  margin: 0 auto;
}

.about-hero {
  padding: clamp(88px, 13vw, 164px) 0 clamp(54px, 7vw, 84px);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(22px, 3.2vw, 42px);
  align-items: end;
}

.about-hero-media {
  min-height: clamp(260px, 34vw, 460px);
  border-radius: 22px;
  border: 1px solid var(--about-border);
  background-image:
    linear-gradient(140deg, rgba(255, 0, 144, 0.2) 0%, rgba(255, 0, 144, 0.04) 28%, rgba(0, 240, 96, 0.16) 100%),
    var(--about-hero-image);
  background-color: rgba(255, 255, 255, 0.03);
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.about-hero-media span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.about-kicker {
  color: var(--about-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.about-title {
  margin-top: 16px;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 18ch;
  color: #fff;
  font-weight: 900;
  text-wrap: balance;
}

.about-lead {
  margin-top: 20px;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.5;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
}

.about-sublead {
  margin-top: 14px;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.78;
  max-width: 66ch;
  color: var(--about-muted);
}

.about-section {
  padding: clamp(52px, 7vw, 96px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.about-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.about-section-label {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--about-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--about-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-section h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.about-copy {
  max-width: 82ch;
  display: grid;
  gap: 14px;
}

.about-copy p,
.about-intro {
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(16px, 1.04vw, 18px);
  line-height: 1.78;
}

.about-copy p:first-child {
  color: rgba(255, 255, 255, 0.9);
}

.about-copy-narrow {
  max-width: 72ch;
}

.about-diaspora .about-intro {
  max-width: 82ch;
  margin-bottom: 10px;
}

.diaspora-grid {
  margin-top: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.diaspora-card {
  background: var(--about-surface);
  border: 1px solid var(--about-border);
  border-radius: 18px;
  padding: clamp(18px, 2.1vw, 26px);
}

.diaspora-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.diaspora-card p {
  margin: 0;
  color: var(--about-dim);
  font-size: 15px;
  line-height: 1.7;
}

.feature-grid {
  margin-top: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.feature-card {
  background: var(--about-surface);
  border: 1px solid var(--about-border);
  border-radius: 18px;
  padding: clamp(18px, 2.1vw, 26px);
}

.feature-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--about-dim);
  font-size: 15px;
  line-height: 1.7;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.people-grid-team {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.person-card {
  border-radius: 18px;
  border: 1px solid var(--about-border);
  background: var(--about-surface);
  padding: clamp(18px, 2.2vw, 28px);
}

.person-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  background-image:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--person-image, none);
  background-color: rgba(255, 255, 255, 0.02);
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: rgba(255, 255, 255, 0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}

.person-card-sanika { --person-image: var(--about-advisory-sanika-image); }
.person-card-robin { --person-image: var(--about-advisory-robin-image); }
.person-card-kyle { --person-image: var(--about-advisory-kyle-image); }
.person-card-nadia { --person-image: var(--about-team-nadia-image); }
.person-card-petra { --person-image: var(--about-team-petra-image); }

.person-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.person-meta {
  margin: 10px 0 0;
  color: var(--about-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-role {
  margin: 8px 0 0;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.55;
}

.about-closing {
  padding-bottom: clamp(72px, 10vw, 126px);
}

.about-cta-row {
  margin-top: clamp(24px, 3vw, 34px);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.about-btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-btn-primary {
  background: var(--about-pink);
  color: #fff;
  border: 1px solid var(--about-pink);
  box-shadow: 0 12px 30px rgba(255, 0, 144, 0.24);
}

.about-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255, 0, 144, 0.3);
  color: #fff;
}

.about-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.02);
}

.about-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .diaspora-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .people-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .page-template-custom-about .css-nav,
  body.about-custom-page .css-nav {
    padding: 0 16px;
    height: 52px;
  }

  .page-template-custom-about .css-nav-links,
  body.about-custom-page .css-nav-links {
    top: 52px;
  }

  .page-template-custom-about .footer,
  body.about-custom-page .footer {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }

  .page-template-custom-about .fbtm,
  body.about-custom-page .fbtm {
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    padding: 11px 20px;
  }

  .about-hero {
    padding-top: clamp(68px, 18vw, 110px);
  }

  .about-wrap {
    width: min(1200px, calc(100% - 2 * 18px));
  }

  .about-section-head {
    align-items: flex-start;
  }

  .about-section-label {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .people-grid,
  .people-grid-team {
    grid-template-columns: 1fr;
  }

  .about-btn {
    width: 100%;
  }
}
