/* Prof. Dr. Tarık Totan — tasarım sistemi
   Palet: #0D1B2A #1B263B #415A77 #778DA9 #E0E1DD
   NOT: #778DA9 açık zeminde metin/sınır olarak KULLANILMAZ (kontrast 2.59:1). */

:root {
  --navy-950: #0D1B2A;
  --navy-850: #1B263B;
  --slate-700: #415A77;
  --slate-500: #778DA9;
  --ivory-100: #E0E1DD;

  --bg: #F4F4F2;
  --surface: #E0E1DD;
  --surface-inverse: #0D1B2A;

  --text: #0D1B2A;
  --text-muted: #415A77;
  --text-on-inverse: #E0E1DD;
  --text-on-inverse-muted: #778DA9;

  --link: #415A77;
  --link-hover: #0D1B2A;
  --rule: #C9CBC6;
  --border: #415A77;
  --focus: #0D1B2A;

  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;

  --wrap: 1160px;
  --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--link); text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color .2s cubic-bezier(.2,0,.2,1), color .2s cubic-bezier(.2,0,.2,1); }
a:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--s4); padding-right: var(--s4); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy-950); color: var(--ivory-100); padding: 10px 16px; z-index: 100; border: 0; }
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: var(--s5); min-height: 64px; }
.brand { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); border: 0; margin-right: auto; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { font-size: 14.5px; color: var(--text-muted); border: 0; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--slate-700); }
.nav-ext { padding-left: 18px; border-left: 1px solid var(--rule); }
.nav-ext a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; }
.menu-btn { display: none; font: inherit; font-size: 14px; background: none; border: 1px solid var(--border); border-radius: 2px; color: var(--text); padding: 8px 14px; cursor: pointer; min-height: 44px; }
.drawer { display: none; flex-direction: column; gap: 2px; padding: var(--s4); border-top: 1px solid var(--rule); }
.drawer a { padding: 12px 0; font-size: 16px; border: 0; border-bottom: 1px solid var(--rule); color: var(--text); }
.drawer[data-open] { display: flex; }

/* ---------- hero ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.eyebrow-light { color: var(--text-on-inverse-muted); }

.hero-inner { padding: var(--s8) var(--s4) var(--s7); max-width: var(--wrap); margin: 0 auto; }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.5rem); font-weight: 700; line-height: 1.06; }
.hero-role { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); margin-top: 14px; }
.hero-inst { font-size: 15px; color: var(--text-muted); margin-top: 4px; }
.hero-lede { margin-top: var(--s5); max-width: 62ch; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: var(--s6); }
.hero-ids { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); margin-left: 6px; }

.btn { display: inline-block; font-size: 15px; padding: 11px 20px; border: 1px solid var(--rule); border-radius: 2px; color: var(--text-muted); min-height: 44px; line-height: 1.5; }
.btn:hover { border-color: var(--border); color: var(--text); }
.btn-primary { border-color: var(--border); color: var(--text); }
.btn-primary:hover { background: var(--surface); }

/* ---------- dark block ---------- */
.dark { background: var(--surface-inverse); color: var(--text-on-inverse); padding: var(--s7) 0 var(--s6); }
.rmap { width: 100%; height: auto; display: block; margin: var(--s4) auto 0; max-width: 860px; }
.rmap .n { font-family: 'Source Sans 3', sans-serif; font-size: 13px; fill: #E0E1DD; }
.rmap .ns { font-family: 'Source Sans 3', sans-serif; font-size: 11px; fill: #778DA9; }
.rmap .nd { font-family: 'Source Sans 3', sans-serif; font-size: 13px; fill: #0D1B2A; }
.rmap-legend { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-on-inverse-muted); margin-top: var(--s4); }
.theme-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid #1B263B; }
.theme-list a { color: var(--text-on-inverse); border-bottom-color: #415A77; font-size: 14.5px; }
.theme-list a:hover { color: #fff; border-bottom-color: var(--slate-500); }

/* ---------- blocks ---------- */
.block { padding: var(--s8) var(--s4); }
.page-head { padding: var(--s8) var(--s4) var(--s5); }
.page-head h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 700; line-height: 1.12; }
.lede { margin-top: var(--s4); max-width: 66ch; color: var(--text-muted); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); border-bottom: 1px solid var(--rule); padding-bottom: 14px; margin-bottom: var(--s5); }
.block-head h2, .col-h { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.col-h { border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: var(--s5); }
.more { font-size: 14px; font-family: var(--font-mono); letter-spacing: .03em; white-space: nowrap; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s7); }

/* ---------- publications ---------- */
.year-group { margin-bottom: var(--s7); }
.year-h { font-family: var(--font-mono); font-size: 15px; font-weight: 500; letter-spacing: .08em; color: var(--text-muted); border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: var(--s5); }
.pub-list { display: flex; flex-direction: column; }
.pub { display: flex; gap: var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--rule); }
.pub:last-child { border-bottom: 0; }
.pub-year { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); flex: 0 0 48px; padding-top: 3px; }
.pub-body { min-width: 0; max-width: 76ch; }
.pub-authors { font-size: 14.5px; color: var(--text-muted); }
.pub-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.38; margin-top: 4px; }
.pub-src { font-size: 14.5px; color: var(--text-muted); margin-top: 6px; }
.pub-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--text-muted); border: 1px solid var(--rule); border-radius: 2px; padding: 2px 8px; }

