/* Hasan Kurt — kişisel site, v3
   Tek yazı ailesi: Archivo (genişlik ekseni başlıkları taşır).
   Renkler :root içinde. Koyu tema birincil; açık tema sistem tercihine göre. */

:root {
  /* açık tema */
  --paper:    #EFEFEB;
  --raised:   #FAFAF7;
  --raised-2: #E6E6E0;
  --stage:    #E2E2DB;
  --line:     #D6D5CE;
  --line-2:   #C4C3BA;
  --text:     #1C1B18;
  --muted:    #55534C;
  --faint:    #66635B;
  --accent:   #E9A23B;   /* dolgu: birincil düğme, çubuklar */
  --accent-ink: #1C1B18; /* dolgu üstündeki yazı */
  --accent-text: #8A5106;/* zemin üstünde vurgu yazısı */
  --live:     #1F7A50;
  --alert:    #B3402A;
  --shadow-frame: 0 1px 0 rgba(28,27,24,.05), 0 24px 48px -28px rgba(28,27,24,.45);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --fs-xs:   .8125rem;
  --fs-sm:   .9375rem;
  --fs-base: 1.0625rem;
  --fs-md:   1.25rem;
  --fs-lg:   clamp(1.375rem, 1.15rem + .9vw, 1.75rem);
  --fs-xl:   clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --fs-2xl:  clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  --fs-hero: clamp(2.75rem, 1.6rem + 5vw, 5.75rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 38rem;
  --section: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --r-panel: 20px;
  --r-inner: 12px;
  --r-btn: 10px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:    #1C1B18;
    --raised:   #24231F;
    --raised-2: #2D2B27;
    --stage:    #2A2925;
    --line:     #3A3833;
    --line-2:   #4A4842;
    --text:     #EDEAE3;
    --muted:    #A8A398;
    --faint:    #8C877C;
    --accent:   #F0B046;
    --accent-ink: #1C1B18;
    --accent-text: #F0B046;
    --live:     #7BC79A;
    --alert:    #F0937E;
    --shadow-frame: 0 1px 0 rgba(0,0,0,.3), 0 28px 56px -30px rgba(0,0,0,.9);
    color-scheme: dark;
  }
}

/* ---------- Dil ---------- */
html[lang="tr"] [lang="en"]:not(.keep-lang):not(html),
html[lang="en"] [lang="tr"]:not(.keep-lang):not(html) { display: none !important; }

/* ---------- Temel ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 { font-weight: 600; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-fill { fill: currentColor; stroke: none; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 20;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem;
  border-radius: var(--r-btn); font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .75rem 1.25rem;
  border-radius: var(--r-btn); border: 1px solid var(--line-2);
  background: var(--raised); color: var(--text);
  font-size: var(--fs-sm); font-weight: 500; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); border-color: transparent; }
.btn-sm { min-height: 36px; padding: .5rem .75rem; font-size: var(--fs-xs); border-radius: 8px; }
.btn .ico { width: 1.05rem; height: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* sayfa içi metin bağlantısı */
.inline-link { color: var(--accent-text); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent-text) 45%, transparent); }
.inline-link:hover { text-decoration-color: currentColor; }

/* durum: yayında */
.live-dot {
  display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; flex: none;
  background: var(--live);
}
.status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 500; color: var(--live);
}

