/* Hallmark · macrostructure: Workbench (engineering record) · tone: technical, precise · anchor hue: rust 44
 * theme: custom — paper oklch(96.6% .006 85) / dark oklch(17.5% .005 260) · accent oklch(54.5% .155 44) / dark oklch(72% .14 52)
 * fonts: Inter Display (başlık) + Inter (gövde) + JetBrains Mono (etiket) — hepsi fonts/ altında, OFL
 * Portföy taslağı — Yön A "Açık atölye", görünüm dili "Mühendis hassasiyeti": 4 px köşe, ortak 1 px ızgara çizgisi */

/* ---------- Yazı tipleri (siteye gömülü, dış istek yok) ---------- */
@font-face { font-family: "Inter Display"; src: url(fonts/InterDisplay-SemiBold.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url(fonts/InterDisplay-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Medium.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono-Regular-latin.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/JetBrainsMono-Regular-latin-ext.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Token'lar ---------- */
:root {
  color-scheme: light;
  --paper: oklch(96.6% .006 85);
  --paper-2: oklch(93.4% .008 85);
  --paper-glow: oklch(99% .004 85);
  --ink: oklch(21% .006 260);
  --ink-2: oklch(37% .007 260);
  --mute: oklch(49.5% .007 260);
  --line: oklch(87.5% .009 85);
  --line-2: oklch(78% .01 85);
  --acc: oklch(54.5% .155 44);          /* yalnız eylem ve "şu an" bilgisi */
  --acc-hover: oklch(49% .145 44);
  --acc-ink: oklch(99% .003 85);
  --acc-ring: oklch(54.5% .155 44 / .35);
  --nav-bg: oklch(96.6% .006 85 / .82);
  --shadow-art: oklch(20% .01 260 / .14);
  --card: oklch(98.6% .004 85);          /* kart yüzeyi: zeminden bir ton açık */
  --card-hover: oklch(99.6% .002 85);
  --grid: oklch(21% .006 260 / .055);    /* kutu içi çizim ızgarası */

  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1200px;
  --gutter: 40px;
  --section: 112px;        /* bölüm arası tek boşluk değeri */
  --radius: 4px;           /* tek köşe değeri: çerçeve, düğme, etiket, şema kutusu */
  --pad: 28px;             /* kutu iç payı */
  --nav-h: 68px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --dur-press: 140ms;
  --dur-ui: 200ms;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: oklch(17.5% .005 260);
  --paper-2: oklch(21.5% .006 260);
  --paper-glow: oklch(27% .008 260);
  --ink: oklch(94.5% .004 85);
  --ink-2: oklch(82% .006 85);
  --mute: oklch(68% .008 260);
  --line: oklch(29% .007 260);
  --line-2: oklch(40% .008 260);
  --acc: oklch(72% .14 52);
  --acc-hover: oklch(78% .12 55);
  --acc-ink: oklch(17.5% .005 260);
  --acc-ring: oklch(72% .14 52 / .4);
  --nav-bg: oklch(17.5% .005 260 / .8);
  --shadow-art: oklch(0% 0 0 / .45);
  --card: oklch(20% .006 260);
  --card-hover: oklch(22% .007 260);
  --grid: oklch(94.5% .004 85 / .05);
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section: 80px; --nav-h: 60px; --pad: 20px; }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink); overflow-x: clip;
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  font-synthesis-weight: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: var(--font-display); font-style: normal; font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; min-width: 0; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--radius); background: var(--ink); color: var(--paper); text-decoration: none; font-size: 15px; }
.skip:focus-visible { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.n, .when, .stats dd, .kv dd, .spec td { font-variant-numeric: tabular-nums; }
.ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Metin bağlantısı: alt çizgi soldan dolar */
.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat; transition: background-size var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ulink:hover { background-size: 100% 1px, 100% 1px; } }

/* ---------- Üst menü ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur-ui) ease; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; font-family: var(--font-display); font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; font-size: 15px; text-decoration: none; color: var(--ink-2); border-radius: var(--radius); white-space: nowrap; transition: color var(--dur-ui) ease; }
.nav__links a[aria-current="true"] { color: var(--ink); }
/* Etkin bölüm göstergesi: tek çizgi, bölümden bölüme kayar (site.js konumlar) */
.nav__bar { position: absolute; left: 0; bottom: 6px; height: 1px; width: 1px; background: var(--ink); transform-origin: 0 50%; opacity: 0; pointer-events: none; transition: transform 320ms var(--ease-out), opacity var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--ink); } }

