.ptext p { white-space: pre-line; }

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  color: #888888;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
}

.social-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

:root {
  --bg: #050505;
  --panel: #101113;
  --line: #2a2d31;
  --silver: #dcdfe3;
  --steel: #8b9098;
  --star: #bcd0e6;
  --d: "Michroma", "Eurostile", "Arial", sans-serif;
  --b: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--silver); font: 400 17px/1.65 var(--b); }
a { color: inherit; }
button { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--star); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(5, 5, 5, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font: 400 15px var(--d); letter-spacing: .32em; text-decoration: none; }
nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
nav a { text-decoration: none; color: var(--steel); }
nav a:hover { color: var(--silver); }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: var(--steel); font: 500 13px var(--b); padding: 5px 12px; cursor: pointer; }
.lang button[aria-pressed=true] { background: var(--silver); color: var(--bg); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--silver); transition: transform .25s, opacity .25s; }
.burger[aria-expanded=true] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer { position: fixed; top: calc(57px + env(safe-area-inset-top, 0px)); right: 0; bottom: 0; left: 0; z-index: 4; background: rgba(5, 5, 5, .97); padding: 16px 24px 28px; display: flex; flex-direction: column; overflow: auto; }
.drawer a { padding: 18px 8px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 20px; }
.drawer .lang { margin-top: auto; align-self: flex-start; }
.drawer .lang button { padding: 9px 20px; font-size: 15px; }
@media(max-width:720px) { nav a, header nav .lang { display: none; } .burger { display: flex; } }

