/* =====================================================================
   İlkem Kıral · Portfolyo teması
   Renkler, fontlar ve ölçüler :root içinde. Tema rengini değiştirmek
   için yalnızca buradaki değişkenleri düzenlemen yeterli.
   ===================================================================== */
:root {
  color-scheme: dark;
  --bg: #0A1120;
  --bg-2: #0D1629;
  --surface: #0F1A30;
  --surface-2: #16233D;
  --hair: rgba(140, 170, 220, 0.12);
  --ink: #E9EDF4;
  --head: #E8D5A6;          /* başlık rengi: şampanya altın */
  --ink-2: #86A2CB;
  --ink-3: #56698C;
  --link: #5B9BEA;
  --num: #1B2742;
  --accent: #C9A55A;
  --accent-ink: #171205;
  --wire: #6FA8F0;
  --grid: rgba(111, 168, 240, 0.05);

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 28px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Temel ---------- */
.ik *, .ik *::before, .ik *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ik { overflow-x: clip; }
.ik a { color: inherit; }
.ik img { max-width: 100%; height: auto; display: block; }
.ik :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.ik button { font: inherit; color: inherit; }
.ik ::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.label { font-family: var(--f-body); font-size: 12px; font-weight: 500; letter-spacing: .22em; color: var(--accent); margin: 0 0 22px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }
.noscript { text-align: center; padding: 16px; color: var(--ink-2); }

.tag-sample {
  display: inline-block; font-size: 11.5px; font-weight: 400; letter-spacing: .02em;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 1px 8px; border-radius: 99px; line-height: 1.6; white-space: nowrap;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; border: 0;
  font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink);
  transition: background .2s, transform .2s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:hover { background: #D8B670; transform: translateY(-1px); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: #1E2D4C; }
.btn-sm { padding: 9px 15px; font-size: 14px; }

/* ---------- Üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--hair); }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { text-decoration: none; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 25px; letter-spacing: .01em; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links > a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 400; padding: 8px 12px; border-radius: 6px; transition: color .2s, background .2s; }
.nav-links > a:hover { color: var(--ink); }
/* Dil değişince menü genişliği sabit: her etiket iki dildeki yazının uzun olanı kadar yer kaplar. */
[data-fix] { display: inline-flex; flex-direction: column; align-items: center; }
[data-fix]::after { content: attr(data-alt); height: 0; overflow: hidden; visibility: hidden; pointer-events: none; user-select: none; speak: never; }
.nav-links > a.active { color: var(--ink); background: var(--surface); }
.nav-mobile-dl { display: none; }
.nav-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: var(--surface); border-radius: 8px; padding: 3px; }
.lang button { background: transparent; border: 0; cursor: pointer; font-size: 13px; font-weight: 600; padding: 5px 9px; border-radius: 6px; color: var(--ink-3); transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); }
.menu-btn { display: none; background: var(--surface); border: 0; border-radius: 8px; width: 42px; height: 38px; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 22px; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* İndirme menüsü */
.dd { position: relative; }
.dd-btn .chev { width: 11px; height: 11px; margin-left: 2px; transition: transform .25s var(--ease); }
.dd.open .dd-btn .chev { transform: rotate(180deg); }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 210px;
  background: var(--surface); border-radius: 12px; padding: 6px;
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.75), 0 0 0 1px var(--hair);
  display: grid; gap: 2px; transform-origin: top right; animation: ddIn .22s var(--ease);
}
.dd-menu[hidden] { display: none; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 14.5px; color: var(--ink); transition: background .15s; }
.dd-menu a:hover, .dd-menu a:focus-visible { background: var(--surface-2); outline: none; }
.dd-code { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 2px 7px; border-radius: 5px; }
.dd-ext { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.m-dl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 0; }
.m-dl > span { flex: 1; min-width: 110px; font-weight: 500; color: var(--ink); }
.m-dl a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 8px; background: var(--surface-2); color: var(--ink); }
.m-dl a:hover { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav-tools { margin-left: auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 2px; background: var(--bg-2);
    padding: 10px var(--gutter) 20px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links > a { padding: 12px 0; font-size: 17px; border-radius: 0; }
  .nav-links > a.active { background: transparent; color: var(--accent); }
  .nav-links > a[data-fix] { display: block; }
  .nav-links > a[data-fix]::after { display: none; }
  .nav-mobile-dl { display: grid; gap: 2px; margin-top: 10px; }
}
@media (max-width: 640px) { .nav-dl { display: none; } }

/* ---------- Giriş ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-block: 72px 40px; }
.eyebrow { font-size: 12.5px; font-weight: 500; color: var(--accent); margin: 0 0 22px; letter-spacing: .24em; }
.hero-role { display: flex; align-items: center; gap: 14px; font-size: 13.5px; letter-spacing: .3em; margin: 0 0 30px; }
.hero-role::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.hero-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(48px, 6.4vw, 84px); line-height: 1; letter-spacing: -.005em; margin: 0 0 18px; text-wrap: balance; color: var(--head); }
.hero-sector { font-family: var(--f-display); font-size: clamp(22px, 2.3vw, 27px); font-weight: 500; line-height: 1.35; color: var(--ink); margin: 0 0 18px; max-width: 32ch; }
.hero-lede { font-size: 16.5px; color: var(--ink-2); max-width: 50ch; margin: 0 0 30px; }
.hero-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--ink-3); padding-bottom: 2px; transition: color .2s, border-color .2s, gap .2s; }
.hero-link:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.hero-link-2 { color: var(--ink-2); border-color: transparent; }
@media (pointer: coarse) {
  .g-ctrl input[type=range] { height: 34px; }
  .c-row dd a { display: inline-block; padding-block: 6px; }
  .copy { padding: 9px 14px; }
  .to-top { display: inline-block; padding: 8px 0; }
}

.hud { position: relative; margin: 0; }
.hud::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 45%, #000 30%, transparent 72%);
}
.hud canvas { display: block; width: 100%; aspect-ratio: 5 / 4; max-width: 100%; touch-action: pan-y; }
.hud canvas.dragging { cursor: grabbing; }
/* Dişli sistemi kontrolleri */
.g-stage { position: relative; }
/* Değerler, kontroller ve köşe butonları: fare dişli alanına gelince açılır; dokunmatikte alana dokununca */
.gears { position: relative; }
.g-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 6; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
.g-panel-in { display: grid; gap: 10px; padding: 10px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.85), 0 0 0 1px var(--hair); }
.gears:hover .g-panel, .gears:focus-within .g-panel, .gears.open .g-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
.g-ic { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s, color .25s, background .25s, border-color .25s, transform .3s var(--ease); }
.gears:hover .g-ic, .gears:focus-within .g-ic, .gears.open .g-ic { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s, color .25s, background .25s, border-color .25s, transform .3s var(--ease); }
.g-ic { position: absolute; top: 10px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--hair); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(6px); }
.g-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-ic-l { left: 10px; } .g-ic-r { right: 10px; }
.g-ic:hover { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-1px); }
.g-ic-l svg { transition: transform .35s var(--ease); }
.g-ic-l[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.g-ic-l[aria-pressed="true"] svg { transform: rotate(45deg); }
.g-ic-r .i-play { display: none; fill: currentColor; stroke: none; }
.g-ic-r[aria-pressed="true"] .i-pause { display: none; }
.g-ic-r[aria-pressed="true"] .i-play { display: block; }
.g-ic-r[aria-pressed="true"] { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.g-read { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border-radius: 12px; overflow: hidden; }
.g-read > div { background: var(--surface); padding: 10px 14px; display: grid; gap: 2px; }
.g-read .k { font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--ink-3); }
.g-read b { font-size: 16px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-read b small { font-size: 11px; font-weight: 500; color: var(--ink-3); }
.g-ui { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 20px; padding: 16px 18px; background: var(--surface); border-radius: 12px; }
.g-ctrl { display: grid; gap: 8px; }
.g-ctrl label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; color: var(--ink-2); }
.g-ctrl output { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.g-ctrl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.g-ctrl input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent)) 0 / var(--fill, 50%) 100% no-repeat, var(--bg-2); }
.g-ctrl input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--bg-2); }
.g-ctrl input[type=range]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--accent); }
.g-ctrl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6.5px; border-radius: 50%; background: var(--ink); border: 3px solid var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); transition: transform .2s; }
.g-ctrl input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 3px solid var(--accent); }
.g-ctrl input[type=range]:hover::-webkit-slider-thumb, .g-ctrl input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
@media (max-width: 1080px) {
  .g-panel { position: static; padding-top: 0; display: grid; grid-template-rows: 0fr; visibility: visible; transform: none; transition: grid-template-rows .4s var(--ease), opacity .35s; }
  .g-panel > .g-panel-in { overflow: hidden; min-height: 0; padding: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
  .gears:hover .g-panel, .gears:focus-within .g-panel { opacity: 0; grid-template-rows: 0fr; }
  .gears.open .g-panel { opacity: 1; grid-template-rows: 1fr; }
  .gears.open .g-panel > .g-panel-in { padding-top: 10px; }
}
@media (max-width: 720px) {
  .g-read { grid-template-columns: repeat(2, 1fr); }
  .g-ui { grid-template-columns: 1fr; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: 128px 0; }
.sec-head { display: flex; align-items: baseline; gap: 28px; margin-bottom: 56px; padding-bottom: 28px; border-bottom: 1px solid var(--hair); }
.sec-num { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 4.2vw, 50px); line-height: 1; color: var(--num); font-variant-numeric: lining-nums; }
.sec-head h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 4.2vw, 50px); line-height: 1.05; margin: 0; letter-spacing: -.005em; text-wrap: balance; color: var(--head); }
.sec-lede { color: var(--ink-2); max-width: 62ch; margin: -28px 0 40px; }

