/* ================= Teknik yoğunluk ================= */

/* İlk ekranın altındaki künye şeridi */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 56px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 16px 20px 16px 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dt { margin-bottom: 4px; font-size: 12px; }
.stats dd { margin: 0; font-size: 16px; font-weight: 500; }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .stats > div, .stats > div + div { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Proje satırları: görsel solda, teknik künye sağda */
.proj { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.sec-head + .proj { border-top: 0; padding-top: 8px; }
.proj__art { position: relative; aspect-ratio: 4 / 3; }
.proj__art::before { content: ""; position: absolute; inset: 10% 8%; background: radial-gradient(closest-side, var(--paper-glow), transparent); opacity: .9; }
.proj__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .proj:hover .proj__art img { transform: translateY(-6px); } }
.proj__art .ph { position: absolute; inset: 0; height: auto; }
.proj h3 { margin: 6px 0 8px; font-size: 25px; line-height: 1.2; letter-spacing: -.02em; }
.proj h3 span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .proj:hover h3 span { background-size: 100% 1.5px; } }
.proj h3 .ico { width: 20px; height: 20px; margin-left: 6px; vertical-align: -2px; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .proj:hover h3 .ico { transform: translate(3px, -3px); } }
.proj:focus-visible { outline-offset: 8px; border-radius: 12px; }
.proj__desc { margin: 0 0 20px; color: var(--ink-2); max-width: 40em; }
.kv { margin: 0; display: grid; grid-template-columns: 132px minmax(0, 1fr); font-size: 16px; line-height: 1.5; }
.kv dt, .kv dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.kv dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); padding-top: 10px; }
.kv dd { color: var(--ink); }
.n { font-family: var(--font-mono); font-size: .92em; }
@media (max-width: 900px) {
  .proj { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .kv { grid-template-columns: 100px minmax(0, 1fr); }
}

/* Beceriler: alanlara göre teknik döküm */
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.skill h3 { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.018em; }
.skill ul { list-style: none; margin: 0; padding: 0; }
.skill li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.skill b { display: block; font-weight: 500; font-size: 16px; }
.skill small { display: block; font-size: 15px; color: var(--mute); line-height: 1.45; }
@media (max-width: 1000px) { .skills { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .skills { grid-template-columns: 1fr; gap: 32px; } }

/* Özgeçmiş: eğitim, deneyim, sertifika */
.cv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.cv h3 { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 18px; letter-spacing: -.018em; }
.tl { list-style: none; margin: 0 0 40px; padding: 0; }
.tl:last-child { margin-bottom: 0; }
.tl li { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tl .when { font-family: var(--font-mono); font-size: 13px; color: var(--mute); padding-top: 3px; }
.tl b { display: block; font-weight: 500; font-size: 16px; }
.tl .where { display: block; color: var(--mute); font-size: 15px; }
.tl p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; max-width: 38em; }
.tl a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); }
.tl a .ico { width: 15px; height: 15px; margin-left: 4px; }
.cv__me { display: flex; gap: 20px; align-items: center; margin-bottom: 32px; }
.cv__me img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.cv__me p { margin: 0; color: var(--ink-2); max-width: 34em; }
@media (max-width: 900px) {
  .cv { grid-template-columns: 1fr; gap: 0; }
  .tl li { grid-template-columns: 1fr; gap: 4px; }
}

/* Sistem mimarisi şeması (ince çizgi, HTML; telefonda dikey akar) */
.arch { margin-top: 28px; }
.arch__row { display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr) 84px minmax(0, 1fr) 84px minmax(0, 1fr); align-items: stretch; }
.node { border: 1px solid var(--ink); border-radius: var(--radius); padding: 14px 14px 12px; background: var(--paper); }
.node .mono { font-size: 11px; }
.node b { display: block; margin: 4px 0 8px; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -.012em; }
.node ul { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.65; color: var(--ink-2); }
.link { position: relative; display: flex; align-items: center; justify-content: center; }
.link::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 1px solid var(--ink); }
.link::after { content: ""; position: absolute; right: 2px; top: calc(50% - 4px); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; border-left: 7px solid var(--ink); }
.link span { position: relative; z-index: 1; padding: 0 2px; font-family: var(--font-mono); font-size: 11px; line-height: 1.3; color: var(--mute); text-align: center; text-transform: uppercase; letter-spacing: .02em; transform: translateY(-20px); }
.arch__back { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border: 1px dashed var(--mute); border-radius: var(--radius); font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.arch__back .ico { width: 16px; height: 16px; }
.arch__power { margin-top: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.arch__power b { color: var(--acc); font-weight: 400; }
@media (max-width: 900px) {
  .arch__row { grid-template-columns: 1fr; }
  .link { height: 48px; justify-content: flex-start; }
  .link::before { left: 24px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 1px solid var(--ink); }
  .link::after { right: auto; left: 20.5px; top: auto; bottom: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-top: 7px solid var(--ink); border-bottom: 0; }
  .link span { transform: none; margin-left: 40px; text-align: left; }
}

/* Tasarım kararları ve gruplu teknik tablo */
.dec { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
.dec th { text-align: left; font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink); }
.dec td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.dec td:first-child { color: var(--ink); font-weight: 500; width: 34%; }
.dec td:last-child { color: var(--mute); width: 24%; }
@media (max-width: 760px) {
  .dec, .dec tbody, .dec tr, .dec td { display: block; width: auto !important; }
  .dec thead { display: none; }
  .dec tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .dec td { padding: 2px 0; border: 0; }
  .dec td:nth-child(2)::before { content: "Neden: "; color: var(--mute); }
  .dec td:last-child::before { content: "Alternatif: "; }
}
.spec caption { caption-side: top; text-align: left; padding: 28px 0 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); }
.spec + .spec { margin-top: 0; }
.note { margin-top: 12px; font-size: 14px; color: var(--mute); }
.step__art--shadow img { filter: drop-shadow(0 18px 24px var(--shadow-art)) drop-shadow(0 2px 4px var(--shadow-art)); }

/* SKYTECH temsilî CNC şeması: ince çizgi, tek renk, kutusuz */
.schem { position: absolute; inset: 6% 4%; width: 92%; height: 88%; }
.schem__ink path, .schem__ink rect, .schem__axis path { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.schem__acc { fill: none; stroke: var(--acc); stroke-width: 1.5; stroke-dasharray: 4 4; }
.schem__dot { fill: var(--acc); }
.schem__lead path { fill: none; stroke: var(--mute); stroke-width: 1; }
.schem__t text { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; fill: var(--mute); }
.schem__cap { position: absolute; left: 0; bottom: 0; font-size: 11px; }
@media (max-width: 760px) {
  :lang(en) .dec td:nth-child(2)::before { content: "Why: "; }
  :lang(en) .dec td:last-child::before { content: "Alternative: "; }
}
