/* Deniz Bulut — kişisel site
   Palet: espresso kahve, tereyağı sarısı, açık mavi. Dil: ince çizgiler, numaralı bölümler. */

:root {
  --espresso: #2e2018;
  --coffee: #5a3e2b;
  --cocoa: #8a6a52;
  --cream: #fbf6ea;
  --paper: #fffdf7;
  --butter: #f4dd8c;
  --butter-soft: #fbf0c8;
  --sky: #b9daf0;
  --sky-soft: #e5f2fa;
  --sky-ink: #2c6890;
  --line: rgba(46, 32, 24, 0.16);
  --line-strong: rgba(46, 32, 24, 0.55);
  --text: #2e2018;
  --muted: #6e5a4c;
  --danger: #a3361f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--espresso); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; flex: none; }

/* Butonlar ve bağlantılar */
.btn {
  display: inline-flex; white-space: nowrap; align-items: center; gap: .55em;
  padding: .82em 1.3em; border: 1.5px solid var(--espresso); border-radius: 999px;
  background: var(--paper); color: var(--espresso); font: 600 15px/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 3px 3px 0 var(--espresso);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--espresso); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--espresso); }
.btn-primary { background: var(--espresso); color: var(--paper); box-shadow: 3px 3px 0 var(--butter); border-color: var(--espresso); }
.btn-primary:hover { box-shadow: 5px 5px 0 var(--butter); }
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--sky-soft); box-shadow: none; transform: none; }
.btn-butter { background: var(--butter); color: var(--espresso); border-color: var(--butter); box-shadow: 3px 3px 0 var(--sky); }
.btn-butter:hover { box-shadow: 5px 5px 0 var(--sky); }
.btn-small { padding: .55em 1em; font-size: 14px; box-shadow: 2px 2px 0 var(--espresso); }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--line-strong); }
.link:hover { text-decoration-color: currentColor; }
.pill { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; padding: .45em .7em; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: var(--coffee); }
.pill-live { border-color: var(--sky-ink); color: var(--sky-ink); vertical-align: .25em; margin-left: .4em; font-size: 10.5px; }

/* Üst menü */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 234, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--espresso); border-radius: 50%; font: 500 15px/1 var(--serif); letter-spacing: .02em; background: var(--butter); }
.brand-name { font: 500 20px/1 var(--serif); }
.header-right { display: flex; align-items: center; gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; white-space: nowrap; }
.site-nav ul a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; background: linear-gradient(var(--espresso), var(--espresso)) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { background-size: 100% 1.5px; }
/* Dil seçimi: Hakkımda'nın solunda, çizgisel iki parçalı düğme */
.lang-switch { display: inline-flex; border: 1.5px solid var(--espresso); border-radius: 999px; padding: 2px; flex: none; }
.lang-switch a { display: grid; place-items: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 999px; text-decoration: none; font: 700 12.5px/1 var(--sans); letter-spacing: .08em; color: var(--coffee); transition: background .2s, color .2s; }
.lang-switch abbr { text-decoration: none; }
.lang-switch a:hover { background: var(--butter-soft); color: var(--espresso); }
.lang-switch a[aria-current="true"] { background: var(--espresso); color: var(--paper); }
.lang-note { padding: 12px 16px; border: 1px solid var(--sky-ink); border-radius: var(--radius); background: var(--sky-soft); color: var(--sky-ink); font-size: 15px; margin-bottom: 32px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1.5px solid var(--espresso); border-radius: 50%; background: var(--paper); cursor: pointer; place-items: center; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 1.5px; background: var(--espresso); position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Giriş */
.hero { padding: clamp(32px, 6vw, 72px) 0 0; position: relative; overflow-x: clip; }
.hero::before { /* arka plan ızgara çizgileri */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { font: 600 13px/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--coffee); margin-bottom: 22px; }
.eyebrow span { color: var(--cocoa); margin: 0 .3em; }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); font-weight: 400; line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 26px; }
.mark { font-style: italic; position: relative; white-space: nowrap; }
.mark svg { position: absolute; left: 0; bottom: -.08em; width: 100%; height: .22em; overflow: visible; }
.mark path { fill: none; stroke: var(--sky-ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.1s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--coffee); max-width: 36em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.avail { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--coffee); margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #4f9a63; box-shadow: 0 0 0 4px rgba(79, 154, 99, .18); }

.hero-figure { position: relative; margin: 0; justify-self: center; width: min(100%, 420px); }
.portrait { position: relative; aspect-ratio: 4 / 5; border: 1.5px solid var(--espresso); border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 100%); }
.portrait::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(46, 32, 24, .25); border-radius: inherit; pointer-events: none; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; mix-blend-mode: multiply; }
.hero-figure::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--butter); left: -14%; bottom: -6%; z-index: -1; }
.hero-lines { position: absolute; inset: -8% -12% -8% -12%; width: 124%; height: 116%; pointer-events: none; z-index: -1; }
.hero-lines * { fill: none; stroke: var(--espresso); stroke-width: 1.2; }
.hero-badge { position: absolute; right: -6%; bottom: 9%; background: var(--paper); border: 1.5px solid var(--espresso); border-radius: var(--radius); padding: 12px 16px; box-shadow: 4px 4px 0 var(--sky); display: grid; gap: 2px; font-size: 13px; }
.hero-badge strong { font: 500 15px/1.2 var(--serif); }
.hero-badge span { color: var(--muted); }