/* Görünür olunca beliren öğeler (içerik her zaman okunabilir kalır) */
.js-motion .rv { transform: translateY(16px); opacity: .45; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.js-motion .rv.in { transform: none; opacity: 1; }

/* ---------- Hakkımda ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; }
.about-text p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
.about-text .about-lead { font-size: 17.5px; color: var(--ink-2); }
.focus { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.focus li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.focus .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.focus strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--head); }
.focus span.d { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.7; margin-top: 2px; }

/* ---------- Projeler ---------- */
.filter-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14.5px; color: var(--accent); margin: -24px 0 32px; }
.filter-note button { background: var(--surface); border: 0; border-radius: 6px; color: var(--ink-2); cursor: pointer; padding: 5px 11px; font-size: 13.5px; }
.pgroup + .pgroup { margin-top: 88px; }
.pgroup[hidden] { display: none; }
.pg-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.pg-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent); align-self: center; }
.pg-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pg-head h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.1; margin: 0; color: var(--head); }
.pg-count { margin-left: auto; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.projects.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.projects.cols-3 .proj h3 { font-size: 23px; }
.projects.cols-3 .proj-body { padding: 22px 22px 24px; }
.tag-kind { display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: .02em; padding: 2px 9px; border-radius: 99px; line-height: 1.6; white-space: nowrap; }
.tag-kind.k-pro { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.tag-kind.k-uni { color: var(--link); background: color-mix(in srgb, var(--link) 14%, transparent); }
.proj-art .tag-kind { position: absolute; right: 14px; top: 14px; }
.proj {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, box-shadow .4s;
  will-change: transform;
}
.proj:hover { background: #121F38; box-shadow: 0 30px 60px -34px rgba(0,0,0,.9); }
.proj.hide { display: none; }
.proj-art {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--bg-2);
  display: grid; place-items: center;
}
.proj-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.proj:hover .proj-art img { transform: scale(1.03); }
.proj-art svg { width: 80%; height: 80%; }
.proj-art .tag-sample { position: absolute; right: 14px; top: 14px; }
.art .w { stroke: var(--wire); stroke-width: 1.4; fill: none; }
.art .w2 { stroke: var(--ink-3); stroke-width: .9; fill: none; }
.art .c { stroke: var(--ink-3); stroke-width: .8; fill: none; stroke-dasharray: 8 3 2 3; }
.art .d { stroke: var(--accent); stroke-width: 1; fill: none; }
.art .df { fill: var(--accent); stroke: none; }
.art text { fill: var(--accent); font-family: var(--f-mono); font-size: 9px; }
/* ---------- Teknik resim çizim animasyonu ----------
   Eksenler → ana hatlar → yardımcı çizgiler → ölçüler → oklar ve yazılar.
   Süreler JS tarafında her çizgiye --d (gecikme) ve --t (süre) olarak atanır. */
.art.prep .w, .art.prep .w2, .art.prep .d { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.art.prep .c, .art.prep .df, .art.prep text { opacity: 0; }
.art.play .w, .art.play .w2, .art.play .d { animation: artDraw var(--t, 1.2s) cubic-bezier(.45, .05, .35, 1) var(--d, 0s) forwards; }
.art.play .c, .art.play .df, .art.play text { animation: artFade var(--t, .8s) ease var(--d, 0s) forwards; }
@keyframes artDraw { to { stroke-dashoffset: 0; } }
@keyframes artFade { to { opacity: 1; } }
.t-square { position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 70%, transparent) 20%, color-mix(in srgb, var(--accent) 70%, transparent) 80%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent); }
.t-square::after { content: ""; position: absolute; top: -3px; left: var(--px, 50%); width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: translateX(-50%); }
.drafting .t-square { animation: tSquare var(--total, 5s) cubic-bezier(.4, 0, .6, 1) forwards; }
@keyframes tSquare { 0% { opacity: 0; transform: translateY(8%); } 8% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--h, 180px)); } }

