/* ==========================================================================
   Prof. Dr. Hülya Derya — akademik web sitesi
   Tek tasarım sistemi. Tüm sayfalar bu dosyayı kullanır.
   Renk veya font değiştirmek isterseniz sadece :root bloğuna dokunun.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tasarım tokenları
   -------------------------------------------------------------------------- */
:root {
  /* Lacivert ailesi */
  --ink:        #0B1B33;
  --navy:       #12284C;
  --navy-2:     #1C3A68;
  --navy-3:     #2E5085;

  /* Altın vurgu */
  --gold:       #C9A227;
  --gold-2:     #E3C567;
  --gold-dim:   #8A7434;

  /* Üniversite logosundan alınan ikincil vurgu — çok kısıtlı kullanılır */
  --crimson:    #9E2A4E;

  /* Fildişi kâğıt */
  --paper:      #FAF7F0;
  --paper-2:    #F3EEE2;
  --paper-3:    #EBE4D4;

  /* Metin */
  --text:       #1A2437;
  --text-2:     #566076;
  --text-3:     #8A93A6;
  --on-dark:    #EDE8DC;
  --on-dark-2:  #A3B2CA;

  /* Çizgi */
  --rule:       #E2D9C4;
  --rule-dark:  rgba(237, 232, 220, .16);

  /* Tipografi */
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Ölçü */
  --wrap:    1180px;
  --wrap-sm: 820px;
  --gut:     clamp(1.25rem, 4vw, 3rem);
  --r:       4px;
  --r-lg:    10px;

  /* Hareket */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .45s;

  --nav-h: 68px;
}

/* --------------------------------------------------------------------------
   2. Sıfırlama ve temel
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--navy);
  text-wrap: balance;
}

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

::selection { background: var(--gold-2); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  background: var(--navy); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: var(--r);
  font-size: .9rem; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-sm { width: 100%; max-width: var(--wrap-sm); margin-inline: auto; padding-inline: var(--gut); }

.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;
}

/* --------------------------------------------------------------------------
   3. Ortak yapı taşları
   -------------------------------------------------------------------------- */

/* Bölüm üstü küçük etiket */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--gold); flex: none;
}
.eyebrow--on-dark { color: var(--gold-2); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--paper); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.section-head p {
  margin-top: .9rem; color: var(--text-2);
  font-size: 1.05rem; max-width: 60ch;
}
.section--dark .section-head p { color: var(--on-dark-2); }

.lede { font-size: 1.16rem; line-height: 1.72; color: var(--text-2); }