.stats { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1.5px solid var(--espresso); border-bottom: 1px solid var(--line); margin-top: clamp(48px, 7vw, 88px); }
.stats li { padding: 22px 20px 24px; display: grid; gap: 4px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--serif); letter-spacing: -0.02em; }
.stats span { font-size: 14px; color: var(--muted); }

/* Bölümler */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-lined { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-butter { background: var(--butter-soft); }
.section-sky { background: var(--sky-soft); }
.section-dark { background: var(--espresso); color: var(--cream); }
.sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-index { display: flex; align-items: center; gap: 14px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--coffee); margin-bottom: 18px; }
.sec-index span { font: italic 400 15px/1 var(--serif); letter-spacing: 0; text-transform: none; padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; }
.sec-index::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: currentColor; opacity: .5; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18em; }
.section-dark .sec-index { color: var(--butter); }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-row .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.sec-row > .link { margin-bottom: clamp(32px, 4vw, 56px); }

/* Hakkımda */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
.about-grid .sec-head { grid-column: 1 / -1; }
.prose { max-width: 66ch; }
.prose p, .prose li { font-size: 17.5px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 23px; margin: 1.6em 0 .5em; }
.prose h4 { font-size: 19px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--sky-ink); font: italic 400 20px/1.5 var(--serif); color: var(--coffee); }
.prose blockquote p { font-size: inherit; margin: 0; }
.prose a { color: var(--sky-ink); }
.prose img { border: 1px solid var(--line); border-radius: var(--radius); margin: 1.6em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { font-size: .9em; background: var(--butter-soft); padding: .1em .35em; border-radius: 3px; }
.about-text p:first-child::first-letter { font: 400 3.4em/0.85 var(--serif); float: left; margin: .08em .1em 0 0; color: var(--coffee); }
.skills { display: grid; gap: 0; border-top: 1.5px solid var(--espresso); align-self: start; }
.skill-group { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.skill-group h3 { font: 600 13px/1.5 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--coffee); padding-top: 4px; }
.skill-group ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.skill-group li { font-size: 14.5px; padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); }

