/* Takım (hakkımızda) sayfası */
.team-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(18px, 2.4vw, 30px) 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--rule);
}
.team-stats li {
  display: grid;
  gap: 4px;
  padding: clamp(14px, 2vw, 24px);
}
.team-stats li + li { border-left: 1px solid var(--rule); }
.team-stats b {
  font: 700 clamp(32px, 4.4vw, 64px)/1 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.team-stats li:first-child b { color: var(--red); }
.team-stats span {
  font: 11px/1.4 var(--mono, monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}
.team-grid-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }

.team-photo { position: relative; margin: 0; border: 1px solid var(--rule); overflow: hidden; background: #000; }
.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: contrast(1.05);
}
/* tarama çizgisi ve kenar karartması */
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, #0000 0 3px, #0000002a 3px 4px),
    radial-gradient(ellipse at 50% 50%, #0000 50%, #000b 100%);
}
.team-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border: 1px solid var(--red);
  background: #000c;
  color: var(--ink);
  font: 600 10px/1.3 var(--mono, monospace);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.team .kit-box h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: .1em;
}
.team .kit-box h2 b { font: 600 12px var(--mono, monospace); color: var(--red); letter-spacing: .1em; }
.team-history, .team-approach { padding: 22px 24px; }
.kit-sheet .team-history p {
  margin: 0 0 12px;
  color: var(--ink);
  font: 15.5px/1.7 var(--font);
}
.kit-sheet .team-history p:last-child { margin-bottom: 0; color: var(--dim); }
.team-approach strong { color: var(--ink); }
.team-approach .charter-rules span { color: var(--dim); }

