/* About / Team — shared liquid-glass design */
.about-shell,
.profile-shell {
  --about-bg: #07111f;
  --about-bg-soft: #0b1830;
  --about-text: #f8fbff;
  --about-muted: #9fb2ca;
  --about-line: rgba(148, 197, 255, .16);
  --about-glass: rgba(8, 25, 52, .48);
  --about-glass-strong: rgba(10, 31, 65, .68);
  --about-glass-soft: rgba(14, 38, 78, .36);
  --about-accent: #4f7cff;
  --about-accent-2: #25b5ff;
  --about-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --about-shadow-soft: 0 16px 44px rgba(0, 0, 0, .22);
  color: var(--about-text);
  background:
    radial-gradient(700px 520px at 8% 8%, rgba(37,181,255,.12), transparent 68%),
    radial-gradient(760px 520px at 92% 20%, rgba(79,124,255,.14), transparent 70%),
    var(--about-bg);
}
html[data-theme="light"] .about-shell,
html[data-theme="light"] .profile-shell {
  --about-bg: #f6f4ff;
  --about-bg-soft: #eeebff;
  --about-text: #1f1b2e;
  --about-muted: #665f7d;
  --about-line: rgba(79, 70, 229, .16);
  --about-glass: rgba(255,255,255,.48);
  --about-glass-strong: rgba(255,255,255,.68);
  --about-glass-soft: rgba(248,246,255,.56);
  --about-accent: #4f46e5;
  --about-accent-2: #7c3aed;
  --about-shadow: 0 28px 80px rgba(79, 70, 229, .13);
  --about-shadow-soft: 0 16px 44px rgba(79, 70, 229, .09);
}

/* ---------- shared glass primitives ---------- */
.about-glass,
.member-card,
.profile-identity,
.profile-panel,
.profile-portrait,
.about-mini-visual,
.about-empty {
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    var(--about-glass);
  border: 1px solid var(--about-line);
  box-shadow: var(--about-shadow-soft), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(155%);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
}

/* ---------- compact about hero ---------- */
.about-hero {
  position: relative;
  min-height: 350px;
  padding: 118px 0 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--about-line);
  background:
    radial-gradient(440px 280px at 10% 28%, rgba(37,181,255,.18), transparent 72%),
    radial-gradient(520px 320px at 88% 16%, rgba(117,92,255,.17), transparent 72%),
    radial-gradient(420px 240px at 56% 112%, rgba(56,189,248,.08), transparent 74%),
    linear-gradient(128deg, #07111f 0%, #0a1830 52%, #091425 100%);
}
html[data-theme="light"] .about-hero {
  background:
    radial-gradient(440px 280px at 10% 28%, rgba(14,165,233,.15), transparent 72%),
    radial-gradient(520px 320px at 88% 16%, rgba(99,102,241,.13), transparent 72%),
    radial-gradient(420px 240px at 56% 112%, rgba(56,189,248,.09), transparent 74%),
    linear-gradient(128deg, #f5f9ff 0%, #eaf2fc 52%, #eef5fc 100%);
}
.about-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 190px;
  inset-inline-end: 8%;
  top: 64px;
  border: 1px solid rgba(148,197,255,.12);
  border-radius: 46% 54% 62% 38% / 48% 37% 63% 52%;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  transform: rotate(-9deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  pointer-events: none;
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148,197,255,.14) 1px, transparent 1.25px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 12%, #000 48%, transparent 92%);
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 48%, transparent 92%);
  opacity: .42;
  pointer-events: none;
}
html[data-theme="light"] .about-hero::after {
  opacity: .28;
}
.about-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about-copy {
  max-width: 690px;
}
.about-kicker,
.profile-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--about-accent-2);
  background: rgba(37,181,255,.09);
  border: 1px solid rgba(37,181,255,.18);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 15px;
  backdrop-filter: blur(12px);
}
.about-copy h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.04em;
  color: var(--about-text);
}
.about-copy h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, var(--about-accent), var(--about-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}
.about-copy p {
  margin: 17px 0 0;
  max-width: 620px;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.95;
}
.about-mini-visual {
  position: relative;
  min-width: 0;
  padding: 15px;
  border-radius: 22px;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  overflow: hidden;
}
.about-mini-visual::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 90px;
  inset-inline-end: -45px;
  top: -35px;
  border-radius: 50%;
  background: rgba(37,181,255,.13);
  filter: blur(18px);
  pointer-events: none;
}
.about-mini-visual > * {
  position: relative;
  z-index: 1;
}
.mini-visual-icon,
.mini-visual-node {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--about-accent), var(--about-accent-2));
  box-shadow: 0 9px 24px rgba(37,181,255,.20);
}
.mini-visual-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}
.mini-visual-node {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  font-size: 11px;
}
.about-mini-visual small,
.about-mini-visual strong {
  display: block;
}
.about-mini-visual small {
  color: var(--about-muted);
  font-size: 9px;
  margin-bottom: 3px;
}
.about-mini-visual strong {
  color: var(--about-text);
  font-size: 12px;
  white-space: nowrap;
}
.mini-visual-line {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,181,255,.56));
}