.tools { display: flex; align-items: center; gap: 4px; }
.lang { display: inline-flex; align-items: center; height: 36px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 28px; padding: 0 8px; border-radius: 2px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; text-decoration: none; color: var(--mute); transition: color var(--dur-ui) ease, background-color var(--dur-ui) ease; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .lang a:not([aria-current="true"]):hover { color: var(--ink); } }
.lang a::after { content: ""; position: absolute; inset: -8px -4px; } /* dokunma alanı 44 px */
.lang a { position: relative; }

.iconbtn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: none; color: var(--ink); cursor: pointer; transition: background-color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.iconbtn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .iconbtn:hover { background: var(--paper-2); } }
.iconbtn .ico { width: 20px; height: 20px; }
/* Tema düğmesi: güneş ve ay üst üste, biri döner-solarak yerini alır */
.theme .ico { grid-area: 1 / 1; transition: transform 360ms var(--ease-out), opacity 200ms ease; }
.theme .i-moon { opacity: 1; }
.theme .i-sun { opacity: 0; transform: rotate(-60deg) scale(.7); }
[data-theme="dark"] .theme .i-moon { opacity: 0; transform: rotate(60deg) scale(.7); }
[data-theme="dark"] .theme .i-sun { opacity: 1; transform: none; }

.nav__menu { display: none; }
.nav__menu .ico { grid-area: 1 / 1; transition: transform 240ms var(--ease-out), opacity 160ms ease; }
.nav__menu .i-close { opacity: 0; transform: rotate(-45deg); }
.nav.is-open .nav__menu .i-menu { opacity: 0; transform: rotate(45deg); }
.nav.is-open .nav__menu .i-close { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav__menu { display: inline-grid; }
  .nav__links { position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms; }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s; }
  .nav__links a + a { border-top: 1px solid var(--line); }
  .nav__links a { min-height: 52px; padding: 0 2px; font-size: 18px; font-family: var(--font-display); border-radius: 0; }
  .nav__links a[aria-current="true"]::before { content: ""; width: 6px; height: 6px; margin-right: 12px; background: var(--acc); }
  .nav__bar { display: none; }
}
@media (max-width: 420px) { .lang a { min-width: 34px; padding: 0 6px; } .lang a::after { left: -5px; right: -5px; } .nav__in { gap: 8px; } }

/* ---------- Düğmeler ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius); font-size: 15px; font-weight: 500; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; border: 1px solid var(--ink); cursor: pointer; transition: background-color var(--dur-ui) ease, border-color var(--dur-ui) ease, color var(--dur-ui) ease, transform var(--dur-press) var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn .ico { transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--acc-hover); border-color: var(--acc-hover); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn:hover .i-arrow-r { transform: translateX(3px); }
}

/* ---------- Ana sayfa: bento ızgarası ---------- */
/* Kutular ayrı kart değil, tek çerçevenin hücreleri: aralık 1 px, çizgi arkadaki zeminden görünür.
   Köşe yalnız dış çerçevede (4 px), tek iç pay (28 / mobil 20). Gölge ve gradyan yok.
   Büyüklük önceliği söyler: kol en büyük, sonra profil, redüktör ve site; durum ve SKYTECH küçük. */
.bento-wrap { padding: 32px 0 0; }
.bento-wrap > .wrap { position: relative; }
/* Çerçeve köşelerinde kesim işaretleri: köşeden 4 px açıkta, 12 px kol */
.bento-wrap > .wrap::before {
  content: ""; position: absolute; top: -16px; bottom: -16px; left: calc(var(--gutter) - 16px); right: calc(var(--gutter) - 16px); pointer-events: none;
  --m: var(--line-2);
  background:
    linear-gradient(var(--m), var(--m)) 0 16px / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 16px 0 / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 16px / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) calc(100% - 16px) 0 / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) 0 calc(100% - 16px) / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 16px 100% / 1px 12px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% calc(100% - 16px) / 12px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) calc(100% - 16px) 100% / 1px 12px no-repeat;
}
.bento {
  display: grid; gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "prof arm arm stat"
    "prof arm arm tek"
    "red  red web web"
    "stu  sky skl skl";
}
.t-prof { grid-area: prof; } .t-arm { grid-area: arm; } .t-stat { grid-area: stat; } .t-tek { grid-area: tek; }
.t-red { grid-area: red; } .t-web { grid-area: web; } .t-stu { grid-area: stu; } .t-sky { grid-area: sky; } .t-skl { grid-area: skl; }