/* ---------- Proses animasyonları (sürekli döngü, yalnızca ekrandayken çalışır) ---------- */
.art.loop * { animation-play-state: paused; }
.art.loop.running * { animation-play-state: running; }
/* Kaplama hattı */
.loop-coating .liq { stroke: var(--wire); stroke-width: 1; fill: none; opacity: .55; stroke-dasharray: 5 4; animation: liq 2.4s linear infinite; }
@keyframes liq { to { stroke-dashoffset: -18; } }
.loop-coating .flow { animation: flow 2.4s ease-in-out infinite; opacity: .25; }
.loop-coating .flow.f1 { animation-delay: .4s; } .loop-coating .flow.f2 { animation-delay: .8s; }
@keyframes flow { 30% { opacity: 1; } 70% { opacity: .25; } }
.loop-coating .carrier { animation: carrierX 18s linear infinite; }
.loop-coating .dip { animation: dipY 18s infinite; }
.loop-coating .part { fill: transparent; animation: coatFill 18s infinite; }
.loop-coating .hang { transform-box: fill-box; transform-origin: 50% 0; animation: hangY 18s infinite; }
.loop-coating .trolley { fill: var(--bg-2); }
.loop-coating .k1, .loop-coating .k1 .dip, .loop-coating .k1 .part, .loop-coating .k1 .hang { animation-delay: -6s; }
.loop-coating .k2, .loop-coating .k2 .dip, .loop-coating .k2 .part, .loop-coating .k2 .hang { animation-delay: -12s; }
@keyframes carrierX { from { transform: translate(-20px, 64px); } to { transform: translate(340px, 64px); } }
@keyframes dipY {
  0%, 19%, 29.8%, 38.5%, 49.3%, 57.9%, 68.7%, 77.4%, 88.2%, 100% { transform: translateY(0); animation-timing-function: ease-in-out; }
  22.5%, 26.3%, 42%, 45.8%, 61.4%, 65.2%, 80.9%, 84.7% { transform: translateY(34px); animation-timing-function: ease-in-out; }
}
@keyframes hangY {
  0%, 19%, 29.8%, 38.5%, 49.3%, 57.9%, 68.7%, 77.4%, 88.2%, 100% { transform: scaleY(1); animation-timing-function: ease-in-out; }
  22.5%, 26.3%, 42%, 45.8%, 61.4%, 65.2%, 80.9%, 84.7% { transform: scaleY(2.4167); animation-timing-function: ease-in-out; }
}
@keyframes coatFill { 0%, 44% { fill: transparent; } 47%, 100% { fill: color-mix(in srgb, var(--accent) 35%, transparent); } }
/* Ürün geliştirme aşamaları */
.loop-npd .stage { stroke: var(--ink-3); fill: transparent; }
.loop-npd .gate { fill: var(--ink-3); }
.loop-npd .ico { opacity: .35; }
.loop-npd .snum { opacity: .45; }
.loop-npd .token { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); animation: token 10s infinite; }
.loop-npd .prog { stroke-width: 1.6; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: prog 10s infinite; }
.loop-npd .check { stroke: var(--accent); stroke-width: 1.8; fill: none; stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: check 10s infinite; }
@keyframes token {
  0% { transform: translateX(52px); opacity: 0; } 4% { opacity: 1; }
  18% { transform: translateX(52px); animation-timing-function: ease-in-out; } 30% { transform: translateX(124px); }
  43% { transform: translateX(124px); animation-timing-function: ease-in-out; } 55% { transform: translateX(196px); }
  68% { transform: translateX(196px); animation-timing-function: ease-in-out; } 80% { transform: translateX(268px); }
  94% { transform: translateX(268px); opacity: 1; } 100% { transform: translateX(268px); opacity: 0; }
}
@keyframes prog {
  0%, 18% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: ease-in-out; } 30%, 43% { stroke-dashoffset: .667; animation-timing-function: ease-in-out; }
  55%, 68% { stroke-dashoffset: .333; animation-timing-function: ease-in-out; } 80%, 94% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes check { 0%, 82% { stroke-dashoffset: 1; } 88%, 95% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }

.loop-npd .s0 { animation: st0 10s infinite; } .loop-npd .g0 { animation: gt0 10s infinite; } .loop-npd .i0 { animation: ic0 10s infinite; }
@keyframes st0 { 0%, 4% { stroke: var(--ink-3); fill: transparent; } 7%, 94% { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 9%, transparent); } 100% { stroke: var(--ink-3); fill: transparent; } }
@keyframes gt0 { 0%, 4% { fill: var(--ink-3); } 7%, 94% { fill: var(--accent); } 100% { fill: var(--ink-3); } }
@keyframes ic0 { 0%, 4% { opacity: .35; } 7%, 94% { opacity: 1; } 100% { opacity: .35; } }
.loop-npd .s1 { animation: st1 10s infinite; } .loop-npd .g1 { animation: gt1 10s infinite; } .loop-npd .i1 { animation: ic1 10s infinite; }
@keyframes st1 { 0%, 30% { stroke: var(--ink-3); fill: transparent; } 33%, 94% { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 9%, transparent); } 100% { stroke: var(--ink-3); fill: transparent; } }
@keyframes gt1 { 0%, 30% { fill: var(--ink-3); } 33%, 94% { fill: var(--accent); } 100% { fill: var(--ink-3); } }
@keyframes ic1 { 0%, 30% { opacity: .35; } 33%, 94% { opacity: 1; } 100% { opacity: .35; } }
.loop-npd .s2 { animation: st2 10s infinite; } .loop-npd .g2 { animation: gt2 10s infinite; } .loop-npd .i2 { animation: ic2 10s infinite; }
@keyframes st2 { 0%, 55% { stroke: var(--ink-3); fill: transparent; } 58%, 94% { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 9%, transparent); } 100% { stroke: var(--ink-3); fill: transparent; } }
@keyframes gt2 { 0%, 55% { fill: var(--ink-3); } 58%, 94% { fill: var(--accent); } 100% { fill: var(--ink-3); } }
@keyframes ic2 { 0%, 55% { opacity: .35; } 58%, 94% { opacity: 1; } 100% { opacity: .35; } }
.loop-npd .s3 { animation: st3 10s infinite; } .loop-npd .g3 { animation: gt3 10s infinite; } .loop-npd .i3 { animation: ic3 10s infinite; }
@keyframes st3 { 0%, 80% { stroke: var(--ink-3); fill: transparent; } 83%, 94% { stroke: var(--accent); fill: color-mix(in srgb, var(--accent) 9%, transparent); } 100% { stroke: var(--ink-3); fill: transparent; } }
@keyframes gt3 { 0%, 80% { fill: var(--ink-3); } 83%, 94% { fill: var(--accent); } 100% { fill: var(--ink-3); } }
@keyframes ic3 { 0%, 80% { opacity: .35; } 83%, 94% { opacity: 1; } 100% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .loop-coating .k0 { transform: translate(68px, 64px); } .loop-coating .k1 { transform: translate(138px, 64px); } .loop-coating .k2 { transform: translate(208px, 64px); }
  .loop-npd .stage { stroke: var(--accent); } .loop-npd .gate { fill: var(--accent); } .loop-npd .ico, .loop-npd .snum { opacity: 1; }
  .loop-npd .token { display: none; } .loop-npd .prog, .loop-npd .check { stroke-dashoffset: 0; }
}
.proj-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.proj-kicker { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; color: var(--accent); margin: 0; }
.proj h3 { font-family: var(--f-display); font-weight: 500; font-size: 29px; line-height: 1.15; margin: 0; color: var(--head); }
.proj-a { color: inherit; text-decoration: none; }
.proj-a::after { content: ""; position: absolute; inset: 0; }
.proj-a:focus-visible { outline: none; }
.proj:has(.proj-a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.proj p.sum { margin: 0 0 6px; color: var(--ink-2); font-size: 15px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding-top: 10px; }
.metric b { display: block; font-family: var(--f-body); font-weight: 600; font-size: 20px; color: var(--accent); line-height: 1.15; font-variant-numeric: tabular-nums; }
.metric span { font-size: 13px; color: var(--ink-3); line-height: 1.35; display: block; }
.proj-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: auto; padding-top: 8px; }
.proj-more .arr { transition: transform .3s var(--ease); color: var(--accent); }
.proj:hover .proj-more .arr { transform: translateX(5px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; padding: 4px 10px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }
.empty { color: var(--ink-3); }
.m-page { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 4px 2px; }
.m-page:hover { text-decoration: underline; }
.foot-machine { width: 100%; margin: 6px 0 0; font-size: 12.5px; color: var(--ink-3); }
.foot-machine a { color: var(--ink-3); }
.foot-machine a:hover { color: var(--accent); }

/* ---------- Proje sayfaları ---------- */
.pp-main { padding-block: 40px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 36px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.pp-head { max-width: 900px; margin-bottom: 36px; }
.pp-head h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin: 12px 0 18px; color: var(--head); text-wrap: balance; }
.pp-lead { font-size: 18.5px; color: var(--ink-2); max-width: 64ch; margin: 0; }
.pp-art { position: relative; margin: 0 0 56px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 7; max-width: 100%; display: grid; place-items: center;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, var(--bg-2); }
.pp-art svg { width: min(720px, 86%); height: 86%; }
.pp-art img { width: 100%; height: 100%; object-fit: cover; }
.pp-art .tag-kind { position: absolute; right: 16px; top: 16px; }
.pp-body { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.pp-sections { display: grid; gap: 34px; }
.pp-sec h2 { font-size: 12px; font-weight: 500; letter-spacing: .22em; color: var(--accent); margin: 0 0 10px; text-transform: none; }
.pp-sec p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 68ch; }
.pp-side { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 20px); }
.pp-card { background: var(--surface); border-radius: 14px; padding: 20px 22px; }
.pp-card .label { margin: 0 0 8px; font-size: 11px; }
.pp-card .label + .pp-v { margin-bottom: 14px; }
.pp-v { margin: 0; color: var(--ink); font-size: 15px; }
.pp-v:last-child { margin-bottom: 0; }
.pp-cta h2 { font-family: var(--f-display); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--head); margin: 0 0 8px; }
.pp-cta p { margin: 0 0 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.pp-cta-b { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-cta-b .btn { flex: 1; padding: 11px 14px; font-size: 14px; }
.pp-more { margin-top: 110px; }
.pp-more-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); padding-bottom: 18px; margin-bottom: 8px; }
.pp-more-h h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 3vw, 38px); margin: 0; color: var(--head); }
.pp-more-h a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.pp-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
.pp-more li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hair); text-decoration: none; }
.pm-k { grid-column: 1; font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.pm-t { grid-column: 1; font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--ink); transition: color .2s; }
.pm-arr { grid-column: 2; grid-row: 1 / 3; color: var(--accent); transition: transform .3s var(--ease); }
.pp-more li a:hover .pm-t { color: var(--head); }
.pp-more li a:hover .pm-arr { transform: translateX(4px); }