/* ---------- member listing ---------- */
.team-stage {
  position: relative;
  padding: 54px 0 82px;
}
.team-stage-head {
  display: block;
  margin-bottom: 26px;
}
.team-stage-head h2 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 950;
  letter-spacing: -.035em;
}
.team-stage-head p {
  margin: 7px 0 0;
  color: var(--about-muted);
  max-width: 620px;
  line-height: 1.9;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.member-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .32s cubic-bezier(.2,.75,.2,1), box-shadow .32s ease, border-color .32s ease;
}
.member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 58%, rgba(255,255,255,.07) 70%, transparent 82%);
  transform: translateX(-120%);
  transition: transform .62s ease;
  pointer-events: none;
}
.member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(86,177,255,.36);
  box-shadow: var(--about-shadow);
}
.member-card:hover::after {
  transform: translateX(120%);
}
.member-photo {
  position: relative;
  height: 238px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgba(37,181,255,.18), transparent 40%),
    linear-gradient(145deg, var(--about-bg-soft), rgba(79,124,255,.18));
  border-bottom: 1px solid var(--about-line);
}
.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(5,15,34,.18), transparent 52%);
  pointer-events: none;
}
.member-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .48s cubic-bezier(.2,.75,.2,1);
}
.member-card:hover .member-photo img {
  transform: scale(1.035);
}
.member-monogram {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(148,197,255,.40);
  font-size: 62px;
  font-weight: 950;
  letter-spacing: -.04em;
}
.member-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  flex: 1;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}
.member-role {
  color: var(--about-accent-2);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 6px;
}
.member-content h3 {
  margin: 0;
  color: var(--about-text);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.35;
}
.member-bio {
  margin: 9px 0 0;
  color: var(--about-muted);
  font-size: 12.5px;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.member-foot {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--about-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.member-label {
  color: var(--about-muted);
  font-size: 10px;
}
.member-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--about-text);
  font-size: 11px;
  font-weight: 900;
}
.member-open i {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--about-accent), var(--about-accent-2));
  transition: transform .28s ease;
}
.member-card:hover .member-open i {
  transform: translateX(-3px);
}
html[dir="ltr"] .member-card:hover .member-open i {
  transform: translateX(3px);
}
.about-empty {
  grid-column: 1 / -1;
  padding: 64px 28px;
  border-radius: 28px;
  text-align: center;
  color: var(--about-muted);
}
.about-empty i {
  display: block;
  margin-bottom: 14px;
  color: var(--about-accent-2);
  font-size: 36px;
}