/* Sekmeler + zaman çizelgesi */
.tablist { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist button { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 20px; font: 600 15px/1 var(--sans); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.tablist button:hover { color: var(--espresso); }
.tablist button[aria-selected="true"] { color: var(--espresso); border-bottom-color: var(--espresso); }
[role="tabpanel"] { animation: fade .35s var(--ease); }
[role="tabpanel"]:focus-visible { outline-offset: 8px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.timeline { list-style: none; position: relative; }
.tl-item { display: grid; grid-template-columns: 190px 1fr; gap: 0 48px; position: relative; padding-bottom: 36px; }
.tl-item::before { content: ""; position: absolute; left: 214px; top: 10px; bottom: -10px; width: 1px; background: var(--line-strong); }
.tl-item:last-child::before { bottom: auto; height: 20px; background: linear-gradient(var(--line-strong), transparent); }
.tl-item::after { content: ""; position: absolute; left: 209px; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--espresso); background: var(--paper); }
.tl-item:first-child::after { background: var(--butter); }
.tl-date { font: 500 14px/1.5 var(--sans); color: var(--muted); text-align: right; padding-top: 1px; font-variant-numeric: tabular-nums; }
.tl-body h3 { font-size: 22px; margin-bottom: 4px; }
.tl-org { font-weight: 600; color: var(--coffee); font-size: 15.5px; margin-bottom: 10px; }
.tl-summary { color: var(--coffee); margin-bottom: 10px; }
.tl-bullets { list-style: none; display: grid; gap: 6px; }
.tl-bullets li { padding-left: 22px; position: relative; font-size: 16px; }
.tl-bullets li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--cocoa); }

.pub-list { list-style: none; border-top: 1.5px solid var(--espresso); }
.pub-list li { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.pub-year { font: 400 24px/1.2 var(--serif); color: var(--coffee); }
.pub-list p { margin: 0; }
.pub-list a { color: var(--sky-ink); font-weight: 600; white-space: nowrap; }
.cert-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1.5px solid var(--espresso); }
.cert-grid li { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--line); }
.cert-grid li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.cert-title { font: 500 18px/1.35 var(--serif); margin-bottom: 4px; }
.cert-grid p.muted { font-size: 14.5px; margin: 0; }

/* Yapay zekâ bölümü: koyu zemin, ince ağ çizgileri, dört sütunlu çalışma alanları */
.section-ai { background: var(--espresso); color: var(--cream); overflow: hidden; isolation: isolate; }
.ai-lines { position: absolute; top: 0; right: 0; width: min(62%, 760px); height: 70%; z-index: -1; opacity: .28; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 85% 15%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 85% 15%, #000 0%, transparent 70%); }
.ai-lines path { fill: none; stroke: var(--sky); stroke-width: .8; }
.ai-lines circle { fill: var(--espresso); stroke: var(--sky); stroke-width: 1; }
.section-ai .sec-index { color: var(--sky); }
.section-ai .sec-head h2 { color: var(--paper); max-width: 14em; }
.ai-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ai-head .sec-head { margin-bottom: 0; }
.ai-intro { color: rgba(251, 246, 234, .78); font-size: 17.5px; margin: 0; }
.ai-areas { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1.5px solid var(--butter); border-bottom: 1px solid rgba(251, 246, 234, .2); }
.ai-area { padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 10px; }
.ai-area:first-child { padding-left: 0; }
.ai-area + .ai-area { border-left: 1px solid rgba(251, 246, 234, .2); }
.ai-num { font: italic 400 15px/1 var(--serif); color: var(--sky); }
.ai-area h3 { font-size: 23px; color: var(--paper); }
.ai-area p { margin: 0; font-size: 15.5px; color: rgba(251, 246, 234, .75); }
.ai-area .ai-meta { margin-top: auto; padding-top: 8px; font: 600 12px/1.4 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--butter); }
.ai-foot { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; padding-top: 32px; }
.ai-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.ai-badges li { font-size: 13.5px; padding: 6px 12px; border: 1px solid rgba(185, 218, 240, .5); border-radius: 999px; color: var(--sky); }
.ai-cta { display: grid; gap: 14px; justify-items: start; max-width: 380px; }
.ai-cta p { margin: 0; font: 400 19px/1.4 var(--serif); color: var(--paper); }