/* ---------- Proje penceresi ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(1000px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 48px); color: var(--ink); }
.modal::backdrop { background: rgba(3, 9, 22, .8); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { transform: translateY(16px); opacity: 0; } }
.modal-inner { position: relative; background: var(--surface); border-radius: 16px; display: grid; grid-template-columns: 1fr 1.1fr; max-height: calc(100vh - 48px); overflow: auto; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
.modal-art { position: relative; overflow: hidden; min-height: 320px; background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 22px 22px, var(--bg-2); display: grid; place-items: center; padding: 28px; }
.modal-art svg { width: 100%; height: auto; max-height: 420px; }
.modal-art img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 44px 36px 36px; display: flex; flex-direction: column; gap: 18px; }
.modal-body h3 { font-family: var(--f-display); font-weight: 500; font-size: 34px; line-height: 1.15; margin: 0; color: var(--head); }
.modal-body .label { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 11.5px; letter-spacing: .18em; }
.modal-body .metrics { margin: 0; padding: 0; }
.m-sections { display: grid; gap: 16px; }
.m-sections h4 { margin: 0 0 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; color: var(--accent); }
.m-sections p { margin: 0; color: var(--ink-2); font-size: 15px; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 99px; background: var(--surface-2); border: 0; cursor: pointer; font-size: 15px; }
.modal-close:hover { background: #22314F; }

/* ---------- Deneyim: uçuş rotası ---------- */
.timeline { position: relative; padding-left: 84px; }
.flight { position: absolute; left: 0; top: 0; width: 64px; height: 100%; overflow: visible; }
.flight-base { fill: none; stroke: var(--surface-2); stroke-width: 1.5; stroke-dasharray: 3 6; }
.flight-prog { fill: none; stroke: var(--accent); stroke-width: 1.8; }
#plane path { fill: var(--accent); }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 52px; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -57px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 0 0 4px var(--bg); transition: background .4s; }
.tl-item.passed::before { background: var(--accent); }
.tl-date { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.tl-item h3 { font-family: var(--f-display); font-weight: 500; font-size: 28px; margin: 0; line-height: 1.25; color: var(--head); }
.tl-sub { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 19px; line-height: 1.3; color: var(--ink-2); }
.tl-co { color: var(--link); margin: 2px 0 12px; font-size: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tl-item ul { margin: 0; padding-left: 18px; color: var(--ink-2); max-width: 70ch; font-size: 15px; }
.tl-item li + li { margin-top: 4px; }
.tl-item li::marker { color: var(--ink-3); }

.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 88px; }
.edu-item + .edu-item { margin-top: 30px; }
.edu-item h3 { font-family: var(--f-display); font-weight: 500; font-size: 22px; margin: 0 0 2px; line-height: 1.3; color: var(--head); }
.edu-item p { margin: 0; color: var(--link); font-size: 14.5px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; line-height: 1.6; }
.edu-item .yr { display: block; margin-top: 2px; font-size: 13px; }
.edu-item .yr, .certs .yr { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; }
.certs li { display: grid; gap: 2px; padding-block: 14px; border-bottom: 1px solid var(--hair); }
.certs li:first-child { padding-top: 0; }
.cert-t { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.5; }
/* Sertifikalar: kurum bilgisi üzerine gelince açılır */
#certList li.cert { border-bottom: 0; padding: 14px 14px 14px 12px; }
.cert { position: relative; display: grid; grid-template-columns: 1fr 20px; gap: 14px; align-items: start; padding: 14px 14px 14px 12px; border-radius: 10px; isolation: isolate; outline: none; }
.cert + .cert { margin-top: 2px; }
.cert::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 12%, transparent), color-mix(in srgb, var(--surface) 70%, transparent) 55%); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cert::after { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--accent); transform: scaleY(0); transition: transform .35s var(--ease); }
.cert-main { display: grid; padding-top: 5px; }
.cert-reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-4px); transition: grid-template-rows .4s var(--ease), opacity .35s, transform .4s var(--ease); }
.cert-reveal > .cert-by { overflow: hidden; min-height: 0; padding-top: 2px; }
.cert-plus { position: relative; width: 14px; height: 14px; margin-top: 10px; opacity: .55; transition: transform .4s var(--ease), opacity .3s; }
.cert-plus::before, .cert-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--accent); border-radius: 2px; }
.cert-plus::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.cert.has-by { cursor: pointer; }
.cert.has-by:hover::before, .cert.has-by:focus-visible::before, .cert.open::before { transform: scaleX(1); }
.cert.has-by:hover::after, .cert.has-by:focus-visible::after, .cert.open::after { transform: scaleY(1); }
.cert.has-by:hover .cert.has-by:hover .cert-reveal, .cert.has-by:focus-visible .cert-reveal, .cert.open .cert-reveal { grid-template-rows: 1fr; opacity: 1; transform: none; }
.cert.has-by:hover .cert-plus, .cert.has-by:focus-visible .cert-plus, .cert.open .cert-plus { opacity: 1; transform: rotate(180deg); }
.cert.has-by:hover .cert-plus::after, .cert.has-by:focus-visible .cert-plus::after, .cert.open .cert-plus::after { transform: rotate(0deg); }
.cert-by { font-size: 13.5px; color: var(--link); line-height: 1.5; }
/* Eğitim: derece üzerine gelince görünür */
.edu-item { position: relative; outline: none; padding: 4px 0 4px 20px; }
.edu-item::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--hair); }
.edu-item::after { content: ""; position: absolute; left: 0; top: 10px; width: 1px; height: calc(100% - 20px); background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.edu-item.has-level { cursor: pointer; }
.edu-item h3 { transition: color .3s, transform .45s var(--ease); }
.edu-item.has-level:hover h3, .edu-item.has-level:focus-visible h3, .edu-item.open h3 { transform: translateX(4px); }
.edu-item.has-level:hover::after, .edu-item.has-level:focus-visible::after, .edu-item.open::after { transform: scaleY(1); }
.edu-level { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.edu-level > span { overflow: hidden; min-height: 0; display: block; }
.edu-level .lvl { position: relative; display: inline-block; margin: 12px 0 0; padding-bottom: 5px; font-family: var(--f-display); font-style: italic; font-size: 19px; font-weight: 500; color: var(--accent); opacity: 0; transform: translateY(8px); transition: opacity .35s .08s, transform .5s .08s var(--ease); }
.edu-level .lvl::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0); transform-origin: left; transition: transform .7s .25s var(--ease); }
.edu-note { display: block; margin: 8px 0 4px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-2); }
.edu-note i { font-style: normal; display: inline-block; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .3s var(--ease); transition-delay: 0s; }
.edu-item.has-level:hover .edu-level, .edu-item.has-level:focus-visible .edu-level, .edu-item.open .edu-level { grid-template-rows: 1fr; }
.edu-item.has-level:hover .lvl, .edu-item.has-level:focus-visible .lvl, .edu-item.open .lvl { opacity: 1; transform: none; }
.edu-item.has-level:hover .lvl::after, .edu-item.has-level:focus-visible .lvl::after, .edu-item.open .lvl::after { transform: scaleX(1); }
.edu-item.has-level:hover .edu-note i, .edu-item.has-level:focus-visible .edu-note i, .edu-item.open .edu-note i { opacity: 1; transform: none; transition-delay: calc(.45s + var(--k) * 18ms); }
.label-sub { margin-top: 48px; }