/* ---------- profile page ---------- */
.profile-shell {
  min-height: 100vh;
  padding: 126px 0 86px;
}
.profile-topbar {
  margin-bottom: 18px;
}
.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--about-text);
  border: 1px solid var(--about-line);
  background: var(--about-glass);
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(14px);
}
.profile-back:hover {
  color: var(--about-accent-2);
}
.profile-hero {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}
.profile-portrait {
  position: relative;
  min-height: 410px;
  border-radius: 32px;
  overflow: hidden;
}
.profile-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(3,12,29,.44), transparent 58%);
  pointer-events: none;
}
.profile-portrait img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}
.profile-monogram {
  width: 100%;
  min-height: 410px;
  display: grid;
  place-items: center;
  font-size: 86px;
  font-weight: 950;
  color: rgba(148,197,255,.34);
  background:
    radial-gradient(circle at 70% 18%, rgba(37,181,255,.18), transparent 34%),
    linear-gradient(145deg, var(--about-bg-soft), rgba(79,124,255,.18));
}
.profile-identity {
  position: relative;
  min-width: 0;
  border-radius: 32px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-identity::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 250px;
  inset-inline-end: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,124,255,.24), transparent 68%);
  pointer-events: none;
}
.profile-identity > * {
  position: relative;
  z-index: 1;
}
.profile-identity h1 {
  margin: 0;
  color: var(--about-text);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.04em;
}
.profile-role {
  margin-top: 12px;
  color: var(--about-accent-2);
  font-size: 17px;
  font-weight: 900;
}
.profile-email {
  margin-top: 18px;
  color: var(--about-muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: anywhere;
}
.profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.profile-social {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--about-text);
  background: var(--about-glass-soft);
  border: 1px solid var(--about-line);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.profile-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.profile-social:hover {
  transform: translateY(-3px);
  border-color: rgba(86,177,255,.42);
  background: rgba(37,181,255,.10);
}
.profile-bento {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.profile-panel {
  position: relative;
  border-radius: 26px;
  padding: 24px;
  overflow: hidden;
}
.profile-panel h2 {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--about-text);
  font-size: 15px;
  font-weight: 950;
}
.profile-panel h2 i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--about-accent-2);
  background: rgba(37,181,255,.10);
}
.profile-panel .prose {
  margin: 0;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 2;
  white-space: pre-wrap;
}
.profile-panel--bio { grid-column: span 7; }
.profile-panel--duties { grid-column: span 5; }
.profile-panel--skills { grid-column: span 5; }
.profile-panel--experience { grid-column: span 7; }
.profile-panel--contact { grid-column: 1 / -1; }
.profile-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-skill {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--about-text);
  background: rgba(79,124,255,.10);
  border: 1px solid rgba(79,124,255,.18);
  font-size: 12px;
  font-weight: 800;
}
.profile-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.profile-contact {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-radius: 17px;
  border: 1px solid var(--about-line);
  background: var(--about-glass-soft);
}
.profile-contact > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--about-accent-2);
  background: rgba(37,181,255,.10);
}
.profile-contact small,
.profile-contact strong {
  display: block;
}
.profile-contact small {
  color: var(--about-muted);
  margin-bottom: 3px;
  font-size: 10px;
}
.profile-contact strong,
.profile-contact a {
  color: var(--about-text);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .about-hero-inner {
    grid-template-columns: minmax(0,1fr) minmax(230px,280px);
  }
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-hero {
    grid-template-columns: 260px minmax(0,1fr);
  }
}
@media (max-width: 760px) {
  .about-hero {
    min-height: auto;
    padding: 104px 0 42px;
  }
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about-copy h1 {
    font-size: clamp(34px, 10vw, 50px);
  }
  .about-mini-visual {
    max-width: 330px;
  }
  .team-stage {
    padding: 44px 0 64px;
  }
  .member-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-shell {
    padding: 104px 0 64px;
  }
  .profile-hero {
    grid-template-columns: 1fr;
  }
  .profile-portrait,
  .profile-portrait img,
  .profile-monogram {
    min-height: 360px;
    max-height: 500px;
  }
  .profile-bento {
    grid-template-columns: 1fr;
  }
  .profile-panel--bio,
  .profile-panel--duties,
  .profile-panel--skills,
  .profile-panel--experience,
  .profile-panel--contact {
    grid-column: 1;
  }
  .profile-contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .about-hero {
    padding: 96px 0 38px;
  }
  .about-mini-visual {
    grid-template-columns: 42px minmax(0,1fr) auto auto;
    padding: 13px;
  }
  .mini-visual-icon {
    width: 42px;
    height: 42px;
  }
  .mini-visual-line {
    display: none;
  }
  .member-grid {
    grid-template-columns: 1fr;
  }
  .member-photo {
    height: 250px;
  }
  .member-card {
    border-radius: 23px;
  }
  .member-content {
    padding: 18px;
  }
  .profile-identity,
  .profile-portrait,
  .profile-panel {
    border-radius: 24px;
  }
  .profile-identity {
    padding: 24px 20px;
  }
  .profile-portrait,
  .profile-portrait img,
  .profile-monogram {
    min-height: 320px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .member-card,
  .member-photo img,
  .member-open i,
  .profile-social {
    transition: none !important;
  }
  .member-card:hover,
  .profile-social:hover {
    transform: none !important;
  }
}


/* 2026-09-25: compact five-member about layout. */
.about-hero {
  min-height: 0 !important;
  padding: 92px 0 24px !important;
}
.about-hero-inner {
  grid-template-columns: minmax(0,1fr) 235px !important;
  gap: 26px !important;
}
.about-copy {
  max-width: 620px !important;
}
.about-copy .about-kicker {
  margin-bottom: 9px !important;
  padding: 6px 11px !important;
  font-size: 10.5px !important;
}
.about-copy h1 {
  max-width: 610px !important;
  font-size: clamp(28px, 3.6vw, 42px) !important;
  line-height: 1.13 !important;
}
.about-copy p {
  max-width: 580px !important;
  margin-top: 10px !important;
  font-size: 12.5px !important;
  line-height: 1.8 !important;
}
.about-mini-visual {
  padding: 11px !important;
  border-radius: 18px !important;
  grid-template-columns: 38px minmax(0,1fr) auto auto !important;
  gap: 8px !important;
}
.mini-visual-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
}
.mini-visual-node {
  width: 27px !important;
  height: 27px !important;
  border-radius: 8px !important;
  font-size: 9px !important;
}
.mini-visual-line {
  display: none !important;
}
.about-mini-visual small {
  font-size: 8px !important;
}
.about-mini-visual strong {
  font-size: 10.5px !important;
}