.prose p + p { margin-top: 1.15rem; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem;
  font-size: .93rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid  { background: var(--navy); color: var(--paper); }
.btn--solid:hover { background: var(--ink); }
.btn--gold   { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost  { border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--paper); }
.btn--onDark { border-color: rgba(237,232,220,.4); color: var(--paper); }
.btn--onDark:hover { background: var(--paper); color: var(--navy); }

/* --------------------------------------------------------------------------
   4. Üst menü
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s var(--ease);
}
.site-nav.is-stuck { box-shadow: 0 6px 24px -14px rgba(11, 27, 51, .5); }

.site-nav__inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; flex: none;
}
.brand__mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold-2);
  font-family: var(--serif); font-size: .92rem; font-weight: 600;
  border-radius: 3px; letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif); font-size: 1.02rem;
  font-weight: 600; color: var(--navy);
}
.brand__role {
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--text-3);
}

.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav-links a {
  position: relative;
  font-size: .95rem; font-weight: 500;
  text-decoration: none; color: var(--text);
  padding-block: .45rem;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after { width: 100%; background: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: var(--r); width: 42px; height: 42px;
  cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; width: 18px; height: 1.5px;
  background: var(--navy); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-dark);
  overflow: hidden;
}
/* Yavaşça kayan ince altın ızgara — ambiyans */
.hero::before {
  content: ""; position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(201,162,39,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridDrift 42s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift { to { transform: translate(64px, 64px); } }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__kicker {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 1.4rem;
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.4rem, 6.2vw, 4.25rem);
  font-weight: 600; line-height: 1.06; letter-spacing: -.025em;
}
.hero h1 .hero__title-pre {
  display: block;
  font-size: clamp(.95rem, 1.8vw, 1.25rem);
  font-family: var(--sans); font-weight: 400;
  letter-spacing: .04em; color: var(--on-dark-2);
  margin-bottom: .7rem;
}
.hero__rule { width: 72px; height: 3px; background: var(--gold); margin: 1.8rem 0; }
.hero__sub { color: var(--on-dark-2); font-size: 1.05rem; max-width: 46ch; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.hero__tags span {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .45rem .85rem; border: 1px solid var(--rule-dark);
  border-radius: 100px; color: var(--on-dark-2);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* Portre: altın hatlı ofset çerçeve */
.hero__figure { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.hero__figure::after {
  content: ""; position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  z-index: 0; pointer-events: none;
}
.hero__figure img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 2px;
}

/* Sayfa başlığı (iç sayfalar) */
.page-head { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(201,162,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridDrift 42s linear infinite;
}
.page-head__inner { position: relative; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { color: var(--paper); font-size: clamp(2rem, 4.6vw, 3.1rem); }
.page-head p { color: var(--on-dark-2); margin-top: 1rem; max-width: 62ch; font-size: 1.05rem; }

.crumbs {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 1.1rem;
}
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }

/* --------------------------------------------------------------------------
   6. İMZA ÖĞE — dönen altın çerçeveli alıntı
   -------------------------------------------------------------------------- */
@property --qang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes qspin { to { --qang: 360deg; } }

.quote-frame {
  position: relative;
  max-width: 860px; margin-inline: auto;
  padding: 2px; border-radius: var(--r-lg);
  background-color: rgba(201, 162, 39, .34);
  background-image: conic-gradient(from var(--qang),
      rgba(201,162,39,0) 0deg,
      rgba(201,162,39,0) 232deg,
      var(--gold) 312deg,
      var(--gold-2) 336deg,
      rgba(201,162,39,0) 360deg);
  animation: qspin 7s linear infinite;
}
.quote-frame__inner {
  background: var(--paper);
  border-radius: calc(var(--r-lg) - 2px);
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.section--dark .quote-frame__inner { background: var(--ink); }
.quote-frame blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.9vw, 1.95rem);
  line-height: 1.45; color: var(--navy);
  font-weight: 400; text-wrap: balance;
}
.section--dark .quote-frame blockquote { color: var(--paper); }
.quote-frame cite {
  display: block; margin-top: 1.4rem;
  font-family: var(--mono); font-style: normal;
  font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-dim);
}
.section--dark .quote-frame cite { color: var(--gold-2); }

/* --------------------------------------------------------------------------
   7. Araştırma alanları
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.research-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.75rem;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.research-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.research-card:hover {
  transform: translateY(-4px);
  border-color: var(--paper-3);
  box-shadow: 0 22px 40px -30px rgba(11, 27, 51, .55);
}
.research-card:hover::before { transform: scaleY(1); }
.research-card__no {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .14em; color: var(--text-3); margin-bottom: .9rem;
}
.research-card h3 { font-size: 1.28rem; margin-bottom: .7rem; }
.research-card p { color: var(--text-2); font-size: .97rem; }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.tag {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .38rem .75rem;
  background: var(--paper-2); color: var(--navy-2);
  border: 1px solid var(--rule); border-radius: 100px;
}
.section--dark .tag {
  background: rgba(237,232,220,.06);
  border-color: var(--rule-dark); color: var(--on-dark-2);
}

/* --------------------------------------------------------------------------
   8. Sayılar (scroll'da sayan)
   -------------------------------------------------------------------------- */
.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: var(--rule-dark);
  border: 1px solid var(--rule-dark);
}
.stat { background: var(--navy); padding: 2.1rem 1.5rem; text-align: center; }
.stat__value {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  color: var(--gold-2); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-2); margin-top: .85rem;
}

/* --------------------------------------------------------------------------
   9. Zaman çizelgesi
   -------------------------------------------------------------------------- */
.tl-cols { display: grid; gap: clamp(2.5rem, 5vw, 4rem); grid-template-columns: 1fr 1fr; }

.tl-head {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  color: var(--navy); padding-bottom: .9rem; margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--gold);
}

.tl { position: relative; padding-left: 1.9rem; }
.tl::before {
  content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px;
  width: 1px; background: var(--rule);
}
.tl::after {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 1px; background: var(--gold);
  height: var(--tl-fill, 0%);
  transition: height 1.4s var(--ease);
}
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -1.9rem; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
  transform: translateX(0);
}
.tl-item__date {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .1em; color: var(--gold-dim); margin-bottom: .4rem;
  font-variant-numeric: tabular-nums;
}
.tl-item h4 { font-size: 1.13rem; margin-bottom: .25rem; }
.tl-item p { color: var(--text-2); font-size: .95rem; }
.tl-item p.tl-item__note {
  font-style: italic; color: var(--text-3);
  font-size: .9rem; margin-top: .35rem;
}

/* --------------------------------------------------------------------------
   10. Kitap tanıtımı
   -------------------------------------------------------------------------- */