/* ---------- Üst bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.mark {
  display: inline-flex; align-items: center; gap: .5rem; margin-right: auto;
  font-stretch: 125%; font-weight: 600; font-size: 1rem;
  text-decoration: none;
}
.mark-badge {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .75rem; font-weight: 600; letter-spacing: 0;
}
.nav { display: flex; gap: .25rem; font-size: var(--fs-sm); }
.nav a {
  padding: .5rem .75rem; border-radius: 8px; color: var(--muted);
  text-decoration: none; font-weight: 500;
}
.nav a:hover { color: var(--text); background: var(--raised-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--raised-2); }
.lang {
  display: inline-flex; padding: 4px; gap: 4px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--raised);
}
.lang button {
  min-width: 40px; padding: .25rem .5rem; border: 0; border-radius: 8px; cursor: pointer;
  background: none; color: var(--muted); font-size: var(--fs-xs); font-weight: 500;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--paper); }

@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; row-gap: 0; padding-block: .5rem 0; min-height: 0; }
  .nav { order: 3; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter));
         padding: .25rem calc(var(--gutter) - .5rem) .5rem; overflow-x: auto; scrollbar-width: none;
         border-top: 1px solid var(--line); margin-top: .5rem; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: .5rem .5rem; white-space: nowrap; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero .wrap {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
}
.id { display: flex; align-items: flex-end; gap: clamp(1rem, 2.5vw, 1.75rem); }
.portrait {
  flex: none; width: clamp(84px, 11vw, 132px); aspect-ratio: 4 / 5;
  border-radius: 16px; overflow: hidden; background: var(--raised-2);
  box-shadow: 0 0 0 1px var(--line);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
/* masaüstünde isim hep iki satır: fotoğraf isim + unvan bloğuyla aynı boyda */
@media (min-width: 901px) {
  .id { align-items: stretch; }
  .portrait { width: calc(var(--fs-hero) * 1.6); aspect-ratio: auto; position: relative; }
  .portrait img { position: absolute; inset: 0; object-position: center 30%; }
}
.name {
  font-size: var(--fs-hero); font-stretch: 125%; font-weight: 600;
  letter-spacing: -.035em; line-height: .92; margin-left: -.04em;
}
.role {
  margin-top: .75rem; font-size: var(--fs-md); font-stretch: 112%; font-weight: 500;
  color: var(--accent-text); line-height: 1.25;
}
.statement {
  margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 30ch;
  font-size: var(--fs-lg); font-weight: 500; line-height: 1.28;
}
.hero-sub { margin-top: 1rem; max-width: 36rem; color: var(--muted); }
.hero .actions { margin-top: 1.75rem; }

/* hero animasyonu: tek bir giriş anı */
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-in > *:nth-child(2) { animation-delay: .06s; }
  .hero-in > *:nth-child(3) { animation-delay: .12s; }
  .hero-in > *:nth-child(4) { animation-delay: .18s; }
  .livepanel { animation: rise .8s .24s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
}