/* Story space intentionally stays separate so it can grow later. */
.story-section {
  position: relative;
  padding: 28px 0 4px;
}
.story-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 20px 22px;
  border-radius: 24px;
  background:
    radial-gradient(260px 150px at 94% 0%, rgba(79,124,255,.12), transparent 72%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    var(--about-glass);
  border: 1px solid var(--about-line);
  box-shadow: var(--about-shadow-soft), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.story-copy {
  min-width: 0;
}
.story-copy .about-kicker {
  margin-bottom: 8px;
  padding: 6px 10px;
  font-size: 10px;
}
.story-copy h2 {
  margin: 0;
  color: var(--about-text);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.025em;
}
.story-copy p {
  margin: 8px 0 0;
  max-width: 760px;
  color: var(--about-muted);
  font-size: 12px;
  line-height: 1.95;
}
.story-path {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
}
.story-path > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 9px;
  border-radius: 12px;
  color: var(--about-text);
  background: var(--about-glass-soft);
  border: 1px solid var(--about-line);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}
.story-path > span i {
  color: var(--about-accent-2);
}
.story-path > i {
  color: var(--about-muted);
  font-size: 8px;
  opacity: .72;
}

.team-stage {
  padding: 34px 0 68px !important;
}
.team-stage-head {
  margin-bottom: 20px !important;
}
.team-stage-head .about-kicker {
  margin-bottom: 8px !important;
  padding: 6px 10px !important;
  font-size: 10px !important;
}
.team-stage-head h2 {
  font-size: clamp(24px, 2.8vw, 34px) !important;
}
.team-stage-head p {
  margin-top: 5px !important;
  font-size: 12px !important;
}