/* ---------- Yetkinlikler ---------- */
/* Yetkinlikler: sekmeli etkileşimli panel */
.sk { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 40px; align-items: start; }
.sk-tabs { display: grid; gap: 4px; align-content: start; }
.sk-tab { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 16px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; overflow: hidden; transition: background .3s; }
.sk-tab:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.sk-tab.on { background: var(--surface); }
.sk-idx { font-family: var(--f-display); font-size: 17px; color: var(--ink-3); transition: color .3s; }
.sk-name { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.25; color: var(--ink-2); transition: color .3s, transform .35s var(--ease); }
.sk-n { font-size: 12px; font-weight: 500; color: var(--ink-3); background: var(--bg-2); border-radius: 99px; padding: 2px 8px; font-variant-numeric: tabular-nums; transition: color .3s, background .3s; }
.sk-tab::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--accent); transform: scaleY(0); transition: transform .35s var(--ease); }
.sk-tab.on::before { transform: scaleY(1); }
.sk-tab.on .sk-idx { color: var(--accent); }
.sk-tab.on .sk-name { color: var(--head); transform: translateX(3px); }
.sk-tab.on .sk-n { color: var(--accent-ink); background: var(--accent); }
.sk-bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px; background: color-mix(in srgb, var(--accent) 60%, transparent); transform: scaleX(0); transform-origin: left; }
.sk-tab.auto .sk-bar { animation: skBar 7s linear forwards; }
@keyframes skBar { to { transform: scaleX(1); } }