/* Dersler */
.course-list { list-style: none; border-top: 1.5px solid var(--espresso); }
.course { display: grid; grid-template-columns: 72px minmax(0, 1.4fr) minmax(0, 1fr) 232px; gap: 24px 40px; padding: 36px 0; border-bottom: 1px solid var(--line-strong); align-items: start; transition: background .3s; }
.course-num { font: italic 400 40px/1 var(--serif); color: var(--cocoa); }
.course h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.course-main p { color: var(--coffee); margin-bottom: 14px; }
details summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details summary::-webkit-details-marker { display: none; }
/* Artı işareti yazı karakteri yerine iki çizgiyle çizilir; böylece daire içinde tam ortalanır */
details summary::before {
  content: ""; flex: none; width: 22px; height: 22px; border: 1px solid var(--espresso); border-radius: 50%;
  background:
    linear-gradient(var(--espresso), var(--espresso)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--espresso), var(--espresso)) center / 1.5px 10px no-repeat;
  transition: transform .25s var(--ease);
}
details[open] summary::before { transform: rotate(45deg); }
.tick-list { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.tick-list li { padding-left: 26px; position: relative; font-size: 15.5px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 5px; border-left: 1.5px solid var(--sky-ink); border-bottom: 1.5px solid var(--sky-ink); transform: rotate(-45deg); }
.course-meta { margin: 0; display: grid; gap: 10px; }
.course-meta div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; font-size: 14.5px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-strong); }
.course-meta dt { color: var(--muted); }
.course-meta dd { margin: 0; font-weight: 600; }
.course-cta { display: grid; gap: 12px; justify-items: stretch; padding-top: 4px; }
.course-cta .btn { justify-content: center; width: 100%; }
.course-cta .link { justify-self: center; font-size: 14px; }
/* İkincil düğme: aynı boy, çizgisel; gölge yerine ince kenarlık */
.btn-line { box-shadow: none; border-width: 1.5px; background: transparent; }
.btn-line:hover { background: var(--paper); box-shadow: none; transform: none; }

/* Yorumlar */
.quotes-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.quotes-side { position: sticky; top: 110px; }
.quotes-side .sec-head { margin-bottom: 24px; }
.quotes-side .sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.quotes { list-style: none; columns: 2; column-gap: 40px; }
.quote { break-inside: avoid; padding: 26px 0 28px; border-top: 1.5px solid var(--espresso); margin-bottom: 8px; }
.quote blockquote { margin: 0 0 16px; position: relative; }
.quote blockquote::before { content: "“"; font: 400 64px/0.6 var(--serif); color: var(--sky-ink); display: block; height: 26px; }
.quote blockquote p { font: 400 19px/1.5 var(--serif); margin: 0; }
.quote-by { display: grid; gap: 2px; font-size: 14px; margin: 0; }
.quote-initials { font-weight: 700; letter-spacing: .06em; }