/* şu an yayında paneli */
.livepanel {
  border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--raised);
  padding: 1.25rem 1.25rem .5rem; margin-top: .5rem;
}
.livepanel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 .25rem .75rem; }
.livepanel-head h2 { font-size: var(--fs-sm); font-weight: 600; }
.livepanel-head p { font-size: var(--fs-xs); color: var(--faint); }
.livelist li + li { border-top: 1px solid var(--line); }
.livelist a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem;
  padding: .75rem .25rem; text-decoration: none; border-radius: 10px;
}
.livelist b { display: block; font-weight: 500; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.livelist small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; margin-top: .125rem; }
.livelist .ico { color: var(--faint); transition: transform .15s, color .15s; }
.livelist a:hover b { text-decoration: underline; text-underline-offset: .2em; }
.livelist a:hover .ico { color: var(--text); transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .livepanel { margin-top: 0; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem;
  align-items: end; margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head h2 { font-size: var(--fs-2xl); font-stretch: 125%; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.section-head p { color: var(--muted); max-width: 32rem; justify-self: end; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
}

/* ---------- İş kartları (ana sayfa) ---------- */
.work {
  position: relative; display: grid; border: 1px solid var(--line); border-radius: var(--r-panel);
  background: var(--raised); overflow: hidden;
  transition: border-color .2s;
}
.work:hover { border-color: var(--line-2); }
.work:focus-within { border-color: var(--accent); }
.work h3 a { text-decoration: none; }
.work h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work h3 a:focus-visible { outline: none; }
.work .btn { position: relative; z-index: 0; pointer-events: none; }
.work:hover .btn { border-color: var(--text); }
.work:hover .btn-primary { background: color-mix(in srgb, var(--accent) 86%, var(--text)); }
.work-ctx { color: var(--muted); font-size: var(--fs-sm); margin-top: .5rem; }

.feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature + .feature { margin-top: 1.25rem; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .work-text { order: 2; }
.work-text { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.work-text h3 { font-size: var(--fs-xl); font-stretch: 118%; font-weight: 600; letter-spacing: -.02em; }
.work-text .btn { margin-top: auto; align-self: flex-start; }

.shift { margin-block: 1.5rem 1.75rem; display: grid; gap: 1rem; }
.shift div { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: .75rem; align-items: baseline; }
.shift dt {
  font-size: var(--fs-xs); font-weight: 500; color: var(--faint);
  padding: .125rem 0; border-top: 2px solid var(--line-2);
}
.shift dd { font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.shift .now dt { color: var(--live); border-color: var(--live); }
.shift .now dd { color: var(--text); }

.proof-line { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.proof-line b { font-size: var(--fs-xl); font-stretch: 125%; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-line > span { color: var(--muted); font-size: var(--fs-sm); max-width: 16rem; line-height: 1.4; }

/* sahne: görselin durduğu alan */
.stage {
  position: relative; background: var(--stage); min-height: 100%;
  display: grid; place-items: center; padding: clamp(1.25rem, 3.5vw, 2.75rem);
  overflow: hidden;
}
.feature .stage { border-left: 1px solid var(--line); }
.feature.flip .stage { border-left: 0; border-right: 1px solid var(--line); }

/* tarayıcı çerçevesi */
.browser {
  width: 100%; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-frame);
}
.browser-bar {
  display: flex; align-items: center; gap: .75rem; padding: .5rem .75rem;
  background: var(--raised-2); border-bottom: 1px solid var(--line);
  font-size: .75rem; color: var(--muted);
}
.browser-bar::before {
  content: ""; width: 42px; height: 10px; flex: none;
  background: radial-gradient(circle at 5px 5px, var(--line-2) 4.5px, transparent 5px) 0 0 / 16px 10px repeat-x;
}
.browser-bar span {
  flex: 1; text-align: center; padding: .125rem .5rem; border-radius: 6px; background: var(--raised);
  margin-right: 42px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; }

/* telefon çerçevesi */
.phone {
  width: 100%; border-radius: 26px; padding: 4px; background: #0f0f0e;
  box-shadow: 0 0 0 1px var(--line-2), var(--shadow-frame);
}
.phone img { border-radius: 22px; width: 100%; }
.phones-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2vw, 1.25rem); width: min(100%, 460px); align-items: start; }
.phones-duo .phone:first-child { margin-top: 12%; }
.feature .stage-phones { padding-bottom: 0; align-items: end; }
.feature .stage-phones .phones-duo { margin-bottom: -18%; }

/* ikincil işler: üçlü */
.trio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.trio .work { grid-template-rows: auto 1fr; }
.trio .stage { height: 200px; border-bottom: 1px solid var(--line); place-items: stretch; align-content: center; }
.trio .work-text { padding: 1.5rem; }
.trio .work-text h3 { font-size: var(--fs-md); font-stretch: 112%; font-weight: 600; }
.trio .now-line { margin-block: 1rem 1.5rem; font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }

@media (max-width: 980px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature .stage, .feature.flip .stage { order: -1; border: 0; border-bottom: 1px solid var(--line); }
  .feature.flip .work-text { order: 0; }
  .trio .stage { height: auto; padding-block: 1.75rem; }
  .feature .stage-phones { padding-top: 2rem; }
  .feature .stage-phones .phones-duo { width: min(100%, 340px); margin-bottom: -22%; }
}
@media (max-width: 639px) {
  .trio { grid-template-columns: 1fr; }
}

/* ---------- Kanıt grafikleri ---------- */
.viz { width: 100%; font-size: var(--fs-xs); color: var(--muted); }
.viz-title { font-weight: 500; color: var(--text); margin-bottom: 1rem; font-size: var(--fs-xs); line-height: 1.4; }

/* çubuk: önce / sonra */
.bars { display: grid; gap: .75rem; }
.bar { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 3.4rem; align-items: center; gap: .75rem; }
.bar-track { height: 12px; border-radius: 6px; background: color-mix(in srgb, var(--text) 9%, transparent); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: var(--accent); width: var(--v); }
.bar.before .bar-fill { background: var(--faint); }
.bar b { font-weight: 500; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; font-size: var(--fs-sm); }
.bar.after b { color: var(--accent-text); }

/* senaryo şeridi */
.ticks-num { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1rem; }
.ticks-num b { font-size: var(--fs-xl); font-stretch: 125%; font-weight: 600; color: var(--text); line-height: 1; letter-spacing: -.02em; }

/* akış şeması */
.flow { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.flow span {
  padding: .5rem .75rem; border-radius: 8px; background: var(--raised); border: 1px solid var(--line);
  font-weight: 500; color: var(--text); font-size: var(--fs-xs); line-height: 1.2;
}
.flow span:last-child { border-color: color-mix(in srgb, var(--live) 50%, var(--line)); }
.flow .ico { width: .9rem; height: .9rem; color: var(--faint); }

/* ---------- Daha küçük işler ---------- */
.minor { margin-top: clamp(3rem, 6vw, 4.5rem); }
.minor > h3 { font-size: var(--fs-md); font-stretch: 112%; font-weight: 600; margin-bottom: 1rem; }
.minor ul { border-top: 1px solid var(--line); }
.minor li {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding-block: 1.25rem; border-bottom: 1px solid var(--line);
}
.thumb {
  aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--stage);
  box-shadow: 0 0 0 1px var(--line);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb-flow { display: grid; place-items: center; padding: .5rem; }
.thumb-flow .flow { flex-direction: column; gap: 0; }
.thumb-flow .flow span { padding: .125rem .5rem; font-size: .625rem; }
.thumb-flow .flow .ico { transform: rotate(90deg); width: .6rem; height: .6rem; margin-block: 1px; }
.minor h4 { font-size: var(--fs-base); font-weight: 600; }
.minor p { color: var(--muted); font-size: var(--fs-sm); margin-top: .25rem; max-width: 40rem; }
@media (max-width: 640px) {
  .minor li { grid-template-columns: 96px minmax(0, 1fr); gap: .5rem 1rem; align-items: start; }
  .minor li .btn { grid-column: 2; justify-self: start; margin-top: .5rem; }
  .thumb-flow .flow span { font-size: .5625rem; padding: .125rem .25rem; }
}

/* ---------- Deneyim ---------- */
.exp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.exp .section-head { display: block; margin: 0; position: sticky; top: 6rem; }
.exp .section-head p { margin-top: 1rem; justify-self: start; }
.timeline { position: relative; }
.timeline li {
  position: relative; display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .25rem 1.5rem;
  padding: 0 0 2rem 1.75rem;
}
.timeline li::before {
  content: ""; position: absolute; left: 5px; top: .9rem; bottom: -.35rem; width: 1px; background: var(--line-2);
}
.timeline li:last-child::before { display: none; }
.timeline li::after {
  content: ""; position: absolute; left: 0; top: .42rem; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-2);
}
.timeline li.current::after { border-color: var(--accent); background: var(--accent); }
.when { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .125rem; }
.timeline li.current .when { color: var(--accent-text); font-weight: 500; }
.timeline h3 { font-size: var(--fs-md); font-weight: 600; font-stretch: 106%; line-height: 1.3; }
.timeline .what { color: var(--muted); font-size: var(--fs-sm); margin-top: .25rem; }
.timeline .chips { margin-top: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .75rem; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: var(--fs-xs); font-weight: 500; text-decoration: none;
  color: var(--text); background: var(--raised);
}
a.chip:hover { border-color: var(--text); }
.chip .ico { width: .85rem; height: .85rem; }
.tools { margin-top: 1rem; padding: 1.5rem; border-radius: var(--r-panel); background: var(--raised); border: 1px solid var(--line); }
.tools h3 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: .75rem; }
.tools .chip { background: var(--raised-2); border-color: transparent; }
@media (max-width: 860px) {
  .exp { grid-template-columns: 1fr; }
  .exp .section-head { position: static; }
}
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; }
}

/* ---------- Yazılar ---------- */
.posts { border-top: 1px solid var(--line); }
.post-row {
  position: relative; display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: .25rem 2rem;
  padding-block: 1.5rem; border-bottom: 1px solid var(--line);
}
.post-row time { color: var(--muted); font-size: var(--fs-sm); padding-top: .25rem; }
.post-row h3 { font-size: var(--fs-md); font-weight: 600; font-stretch: 106%; line-height: 1.3; }
.post-row h3 a { text-decoration: none; }
.post-row h3 a::after { content: ""; position: absolute; inset: 0; }
.post-row:hover h3 a { text-decoration: underline; text-decoration-thickness: 1.5px; }
.post-row p { color: var(--muted); font-size: var(--fs-sm); margin-top: .25rem; max-width: 42rem; }
.badge {
  display: inline-block; margin-left: .5rem; padding: .125rem .5rem; border-radius: 6px; vertical-align: .2em;
  background: var(--raised-2); color: var(--muted); font-size: .75rem; font-weight: 500; font-stretch: 100%;
}
.empty { padding-block: 1.5rem; color: var(--muted); }
.all-posts { margin-top: 1.5rem; }
@media (max-width: 560px) { .post-row { grid-template-columns: 1fr; } }

/* ---------- İletişim ---------- */
.contact-panel {
  position: relative; border-radius: calc(var(--r-panel) + 4px); padding: clamp(1.75rem, 5vw, 4rem);
  background: var(--raised); border: 1px solid var(--line); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: end;
}
.contact-panel h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-stretch: 125%; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; max-width: 17ch; }
.mail {
  display: inline-block; margin-top: 1.75rem; font-size: var(--fs-lg); font-weight: 500; font-stretch: 106%;
  color: var(--accent-text); text-decoration: none; overflow-wrap: anywhere;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-text) 40%, transparent);
}
.mail:hover { border-bottom-color: currentColor; }
.contact-side .actions { margin-bottom: 1.5rem; }
.contact-meta { display: grid; gap: .5rem; color: var(--muted); font-size: var(--fs-sm); }
.contact-meta a { color: var(--text); text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }
.contact-meta li { display: flex; gap: .5rem; align-items: center; }
.contact-meta .ico { color: var(--faint); }
.copied { font-size: var(--fs-xs); color: var(--live); font-weight: 500; min-height: 1.2em; }
@media (max-width: 860px) { .contact-panel { grid-template-columns: 1fr; } }