.tile { position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--pad); background: var(--card); color: inherit; text-decoration: none; overflow: hidden; }
.tile__head { position: relative; z-index: 1; }
.tile__k { margin: 0 0 12px; padding-right: 32px; }
/* Proje kutularında sıra numarası: etiketin önünde, ince dikey çizgiyle ayrılır */
.tile__k::before { display: inline-block; margin-right: 10px; padding-right: 10px; border-right: 1px solid var(--line-2); color: var(--ink); line-height: 1; }
.t-arm .tile__k::before { content: "01"; } .t-tek .tile__k::before { content: "02"; } .t-red .tile__k::before { content: "03"; }
.t-web .tile__k::before { content: "04"; } .t-stu .tile__k::before { content: "05"; } .t-sky .tile__k::before { content: "06"; }
.tile__t { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; padding-right: 28px; }
.tile__t--lg { font-size: 32px; line-height: 1.08; letter-spacing: -.032em; max-width: 15em; }
.tile__d { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: balance; }
.tile__art { position: relative; margin-top: auto; padding-top: 16px; }
.tile__art img { width: 100%; height: auto; }

/* Bağlantılı kutu: köşede ok; üstüne gelince yüzey bir ton açılır, köşelerde ince seçim işaretleri belirir, görsel hafif yükselir */
.tile__go { position: absolute; top: var(--pad); right: var(--pad); width: 18px; height: 18px; color: var(--mute); transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) ease; }
.tile--link { transition: background-color var(--dur-ui) ease; }
.tile--link::after {
  content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity var(--dur-ui) ease;
  --b: var(--ink-2);
  background:
    linear-gradient(var(--b), var(--b)) 0 0 / 10px 1px no-repeat, linear-gradient(var(--b), var(--b)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--b), var(--b)) 100% 0 / 10px 1px no-repeat, linear-gradient(var(--b), var(--b)) 100% 0 / 1px 10px no-repeat,
    linear-gradient(var(--b), var(--b)) 0 100% / 10px 1px no-repeat, linear-gradient(var(--b), var(--b)) 0 100% / 1px 10px no-repeat,
    linear-gradient(var(--b), var(--b)) 100% 100% / 10px 1px no-repeat, linear-gradient(var(--b), var(--b)) 100% 100% / 1px 10px no-repeat;
}
.tile--link .tile__art img, .tile--link .t-web__shot { transition: transform 500ms var(--ease-out); }
.tile--link:active { background: var(--paper-2); }
.tile--link:focus-visible { outline-offset: -2px; border-radius: 0; }
.tile--link:focus-visible::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .tile--link:hover { background: var(--card-hover); }
  .tile--link:hover::after { opacity: 1; }
  .tile--link:hover .tile__go { color: var(--ink); transform: translate(2px, -2px); }
  .tile--link:hover .tile__art img { transform: translateY(-4px); }
  .tile--link:hover .t-web__shot { transform: translateY(-4px); }
}

/* Kutu içi çizim ızgarası: 24 px, yalnız görselin arkasında, kenarlara doğru söner */
.t-arm::before, .case-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: var(--pad) var(--pad);
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 70%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 62% at 50% 70%, #000 25%, transparent 75%);
}

/* Profil */
.t-prof__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.t-prof__photo { width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; flex: none; background: var(--paper-2); }
.t-prof__name { margin: 0; font-size: 32px; white-space: nowrap; line-height: 1.1; letter-spacing: -.032em; }
.t-prof__role { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--mute); }
.t-prof__role span { display: block; }
.t-prof__lead { margin: 20px 0 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.rows { display: grid; gap: 12px; margin: 20px 0 0; }
.rows > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 12px; }
.rows dt { display: flex; height: 24px; align-items: center; color: var(--mute); }
.rows dt .ico { width: 18px; height: 18px; }
.rows dd { margin: 0; min-width: 0; font-size: 15px; line-height: 24px; color: var(--ink); overflow-wrap: anywhere; }
.rows time { font-variant-numeric: tabular-nums; }
.rows__mail dd { display: flex; align-items: center; gap: 4px; }
.rows__mail .ulink { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows__mail .copy { width: 24px; height: 24px; border-radius: 2px; }
.rows__mail .copy .ico { width: 16px; height: 16px; }
.rows__mail .copy::after { inset: -10px; }
.rows__mail .ulink { position: relative; }
.rows__mail .ulink::after { content: ""; position: absolute; inset: -10px 0; } /* dokunma alanı 44 px */
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; line-height: 1; color: var(--ink-2); white-space: nowrap; }
.t-prof__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 24px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--sm .ico { width: 16px; height: 16px; }
.t-prof__cv { grid-column: 1 / -1; }