/* Blog */
.post-list { list-style: none; border-top: 1.5px solid var(--espresso); }
.post-row a { display: grid; grid-template-columns: 170px 1fr 44px; grid-template-areas: "date title arrow" "date excerpt arrow" "date tags arrow"; gap: 4px 40px; padding: 28px 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; transition: padding .3s var(--ease), background .3s; }
.post-row a:hover { background: var(--butter-soft); padding-left: 16px; padding-right: 16px; }
.post-row time { grid-area: date; font-size: 14px; color: var(--muted); padding-top: 6px; }
.post-title { grid-area: title; font: 500 clamp(22px, 2.4vw, 28px)/1.2 var(--serif); }
.post-excerpt { grid-area: excerpt; color: var(--coffee); }
.post-tags { grid-area: tags; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.post-arrow { grid-area: arrow; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--espresso); border-radius: 50%; transition: background .25s, transform .25s var(--ease); }
.post-row a:hover .post-arrow { background: var(--espresso); color: var(--paper); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.chip[aria-current="page"] { background: var(--espresso); color: var(--paper); border-color: var(--espresso); }

/* Makale sayfaları */
.page { padding: clamp(40px, 7vw, 88px) 0 clamp(72px, 10vw, 120px); min-height: 60vh; }
.article { max-width: 820px; }
.article-head { margin: 24px 0 40px; padding-bottom: 32px; border-bottom: 1.5px solid var(--espresso); }
.article-head h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 400; margin-bottom: 18px; }
.article-cover { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 40px; }
.article-cta { margin-top: 56px; padding: 28px; border: 1.5px solid var(--espresso); border-radius: var(--radius); background: var(--butter-soft); box-shadow: 6px 6px 0 var(--sky); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.article-cta p { margin: 0; font: 400 20px/1.4 var(--serif); max-width: 24em; }
.back { margin-bottom: 8px; text-decoration: none; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.section-dark .sec-head h2 { color: var(--paper); }
.lead-small { color: rgba(251, 246, 234, .78); max-width: 30em; }
.contact-links { list-style: none; margin-top: 32px; border-top: 1px solid rgba(251, 246, 234, .25); }
.contact-links li { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(251, 246, 234, .25); }
.contact-links span { color: var(--butter); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding-top: 2px; }
.contact-links a { text-decoration-color: rgba(251, 246, 234, .4); word-break: break-word; }
.contact-form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(251, 246, 234, .3); border-radius: var(--radius); background: rgba(255, 253, 247, .03); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: 400 17px/1.5 var(--sans); color: var(--paper); background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(251, 246, 234, .45); border-radius: 0; padding: 8px 0; transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--butter) 50%), linear-gradient(135deg, var(--butter) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--espresso); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(251, 246, 234, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--butter); }
.field [aria-invalid="true"] { border-bottom-color: #ffb4a2 !important; }
.field-err { color: #ffb4a2; font-size: 14px; margin: 0; min-height: 0; }
.field-err:empty { display: none; }
.field-hint { font-size: 13.5px; color: rgba(251, 246, 234, .6); margin: 0; }
.field-check { grid-template-columns: 22px 1fr; align-items: start; gap: 10px 12px; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--butter); }
.field-check label { font-weight: 400; font-size: 14.5px; line-height: 1.5; }
.field-check label a { color: var(--butter); }
.field-check .field-err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.ok { padding: 12px 14px; border: 1px solid var(--sky); color: var(--sky); border-radius: var(--radius); }
.form-status.err { padding: 12px 14px; border: 1px solid #ffb4a2; color: #ffb4a2; border-radius: var(--radius); }

/* Ders sayfaları ve SSS */
.course h3 a, .course-h a { text-decoration: none; }
.course h3 a:hover, .course-h a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
.course-h { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--coffee); }
.lesson { max-width: 1080px; }
.lesson .article-head h1 { max-width: 18em; }
.lesson .hero-actions { margin: 8px 0 0; }
.lesson-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.lesson-grid h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 16px; }
.lesson-grid .tick-list { margin: 0 0 48px; }
.lesson-side { position: sticky; top: 100px; display: grid; gap: 32px; padding: 24px; border: 1.5px solid var(--espresso); border-radius: var(--radius); background: var(--paper); box-shadow: 6px 6px 0 var(--butter); }
.lesson-side h2 { font-size: 20px; margin: 0; }
.lesson-links { list-style: none; display: grid; }
.lesson-links a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 600; }
.lesson-links a:hover { color: var(--sky-ink); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-list { border-top: 1.5px solid var(--espresso); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; gap: 14px; padding: 20px 0; min-height: 44px; }
.faq-item summary h3 { font: 500 clamp(18px, 1.8vw, 21px)/1.35 var(--serif); margin: 0; flex: 1; }
.faq-item summary::before { order: 2; }
.faq-item p { margin: 0 0 22px; max-width: 62ch; color: var(--coffee); }
.footer-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--butter); margin-bottom: 10px; }