/* ---------- Alt bilgi ---------- */
.foot { padding-block: 2.5rem 3rem; color: var(--faint); font-size: var(--fs-sm); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }

/* ================= İş sayfaları ================= */
.case { padding-block: clamp(1.75rem, 3vw, 2.5rem) var(--section); }
.back {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem .5rem .5rem;
  border-radius: 10px; border: 1px solid var(--line); background: var(--raised);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--muted);
}
.back:hover { color: var(--text); border-color: var(--line-2); }
.case-head { margin-top: clamp(2rem, 4vw, 3.25rem); }
.case-ctx { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.case h1 {
  font-size: var(--fs-2xl); font-stretch: 125%; font-weight: 600; letter-spacing: -.035em; line-height: .98;
  max-width: 18ch;
}
.case-intro {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem); align-items: start;
}
.case-lede { font-size: var(--fs-md); line-height: 1.55; max-width: 40rem; }
.facts { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--raised); padding: .5rem 1.25rem; }
.facts div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding-block: .75rem; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: var(--fs-xs); color: var(--faint); font-weight: 500; padding-top: .125rem; }
.facts dd { font-size: var(--fs-sm); line-height: 1.45; }
.facts a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; text-decoration: none; color: var(--text); }
.facts a:hover { text-decoration: underline; }
.facts a .ico { width: .9rem; height: .9rem; color: var(--faint); }
@media (max-width: 860px) { .case-intro { grid-template-columns: 1fr; } }