/* Kol: ana kutu. Render kutunun tabanına oturur, gölgesi zemine düşer */
.t-arm { padding-bottom: 0; }
.t-arm__art { align-self: center; width: min(100%, 380px); padding-top: 24px; }
/* Koyu temada render'ın gölgesi koyu kutuda kaybolur: tabanın altına hafif zemin ışığı düşer, gölge onun üstünde okunur */
.t-arm__art img { position: relative; z-index: 1; }
[data-theme="dark"] .t-arm__art::before { content: ""; position: absolute; left: -6%; right: -26%; bottom: -4%; height: 60%; border-radius: 50%; background: radial-gradient(closest-side at 58% 58%, oklch(100% 0 0 / .30), oklch(100% 0 0 / .13) 50%, transparent); pointer-events: none; }

/* Durum */
.t-stat__main { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.t-stat__rows { margin: auto 0 0; padding-top: 20px; }
.t-stat__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.t-stat__rows > div:last-child { padding-bottom: 0; }
.t-stat__rows dt { font-size: 12px; }
.t-stat__rows dd { margin: 0; font-size: 14px; text-align: right; color: var(--ink); }

/* Teknofest */
.t-tek__art { width: min(100%, 260px); align-self: center; }

/* Redüktör: metin solda, patlatılmış set sağda tabana oturur */
.t-red { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 24px; }
.t-red__art { align-self: end; }

/* Site: ekran görüntüsü kutunun sağ altından taşar; tek ince çizgi, üst sol köşe 4 px */
.t-web { padding-bottom: 0; }
.t-web__shot { position: relative; margin: 24px -1px 0 48px; margin-top: auto; padding-top: 24px; }
.t-web__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-right: 0; border-bottom: 0; border-radius: var(--radius) 0 0 0; }
.only-dark { display: none !important; }
[data-theme="dark"] .only-dark { display: block !important; }
[data-theme="dark"] .only-light { display: none !important; }

/* Studio */
.t-stu__art { margin-left: -8px; margin-right: -8px; }

/* SKYTECH: temsilî şema */
.t-sky__art { aspect-ratio: 4 / 3; margin-top: auto; }
.t-sky__art .schem { inset: 16px 0 20px; width: 100%; height: calc(100% - 36px); }
.t-sky__art .schem__cap { font-size: 12px; }

/* Beceriler: altı grup, iki sütun */
.t-skl__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.t-skl__top .tile__k { margin: 0; padding-right: 0; }
.t-skl .tile__t { margin-top: 12px; }
.t-skl__more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -12px 0; font-size: 14px; color: var(--ink-2); }
.t-skl__more .ico { width: 15px; height: 15px; }
/* Liste başlığın hemen altından başlar; kutu uzunsa satırlar kalan yüksekliği eşit paylaşır, ortada boşluk kalmaz */
.t-skl__list { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(44px, 1fr); gap: 0 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.t-skl__list li { display: flex; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--acc); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

/* Tablet: iki sütun */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "prof arm"
      "stat arm"
      "red  red"
      "web  web"
      "tek  stu"
      "sky  sky"
      "skl  skl";
  }
  /* SKYTECH tam genişlik, yatay: başlık solda, şema sağda; beceriler altında iki sütun kalır */
  .t-sky { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); column-gap: 24px; align-items: center; }
  .t-sky__art { margin-top: 0; padding-top: 0; }
  .t-red__art { justify-self: end; width: min(100%, 460px); }
  .t-arm__art { width: min(100%, 440px); padding-top: 16px; }
  .t-web__shot { margin-left: 64px; }
  /* Sıra numarası okuma sırasını izler */
  .t-red .tile__k::before { content: "02"; } .t-web .tile__k::before { content: "03"; } .t-tek .tile__k::before { content: "04"; }
}
/* Mobil: tek sütun */
@media (max-width: 760px) {
  .bento-wrap { padding-top: 20px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "prof" "arm" "stat" "red" "tek" "web" "stu" "sky" "skl"; }
  .tile__t--lg { font-size: 26px; }
  .t-arm__art { width: min(100%, 280px); }
  .t-red { grid-template-columns: minmax(0, 1fr); }
  .t-red__art { padding-top: 8px; }
  .t-web__shot { margin-left: 32px; }
  .t-skl__list { grid-template-columns: minmax(0, 1fr); }
  .t-sky { display: flex; align-items: stretch; }
  .t-sky__art { margin-top: auto; padding-top: 16px; }
  .t-prof__name { font-size: 26px; }
  .t-prof__photo { width: 56px; height: 56px; }
  .t-red .tile__k::before { content: "02"; } .t-tek .tile__k::before { content: "03"; } .t-web .tile__k::before { content: "04"; }
}

