﻿:root {
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #ece8f6;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(120% 70% at 50% -18%, rgba(120, 96, 170, 0.11) 0%, rgba(120, 96, 170, 0) 62%),
    linear-gradient(180deg, #08080a 0%, #09090c 54%, #08080a 100%);
  background-attachment: fixed;
  min-height: 100%;
  overflow-x: hidden;
}

.about-page {
  min-height: 100%;
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

.about-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.about-hero {
  padding: clamp(24px, 4vw, 48px) 0 clamp(14px, 2vw, 24px);
}

.about-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(176, 164, 201, 0.24);
  color: rgba(228, 224, 238, 0.9);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  transition: transform 170ms ease, border-color 170ms ease, color 170ms ease;
}

.about-back:hover {
  transform: translateY(-1px);
  border-color: rgba(202, 192, 224, 0.4);
  color: rgba(245, 244, 250, 0.98);
}

.about-head {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(18px, 2.8vw, 32px);
  align-items: start;
}

.about-photo-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(180, 161, 212, 0.14);
  background: linear-gradient(160deg, rgba(16, 17, 23, 0.86), rgba(11, 12, 17, 0.92));
  min-height: clamp(440px, 52vw, 680px);
  position: relative;
}

.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.06) 0%, rgba(5, 6, 8, 0.2) 100%),
    radial-gradient(circle at 82% 14%, rgba(198, 184, 225, 0.26), rgba(198, 184, 225, 0) 32%);
  pointer-events: none;
  z-index: 1;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.about-lead {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(6px, 0.8vw, 12px) 0;
}

.about-kicker {
  margin: 0;
  color: rgba(188, 170, 221, 0.9);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(184, 166, 214, 0.32);
  background: rgba(19, 20, 27, 0.44);
}

.about-lead h1 {
  margin: 0;
  color: rgba(245, 242, 251, 0.98);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.about-role {
  margin: 0;
  color: rgba(224, 218, 236, 0.88);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: 0.015em;
  max-width: 44ch;
}

.about-subtitle {
  margin: 0;
  color: rgba(212, 208, 224, 0.84);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.6;
  max-width: 64ch;
}

.about-block {
  padding: clamp(8px, 1.5vw, 18px) 0 clamp(40px, 4.2vw, 64px);
}

.about-grid {
  display: grid;
  gap: 12px;
}

.about-card {
  margin: 0;
  padding: 12px 0 10px 16px;
  border-left: 1px solid rgba(186, 170, 214, 0.38);
  position: relative;
}

.about-card::after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: 0;
  width: clamp(180px, 26vw, 340px);
  height: 1px;
  background: linear-gradient(90deg, rgba(192, 176, 221, 0.36), rgba(192, 176, 221, 0.06));
}

.about-card h2 {
  margin: 0 0 6px;
  color: rgba(245, 242, 251, 0.96);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.14;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.about-card p {
  margin: 0;
  color: rgba(213, 207, 228, 0.84);
  font-size: clamp(14px, 0.94vw, 16px);
  line-height: 1.64;
  max-width: 90ch;
}

.about-cta {
  justify-self: start;
  margin-top: 6px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 22px;
  border: 1px solid rgba(177, 157, 210, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 64%),
    linear-gradient(160deg, rgba(29, 30, 40, 0.8) 0%, rgba(16, 17, 24, 0.92) 100%);
  color: rgba(242, 241, 247, 0.96);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(198, 182, 228, 0.44);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.34);
}

@media (max-width: 980px) {
  body {
    /* iOS/Safari: fixed background can break full scroll to bottom */
    background-attachment: scroll;
  }

  .about-shell {
    width: min(1180px, calc(100% - 28px));
  }

  .about-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .about-lead {
    order: 1;
  }

  .about-photo-wrap {
    order: 2;
    min-height: clamp(320px, 70vw, 460px);
  }

  .about-kicker,
  .about-lead h1,
  .about-role,
  .about-subtitle {
    text-align: center;
    justify-self: center;
  }

  .about-card {
    padding-left: 12px;
  }

  .about-card::after {
    width: min(74vw, 300px);
  }

  .about-card {
    overflow: visible;
  }

  .about-cta {
    justify-self: center;
    margin-bottom: max(12px, env(safe-area-inset-bottom));
  }
}