/* önce / şimdi, büyük */
.shift-lg { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.shift-lg > div { border-radius: var(--r-panel); padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); }
.shift-lg dt { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); font-weight: 500; color: var(--faint); margin-bottom: .5rem; }
.shift-lg dd { font-size: var(--fs-md); line-height: 1.45; font-weight: 500; }
.shift-lg .before { background: transparent; border-style: dashed; border-color: var(--line-2); }
.shift-lg .before dd { color: var(--muted); }
.shift-lg .now { background: var(--raised); border-color: color-mix(in srgb, var(--live) 45%, var(--line)); }
.shift-lg .now dt { color: var(--live); }
@media (max-width: 700px) { .shift-lg { grid-template-columns: 1fr; } }

/* büyük görsel alanı */
.showcase {
  margin-top: 1rem; border-radius: calc(var(--r-panel) + 4px); background: var(--stage);
  border: 1px solid var(--line); padding: clamp(1.25rem, 4vw, 3.5rem); overflow: hidden;
}
.showcase .browser { max-width: 1000px; margin-inline: auto; }
.showcase > figcaption { margin-top: 1rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); max-width: 980px; margin-inline: auto; }
.phones figure { min-width: 0; }
.phones figcaption { margin-top: .75rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
@media (max-width: 760px) { .phones { grid-template-columns: 1fr 1fr; } }

/* proof showcase (görselsiz işler) */
.proofs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.showcase.plain { background: none; border: 0; padding: 0; border-radius: 0; overflow: visible; }
.proof-card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(1.25rem, 3vw, 2rem); }
.proof-card .viz-title { font-size: var(--fs-base); font-weight: 600; margin-bottom: 1.25rem; }
.proof-card .note { max-width: 34rem; }
.proof-card .bar { grid-template-columns: 3.6rem minmax(0, 1fr) 4.6rem; font-size: var(--fs-sm); }
.proof-card .bar b { font-size: var(--fs-md); font-stretch: 112%; font-weight: 600; }
.proof-card .bars { gap: 1rem; }
.proof-card .bar-track { height: 20px; border-radius: 10px; }
.proof-card .bar-fill { border-radius: 8px; }
.proof-card .note { margin-top: 1.25rem; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) { .proofs { grid-template-columns: 1fr; } }


