/* about-team.css — three alternative team layouts (use with about-d.css) */

/* ============ Variant 1: master–detail (category menu + member list) ============ */
.t1 { padding: 50px 0 110px; }
.t1 .md { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.t1 .md-nav { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--border-color); border-radius: 24px; padding: 12px; box-shadow: var(--shadow-sm); }
.t1 .md-tab { font: inherit; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; text-align: right; padding: 10px 12px; border: 0; border-radius: 16px; background: transparent; color: var(--primary); transition: background .25s, color .25s, transform .25s; touch-action: manipulation; }
.t1 .md-tab .ic { width: 40px; height: 40px; border-radius: 12px; }
.t1 .md-tab .ic i { font-size: 16px; }
.t1 .md-name { flex: 1; font-weight: 800; font-size: 15.5px; line-height: 1.4; }
.t1 .md-tab .n { font-size: 12.5px; font-weight: 800; min-width: 28px; text-align: center; padding: 3px 9px; border-radius: 999px; background: #e1f5ee; color: #085041; }
.t1 .md-tab:hover { background: #f1f8f6; }
.t1 .md-tab.active { background: linear-gradient(135deg, #062141, #0a4d4d); color: #fff; box-shadow: 0 8px 20px rgba(6,33,65,.25); }
.t1 .md-tab.active .ic { background: rgba(127,216,198,.18); } .t1 .md-tab.active .ic i { color: #7fd8c6; }
.t1 .md-tab.active .n { background: rgba(255,255,255,.2); color: #fff; }
.t1 .md-panels { background: #fff; border: 1px solid var(--border-color); border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden; min-height: 320px; }
.t1 .md-panel[hidden] { display: none; }
.t1 .md-panel { animation: abUp .35s ease-out; }
.t1 .md-head { display: flex; align-items: baseline; gap: 12px; padding: 22px 28px 16px; border-bottom: 1px solid var(--border-color); background: linear-gradient(180deg, #f6fbfa, #fff); }
.t1 .md-head h3 { font-size: 22px; font-weight: 800; color: var(--primary); margin: 0; }
.t1 .md-head small { font-size: 13.5px; color: var(--text-muted); }
.md-panels .member-list { list-style: none; margin: 0; padding: 8px 16px 14px; }
.md-panels .member-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 40px; gap: 4px 16px; align-items: center; padding: 16px 12px; border-radius: 14px; }
.md-panels .member-row + .member-row { border-top: 1px solid rgba(6,33,65,.07); }
.md-panels .member-row:hover { background: #f1f8f6; }
.md-panels .row-avatar { width: 54px; height: 54px; border-radius: 50%; grid-row: 1 / span 2; }
.md-panels .row-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.md-panels .is-mono { display: grid; place-items: center; background: linear-gradient(135deg, #062141, #0a4d4d); color: #fff; font-weight: 800; }
.md-panels .row-avatar.is-mono span { font-size: 22px; line-height: 1; }
.md-panels .row-main { grid-column: 2; grid-row: 1; }
.md-panels .row-main h3 { font-size: 17.5px; font-weight: 800; color: var(--primary); margin: 0 0 6px; }
.md-panels .team-role { display: inline-block; font-size: 12.5px; font-weight: 700; color: #085041; background: #e1f5ee; padding: 3px 12px; border-radius: 999px; line-height: 1.6; }
.md-panels .row-meta { grid-column: 2; grid-row: 2; }
.md-panels .row-meta p { display: flex; gap: 9px; font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 2px 0; }
.md-panels .row-meta i { color: #1a7a7a; margin-top: 5px; font-size: 13px; width: 14px; text-align: center; flex-shrink: 0; }
.md-panels .row-linkedin { grid-column: 3; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #eaf2fb; color: #0a66c2; text-decoration: none; font-size: 15px; transition: all .2s; }
.md-panels .row-linkedin:hover { background: #0a66c2; color: #fff; transform: translateY(-2px); }
.md-panels .row-linkedin.is-empty { background: transparent; }
.md-panels .sub-divider { display: flex; align-items: center; gap: 14px; margin: 12px 8px; }
.md-panels .sub-divider::before, .md-panels .sub-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.md-panels .sub-divider span { font-weight: 700; font-size: 13.5px; color: #085041; background: #e1f5ee; padding: 5px 14px; border-radius: 999px; }
@media (max-width: 860px) {
  .t1 .md { grid-template-columns: 1fr; }
  .t1 .md-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 20px; }
  .t1 .md-nav::-webkit-scrollbar { display: none; }
  .t1 .md-tab { width: auto; flex-shrink: 0; padding: 8px 14px 8px 10px; }
  .t1 .md-tab .ic { display: none; }
  .t1 .md-name { white-space: nowrap; font-size: 14.5px; }
  .t1 .md-head { padding: 18px 20px 14px; }
}

/* ============ Variant 2: founders spotlight + category chips ============ */
.t2 { padding: 50px 0 110px; }
.t2 .spot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); gap: 24px; justify-content: center; }
.t2 .spot { position: relative; text-align: center; color: #fff; border-radius: 28px; padding: 38px 28px 30px; overflow: hidden;
  background: radial-gradient(420px 220px at 50% -10%, rgba(26,122,122,.55), transparent 70%), #062141; box-shadow: 0 22px 50px rgba(6,33,65,.28); }
.t2 .spot::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; }
.t2 .spot > * { position: relative; }
.t2 .spot-av { width: 108px; height: 108px; margin: 0 auto 18px; border-radius: 50%; }
.t2 .spot-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px rgba(127,216,198,.55); }
.t2 .spot-av.is-mono { display: grid; place-items: center; background: linear-gradient(135deg, #1a7a7a, #0a4d4d); box-shadow: 0 0 0 4px rgba(127,216,198,.55), 0 0 0 10px rgba(127,216,198,.12); font-weight: 800; }
.t2 .spot-av.is-mono span { font-size: 46px; line-height: 1; }
.t2 .spot h3 { font-size: 24px; font-weight: 800; margin: 0 0 10px; }
.t2 .spot-role { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 16px; border-radius: 999px; background: rgba(127,216,198,.16); color: #9fe3d2; margin-bottom: 16px; }
.t2 .spot p { display: flex; gap: 10px; justify-content: center; align-items: flex-start; font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.78); margin: 6px 0; text-align: right; }
.t2 .spot p i { color: #7fd8c6; margin-top: 6px; font-size: 13px; }
.t2 .spot-li { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 20px; border-radius: 999px; background: #fff; color: #062141; font-weight: 800; font-size: 13.5px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.t2 .spot-li:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.t2 .chips-head { display: flex; align-items: center; gap: 16px; margin: 56px 0 22px; color: var(--text-muted); font-weight: 700; font-size: 15px; }
.t2 .chips-head::before, .t2 .chips-head::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.t2 .chip-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.t2 .chip-cat { font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; background: #fff; border: 1px solid var(--border-color); border-radius: 999px; box-shadow: var(--shadow-sm); text-align: right; transition: all .25s; touch-action: manipulation; }
.t2 .chip-cat .ic { width: 42px; height: 42px; border-radius: 50%; }
.t2 .chip-cat .ic i { font-size: 17px; }
.t2 .chip-txt b { display: block; font-size: 16px; color: var(--primary); }
.t2 .chip-txt small { font-size: 12.5px; color: var(--text-muted); }
.t2 .chip-arr { font-size: 12px; color: var(--accent); transition: transform .25s; }
.t2 .chip-cat:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.t2 .chip-cat:hover .chip-arr { transform: translateX(-4px); }

/* ============ Variant 3: navy team band with glass tiles ============ */
.t3 { padding: 0; margin-top: 50px; background: #062141; position: relative; overflow: hidden; }
.t3 .t3-inner { position: relative; padding: 76px 0 96px; background: radial-gradient(700px 320px at 85% 0%, rgba(26,122,122,.35), transparent 70%), radial-gradient(500px 280px at 5% 100%, rgba(26,122,122,.22), transparent 70%); }
.t3 .t3-inner::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.t3 .wrap { position: relative; }
.t3 .sec-head .kicker { background: rgba(127,216,198,.16); color: #9fe3d2; }
.t3 .sec-head h2 { color: #fff; } .t3 .sec-head p { color: rgba(255,255,255,.6); }
.t3 .tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t3 .tile { font: inherit; cursor: pointer; position: relative; overflow: hidden; text-align: right; display: flex; flex-direction: column; gap: 6px; min-height: 190px; padding: 24px 24px 20px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; backdrop-filter: blur(10px); transition: transform .3s, background .3s, border-color .3s; touch-action: manipulation; }
.t3 .tile:hover, .t3 .tile:focus-visible { transform: translateY(-6px); background: rgba(255,255,255,.12); border-color: rgba(127,216,198,.55); outline: none; }
.t3 .tile-water { position: absolute; left: -14px; bottom: -22px; font-size: 118px; color: rgba(127,216,198,.1); transform: rotate(-12deg); transition: transform .4s, color .4s; pointer-events: none; }
.t3 .tile:hover .tile-water { transform: rotate(-4deg) scale(1.08); color: rgba(127,216,198,.2); }
.t3 .tile-count { font-size: 54px; font-weight: 800; line-height: 1; color: #7fd8c6; letter-spacing: -1px; }
.t3 .tile-name { font-size: 20px; font-weight: 800; line-height: 1.4; }
.t3 .tile-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.t3 .stack-av { border-color: #123a5e; }
.t3 .stack-more { border-color: #123a5e; background: rgba(127,216,198,.2); color: #bff3e6; }
.t3 .tile-go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: 14px; transition: all .3s; }
.t3 .tile:hover .tile-go { background: #7fd8c6; color: #062141; }
.t3 .sadu { opacity: .9; }
@media (max-width: 900px) { .t3 .tile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .t3 .tile-grid { grid-template-columns: 1fr; } .t3 .tile { min-height: 150px; } .t3 .tile-count { font-size: 44px; } }