.sk-panel { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 16px; padding: 30px 32px 32px; overflow: hidden; }
.sk-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 100% 0%, #000, transparent 70%); }
.sk-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sk-head h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; margin: 0; color: var(--head); }
.sk-count { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.sk-chips { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sk-chips.enter li { animation: chipIn .5s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.sk-chip { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid transparent; border-radius: 10px; background: var(--bg-2); color: var(--ink-2); font-size: 15px; line-height: 1.3; cursor: default; transition: color .25s, background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.sk-chip:hover { color: var(--ink); background: var(--surface-2); border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.8); outline: none; }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-lede { font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.4; color: var(--ink); margin: 0 0 32px; max-width: 40ch; }
.c-rows { margin: 0; display: grid; gap: 20px; }
.c-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.c-row dt { grid-column: 1 / -1; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; color: var(--accent); }
.c-row dd { margin: 0; font-size: 16px; font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.c-row dd a { text-decoration: none; transition: color .2s; }
.c-row dd a:hover { color: var(--accent); }
.c-row dd a.social { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 12px; background: var(--surface); border: 1px solid transparent; transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.social-ic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); overflow: hidden; transition: background .3s, color .3s, transform .45s var(--ease); }
.social-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.social-mask { width: 18px; height: 18px; background: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.social-t { font-weight: 500; color: var(--ink); }
.social-arr { color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.c-row dd a.social:hover, .c-row dd a.social:focus-visible { background: var(--surface-2); border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.8); color: inherit; }
.c-row dd a.social:hover .social-ic { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg) scale(1.05); }
.c-row dd a.social:hover .social-arr { color: var(--accent); transform: translate(2px, -2px); }
.copy { background: var(--surface); border: 0; border-radius: 6px; color: var(--ink-2); cursor: pointer; padding: 5px 11px; font-size: 13px; }
.copy:hover { color: var(--ink); background: var(--surface-2); }
.mailform { background: var(--surface); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--ink-2); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-2);
  border: 1px solid transparent; padding: 12px 14px; border-radius: 8px; resize: vertical;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: 13.5px; color: var(--ink-3); flex: 1; min-width: 180px; }
.form-error { margin: 0; color: var(--accent); font-size: 14px; }

/* ---------- Alt bilgi ---------- */
.footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 120px 40px; color: var(--ink-3); font-size: 14.5px; }
.footer p { margin: 0; }
.to-top { text-decoration: none; color: var(--ink-2); }
.to-top:hover { color: var(--accent); }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1080px) {
  .pp-body { grid-template-columns: 1fr; gap: 40px; }
  .pp-side { position: static; }
  .projects.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-art { min-height: 220px; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; --nav-h: 62px; }
  body { font-size: 15.5px; }
  .section { padding-block: 92px 0; }
  .projects, .projects.cols-3, .edu-grid, .pp-more ul { grid-template-columns: 1fr; }
  .pp-art { aspect-ratio: 4 / 3; border-radius: 14px; margin-bottom: 40px; }
  .pp-lead { font-size: 17px; }
  .crumbs [aria-current] { max-width: 100%; }
  .sk { grid-template-columns: 1fr; gap: 16px; }
  .sk-tabs { display: flex; gap: 6px; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .sk-tabs::-webkit-scrollbar { display: none; }
  .sk-tab { flex: none; width: auto; grid-template-columns: auto auto; padding: 9px 14px; }
  .sk-tab .sk-idx { display: none; }
  .sk-name { font-size: 17px; white-space: nowrap; }
  .sk-tab.on .sk-name { transform: none; }
  .sk-panel { padding: 22px 18px 20px; min-height: 0; }
  .sk-chip { font-size: 14px; padding: 8px 12px; }
  .edu-grid { gap: 40px; margin-top: 64px; }
  .timeline { padding-left: 52px; }
  .flight { width: 40px; }
  .tl-item::before { left: -37px; }
  .sec-head { gap: 18px; margin-bottom: 40px; padding-bottom: 22px; }
  .tl-list { gap: 40px; }
  .tl-item h3 { font-size: 23px; }
  .contact-lede { font-size: 22px; }
  .hero-lede { font-size: 16px; }
  .proj-body { padding: 22px 20px 24px; }
  .mailform { padding: 24px 20px; }
  .modal-body { padding: 36px 22px 26px; }
  .modal-body h3 { font-size: 25px; }
}
@media (max-width: 440px) {
  .metric b { font-size: 18px; }
  .brand-name { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ik *, .ik *::before, .ik *::after { animation: none !important; transition: none !important; }
  .js-motion .rv { transform: none; opacity: 1; }
}