/* ---------- Bölümler ---------- */
.section { padding-top: var(--section); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sec-head h2 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -.028em; }
.sec-head p { margin: 0; color: var(--mute); font-size: 15px; }
.sec-head__end { display: flex; align-items: center; gap: 20px; }
@media (max-width: 760px) { .sec-head { flex-direction: column; gap: 4px; } .sec-head h2 { font-size: 26px; } .sec-head__end { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* Yer tutucu: bilinmeyen içerik uydurulmaz, açıkça işaretlenir */
.ph { display: grid; place-items: center; width: 100%; height: 100%; border: 1px dashed var(--line-2); border-radius: var(--radius); background: repeating-linear-gradient(135deg, transparent 0 10px, var(--paper-2) 10px 11px); color: var(--mute); font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; text-align: center; padding: 16px; }
.ph-tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--acc); border: 1px dashed currentColor; border-radius: 4px; padding: 0 6px; vertical-align: 2px; white-space: nowrap; }

/* İletişim */
.contact { padding: var(--section) 0; }
.contact h2 { margin: 0 0 12px; font-size: clamp(32px, 1.8vw + 18px, 44px); line-height: 1.1; letter-spacing: -.034em; }
.contact > .wrap > p { margin: 0 0 32px; color: var(--ink-2); font-size: 18px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink-2); font-size: 16px; transition: color var(--dur-ui) ease; }
@media (hover: hover) and (pointer: fine) { .links a:hover { color: var(--ink); } }
.mail { display: inline-flex; align-items: center; gap: 2px; }
/* E-posta kopyala: sessiz başarı, ikon kısa süre onay işaretine döner */
.copy { width: 40px; height: 40px; border-radius: var(--radius); color: var(--mute); }
.copy .ico { width: 17px; height: 17px; grid-area: 1 / 1; transition: transform 220ms var(--ease-out), opacity 160ms ease; }
.copy .i-check { opacity: 0; transform: scale(.6); color: var(--acc); }
.copy.is-done .i-copy { opacity: 0; transform: scale(.6); }
.copy.is-done .i-check { opacity: 1; transform: none; }
.copy::after { content: ""; position: absolute; inset: -2px; }

.foot { border-top: 1px solid var(--line); padding: 24px 0 32px; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.foot__in a { display: inline-flex; align-items: center; min-height: 44px; }

/* Başa dön */
.totop { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 15; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--ink); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 200ms ease, transform 260ms var(--ease-out), border-color var(--dur-ui) ease, background-color var(--dur-ui) ease; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop.is-on:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .totop:hover { border-color: var(--ink); } }