/* Alt bilgi */
.site-footer { background: var(--espresso); color: var(--cream); border-top: 1px solid rgba(251, 246, 234, .15); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(251, 246, 234, .15); }
.footer-name { font: 500 26px/1.1 var(--serif); margin-bottom: 8px; }
.site-footer .muted { color: rgba(251, 246, 234, .6); }
.footer-links { list-style: none; display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer-links a, .footer-grid a { text-decoration-color: rgba(251, 246, 234, .35); }
.footer-bottom { padding-top: 20px; font-size: 13.5px; }
.footer-bottom p { margin: 0; }

/* Ekrana girişte sade görünme */
[data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .mark path { stroke-dashoffset: 0; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1020px) {
  .site-nav ul { gap: 18px; }
  .course { grid-template-columns: 56px 1fr 1fr; }
  .course-cta { grid-column: 2 / -1; grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: start; align-items: center; }
  .course-cta .link { grid-column: 1 / -1; justify-self: start; }
  .quotes-grid { grid-template-columns: 1fr; }
  .quotes-side { position: static; }
  .ai-areas { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }
  .ai-area:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ai-area:nth-child(n+3) { border-top: 1px solid rgba(251, 246, 234, .2); }
}

/* Üst menü: 6 bağlantı + dil düğmesi + çağrı düğmesi tek satıra sığmadığında açılır menüye geçer */
@media (max-width: 1000px) {
  .menu-btn { display: grid; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1.5px solid var(--espresso); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; box-shadow: 0 0 0 100vmax rgba(46, 32, 24, .35); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 24px/1.2 var(--serif); background: none; }
  .site-nav .btn { margin-top: 20px; justify-content: center; }
  .header-right { gap: 10px; }
  .lang-switch a { min-width: 40px; height: 34px; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { width: min(78%, 360px); margin-top: 8px; }
  .about-grid, .contact-grid, .ai-head, .faq-grid, .lesson-grid { grid-template-columns: 1fr; }
  .lesson-side { position: static; }
  .skills { margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

/* Telefon */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name { font-size: 18px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .mark { white-space: normal; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-badge { right: -4%; bottom: 6%; padding: 10px 12px; }
  .stats { grid-auto-flow: row; grid-template-columns: 1fr; }
  .stats li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .stats strong { font-size: 30px; min-width: 4.2em; }
  .link, details summary { min-height: 44px; }
  .contact-links a, .footer-links a, .footer-grid p a { display: inline-block; padding: 10px 0; }
  .footer-links { gap: 0; }
  .field-check input { width: 24px; height: 24px; margin-top: 0; }
  .field-check { grid-template-columns: 26px 1fr; }
  .timeline { padding-left: 22px; }
  .tl-item { grid-template-columns: 1fr; padding-bottom: 32px; }
  .tl-item::before { left: -22px; top: 10px; }
  .tl-item::after { left: -27px; top: 6px; }
  .tl-date { text-align: left; margin-bottom: 4px; }
  .tablist button { padding: 12px 14px; }
  .pub-list li { grid-template-columns: 1fr; gap: 4px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-grid li:nth-child(even) { padding-left: 0; border-left: 0; }
  .skill-group { grid-template-columns: 1fr; gap: 10px; }
  .course { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .course-num { font-size: 30px; }
  .course-cta { grid-column: auto; grid-template-columns: 1fr; }
  .course-cta .link { justify-self: center; }
  .course-cta .btn { width: 100%; justify-content: center; }
  .quotes { columns: 1; }
  .ai-areas { grid-template-columns: 1fr; }
  .ai-area { padding: 22px 0; border-left: 0 !important; }
  .ai-area + .ai-area { border-top: 1px solid rgba(251, 246, 234, .2); }
  .ai-cta .btn { width: 100%; justify-content: center; }
  .post-row a { grid-template-columns: 1fr 40px; grid-template-areas: "date arrow" "title arrow" "excerpt excerpt" "tags tags"; gap: 6px 16px; }
  .post-row time { padding-top: 0; }
  .post-arrow { width: 40px; height: 40px; }
  .post-row a:hover { padding-left: 0; padding-right: 0; }
  .contact-links li { grid-template-columns: 1fr; gap: 4px; }
  .contact-form .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-cta { padding: 22px; }
}

/* Çok dar telefonlar (≤360px): üst menü tek satırda kalsın */
@media (max-width: 360px) {
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 13px; }
  .brand-name { font-size: 16.5px; white-space: nowrap; }
  .header-right { gap: 6px; }
  .lang-switch a { min-width: 32px; padding: 0 6px; }
  .menu-btn { width: 40px; height: 40px; }
}