/* adım akışı (Lipyum) — gerçek bir sıra olduğu için numaralı */
.steps-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; counter-reset: s; }
.steps-flow li {
  counter-increment: s; position: relative; padding: .75rem 1rem; border-radius: 12px;
  background: var(--raised-2); font-size: var(--fs-sm); font-weight: 500; line-height: 1.35;
}
.steps-flow li::before {
  content: counter(s); display: grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-bottom: .5rem;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 600;
}
@media (max-width: 520px) { .steps-flow { grid-template-columns: 1fr; } .steps-flow li::before { display: inline-grid; margin: 0 .5rem 0 0; vertical-align: middle; } }

/* yan başlıklı bölümler */
.case-sec {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1rem clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.75rem); margin-top: clamp(2.5rem, 5vw, 3.75rem); border-top: 1px solid var(--line);
}
.case-sec h2 { font-size: var(--fs-lg); font-stretch: 118%; font-weight: 600; }
.body { max-width: var(--measure); }
.body > * + * { margin-top: 1rem; }
.body p { line-height: 1.7; }
.steps li { position: relative; padding-left: 1.5rem; line-height: 1.6; }
.steps li + li { margin-top: .75rem; }
.steps li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: .6rem; border-radius: 3px;
  background: var(--accent);
}
@media (max-width: 760px) { .case-sec { grid-template-columns: 1fr; } }

/* sayılar */
.case-sec.stacked { grid-template-columns: 1fr; }
.register { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.register.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.register div {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .5rem;
  padding: 1.25rem 1.5rem 1.5rem; border-radius: var(--r-inner); background: var(--raised); border: 1px solid var(--line);
}
.register dd {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-stretch: 118%; font-weight: 600; letter-spacing: -.03em;
  line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.register dt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.45; max-width: 22rem; }
.case-sec .body.wide { max-width: none; }
@media (max-width: 980px) { .register.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .register { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) {
  .register, .register.c4 { grid-template-columns: 1fr; }
  .register div { flex-direction: column-reverse; }
}

/* teknik ayrıntılar */
.tech { margin-top: clamp(2.5rem, 5vw, 3.75rem); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--raised); }
.tech summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 1.75rem); cursor: pointer; list-style: none;
  font-weight: 600; font-size: var(--fs-base); border-radius: var(--r-panel);
}
.tech summary::-webkit-details-marker { display: none; }
@media (max-width: 520px) { .tech summary small { display: none; } }
.tech summary small { font-weight: 500; color: var(--muted); font-size: var(--fs-sm); margin-left: .75rem; }
.tech summary .plus {
  flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px;
  border: 1px solid var(--line-2); transition: transform .2s, background-color .15s;
}
.tech summary:hover .plus { background: var(--raised-2); }
.tech[open] summary .plus { transform: rotate(45deg); }
.tech-body { padding: 0 clamp(1.25rem, 3vw, 1.75rem) 1.75rem; display: grid; gap: 1.25rem; }
.tech-body .chips { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.tech-body .chip { background: var(--raised-2); border-color: transparent; font-weight: 500; }
.tech-body .steps { max-width: 46rem; font-size: var(--fs-sm); }
.tech-body .steps li::before { background: var(--faint); border-radius: 50%; width: .4rem; height: .4rem; top: .7em; }

/* sonraki iş */
.next {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--r-panel) + 4px); background: var(--raised); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .2s;
}
.next:hover { border-color: var(--line-2); }
.next small { display: block; color: var(--muted); font-size: var(--fs-sm); margin-bottom: .5rem; }
.next b { font-size: var(--fs-xl); font-stretch: 118%; font-weight: 600; letter-spacing: -.025em; line-height: 1.05; display: block; }
.next .btn { pointer-events: none; }
.next:hover .btn-primary { background: color-mix(in srgb, var(--accent) 86%, var(--text)); }
@media (max-width: 560px) { .next { grid-template-columns: 1fr; } .next .btn { justify-self: start; } }