/* ---------- Proje sayfası ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 24px; text-decoration: none; color: var(--mute); font-size: 15px; transition: color var(--dur-ui) ease; }
.back .ico { transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .back:hover { color: var(--ink); } .back:hover .ico { transform: translateX(-3px); } }
.case-head { padding: 32px 0 0; }
.case-head h1 { margin: 16px 0 16px; font-size: clamp(40px, 2.2vw + 24px, 56px); line-height: 1.04; letter-spacing: -.036em; max-width: 14em; }
.case-head .lead { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.case-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
@media (max-width: 760px) {
  .case-head { padding-top: 12px; }
  .case-head .lead { font-size: 17px; }
  .case-top { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
.case-art { position: relative; margin: 0; justify-self: center; width: min(100%, 400px); --pad: 0px; }
.case-art::before { content: ""; position: absolute; inset: 8% 6% 0; background: radial-gradient(closest-side, var(--paper-glow), transparent); }
.case-art img { position: relative; z-index: 1; width: 100%; max-height: 440px; object-fit: contain; }
.case-art::after { z-index: 0; inset: -8% -12% 0; }

/* Hikâye: neden → nasıl → kararlar → durum. Her bölüm başlık + 1–2 cümle; görsel büyük, metin dar */
.chap-group, .chap--text { padding-top: 72px; }
.chap__k { margin: 0 0 10px; }
.chap p.chap__k { font-size: 13px; line-height: 1.5; color: var(--mute); }
.chap h2, .chap-group > h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.15; letter-spacing: -.028em; }
.chap p { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 34em; }
/* Neden ve durum: tek satırlık bildirim; başlık solda, cümle sağda */
.chap--text { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 56px; align-items: start; }
.chap--text .chap__k { grid-column: 1 / -1; }
.chap--text h2 { margin: 0; }
.chap:not(.chap--text) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
.chap-group > .chap__k + .chap { border-top: 0; padding-top: 16px; }
.chap--flip .chap__txt { order: 2; }
.chap__art { margin: 0; }
.chap__art img { display: block; width: 100%; max-width: 600px; height: auto; margin-inline: auto; }
.chap__art--shadow img { filter: drop-shadow(0 18px 24px var(--shadow-art)) drop-shadow(0 2px 4px var(--shadow-art)); max-width: 420px; }
.chap__art .cap { text-align: center; }

/* Üç karar: kararlar ızgarası ana sayfadaki gibi tek çerçeve, 1 px ortak çizgi */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: pick; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.picks li { padding: var(--pad); background: var(--card); counter-increment: pick; }
.picks li::before { content: "0" counter(pick); display: block; margin-bottom: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--ink); }
.picks h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.picks p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Teknik ayrıntılar: varsayılan kapalı tek bölüm */
.tech-wrap { padding-top: 72px; }
.tech { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tech summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 24px 0; cursor: pointer; list-style: none; }
.tech summary::-webkit-details-marker { display: none; }
.tech summary b { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.028em; }
.tech summary .ico { width: 24px; height: 24px; flex: none; color: var(--mute); transition: transform var(--dur-ui) var(--ease-out), color var(--dur-ui) ease; }
.tech[open] summary .ico { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .tech summary:hover .ico { color: var(--ink); } }
.tech summary:focus-visible { outline-offset: 4px; border-radius: 2px; }
.tech__body { padding: 0 0 40px; }
.tech__body > h3 { margin: 40px 0 12px; font-size: 20px; letter-spacing: -.02em; }
.tech__body > h3:first-child { margin-top: 8px; }
.tech__body > p { margin: 0; color: var(--ink-2); max-width: 40em; }
.tech__body .kv { max-width: 880px; }
.tech__body .spec { max-width: 880px; }

@media (max-width: 900px) {
  .chap:not(.chap--text) { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .chap--flip .chap__txt { order: 0; }
  .chap--text { grid-template-columns: minmax(0, 1fr); }
  .chap--text h2 { margin-bottom: 12px; }
  .picks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .chap-group, .chap--text, .tech-wrap { padding-top: 64px; }
  .chap h2, .chap-group > h2 { font-size: 25px; }
  .chap p { font-size: 17px; }
}
.cap { margin: 10px 0 0; color: var(--mute); font-size: 14px; }

.spec { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 42%; font-weight: 400; color: var(--mute); padding-right: 16px; }
.spec td { color: var(--ink); }

.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 72px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; }
.next b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.028em; }
.next .ico { width: 24px; height: 24px; transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .next:hover .ico { transform: translateX(4px); } }

/* ---------- Hareket ---------- */
/* Tek giriş: ilk ekran sırayla belirir; sonrası yalnız proje görselleri */
.rise { animation: rise .7s var(--ease-out) both; }
.rise-2 { animation-delay: .06s; } .rise-3 { animation-delay: .12s; } .rise-4 { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Tema geçişi: View Transitions ile kısa çapraz solma */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: fade .15s ease both; }
  @keyframes fade { from { opacity: 0; } }
  .dot::after { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .nav__links, .nav__bar, .theme .ico, .nav__menu .ico, .copy .ico, .totop, .btn, .iconbtn, .ico { transition-property: opacity, color, background-color, border-color !important; transition-duration: .15s !important; }
  .theme .ico, .nav__menu .ico, .copy .ico { transform: none !important; }
  .nav__links { transform: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media (max-width: 760px) { body { font-size: 16px; } .case-art img { max-height: 236px; } }
[tabindex="-1"]:focus { outline: none; }