/* kaptanın mesajı */
.team-quote {
  margin: clamp(18px, 2.4vw, 30px) 0 0;
  padding: clamp(24px, 3.4vw, 48px) clamp(22px, 4vw, 64px);
  border-left: 3px solid var(--red);
}
.kit-sheet .team-quote-label {
  margin: 0 0 16px;
  font: 600 11px/1 var(--mono, monospace);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
}
.kit-sheet .team-quote-text {
  margin: 0;
  max-width: 62ch;
  font: 500 clamp(20px, 2.3vw, 32px)/1.35 var(--display);
  letter-spacing: .005em;
  color: var(--ink);
}
.kit-sheet .team-quote-second { margin-top: 14px; color: #b8b3ad; }
.team-quote footer {
  margin-top: 20px;
  font: 11px/1 var(--mono, monospace);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}

/* alt bağlantılar */
.team-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(18px, 2.4vw, 30px);
}
.team-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: end;
  padding: 16px 18px;
  color: var(--ink);
  transition: border-color .18s ease-out, background .18s ease-out;
}
.team-links span {
  grid-column: 1 / -1;
  font: 10.5px/1.4 var(--mono, monospace);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.team-links b { font: 600 18px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.team-links i { font-style: normal; color: var(--red); transition: translate .18s ease-out; }
.team-links a:hover { border-color: #e2ddd666; background: #ffffff08; }
.team-links a:hover i { translate: 3px 0; }
.team-links .team-links-apply { background: var(--mint, #dc4742); border-color: var(--mint, #dc4742); color: #000; }
.team-links .team-links-apply span, .team-links .team-links-apply i { color: #000; }
.team-links .team-links-apply:hover { background: #fff; }
.team-links .team-links-apply::before { border-color: #000; }

/* operatör solda boydan, metinler sağda */
.team-grid-op { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.team-col { display: grid; gap: clamp(14px, 2vw, 22px); }
.team-op img { max-height: 760px; object-fit: contain; }

@media (max-width: 1000px) {
  .team-grid, .team-grid-flip, .team-grid-op { grid-template-columns: minmax(0, 1fr); }
  .team-op { width: min(100%, 420px); justify-self: center; }
  .team-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .team-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-stats li:nth-child(3) { border-left: 0; }
  .team-stats li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .team-links { grid-template-columns: minmax(0, 1fr); }
  .team-photo img { min-height: 200px; }
}

/* operatör: kutu gibi değil, sayfanın zeminine karışan poster figürü */
.team-grid-op { position: relative; isolation: isolate; }
.team-op {
  position: relative;
  z-index: 0;
  margin: -40px -90px -30px -20px;
  pointer-events: none;
}
.team-op img {
  width: 100%;
  max-height: none;
  object-fit: cover;
  /* koyu zemin sayfanın zeminine karışsın */
  mix-blend-mode: screen;
  filter: contrast(1.12) brightness(.95);
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 42% 48%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 58% at 42% 48%, #000 52%, transparent 100%);
}
.team-op figcaption { position: absolute; left: 22%; bottom: 7%; margin: 0; }
.team-col { position: relative; z-index: 1; align-self: center; }
.team-col .kit-box { background: #0b0b0bd9; backdrop-filter: blur(1px); }

@media (max-width: 1000px) {
  .team-op { margin: -20px auto -40px; width: min(100%, 460px); }
  .team-op figcaption { left: 50%; translate: -50% 0; white-space: nowrap; }
}

/* sağ sütun operatör boyunca dolsun: tarihçe + yaklaşım + kaptanın mesajı */
@media (min-width: 1001px) {
  .team-grid-op { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: stretch; }
  .team-col { align-self: start; align-content: start; gap: 16px; padding: 0; margin-top: 0; }
  .team-op { margin-top: -70px; }
  .team-history, .team-approach { padding: 26px 30px; }
  .kit-sheet .team-history p { font-size: 17px; line-height: 1.7; }
  .team .kit-box h2 { font-size: clamp(24px, 2.2vw, 30px); }
  .team-approach .charter-rules li { padding-block: 12px; }
  .team-approach .charter-rules span { font-size: 15.5px; line-height: 1.6; }
  .team-col .team-quote { margin: 0; padding: 26px 30px; }
  .kit-sheet .team-col .team-quote-text { font-size: clamp(20px, 1.7vw, 25px); }
}

/* 03 değerler: poster bandı */
.team-values { margin-top: clamp(28px, 3.6vw, 48px); }
.team-section-title {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 14px;
  font: 700 clamp(24px, 2.2vw, 30px)/1 var(--display);
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.team-section-title b { font: 600 12px var(--mono, monospace); color: var(--red); letter-spacing: .1em; }
.team-values ul {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0; padding: 0; list-style: none;
  border-block: 1px solid var(--rule);
}
.team-values li { padding: clamp(18px, 2.4vw, 32px) clamp(16px, 2vw, 28px); }
.team-values li + li { border-left: 1px solid var(--rule); }
.team-values li > b {
  display: block;
  font: 700 clamp(40px, 5.4vw, 84px)/.95 var(--display);
  letter-spacing: -.01em; text-transform: uppercase; color: var(--ink);
}
.team-values li:nth-child(2) > b { color: var(--red); }
.kit-sheet .team-values p { margin: 12px 0 0; max-width: 34ch; color: var(--dim); font: 15.5px/1.6 var(--font); }

/* 04 oyun günü: zaman çizelgesi */
.team-grid-day { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: stretch; }
.team-day, .team-structure { padding: 26px 30px; }
.team-timeline { margin: 0; padding: 0; list-style: none; position: relative; }
.team-timeline::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.team-timeline li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 22px; padding: 10px 0; }
.team-timeline li::before {
  content: ""; position: absolute; left: 58px; top: 15px; width: 9px; height: 9px;
  background: #0b0b0b; border: 1px solid var(--red);
}
.team-timeline li:nth-child(4)::before { background: var(--red); }
.team-timeline time { font: 600 12px/1.6 var(--mono, monospace); letter-spacing: .08em; color: var(--red); text-align: right; }
.team-timeline span { font: 600 16px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.team-timeline small { display: block; margin-top: 4px; font: 400 14.5px/1.55 var(--font); letter-spacing: 0; text-transform: none; color: var(--dim); }

/* 05 takım yapısı: daralan komuta zinciri */
.team-chain { display: grid; margin: 0 0 16px; padding: 0; list-style: none; }
.team-chain li { position: relative; padding: 14px 18px; border: 1px solid var(--rule); background: #ffffff05; }
.team-chain li:nth-child(1) { border-color: var(--red); background: #dc474214; }
.team-chain li:nth-child(2) { margin-inline: 7%; }
.team-chain li:nth-child(3) { margin-inline: 14%; }
.team-chain li + li { margin-top: 22px; }
.team-chain li + li::before { content: ""; position: absolute; left: 50%; top: -23px; height: 22px; width: 1px; background: var(--rule); }
.team-chain b { display: block; font: 600 17px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.team-chain small { display: block; margin-top: 4px; font: 14px/1.5 var(--font); color: var(--dim); }

@media (max-width: 1000px) {
  .team-grid-day { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .team-values ul { grid-template-columns: minmax(0, 1fr); }
  .team-values li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .team-day, .team-structure { padding: 20px; }
  .team-chain li:nth-child(n) { margin-inline: 0; }
}

/* masaüstü: operatör yüksekliği sağ sütuna eşit (alt boşluk kalmasın) */
@media (min-width: 1001px) {
  .team-grid-op { align-items: stretch; }
  .team-op { align-self: stretch; margin: -70px -90px -10px -20px; min-height: 560px; }
  .team-op img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 18%; }
}