/* ---------- filter bar ---------- */
.filterbar { position: sticky; top: 64px; z-index: 40; background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.filter-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.f-lab { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); }
.filter-inner input, .filter-inner select, .filter-inner button {
  font: inherit; font-size: 15px; color: var(--text); background: var(--bg);
  border: 1px solid var(--rule); border-radius: 2px; padding: 9px 12px; min-height: 44px;
}
.filter-inner input { flex: 1 1 220px; min-width: 0; }
.filter-inner input:hover, .filter-inner select:hover, .filter-inner button:hover { border-color: var(--border); }
.filter-inner button { cursor: pointer; }
.f-count { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); margin-left: auto; }
.empty { color: var(--text-muted); padding: var(--s6) 0; }

/* ---------- timeline ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline li { display: flex; gap: var(--s5); padding: 14px 0; border-bottom: 1px solid var(--rule); }
.timeline-lg li { padding: var(--s5) 0; }
.tl-date { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); flex: 0 0 84px; line-height: 1.5; padding-top: 3px; }
.tl-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.35; }
.tl-meta { font-size: 14.5px; color: var(--text-muted); margin-top: 4px; }
.tl-desc { font-size: 15px; margin-top: 8px; max-width: 68ch; }
.timeline + .more { display: inline-block; margin-top: var(--s5); }

/* ---------- misc lists ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { font-size: 14.5px; border: 1px solid var(--rule); border-radius: 2px; padding: 7px 13px; color: var(--text-muted); }
.link-list li { border-color: var(--border); }
.link-list a { border: 0; }
.method-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 24px; }
.method-list li { padding-left: 18px; position: relative; font-size: 16px; }
.method-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--slate-700); }
.journal-run { max-width: 76ch; color: var(--text-muted); font-size: 15.5px; }
.course-group { margin-bottom: var(--s7); }

.themes .theme { padding: var(--s6) 0; border-bottom: 1px solid var(--rule); }
.themes .theme:last-child { border-bottom: 0; }
.themes .theme.charts-ready { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: clamp(36px, 6vw, 76px); align-items: start; }
.theme-copy { min-width: 0; }
.themes h2 { font-size: 1.55rem; }
.count { font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; letter-spacing: .05em; color: var(--text-muted); margin-left: 10px; vertical-align: middle; }
.theme-sum { margin-top: 10px; max-width: 68ch; color: var(--text-muted); }
.mini-list { margin-top: var(--s4); }
.mini-list li { padding: 8px 0; font-size: 14.5px; color: var(--text-muted); border-bottom: 1px solid var(--rule); max-width: 82ch; }
.mini-list li:last-child { border-bottom: 0; }
.mini-year { font-family: var(--font-mono); font-size: 13px; margin-right: 10px; }
.mini-title { color: var(--text); }
.theme-chart { margin: 2px 0 0; padding: 22px 22px 17px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); box-shadow: 0 16px 38px rgba(13, 27, 42, .07); }
.theme-chart figcaption { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3px 18px; }
.theme-chart-eyebrow { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); }
.theme-chart figcaption strong { font-family: var(--font-display); font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--text); }
.theme-chart-total { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--text-muted); white-space: nowrap; }
.theme-chart svg { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.chart-grid { stroke: var(--rule); stroke-width: 1; shape-rendering: crispEdges; }
.chart-grid-top { stroke: var(--border); }
.chart-bar { fill: var(--slate-500); transition: fill .18s ease, opacity .18s ease; }
.chart-bar-peak { fill: var(--navy); }
.theme-chart:hover .chart-bar { fill: var(--slate-700); }
.theme-chart:hover .chart-bar-peak { fill: var(--navy); }
.chart-year-label { font-family: var(--font-mono); font-size: 12px; fill: var(--text-muted); }
.chart-y-label { font-family: var(--font-mono); font-size: 11px; fill: var(--text-muted); }
.theme-chart-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: -3px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.theme-chart-foot a { flex: 0 0 auto; color: var(--text); }

@media (max-width: 960px) {
  .themes .theme.charts-ready { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .theme-chart { width: min(100%, 680px); }
}

@media (max-width: 560px) {
  .theme-chart { padding: 17px 14px 14px; border-radius: 8px; }
  .theme-chart figcaption { grid-template-columns: 1fr; }
  .theme-chart-total { margin-top: 2px; }
  .theme-chart-foot { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--surface-inverse); color: var(--text-on-inverse); margin-top: var(--s8); padding: var(--s7) 0 var(--s5); }
.foot-inner { display: flex; flex-wrap: wrap; gap: var(--s6); justify-content: space-between; }
.foot-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.foot-meta { font-size: 14.5px; color: var(--text-on-inverse-muted); margin-top: 6px; }
.foot-meta a { color: var(--text-on-inverse); border-bottom-color: #415A77; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: var(--text-on-inverse); border-bottom-color: #415A77; font-size: 14.5px; }
.foot-links a:hover, .foot-meta a:hover { color: #fff; border-bottom-color: var(--slate-500); }
.foot-copy { font-family: var(--font-mono); font-size: 12px; color: var(--text-on-inverse-muted); margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid #1B263B; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav, .nav-ext { display: none; }
  .menu-btn { display: block; }
  .filterbar { position: static; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .hero-inner { padding: var(--s7) 18px var(--s6); }
  .block, .page-head { padding-left: 18px; padding-right: 18px; }
  .pub { flex-direction: column; gap: 6px; }
  .pub-year { flex: none; }
  .timeline li { flex-direction: column; gap: 6px; }
  .tl-date { flex: none; }
  .f-count { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header, .filterbar, .site-footer, .skip { display: none; }
  body { background: #fff; font-size: 11pt; }
  a { border: 0; }
}

/* ---------- dersler ---------- */
.course-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 var(--s5); }
.course-list li { border-bottom: 1px solid var(--rule); }
.course-link { display: flex; align-items: baseline; gap: 14px; padding: 14px 4px 14px 0; border: 0; color: var(--text); }
.course-link:hover { color: var(--text); background: var(--surface); }
.course-link:hover .course-name { border-bottom-color: var(--border); }
.course-code { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--text-muted); flex: 0 0 62px; }
.course-name { font-size: 16px; line-height: 1.4; border-bottom: 1px solid transparent; }
.crumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); margin-bottom: var(--s5); }
.crumb a { border-bottom-color: var(--rule); }
.pending { max-width: 66ch; color: var(--text-muted); background: var(--surface); border-left: 3px solid var(--slate-700); border-radius: 0; padding: var(--s4) var(--s5); }
.pending-alt { font-size: 15px; color: var(--text-muted); margin-top: var(--s4); }