.vision { font: 400 clamp(20px, 3.4vw, 34px)/1.5 var(--b); max-width: 24em; margin: 0; color: var(--silver); }
.hero { position: relative; overflow: hidden; min-height: calc(100svh - 56px); display: flex; align-items: center; padding: 56px 0; }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero svg { width: min(560px, 90%); height: auto; display: block; margin: 0 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.orbit { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .2s ease-out forwards; }
.star { opacity: 0; animation: fade .8s 2.1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.wm { font: 400 clamp(30px, 9.5vw, 88px)/1 var(--d); margin: 0 0 20px; display: flex; letter-spacing: .28em; }
.wm span { opacity: 0; transform: translateY(14px); filter: blur(10px); animation: ltr 1s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.6s + var(--i)*.14s); }
@keyframes ltr { to { opacity: 1; transform: none; filter: none; } }

.rv { opacity: 0; transform: translateY(12px); animation: rise 1s ease forwards; animation-delay: var(--dl, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.slogan { font: 400 clamp(13px, 2.4vw, 19px)/1.4 var(--d); letter-spacing: .18em; color: var(--star); margin: 0 0 10px; }
.sub { color: var(--silver); margin: 0 0 26px; font-size: 19px; }
.lead { color: var(--steel); max-width: 58ch; margin: 0 0 34px; font-size: 19px; }

.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; padding: 13px 26px; border: 1px solid var(--silver); border-radius: 2px; text-decoration: none; font-weight: 600; font-size: 16px; }
.btn.fill { background: var(--silver); color: var(--bg); }
.btn:hover { background: var(--star); border-color: var(--star); color: var(--bg); }

section { padding: 96px 0; border-top: 1px solid var(--line); }
h2 { font: 400 clamp(22px, 3.4vw, 32px)/1.25 var(--d); margin: 0 0 20px; }
.intro { color: var(--steel); max-width: 60ch; margin: 0 0 48px; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px 40px; padding: 22px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows strong { font: 400 15px var(--d); letter-spacing: .04em; }
.rows span { color: var(--steel); }
@media(max-width:720px) { .rows li { grid-template-columns: 1fr; } }

/* ŞEHİR BUTONLARI */
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cb { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px 14px; text-align: center; cursor: pointer; width: 100%; }
.cb:hover { border-color: var(--steel); }
.cb[aria-pressed=true] { border-color: var(--silver); background: #1a1c1f; }
.cb:disabled { opacity: .5; cursor: default; }
.cb b { display: block; font: 400 17px var(--d); margin-bottom: 4px; }
.cb small { color: var(--steel); font-size: 14px; }

/* EKİP ŞEMASI VE ÇİZGİLERİ */
.tree { display: flex; flex-direction: column; align-items: center; }
.cap { width: min(220px, 62%); text-align: center; }
.cap .ph { border-color: var(--silver); }
.cap strong, .who strong { display: block; font: 400 15px var(--d); margin-top: 14px; }
.cap span, .who span { color: var(--steel); font-size: 15px; }
.stem { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--silver), var(--line)); }

.cities { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; width: 100%; max-width: 900px; }
.tb { position: relative; flex: 1 1 280px; max-width: 340px; margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 20px; transition: border-color 0.25s ease, transform 0.25s ease; }
.tb:hover { border-color: var(--steel); transform: translateY(-2px); }
.tb::before { content: ""; position: absolute; top: -28px; left: 50%; transform: translateX(-50%); height: 28px; width: 1px; background: var(--line); }
.tb::after { content: ""; position: absolute; top: -28px; left: -12px; right: -12px; height: 1px; background: var(--line); }
.tb:first-child::after { left: 50%; }
.tb:last-child::after { right: 50%; }
.tb:only-child::after { display: none; }
.tb b { display: block; font: 400 14px/1.4 var(--d); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em; }

.pg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
a.who, a.pc, a.cap { display: block; text-decoration: none; }
a.who:hover .ph, a.pc:hover .ph, a.cap:hover .ph { border-color: var(--silver); }
.pc strong { display: block; font: 400 11.5px/1.45 var(--d); letter-spacing: .04em; text-transform: uppercase; margin-top: 10px; text-align: center; }
.pj p { padding: 0 18px; margin: 10px 0 0; color: var(--steel); font-size: 15px; }
.pf { padding-top: 88px; padding-bottom: 96px; }
.pf .ph { max-width: 340px; }
.link { display: inline-block; text-decoration: none; }

@media(max-width:720px) {
  .cgrid { grid-template-columns: 1fr; }
  .cities { flex-direction: column; align-items: center; gap: 16px; }
  .tb { width: 100%; max-width: 100%; margin-top: 0; }
  .tb::before, .tb::after { display: none; }
}

.panel { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 32px; min-height: 120px; scroll-margin-top: 72px; }
.panel h3 { font: 400 22px var(--d); margin: 0 0 6px; }
.panel h4 { font: 400 14px var(--d); margin: 34px 0 14px; color: var(--steel); }
.tag { color: var(--steel); margin: 0 0 16px; }
.hint { color: var(--steel); margin: 0; }

.pl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pj { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0 0 18px; text-align: left; cursor: pointer; overflow: hidden; }
.pj:hover { border-color: var(--steel); }
.pj .vis { border: 0; border-radius: 0; margin-bottom: 16px; }
.pj strong, .pj span { display: block; padding: 0 18px; }
.pj strong { font: 400 16px var(--d); margin-bottom: 4px; }
.pj span { color: var(--steel); font-size: 15px; }

.vis { aspect-ratio: 4/3; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.vis svg, .vis img { width: 100%; height: 100%; display: block; object-fit: cover; }

.dt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media(max-width:720px) { .dt { grid-template-columns: 1fr; gap: 24px; } }

.link { background: none; border: 0; color: var(--steel); font: 500 15px var(--b); cursor: pointer; padding: 0; margin-bottom: 22px; }
.link:hover { color: var(--silver); }

.mem { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 22px; }
.ph { aspect-ratio: 4/5; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph b { font: 400 26px var(--d); color: var(--steel); }

.gal { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gal::-webkit-scrollbar { display: none; }
.gal figure { margin: 0; flex: 0 0 min(88%, 680px); aspect-ratio: 4/3; scroll-snap-align: start; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.gal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 16px; background: linear-gradient(transparent, rgba(5, 5, 5, .88)); font-size: 15px; line-height: 1.45; }

.dots { display: flex; justify-content: center; margin-top: 12px; }
.dot { width: 24px; height: 24px; background: none; border: 0; padding: 0; position: relative; cursor: pointer; }
.dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; transform: translate(-50%, -50%); border-radius: 5px; background: var(--line); transition: width .25s, background .25s; }
.dot.on::before { background: var(--star); width: 22px; }

.join .lead { margin-bottom: 28px; }
.soc { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.ic { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--silver); }
.ic:hover { border-color: var(--steel); }
#fmail { display: block; color: var(--star); text-decoration: none; }

footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--steel); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

@media(prefers-reduced-motion:reduce) {
  .wm span, .rv { animation: none; opacity: 1; transform: none; filter: none; }
  .orbit { animation: none; stroke-dashoffset: 0; }
  .star { animation: none; opacity: 1; }
  html { scroll-behavior: auto; }
}
/* Dil seçimi: index.html'de her yazı class="tr" ve class="en" ile iki kez yazılır */
html[lang="tr"] .en, html[lang="en"] .tr { display: none; }
.rows strong span { color: inherit; }

/* Proje sayfası */
a.pj { display: block; color: inherit; text-decoration: none; }
.pf h2 { margin: 0 0 8px; }
.pmedia { margin: 28px 0; }
.pmedia .gal figure { flex-basis: min(92%, 880px); }
.pmedia .vis { max-width: 680px; }
.ptext { max-width: 70ch; margin-bottom: 40px; }

/* Ana ekipte olmayan proje üyeleri: tıklanamaz */
div.who { display: block; }

/* Profil sayfası: LinkedIn / Instagram ikonları */
.psoc{display:flex;gap:12px;margin:22px 0}
.si{width:46px;height:46px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--silver);text-decoration:none;transition:border-color .2s,background .2s}
.si:hover{border-color:var(--silver);background:#1a1c1f}
.si svg{width:22px;height:22px;display:block}