.member-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.member-card {
  border-radius: 20px !important;
}
.member-photo {
  height: 158px !important;
}
.member-content {
  padding: 13px 13px 12px !important;
}
.member-role {
  margin-bottom: 4px !important;
  font-size: 9.5px !important;
}
.member-content h3 {
  font-size: 16px !important;
  line-height: 1.35 !important;
}
.member-bio {
  margin-top: 6px !important;
  font-size: 10.5px !important;
  line-height: 1.7 !important;
  -webkit-line-clamp: 2 !important;
}
.member-foot {
  margin-top: 11px !important;
  padding-top: 10px !important;
  justify-content: flex-end !important;
}
.member-label {
  display: none !important;
}
.member-open {
  font-size: 9.5px !important;
  gap: 5px !important;
}
.member-open i {
  width: 24px !important;
  height: 24px !important;
  border-radius: 8px !important;
  font-size: 9px !important;
}

@media (max-width: 1100px) {
  .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .story-card {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .story-path {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .about-hero {
    padding: 86px 0 22px !important;
  }
  .about-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .about-mini-visual {
    max-width: 280px !important;
  }
  .story-section {
    padding-top: 20px;
  }
  .story-card {
    padding: 17px;
    border-radius: 20px;
  }
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  .about-hero {
    padding: 82px 0 20px !important;
  }
  .about-copy h1 {
    font-size: 29px !important;
  }
  .about-mini-visual {
    display: none !important;
  }
  .member-grid {
    grid-template-columns: 1fr !important;
  }
  .member-photo {
    height: 230px !important;
  }
}


/* 2026-09-25: wide five-card team row. */
.team-stage > .container {
  width: min(1560px, calc(100% - 32px)) !important;
  max-width: 1560px !important;
  margin-inline: auto;
}
.member-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.member-photo {
  height: 178px !important;
}
.member-content {
  padding: 15px 15px 14px !important;
}
.member-role {
  font-size: 10px !important;
}
.member-content h3 {
  font-size: 17px !important;
}
.member-bio {
  font-size: 11px !important;
  -webkit-line-clamp: 3 !important;
}
.member-foot {
  margin-top: 13px !important;
  padding-top: 11px !important;
}
.member-open {
  font-size: 10px !important;
}

@media (max-width: 1100px) {
  .member-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .member-photo {
    height: 155px !important;
  }
  .member-content {
    padding: 12px !important;
  }
  .member-content h3 {
    font-size: 15px !important;
  }
  .member-bio {
    font-size: 10px !important;
    -webkit-line-clamp: 2 !important;
  }
}
@media (max-width: 920px) {
  .team-stage > .container {
    width: min(100% - 28px, 900px) !important;
  }
  .member-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  .member-photo {
    height: 185px !important;
  }
}
@media (max-width: 680px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .member-photo {
    height: 200px !important;
  }
}
@media (max-width: 520px) {
  .team-stage > .container {
    width: min(100% - 24px, 520px) !important;
  }
  .member-grid {
    grid-template-columns: 1fr !important;
  }
  .member-photo {
    height: 250px !important;
  }
}


/* 2026-09-25: violet-only day theme for About. */
html[data-theme="light"] .about-shell,
html[data-theme="light"] .profile-shell {
  background:
    radial-gradient(700px 520px at 8% 8%, rgba(124,58,237,.10), transparent 68%),
    radial-gradient(760px 520px at 92% 20%, rgba(79,70,229,.10), transparent 70%),
    var(--about-bg);
}

html[data-theme="light"] .about-hero {
  background:
    radial-gradient(440px 280px at 10% 28%, rgba(124,58,237,.16), transparent 72%),
    radial-gradient(520px 320px at 88% 16%, rgba(79,70,229,.14), transparent 72%),
    radial-gradient(420px 240px at 56% 112%, rgba(139,92,246,.10), transparent 74%),
    linear-gradient(128deg, #faf9ff 0%, #f0edff 52%, #f6f4ff 100%);
}
html[data-theme="light"] .about-hero::before {
  border-color: rgba(124,58,237,.14);
  background: linear-gradient(145deg, rgba(124,58,237,.06), rgba(79,70,229,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.70);
}
html[data-theme="light"] .about-hero::after {
  background-image: radial-gradient(circle, rgba(124,58,237,.18) 1px, transparent 1.25px);
}

html[data-theme="light"] .about-kicker,
html[data-theme="light"] .profile-kicker {
  color: #6d28d9;
  background: rgba(124,58,237,.08);
  border-color: rgba(124,58,237,.18);
}
html[data-theme="light"] .about-mini-visual::before {
  background: rgba(124,58,237,.13);
}
html[data-theme="light"] .mini-visual-icon,
html[data-theme="light"] .mini-visual-node {
  background: linear-gradient(145deg, #4f46e5, #7c3aed);
  box-shadow: 0 9px 24px rgba(124,58,237,.20);
}
html[data-theme="light"] .mini-visual-line {
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.50));
}

html[data-theme="light"] .story-card {
  background:
    radial-gradient(260px 150px at 94% 0%, rgba(124,58,237,.11), transparent 72%),
    linear-gradient(145deg, rgba(255,255,255,.62), rgba(248,246,255,.34)),
    var(--about-glass);
}
html[data-theme="light"] .story-path > span i {
  color: #7c3aed;
}

html[data-theme="light"] .member-card:hover {
  border-color: rgba(124,58,237,.34);
}
html[data-theme="light"] .member-photo {
  background:
    radial-gradient(circle at 70% 20%, rgba(124,58,237,.16), transparent 40%),
    linear-gradient(145deg, var(--about-bg-soft), rgba(79,70,229,.14));
}
html[data-theme="light"] .member-monogram {
  color: rgba(109,40,217,.34);
}
html[data-theme="light"] .member-role {
  color: #7c3aed;
}

html[data-theme="light"] .profile-monogram {
  color: rgba(109,40,217,.30);
  background:
    radial-gradient(circle at 70% 18%, rgba(124,58,237,.16), transparent 34%),
    linear-gradient(145deg, var(--about-bg-soft), rgba(79,70,229,.14));
}
html[data-theme="light"] .profile-identity::before {
  background: radial-gradient(circle, rgba(124,58,237,.20), transparent 68%);
}
html[data-theme="light"] .profile-social:hover {
  border-color: rgba(124,58,237,.34);
  background: rgba(124,58,237,.08);
}
html[data-theme="light"] .profile-panel h2 i,
html[data-theme="light"] .profile-contact > i {
  color: #7c3aed;
  background: rgba(124,58,237,.08);
}
html[data-theme="light"] .profile-skill {
  background: rgba(124,58,237,.08);
  border-color: rgba(124,58,237,.18);
}


/* 2026-09-25: final About light palette matches customer portal. */
html[data-theme="light"] .about-shell,
html[data-theme="light"] .profile-shell {
  --about-bg:#f5f2ff;
  --about-bg-soft:#eee9ff;
  --about-text:#211a36;
  --about-muted:#746b87;
  --about-line:rgba(109,40,217,.14);
  --about-glass:rgba(255,255,255,.58);
  --about-glass-strong:rgba(255,255,255,.76);
  --about-glass-soft:rgba(249,247,255,.66);
  --about-accent:#6d28d9;
  --about-accent-2:#5f7df2;
  --about-shadow:0 28px 80px rgba(68,55,155,.10);
  --about-shadow-soft:0 16px 44px rgba(68,55,155,.075);
}
html[data-theme="light"] .about-hero {
  background:
    radial-gradient(440px 280px at 10% 28%,rgba(124,58,237,.13),transparent 72%),
    radial-gradient(520px 320px at 88% 16%,rgba(79,140,255,.085),transparent 72%),
    radial-gradient(420px 240px at 56% 112%,rgba(124,109,242,.075),transparent 74%),
    linear-gradient(128deg,#faf9ff 0%,#f1efff 52%,#f3f6ff 100%) !important;
}
html[data-theme="light"] :is(.about-kicker,.profile-kicker) {
  color:#6d28d9 !important;
  background:rgba(124,58,237,.09) !important;
  border-color:rgba(109,40,217,.18) !important;
}
html[data-theme="light"] :is(.mini-visual-icon,.mini-visual-node,.member-open i) {
  color:#fff !important;
  background:linear-gradient(145deg,#6d28d9 0%,#7c3aed 58%,#5f7df2 100%) !important;
  box-shadow:0 9px 24px rgba(124,58,237,.20) !important;
}
html[data-theme="light"] :is(.member-role,.profile-role,.profile-back:hover,.about-empty i) {
  color:#7c3aed !important;
}
html[data-theme="light"] .member-card:hover,
html[data-theme="light"] .profile-social:hover {
  border-color:rgba(109,40,217,.30) !important;
}
html[data-theme="light"] :is(.profile-panel h2 i,.profile-contact>i) {
  color:#7c3aed !important;
  background:rgba(124,58,237,.09) !important;
}


/* 2026-09-25: violet-blue balance for About light mode. */
html[data-theme="light"] .about-shell,
html[data-theme="light"] .profile-shell {
  --about-bg:#f5f3ff;
  --about-bg-soft:#eff1ff;
}
html[data-theme="light"] .about-mini-visual::before {
  background:linear-gradient(135deg,rgba(124,58,237,.10),rgba(79,140,255,.07));
}
html[data-theme="light"] .story-card {
  background:
    radial-gradient(260px 150px at 94% 0%,rgba(124,58,237,.09),transparent 72%),
    radial-gradient(230px 140px at 6% 100%,rgba(79,140,255,.055),transparent 72%),
    linear-gradient(145deg,rgba(255,255,255,.64),rgba(246,247,255,.38)),
    var(--about-glass);
}


/* 2026-09-25: About cards share the stronger landing tilt hover. */
@media (hover:hover) and (pointer:fine) {
  .member-card.tilt.in-view {
    transition:
      transform .17s ease-out,
      border-color .28s ease,
      box-shadow .28s ease !important;
  }
  .member-card.tilt.in-view:hover {
    transform:
      perspective(1000px)
      rotateX(var(--tilt-x))
      rotateY(var(--tilt-y))
      translateY(-11px)
      scale(1.015) !important;
    border-color: color-mix(in srgb,var(--about-accent) 46%,var(--about-line)) !important;
    box-shadow:
      0 30px 68px rgba(2,6,18,.28),
      0 10px 28px color-mix(in srgb,var(--about-accent-2) 14%,transparent) !important;
  }
  .member-card.tilt.in-view:hover .member-photo img {
    transform: scale(1.085) !important;
  }
  html[data-theme="light"] .member-card.tilt.in-view:hover {
    box-shadow:
      0 28px 62px rgba(68,55,155,.15),
      0 10px 28px rgba(95,125,242,.10) !important;
  }
  .member-card.tilt.in-view:hover::after {
    transform: translateX(120%);
  }
}


/* 2026-09-25: deeper pointer-reactive About hover. */
@media (hover:hover) and (pointer:fine) {
  .member-card.tilt.in-view {
    position:relative;
    isolation:isolate;
  }
  .member-card.tilt.in-view:hover {
    transform:
      perspective(820px)
      rotateX(var(--tilt-x))
      rotateY(var(--tilt-y))
      translateY(-14px)
      scale(1.025) !important;
    border-color:color-mix(in srgb,var(--about-accent) 58%,var(--about-line)) !important;
    box-shadow:
      0 36px 78px rgba(2,6,18,.32),
      0 16px 36px color-mix(in srgb,var(--about-accent-2) 18%,transparent) !important;
  }
  .member-card.tilt.in-view:hover .member-photo img {
    transform:scale(1.11) !important;
  }
  html[data-theme="light"] .member-card.tilt.in-view:hover {
    box-shadow:
      0 34px 74px rgba(68,55,155,.18),
      0 14px 34px rgba(95,125,242,.13) !important;
  }
}