@media (max-width: 560px) {
  .course-list { grid-template-columns: 1fr; }
  .course-code { flex-basis: 58px; }
}
.rmap .ndc { font-family: 'IBM Plex Mono', monospace; font-size: 11px; fill: #415A77; }

/* ---------- fotoğraflar ---------- */
.ph { margin: 0; }
.ph img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.ph figcaption { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .03em; color: var(--text-muted); margin-top: 10px; }
.ph-wide img { max-height: 420px; object-fit: cover; }
.photo-block { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.photo-block-r { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.photo-block-r .ph { order: 2; }
.photo-note p { max-width: 62ch; color: var(--text-muted); }
.photo-note p + p { margin-top: var(--s4); }
.contact-line { margin-top: var(--s5); font-size: 17px; }
.contact-muted { font-size: 15px; color: var(--text-muted); margin-top: 8px; }

/* ---------- önerilerim ---------- */
.spotify { margin-top: var(--s5); max-width: 720px; }
.spotify iframe { display: block; width: 100%; }
.rec-intro { color: var(--text-muted); max-width: 62ch; }
.rec-alt { margin-top: var(--s4); font-family: var(--font-mono); font-size: 12.5px; }

@media (max-width: 860px) {
  .photo-block, .photo-block-r { grid-template-columns: 1fr; gap: var(--s5); }
  .photo-block-r .ph { order: 0; }
  .ph-wide img { max-height: 280px; }
}

/* ---------- akademik profil iletişim ve konum ---------- */
.contact-section { padding-bottom: var(--s6); }
.contact-section > .col-h { margin-bottom: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: var(--s8); align-items: start; margin-top: var(--s6); }
.contact-details { min-width: 0; }
.contact-details .ph-small img { width: 100%; max-width: none; }
.contact-subtitle { margin-top: var(--s6); font-size: 1.2rem; }
.contact-subtitle + .contact-line { margin-top: 10px; }
.location-card { min-width: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: 14px; background: #fff; box-shadow: 0 16px 44px rgba(13, 27, 42, .10); }
.location-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: 18px 20px; }
.location-card-kicker { margin-bottom: 2px; color: var(--text-muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.location-card-title { font-size: 1.3rem; line-height: 1.2; }
.location-card-action { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; font-size: 13.5px; line-height: 1.3; }
.location-card-action:hover { border-color: var(--link-hover); }
.location-map { aspect-ratio: 16 / 10; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.location-card-note { padding: 14px 20px 16px; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.location-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); padding: 18px 20px 20px; border-top: 1px solid var(--rule); background: var(--bg); font-size: 15px; line-height: 1.65; }
.location-address, .location-contact-inner { min-width: 0; }
.location-address h4 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.location-address p { color: var(--text-muted); }
.location-contact-inner { grid-column: 2; align-self: center; }
.location-contact p + p { margin-top: 2px; }
.location-contact a { white-space: nowrap; }
.academic-profiles-section { padding-top: var(--s6); }
.academic-profile-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.academic-profile-links li { min-width: 0; }
.academic-profile-links a { display: flex; align-items: center; min-height: 58px; height: 100%; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); color: var(--text); line-height: 1.35; }
.academic-profile-links a:hover { border-color: var(--link-hover); background: #fff; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .contact-details .ph-small { max-width: 460px; }
  .location-map { aspect-ratio: 16 / 10; }
  .academic-profile-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .location-card { border-radius: 10px; }
  .location-card-head { align-items: flex-start; padding: 16px; }
  .location-card-action { padding: 7px 10px; font-size: 12.5px; }
  .location-card-note { padding: 12px 16px 14px; }
  .location-contact { padding: 14px 16px 16px; font-size: 15px; }
  .location-contact { grid-template-columns: 1fr; }
  .location-contact-inner { grid-column: 1; }
  .location-contact a { white-space: normal; }
  .academic-profile-links { grid-template-columns: 1fr; }
}

/* ---------- ana sayfa simülasyon kartı ---------- */
.home-header-spacer { flex: 1 1 auto; }
.hero-inner.home-hero { max-width: 1440px; grid-template-columns: minmax(0, 1fr) minmax(230px, 280px) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.home-hero .hero-photo { min-width: 0; }
.home-hero .hero-photo img { width: 100%; max-height: 430px; object-fit: cover; }
.simulation-card { align-self: stretch; display: flex; flex-direction: column; min-width: 0; padding: 26px 28px; border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: 0 16px 44px rgba(13, 27, 42, .08); }
.simulation-card:hover { color: var(--text); border-color: var(--border); background: #fff; }
.simulation-kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.simulation-card h2 { margin-top: 10px; font-size: clamp(1.45rem, 1.1rem + .7vw, 1.85rem); line-height: 1.18; }
.simulation-title { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 14px; }
.simulation-title img { width: 60px; height: 60px; display: block; object-fit: contain; }
.simulation-title span { display: block; }
.registered-mark { position: relative; top: -.62em; margin-left: .06em; font-size: .38em; line-height: 0; vertical-align: baseline; }
.simulation-card > p { margin-top: var(--s4); color: var(--text-muted); font-size: 15.5px; line-height: 1.62; }
.simulation-cta { display: inline-block; align-self: flex-start; margin-top: auto; padding-top: var(--s5); font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.simulation-card small { display: block; margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); color: var(--text-muted); font-size: 12.5px; line-height: 1.5; }
.wrap.home-approach { max-width: 1540px; padding-left: 40px; padding-right: 40px; grid-template-columns: minmax(280px, 320px) minmax(420px, 480px) minmax(280px, 320px); justify-content: space-between; gap: var(--s7); align-items: start; }
.home-approach .approach-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; }

@media (max-width: 1200px) {
  .hero-inner.home-hero { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); max-width: var(--wrap); }
  .home-hero .hero-text { grid-column: 1 / -1; }
  .wrap.home-approach { max-width: var(--wrap); padding-left: var(--s4); padding-right: var(--s4); grid-template-columns: minmax(230px, 280px) minmax(0, 1fr) minmax(230px, 280px); justify-content: initial; gap: var(--s6); }
}

@media (max-width: 860px) {
  .hero-inner.home-hero { grid-template-columns: 1fr; }
  .home-hero .hero-text { grid-column: auto; }
  .home-hero .hero-photo { max-width: 340px; }
  .simulation-card { align-self: auto; min-height: 0; }
  .wrap.home-approach { padding-left: 18px; padding-right: 18px; grid-template-columns: 1fr; }
  .home-approach .approach-photo { max-width: 420px; }
}

/* ---------- hero görseli ---------- */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: var(--s8); align-items: center; max-width: 1160px; }
.hero-text { min-width: 0; }
.hero-inner .ph img { max-height: 420px; object-fit: cover; }

/* ---------- ikili görsel ---------- */
.photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s6); }
.photo-pair .ph img { height: 300px; object-fit: cover; }

/* ---------- hover büyütme ---------- */
.ph { position: relative; }
.ph img { transition: transform .25s cubic-bezier(.2,0,.2,1), box-shadow .25s cubic-bezier(.2,0,.2,1); transform-origin: center; will-change: transform; }
.ph:hover img, .ph:focus-within img { transform: scale(1.14); box-shadow: 0 12px 40px rgba(13,27,42,.28); position: relative; z-index: 20; }
.ph:hover, .ph:focus-within { z-index: 20; }
.block, .hero-inner, .photo-pair { overflow: visible; }

@media (hover: none) {
  .ph:hover img { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ph:hover img, .ph:focus-within img { transform: none; box-shadow: none; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-inner .ph img { max-height: 300px; }
  .photo-pair .ph img { height: 220px; }
}

/* ---------- sayfa başlığı hizası (sola dayalı) ---------- */
.page-head, .hero-inner, .wrap { max-width: var(--wrap); }
.page-head .lede { max-width: 66ch; }
.hero-inner { max-width: var(--wrap); }

/* ---------- portre ve küçük görsel ---------- */
.ph-portrait img { max-width: 280px; }
.ph-small img { max-width: 460px; }
.ph-small, .ph-portrait { max-width: 100%; }

/* ---------- dil bağlantısı ---------- */
.nav-ext a[hreflang] { font-family: var(--font-sans); font-size: 13.5px; letter-spacing: 0; font-weight: 600; }
.goodreads { margin-top: var(--s4); }
.goodreads .gr_custom_container, .goodreads .gr_custom_widget { background: transparent !important; border: 0 !important; font-family: var(--font-sans) !important; }
.goodreads a { color: var(--link); }

/* ---------- footer adres ve iletişim ---------- */
.foot-addr { max-width: 380px; }
.site-footer address, .contact-line address, address.contact-line { font-style: normal; }
.foot-meta { line-height: 1.75; }



.foot-contact a { color: var(--text-on-inverse); border-bottom-color: #415A77; }
.foot-contact a:hover { color: #fff; border-bottom-color: var(--slate-500); }







/* ============================================================
   SON DÜZELTMELER — tipografi birliği ve iletişim bloğu
   Mono font yalnızca rakam/kod alanlarında kalır:
   yıl, tarih, ders kodu. Diğer her yer Source Sans 3.
   ============================================================ */

address { font-style: normal !important; font-family: var(--font-sans) !important; }

/* eyebrow, alt yazı, bağlantı etiketleri: mono değil, sans */
.eyebrow,
.ph figcaption,
.rmap-legend,
.foot-copy,
.more,
.crumb,
.hero-ids,
.chip,
.count,
.rec-alt,
.nav-ext a,
.goodreads .gr_grid_branding {
  font-family: var(--font-sans) !important;
}
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; }
.ph figcaption { font-size: 13.5px; letter-spacing: 0; line-height: 1.5; }
.foot-copy, .more, .crumb, .rec-alt, .goodreads .gr_grid_branding { font-size: 13.5px; letter-spacing: 0; text-transform: none; }
.chip, .count { font-size: 12.5px; letter-spacing: .02em; }
.hero-ids { font-size: 13.5px; letter-spacing: 0; }
.nav-ext a { font-size: 13.5px; letter-spacing: 0; }
.f-lab { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; }

/* iletişim bloğu: tek font, düz, hizalı */
.foot-addr { max-width: 420px; }
.foot-meta { font-family: var(--font-sans); font-size: 15px; line-height: 1.7; }
.foot-contact { font-family: var(--font-sans); font-size: 15px; line-height: 1.9; margin-top: var(--s5); color: var(--text-on-inverse); }
.foot-contact a { color: var(--text-on-inverse); border-bottom-color: #415A77; }
.foot-contact a:hover { color: #fff; border-bottom-color: var(--slate-500); }
.contact-dl { font-family: var(--font-sans); font-size: 16.5px; line-height: 1.9; margin-top: var(--s5); }
.contact-line.contact-muted { line-height: 1.7; }

/* görsel boyları: sayfayı boğmasın */
.ph-mid img { max-width: 520px; }
.ph-small img { max-width: 420px; }
.ph-portrait img { max-width: 340px; }
.ph-wide img { max-height: 380px; }

/* ---------- Goodreads (custom widget) ---------- */
.goodreads { margin-top: var(--s5); max-width: 560px; }
.goodreads .gr_custom_container_ {
  border: 0 !important; border-radius: 0 !important; padding: 0 !important;
  background: transparent !important; color: var(--text) !important; width: 100% !important;
}
.goodreads .gr_custom_header_ { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.goodreads .gr_custom_each_container_ {
  display: grid; grid-template-columns: 60px 1fr auto; grid-template-areas: "cover title rating" "cover author rating";
  column-gap: 16px; align-items: start;
  width: 100% !important; clear: both; margin: 0 0 var(--s4) !important;
  padding-bottom: var(--s4) !important; border-bottom: 1px solid var(--rule) !important; overflow: visible !important;
}
.goodreads .gr_custom_each_container_:last-of-type { border-bottom: 0 !important; }
.goodreads .gr_custom_book_container_ {
  grid-area: cover; float: none !important; width: 60px !important; height: 90px !important;
  margin: 0 !important; overflow: hidden;
}
.goodreads .gr_custom_book_container_ a { border: 0; display: block; height: 100%; }
.goodreads .gr_custom_book_container_ img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--rule); }
.goodreads .gr_custom_title_ { grid-area: title; font-family: var(--font-display); font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.goodreads .gr_custom_title_ a { color: var(--text); border-bottom: 1px solid transparent; }
.goodreads .gr_custom_title_ a:hover { border-bottom-color: var(--border); }
.goodreads .gr_custom_author_ { grid-area: author; font-family: var(--font-sans) !important; font-size: 14px !important; color: var(--text-muted); margin-top: 4px; align-self: start; }
.goodreads .gr_custom_author_ a { color: var(--text-muted); }
.goodreads .gr_custom_rating_ { grid-area: rating; float: none !important; white-space: nowrap; padding-top: 3px; }
.goodreads .gr_custom_rating_ img { width: 13px; height: 13px; }
.goodreads .gr_custom_tags_ { display: none; }
.goodreads br { display: none; }
.goodreads .gr_custom_foot_, .goodreads center { margin-top: var(--s4); text-align: left; }
.goodreads .gr_custom_foot_ a { font-family: var(--font-sans); font-size: 13.5px; color: var(--text-muted); border-bottom: 1px solid var(--rule); }
.goodreads .gr_custom_foot_ a:hover { color: var(--text); border-bottom-color: var(--text); }
.goodreads center img { max-width: 90px; height: auto; opacity: .7; }
.goodreads noscript { display: block; font-size: 14px; color: var(--text-muted); }

@media (max-width: 520px) {
  .goodreads .gr_custom_each_container_ { grid-template-columns: 52px 1fr; grid-template-areas: "cover title" "cover author" "rating rating"; }
  .goodreads .gr_custom_book_container_ { width: 52px !important; height: 78px !important; }
  .goodreads .gr_custom_rating_ { margin-top: 8px; }
}

/* iletişim: düz paragraf, grid değil */
.foot-contact, .contact-dl { display: block !important; grid-template-columns: none !important; }
.foot-contact a, .contact-dl a { white-space: nowrap; }

/* ============================================================
   v12 — koyu tema, ilerleme çizgisi, yayın zaman çizelgesi,
   katlanabilir yıllar, yukarı çık, QR kart
   ============================================================ */

/* ---------- ilerleme çizgisi ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; background: transparent; }
.progress span { display: block; height: 100%; width: 0; background: var(--slate-700); transition: width .08s linear; }

/* ---------- yukarı çık ---------- */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 46px; height: 46px; cursor: pointer;
  background: var(--surface-inverse); color: var(--text-on-inverse);
  border: 1px solid var(--border); border-radius: 2px; font-size: 17px; line-height: 1;
  opacity: 0; transition: opacity .2s cubic-bezier(.2,0,.2,1);
}
.totop[data-show] { opacity: 1; }
.totop:hover { background: var(--navy-850); }

/* ---------- yayın zaman çizelgesi ---------- */
.pubtl-wrap { position: relative; }
.pubtl { position: relative; display: flex; align-items: flex-end; gap: 2px; overflow-x: auto; padding: var(--s5) 0 4px; scrollbar-width: thin; }
.pubtl-axis { position: absolute; left: 0; right: 0; bottom: 26px; height: 1px; background: var(--rule); }
.tl-col { display: flex; flex-direction: column; align-items: center; flex: 1 0 auto; min-width: 44px; position: relative; z-index: 1; }
.tl-dots { display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; margin-bottom: 8px; }
.tl-dot {
  width: 13px; height: 13px; padding: 0; cursor: pointer; font-size: 0; line-height: 0;
  border: 1.5px solid var(--slate-700); background: var(--slate-700); border-radius: 50%;
  transition: transform .15s cubic-bezier(.2,0,.2,1);
}
.tl-dot:hover, .tl-dot:focus-visible { transform: scale(1.5); }
.tl-yr { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); padding-top: 8px; }
.pubtl-tip {
  position: absolute; z-index: 30; max-width: 460px;
  background: var(--surface-inverse); color: var(--text-on-inverse);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 14px 16px; font-size: 14px; line-height: 1.55;
  box-shadow: 0 10px 34px rgba(13,27,42,.32); pointer-events: none;
}
.pubtl-tip em { font-style: italic; }
.pubtl-note { font-size: 13.5px; color: var(--text-muted); margin-top: var(--s4); max-width: none; }

/* ---------- katlanabilir yıl grupları ---------- */
.year-group details > summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s4); border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: var(--s5);
}
.year-group details > summary::-webkit-details-marker { display: none; }
.year-group details > summary::before { content: "\2212"; font-family: var(--font-mono); margin-right: 10px; color: var(--text-muted); }
.year-group details:not([open]) > summary::before { content: "+"; }
.year-group details:not([open]) > summary { margin-bottom: 0; }
.year-group summary:hover { color: var(--text); }
.year-n { font-family: var(--font-sans); font-size: 13px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }

@media (max-width: 560px) {
  .totop { right: 14px; bottom: 14px; }
  .pubtl-tip { max-width: 88vw; }
}
@media (prefers-reduced-motion: reduce) {
  .progress span, .totop, .tl-dot { transition: none !important; }
}
@media print { .progress, .totop, .pubtl-wrap { display: none !important; } }

/* açık tema sabit — sistem koyu moddayken de site açık kalır */
:root { color-scheme: light; }
.pubtl-note { max-width: none; }

/* ---------- bildiriler ---------- */
.conf-toggle { cursor: pointer; list-style: none; font-family: var(--font-sans); font-size: 14px; color: var(--text-muted); border: 1px solid var(--rule); border-radius: 2px; padding: 10px 16px; display: inline-block; min-height: 44px; line-height: 24px; }
.conf-toggle::-webkit-details-marker { display: none; }
.conf-toggle:hover { border-color: var(--border); color: var(--text); }
details[open] > .conf-toggle { margin-bottom: var(--s5); }
.conf-list .pub-title { font-size: 16.5px; }
.col-h .year-n { font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: var(--text-muted); }