/* görsel büyütme */
.lightbox {
  max-width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: 14px;
  background: var(--raised); color: var(--text); overflow: auto;
}
.lightbox::backdrop { background: rgba(10, 10, 9, .82); }
.lightbox img { max-height: 84vh; width: auto; margin-inline: auto; }
.lightbox figcaption { padding: .75rem 1rem 0; font-size: var(--fs-sm); color: var(--muted); }
.lightbox form { display: flex; justify-content: flex-end; padding: .75rem; }

/* ================= Blog ================= */
.blog-list { margin-top: clamp(2rem, 4vw, 3rem); }
.article article { max-width: 44rem; }
.article header { margin-block: 2.25rem 2.5rem; }
.article h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-stretch: 118%; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.byline { margin-top: 1rem; color: var(--muted); font-size: var(--fs-sm); }
.draft-note { margin-top: 1rem; padding: .75rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); font-size: var(--fs-sm); }
.prose { font-size: 1.125rem; line-height: 1.75; padding-bottom: var(--section); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: var(--fs-lg); font-stretch: 112%; font-weight: 600; margin-top: 2.75rem; }
.prose h3 { font-size: var(--fs-md); margin-top: 2rem; }
.prose a { color: var(--accent-text); }
.prose ul, .prose ol { padding-left: 1.5rem; list-style: revert; }
.prose li + li { margin-top: .5rem; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; background: var(--raised-2); padding: .1em .35em; border-radius: 5px; }
.prose pre { background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; overflow-x: auto; font-size: .9rem; line-height: 1.55; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); color: var(--muted); }
.prose img { border-radius: 12px; }

/* ================= 404 ================= */
.lost { padding-block: clamp(4rem, 12vw, 9rem); }
.lost h1 { font-size: var(--fs-2xl); font-stretch: 125%; font-weight: 600; letter-spacing: -.03em; line-height: 1.02; max-width: 16ch; }
.lost p { margin-top: 1.25rem; color: var(--muted); max-width: 34rem; }
.lost .actions { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.phones .zoom.phone { padding: 4px; background: #0f0f0e; border-radius: 26px; }

/* QR: öğrenci akışı ve galeri */
.steps-flow-qr { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-flow-qr li { font-weight: 500; }
@media (max-width: 900px) { .steps-flow-qr { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-flow-qr { grid-template-columns: 1fr; } }
.qr-gallery {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem); padding: clamp(1.25rem, 3.5vw, 2.5rem);
  background: var(--stage); border: 1px solid var(--line); border-radius: calc(var(--r-panel) + 4px);
}
.qr-gallery figure { min-width: 0; }
.qr-gallery figcaption { margin-top: .75rem; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }
.qr-g-phone { grid-row: span 2; align-self: center; max-width: 280px; justify-self: center; }
@media (max-width: 760px) {
  .qr-gallery { grid-template-columns: 1fr; }
  .qr-g-phone { grid-row: auto; max-width: 240px; }
}
.case-sec .note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--faint); }