.book {
  display: grid; grid-template-columns: 260px 1fr;
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.book__cover {
  position: relative; transition: transform .5s var(--ease);
}
.book__cover img {
  width: 100%; border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(11, 27, 51, .75);
}
.book:hover .book__cover { transform: translateY(-6px) rotate(-1deg); }
.book h3 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: .5rem; }
.book__meta {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-dim); margin-bottom: 1.2rem;
}
.section--dark .book__meta { color: var(--gold-2); }

/* --------------------------------------------------------------------------
   11. Dersler
   -------------------------------------------------------------------------- */
.course-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
}
.course {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 1.6rem 1.5rem;
  transition: transform .3s var(--ease), border-top-color .3s var(--ease), box-shadow .3s var(--ease);
}
.course:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
  box-shadow: 0 20px 36px -28px rgba(11, 27, 51, .5);
}
.course__code {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: .7rem;
}
.course h3 { font-size: 1.12rem; margin-bottom: .5rem; line-height: 1.3; }
.course p { font-size: .93rem; color: var(--text-2); }

/* --------------------------------------------------------------------------
   12. Yayınlar
   -------------------------------------------------------------------------- */
.pub-toolbar {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding-block: 1.1rem;
}
.pub-toolbar__inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }

.search {
  position: relative; flex: 1 1 260px; max-width: 380px;
}
.search input {
  width: 100%; padding: .78rem 1rem .78rem 2.5rem;
  background: var(--paper-2);
  border: 1px solid var(--rule); border-radius: var(--r);
  font-size: .93rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.search input::placeholder { color: var(--text-3); }
.search input:focus { background: var(--paper); border-color: var(--gold); outline: none; }
.search::before {
  content: ""; position: absolute; left: .95rem; top: 50%;
  width: 13px; height: 13px; margin-top: -8px;
  border: 1.5px solid var(--text-3); border-radius: 50%;
}
.search::after {
  content: ""; position: absolute; left: 1.65rem; top: 50%;
  width: 6px; height: 1.5px; margin-top: 4px;
  background: var(--text-3); transform: rotate(45deg);
}

.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter {
  background: none; border: 1px solid var(--rule);
  border-radius: 100px; padding: .5rem 1.05rem;
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--navy-3); color: var(--navy); }
.filter[aria-pressed="true"] {
  background: var(--navy); border-color: var(--navy);
  color: var(--paper);
}
.filter__count { opacity: .55; margin-left: .4rem; }

.pub-count {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); padding-block: 0 .25rem;
}

/* Bibliyografya satırı: solda mono yıl rayı */
.bib { border-top: 1px solid var(--rule); margin-top: 1rem; }
.bib__item {
  display: grid; grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background .3s var(--ease);
}
.bib__item:hover { background: var(--paper-2); }
.bib__year {
  font-family: var(--mono); font-size: .82rem;
  color: var(--gold-dim); font-variant-numeric: tabular-nums;
  padding-top: .18rem; letter-spacing: .03em;
}
.bib__kind {
  display: block; margin-top: .5rem;
  font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3);
}
.bib__title {
  font-family: var(--serif); font-size: 1.16rem;
  font-weight: 600; line-height: 1.38; color: var(--navy);
  margin-bottom: .45rem;
}
.bib__title a {
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 1px; background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s var(--ease);
}
.bib__title a:hover { background-size: 100% 1px; }
.bib__authors { font-size: .93rem; color: var(--text-2); }
.bib__venue { font-size: .93rem; color: var(--text-2); font-style: italic; }
.bib__note { font-size: .9rem; color: var(--text-3); margin-top: .3rem; }
.bib__meta {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  margin-top: .7rem;
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .06em; color: var(--text-3);
}
.bib__item.is-hidden { display: none; }

.empty-state {
  padding: 4rem 1rem; text-align: center; color: var(--text-2);
}
.empty-state strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin-bottom: .5rem; }

/* --------------------------------------------------------------------------
   13. İşbirliği ağı
   -------------------------------------------------------------------------- */
.people {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: var(--rule); border: 1px solid var(--rule);
}
.person {
  background: var(--paper); padding: 1.5rem 1rem; text-align: center;
  transition: background .3s var(--ease);
}
.person:hover { background: var(--paper-2); }
.person__initials {
  width: 52px; height: 52px; margin: 0 auto .9rem;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--navy); color: var(--gold-2);
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
}
.person__name { font-size: .95rem; font-weight: 500; color: var(--navy); line-height: 1.3; }
.person__role {
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-top: .3rem;
}

/* --------------------------------------------------------------------------
   14. Öğrenci köşesi / kaynak kartı
   -------------------------------------------------------------------------- */
.panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.section--dark .panel {
  background: rgba(237,232,220,.045);
  border-color: var(--rule-dark);
}
.panel h3 { font-size: 1.24rem; margin-bottom: .8rem; }
.panel p { color: var(--text-2); font-size: .97rem; }
.section--dark .panel p { color: var(--on-dark-2); }

.hours { width: 100%; border-collapse: collapse; margin-top: 1.1rem; }
.hours td { padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.hours tr:last-child td { border-bottom: none; }
.hours td:last-child {
  text-align: right; font-family: var(--mono); font-size: .85rem;
  color: var(--navy); font-variant-numeric: tabular-nums;
}
.section--dark .hours td { border-color: var(--rule-dark); }
.section--dark .hours td:last-child { color: var(--gold-2); }

/* --------------------------------------------------------------------------
   15. İletişim
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

.info-row { padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.info-row:first-of-type { padding-top: 0; }
.info-row__label {
  font-family: var(--mono); font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: .35rem;
}
.info-row__value { font-size: 1rem; color: var(--text); }
.info-row__value a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.info-row__value a:hover { color: var(--navy); }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; margin-bottom: .45rem;
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--text-2);
}
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--r);
  font-size: .97rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .16);
}
.field textarea { min-height: 150px; resize: vertical; }
.field.has-error input, .field.has-error textarea { border-color: var(--crimson); }
.field__error { display: none; margin-top: .35rem; font-size: .84rem; color: var(--crimson); }
.field.has-error .field__error { display: block; }

.form-note { font-size: .85rem; color: var(--text-3); margin-top: 1rem; }
.form-status {
  display: none; margin-top: 1rem; padding: .9rem 1.1rem;
  border-radius: var(--r); font-size: .93rem;
  border-left: 3px solid var(--gold); background: var(--paper-2);
}
.form-status.is-visible { display: block; }

.map-embed {
  margin-top: 2.5rem; border: 1px solid var(--rule);
  border-radius: var(--r-lg); overflow: hidden; line-height: 0;
}
.map-embed iframe { width: 100%; height: 320px; border: 0; }

/* --------------------------------------------------------------------------
   16. Alt bilgi
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.5fr 1fr 1fr;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule-dark);
}
.site-footer h4 {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 1.1rem; font-weight: 500;
}
.site-footer p { font-size: .93rem; }
.footer-name {
  font-family: var(--serif); font-size: 1.35rem;
  color: var(--paper); margin-bottom: .6rem;
}
.footer-list { list-style: none; display: grid; gap: .6rem; }
.footer-list a {
  text-decoration: none; font-size: .93rem;
  transition: color .25s var(--ease);
}
.footer-list a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.75rem;
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .1em; color: var(--text-3);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-2); }

/* --------------------------------------------------------------------------
   17. 404
   -------------------------------------------------------------------------- */
.err {
  min-height: 78vh; display: grid; place-items: center;
  text-align: center; padding: 3rem 1.5rem;
}
.err__code {
  font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 9rem);
  color: var(--navy); line-height: 1; letter-spacing: -.03em;
}
.err h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: .5rem 0 1rem; }
.err p { color: var(--text-2); max-width: 46ch; margin: 0 auto 2rem; }

/* --------------------------------------------------------------------------
   18. Scroll ile beliren öğeler
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   19. Duyarlı düzen
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__figure { max-width: 320px; justify-self: start; }
  .hero__figure::after { inset: 12px -12px -12px 12px; }
  .tl-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 200px 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 62px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gut) 1.25rem;
    box-shadow: 0 18px 30px -22px rgba(11,27,51,.6);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-links a { padding: .95rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--gold-dim); }

  .book { grid-template-columns: 1fr; }
  .book__cover { max-width: 190px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bib__item { grid-template-columns: 1fr; gap: .5rem; }
  .bib__year { display: flex; align-items: baseline; gap: .8rem; padding-top: 0; }
  .bib__kind { margin-top: 0; }
  .pub-toolbar { position: static; }
  .pub-toolbar__inner { flex-direction: column; align-items: stretch; }
  .search { max-width: none; }
  .filters { justify-content: flex-start; }
  body { font-size: 16px; }
}

/* --------------------------------------------------------------------------
   20. Hareketi azalt / yazdırma
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .quote-frame { background-image: none; background-color: var(--gold); }
  .reveal { opacity: 1; transform: none; }
  .tl::after { height: 100% !important; }
}

@media print {
  .site-nav, .site-footer, .pub-toolbar, .hero__cta, .map-embed { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-head { background: #fff; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
  a { text-decoration: underline; }
  .bib__item { break-inside: avoid; }
}
