/* ============================================================
   styles.css — İsmail Turgut Öksüz public site (Rev 2)
   Tüm değerler tokens.css'ten (var()). Buildless. Radius: yalnız --radius-sm / --radius / --radius-lg.
   Bölümler: 1 Reset · 2 Tipografi · 3 Yardımcılar · 4 Butonlar · 5 Header · 6 Banner · 7 Sayaç şeridi
   8 Bölüm başlıkları / page-hero / sekmeler · 9 Kartlar · 10 Slider · 11 Anasayfa · 12 Hakkımda
   13 Sayfalama · 14 Detay şablonu · 15 Galeri / lightbox / video · 16 Kurumlar · 17 İletişim
   18 Footer · 19 Çerez · 20 Hata · 21 Hareket
   ============================================================ */

/* ---------- 1. Reset / temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-compact) + var(--sp-7)); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-size: var(--fs-body); font-weight: var(--w-med); line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: var(--brand-700); color: var(--white); }
body.nav-open, body.lb-open, body.vm-open { overflow: hidden; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--detail { max-width: calc(var(--maxw-detail) + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.visually-hidden:focus { position: fixed !important; z-index: 300; top: 1rem; left: 1rem; width: auto; height: auto; margin: 0; clip: auto; padding: .7em 1.2em; background: var(--brand-700); color: var(--white); border-radius: var(--radius); }

/* ---------- 2. Tipografi ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--w-med); font-optical-sizing: auto; letter-spacing: var(--ls-heading); line-height: var(--lh-snug); color: var(--ink-900); text-wrap: pretty; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--ls-display); font-weight: var(--w-reg); }
h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: var(--ls-heading); font-weight: var(--w-med); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-700); }
.meta { font-size: var(--fs-xs); font-weight: var(--w-semi); letter-spacing: .04em; color: var(--ink-500); }

/* Gövde metni: iki yana yaslı + Türkçe tireleme (JS yedeği site.js). Başlık/buton/menü/etiket/tarih hariç. */
.justify, .prose p, .prose li, .lead, .tl__desc, .about-intro__text, .footer__desc, .detail-lead { text-align: justify; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; text-wrap: wrap; }

/* ---------- 3. Yardımcılar ---------- */
.icon { width: var(--icon); height: var(--icon); fill: currentColor; vertical-align: -0.125em; flex: none; }
.icon--sm { width: var(--icon-sm); height: var(--icon-sm); } .icon--md { width: var(--icon-md); height: var(--icon-md); } .icon--lg { width: var(--icon-lg); height: var(--icon-lg); } .icon--xl { width: var(--icon-xl); height: var(--icon-xl); }
.section { padding-block: var(--section-y); position: relative; }
.section--flush-top { padding-top: 0; }
/* Zebra: main'in doğrudan çocuğu olan <section> öğelerinde beyaz → buz grisi → beyaz… (banner/page-hero/şerit <section> DEĞİLDİR) */
.section { background: var(--surface); }
main > .section:nth-of-type(even) { background: var(--surface-alt); }
.band-brand { background: var(--brand-800); color: var(--white); }
.band-brand h1, .band-brand h2, .band-brand h3 { color: var(--white); }
.bg-img { background-color: var(--surface-alt); background-size: cover; background-position: center; background-repeat: no-repeat; }
.arrow-link { display: inline-flex; align-items: center; min-height: 44px; gap: .5em; font-size: var(--fs-sm); font-weight: var(--w-bold); letter-spacing: .02em; color: var(--accent-text); white-space: nowrap; }
.arrow-link svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- 4. Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: var(--w-bold); letter-spacing: .02em; padding: 0 1.6em; border-radius: var(--radius); border: 1px solid transparent; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--brand-700); color: var(--white); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-400); }
.btn--ghost:hover { border-color: var(--ink-900); }
.btn--light { background: var(--white); color: var(--brand-800); }
.btn--light:hover { background: var(--brand-100); transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 0 1.2em; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink-800); transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--brand-700); border-color: var(--brand-700); color: var(--white); }

/* ---------- 5. Header ---------- */
.mast { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--border); transition: height .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.mast__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-4); }
.mast__brand { position: relative; flex: none; display: block; height: var(--logo-h); transition: height .2s var(--ease); }
.mast__logo { height: 100%; width: auto; transition: opacity .2s var(--ease); }
.mast__logo--white { position: absolute; left: 0; top: 0; opacity: 0; }
.mast.is-scrolled { height: var(--header-h-compact); box-shadow: var(--sh-1); }
.mast.is-scrolled .mast__brand { height: 38px; }
#main { padding-top: 0; }

/* Şeffaf mod: banner üstünde (scroll > 80px'e kadar) */
.mast--transparent:not(.is-scrolled) { background-color: transparent; border-bottom-color: transparent; }
.mast--transparent:not(.is-scrolled) .mast__logo--dark { opacity: 0; }
.mast--transparent:not(.is-scrolled) .mast__logo--white { opacity: 1; }
.mast--transparent:not(.is-scrolled) .nav__link, .mast--transparent:not(.is-scrolled) .nav__toggle-sub, .mast--transparent:not(.is-scrolled) .mast__burger { color: var(--white); }
.mast--transparent:not(.is-scrolled) .nav__cta { background: rgba(255,255,255,.12); color: var(--white); border-color: transparent; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mast--transparent:not(.is-scrolled) .nav__cta:hover { background: rgba(255,255,255,.22); }
body.nav-open .mast { background-color: var(--surface); border-bottom-color: var(--border); }
body.nav-open .mast .mast__logo--dark { opacity: 1; }
body.nav-open .mast .mast__logo--white { opacity: 0; }
body.nav-open .mast .mast__burger { color: var(--ink-900); }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); }
.nav__list { display: flex; align-items: center; gap: var(--nav-gap); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; padding: .6em .85em; font-size: var(--fs-sm); font-weight: var(--w-bold); letter-spacing: .01em; color: var(--ink-800); position: relative; background: none; border: 0; transition: color .2s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: .85em; right: .85em; bottom: .25em; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast) var(--ease); }
.nav__link:hover::after, .nav__item.is-current > .nav__link::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__item.has-sub > .nav__link:not(.nav__link--btn) { padding-right: 0; }
.nav__item.has-sub > .nav__link:not(.nav__link--btn)::after { right: 0; }
.nav__toggle-sub { margin-left: 0; width: 32px; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; color: var(--ink-800); transition: color .2s var(--ease); }
.nav__toggle-sub svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.nav__item.is-open .nav__toggle-sub svg, .nav__item:hover .nav__toggle-sub svg { transform: rotate(180deg); }
.nav__link--btn { gap: .5em; }
.nav__link--btn svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.nav__item.is-open .nav__link--btn svg, .nav__item:hover .nav__link--btn svg { transform: rotate(180deg); }

.nav__sub { position: absolute; top: 100%; left: 0; min-width: 240px; padding: var(--sp-1); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast); }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__sub a { display: block; padding: .7em 1em; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: var(--w-semi); color: var(--ink-800); }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--brand-50); color: var(--brand-700); }
.nav__cta { display: inline-flex; align-items: center; min-height: 48px; margin-left: var(--sp-1); background: var(--brand-700); color: var(--white); border: 1px solid var(--brand-700); padding: 0 1.7em; border-radius: var(--radius); font-size: 0.9375rem; font-weight: var(--w-bold); letter-spacing: .02em; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.nav__cta:hover { background: var(--brand-600); }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font-size: var(--fs-xs); font-weight: var(--w-bold); letter-spacing: .1em; text-transform: uppercase; padding: .5em; }
.lang summary::-webkit-details-marker { display: none; }
.lang__menu { position: absolute; right: 0; top: 100%; min-width: 120px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--sh-1); padding: var(--sp-1); }
.lang__menu a { display: block; padding: .5em .8em; font-size: var(--fs-sm); border-radius: var(--radius-sm); color: var(--ink-800); }
.lang__menu a:hover { background: var(--brand-50); }

.mast__burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; color: var(--ink-900); position: relative; transition: color .2s var(--ease); }
.mast__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.mast__burger span:nth-child(1) { top: 17px; } .mast__burger span:nth-child(2) { top: 23px; } .mast__burger span:nth-child(3) { top: 29px; }
body.nav-open .mast__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .mast__burger span:nth-child(2) { opacity: 0; }
body.nav-open .mast__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  :root { --header-h: 72px; --header-h-compact: 64px; --logo-h: 40px; }
  .mast__burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--sp-3); margin: 0; padding: var(--sp-3) var(--gutter) var(--sp-6); background: var(--surface); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility 0s linear var(--dur-fast); }
  .mast.is-scrolled .nav { inset-block-start: var(--header-h-compact); }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .nav__link { flex: 1; min-height: 56px; padding: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: var(--w-reg); letter-spacing: var(--ls-heading); color: var(--ink-900) !important; }
  .nav__link::after { display: none; }
  .nav__toggle-sub { margin: 0; width: 56px; height: 56px; color: var(--ink-900) !important; }
  .nav__link--btn { justify-content: space-between; width: 100%; }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; opacity: 1; visibility: visible; transform: none; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s var(--ease); }
  .nav__sub-inner { min-height: 0; overflow: hidden; }
  .nav__item.is-open > .nav__sub, .nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { grid-template-rows: 0fr; }
  .nav__item.is-open > .nav__sub, .nav__item.is-open:hover > .nav__sub { grid-template-rows: 1fr; }
  .nav__item.is-open > .nav__sub .nav__sub-inner { padding-bottom: var(--sp-1); }
  .nav__sub a { min-height: 48px; display: flex; align-items: center; padding: 0 .2em; font-size: 1.05rem; }
  .nav__cta { min-height: 48px; margin: var(--sp-2) 0 0; justify-content: center; background: var(--brand-700) !important; color: var(--white) !important; border-color: var(--brand-700) !important; }
}
@media (max-width: 760px) { .nav__cta { min-height: 48px; } }

/* ---------- 6. Banner (anasayfa) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--brand-950); color: var(--white); overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; display: flex; align-items: flex-end; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero__bg { position: absolute; inset: 0; background-image: var(--d); background-size: cover; background-position: center; transform: scale(1.04); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(0deg, rgba(1,21,36,.94) 0%, rgba(1,21,36,.7) 28%, rgba(1,21,36,.18) 60%, rgba(1,21,36,.4) 100%),
  linear-gradient(90deg, rgba(1,21,36,.72) 0%, rgba(1,21,36,.34) 40%, transparent 70%); }
.hero__inner { position: relative; z-index: 2; padding-block: calc(var(--header-h) + var(--sp-4)) calc(var(--hero-pad-b) + var(--stat-overlap)); }
.hero--plain { height: clamp(320px, 30vw, 420px); background: var(--brand-900); }
.hero--plain .hero__inner { display: flex; align-items: flex-end; height: 100%; }
.hero__title { font-family: var(--font-display); font-size: var(--fs-display); font-weight: var(--w-reg); line-height: var(--lh-tight); letter-spacing: var(--ls-display); color: var(--white); max-width: 18ch; text-wrap: balance; }
.hero__sub { margin-top: var(--sp-3); max-width: 52ch; font-size: var(--fs-lead); line-height: 1.55; color: rgba(255,255,255,.9); }
.hero__actions { margin-top: var(--sp-4); }
.hero .btn--light { box-shadow: 0 6px 24px rgba(1,21,36,.45); }
.hero__slide.is-active .hero__title, .hero__slide.is-active .hero__sub, .hero__slide.is-active .hero__actions { animation: heroRise .6s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero__slide.is-active .hero__sub { animation-delay: .06s; }
.hero__slide.is-active .hero__actions { animation-delay: .12s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(clamp(4rem, 3vw + 3rem, 5.5rem) + var(--stat-overlap)); }
.hero__controls-inner { display: flex; align-items: center; gap: var(--sp-3); }
.hero__dots { display: flex; gap: var(--sp-1); align-items: center; }
.hero__dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; position: relative; transition: width .3s var(--ease); }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -2px; }
.hero__dot::before { background: rgba(255,255,255,.4); box-shadow: 0 0 0 1px rgba(1,21,36,.25); }
.hero__dot::after { background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active { width: 44px; }
.hero__dot.is-active::after { transform: scaleX(1); }
.hero.is-playing .hero__dot.is-active::after { animation: heroProgress var(--hero-int, 6500ms) linear both; }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__btns { display: flex; gap: var(--sp-1); margin-left: auto; }
.hero__btn { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--radius); background: rgba(255,255,255,.12); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color var(--dur-fast) var(--ease); }
.hero__btn:hover { background: rgba(255,255,255,.22); }
.hero__btn:focus:not(:focus-visible) { outline: none; }
.hero__btn svg { width: 18px; height: 18px; }
.hero__btn .i-play { display: none; }
.hero:not(.is-playing) .hero__btn .i-pause { display: none; }
.hero:not(.is-playing) .hero__btn .i-play { display: block; }
@media (max-width: 760px) {
  :root { --stat-overlap: 0px; }
  .hero { height: 100vh; height: 100svh; }
  .hero__bg { background-image: var(--m, var(--d)); }
  .hero__inner { padding-block: calc(var(--header-h) + var(--sp-2)) var(--sp-6); }
  .hero__controls { bottom: 1.1rem; }
  .hero__actions .btn { width: 100%; }
  .hero__btns .hero__btn[data-hero-prev], .hero__btns .hero__btn[data-hero-next] { display: none; }

}

/* Kaydır işareti */
.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: calc(var(--stat-overlap) + 20px); margin-left: -14px; width: 28px; height: 28px; display: grid; place-items: center; color: rgba(255,255,255,.8); transition: opacity .4s ease; }
.hero__cue.is-hidden { opacity: 0; pointer-events: none; }
.hero__cue svg { width: 20px; height: 20px; animation: cueBreathe 1.6s ease-in-out infinite; }
@keyframes cueBreathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 760px) { .hero__cue { display: none; } }

/* ---------- 7. Sayaç şeridi ---------- */
.stats-strip { position: relative; z-index: 4; margin-top: calc(-1 * var(--stat-overlap)); /* kartın yarısı hero'ya biner */ scroll-margin-top: calc(var(--header-h-compact) + var(--sp-3)); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: var(--radius); box-shadow: var(--sh-1); padding: var(--sp-4) 0; }
.stat { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-4); min-width: 0; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__icon { flex: none; display: grid; place-items: center; width: var(--icon-xl); height: var(--icon-xl); color: var(--brand-700); }
.stat__body { min-width: 0; display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-body); font-size: 2.375rem; line-height: 1.1; font-weight: var(--w-bold); color: var(--brand-700); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.9375rem; color: var(--ink-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: var(--sp-1) 0; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat + .stat { border-left: 1px solid var(--border); }
  .stat:nth-child(odd) { border-left: 0; }
}
@media (max-width: 767px) {
  .stats-strip { margin-top: 0; padding-top: var(--sp-3); }
  .stats { box-shadow: none; border: 1px solid var(--border); padding: 0; }
  .stat { padding: var(--sp-2) var(--sp-2); gap: var(--sp-12); }
  .stat__icon { width: var(--icon-lg); height: var(--icon-lg); } .stat__icon .icon { width: var(--icon-lg); height: var(--icon-lg); }
  .stat__num { font-size: 1.75rem; }
  .stat { align-items: center; }
  .stat__label { font-size: var(--fs-xs); white-space: normal; overflow: visible; text-overflow: clip; hyphens: none; overflow-wrap: normal; line-height: 1.3; }
}

/* ---------- 8. Bölüm başlığı / page-hero / sekmeler ---------- */
/* Bölüm başlığı (§30): tek component, iki hizalama */
.section-header { margin-bottom: var(--sp-4); }
.section-header__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-2) var(--sp-4); flex-wrap: wrap; }
.section-header__text { min-width: 0; }
.section-header__eyebrow { display: flex; align-items: center; gap: var(--sp-12); margin-bottom: var(--sp-12); font-family: var(--font-body); font-size: 13px; font-weight: var(--w-semi); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.section-header__eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-header__title { font-size: var(--fs-h2); font-weight: var(--w-med); line-height: 1.2; }
.section-header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.section-header--center .section-header__row { justify-content: center; text-align: center; }
.section-header--center .section-header__eyebrow { justify-content: center; }
.section-header--center .section-header__eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-header.has-tabs .section-header__tabs { margin-top: var(--sp-4); }
.section-header.has-tabs { margin-bottom: 0; }
.section-header.has-tabs + * { margin-top: var(--sp-3); }

.page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(220px, 20vw + 120px, 360px); background: var(--brand-900); color: var(--white); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-image: var(--d); background-size: cover; background-position: center; }
.page-hero__bg--pattern { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px), linear-gradient(120deg, var(--brand-800), var(--brand-950)); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(2,33,58,calc(var(--hero-overlay, .55) + .2)) 0%, rgba(2,33,58,var(--hero-overlay, .55)) 55%, rgba(1,13,22,calc(var(--hero-overlay, .55) - .1)) 100%); }
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + var(--sp-3)); padding-bottom: var(--page-hero-pb); }
.page-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.page-hero__text { min-width: 0; max-width: 52rem; }
.crumbs { display: flex; flex-wrap: nowrap; gap: .5em; align-items: center; margin-bottom: var(--sp-2); font-size: var(--fs-xs); font-weight: var(--w-semi); letter-spacing: .02em; color: var(--ink-500); min-width: 0; }
.crumbs > * { flex: none; }
.crumbs > [aria-current] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: var(--ink-800); }
.page-hero .crumbs { color: rgba(255,255,255,.8); }
.page-hero .crumbs a:hover, .page-hero .crumbs [aria-current] { color: var(--white); }
.page-hero__title { font-size: var(--fs-h1); color: var(--white); overflow-wrap: anywhere; }
.page-hero--detail .page-hero__title { font-size: var(--fs-detail); font-weight: var(--w-semi); line-height: 1.2; }
.page-hero__lead { margin-top: var(--sp-2); font-size: var(--fs-lead); color: rgba(255,255,255,.88); max-width: 52ch; text-align: left; }
.page-hero .share__label { color: rgba(255,255,255,.8); }
.page-hero .icon-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: var(--white); }
.page-hero .icon-btn:hover { background: var(--white); color: var(--brand-800); border-color: var(--white); }
@media (max-width: 760px) { .page-hero { min-height: 220px; } .page-hero__bg { background-image: var(--m, var(--d)); } .page-hero__row { align-items: flex-start; flex-direction: column; } }

/* Ortak sekmeler (x-tabs): ortalı, aktif alt çizgi, tam genişlik alt border, taşarsa ortadan başlayan kaydırma */
.tabs { border-bottom: 1px solid var(--border); background: var(--surface); }
.tabs--sticky { position: sticky; top: var(--header-h-compact); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.tabs__list { display: flex; justify-content: center; justify-content: safe center; gap: var(--tabs-gap); overflow-x: auto; scrollbar-width: none; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.tabs__list::-webkit-scrollbar { display: none; }
button.tab { background: none; border: 0; border-radius: 0; font-family: inherit; cursor: pointer; }
.tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: .6em; padding: 1.1em 0; font-size: var(--fs-sm); font-weight: var(--w-bold); letter-spacing: .02em; color: var(--ink-500); transition: color var(--dur-fast) var(--ease); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand-700); transform: scaleX(0); transition: transform var(--dur-fast) var(--ease); }
.tab:hover { color: var(--ink-900); }
.tab.is-active { color: var(--brand-700); }
.tab.is-active::after { transform: scaleX(1); }
.tab__count { font-size: var(--fs-xs); padding: .1em .6em; border-radius: var(--radius-sm); background: var(--accent-tint); font-variant-numeric: tabular-nums; }
.tabs-gap { margin-bottom: var(--tabs-mb); }
.empty { padding-block: var(--sp-6); text-align: center; color: var(--ink-500); font-size: var(--fs-lead); }

/* ---------- 9. Kartlar (tek ortak x-card, §21): görsel → meta → başlık. Zemin/border/gölge YOK. ---------- */
.card { display: flex; flex-direction: column; height: 100%; min-width: 0; color: inherit; text-align: left; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.card__stack { position: relative; display: block; }
.card__media { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background-color: var(--surface-alt); aspect-ratio: 4 / 3; }
.card--news .card__media { aspect-ratio: 16 / 10; }
.card--article .card__media { aspect-ratio: 3 / 2; }
.card--album .card__media { aspect-ratio: 4 / 3; }
.card--video .card__media { aspect-ratio: 16 / 9; }
.card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s var(--ease-out); }
.card:hover .card__img, .card:focus-visible .card__img { transform: scale(1.03); }
.card--news .card__body { position: relative; }
.card--news .card__body::before { content: ""; position: absolute; left: -10px; top: 12px; bottom: 4px; width: 3px; background: var(--brand-700); opacity: 0; transition: opacity var(--dur-fast) var(--ease); }
.card__badge { position: absolute; left: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; gap: var(--sp-1); padding: var(--sp-icon) var(--sp-1); border-radius: var(--radius-sm); font-size: 11px; line-height: 1.3; font-weight: var(--w-bold); background: rgba(255,255,255,.9); color: var(--brand-800); }
.card__badge::before { content: ""; width: 6px; height: 6px; background: var(--ok); }
.card__badge--ongoing::before { background: var(--warm); }
.card__count { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: var(--sp-1); padding: var(--sp-icon) var(--sp-1); border-radius: var(--radius-sm); font-size: 11px; font-weight: var(--w-bold); background: rgba(1,21,36,.8); color: var(--white); }
.card__count svg { width: 14px; height: 14px; }
.card__body { display: flex; flex-direction: column; gap: var(--sp-1); padding: var(--sp-2) 0 0; min-width: 0; }
.card__meta { display: flex; align-items: center; gap: var(--sp-1); height: 1.5em; font-size: 0.8125rem; line-height: 1.5; font-weight: var(--w-med); color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__cal { flex: none; width: 14px; height: 14px; }
.card__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: calc(2 * 1.3em); font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.3; font-weight: var(--w-semi); letter-spacing: var(--ls-heading); color: var(--brand-800); text-wrap: pretty; overflow-wrap: anywhere; transition: color var(--dur-fast) var(--ease); }
.card--article .card__title { font-size: 1.1875rem; }
.card:hover .card__title, .card:focus-visible .card__title { color: var(--brand-500); }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(255,255,255,.95); color: var(--brand-700); box-shadow: var(--sh-1); transition: transform var(--dur-fast) var(--ease); }
.play svg { width: 22px; height: 22px; margin-left: var(--sp-icon); }
.card--video:hover .play { transform: scale(1.06); }

/* Sabit kart grid'i (§24): 4 / 2 / 1 */
.card-grid { --gap-x: var(--sp-4); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5) var(--gap-x); }
.card-grid--few { display: flex; flex-wrap: wrap; justify-content: center; }
.card-grid--few > * { flex: 0 0 calc((100% - 3 * var(--gap-x)) / 4); }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-grid--few > * { flex-basis: calc((100% - var(--gap-x)) / 2); } }
@media (max-width: 640px) { .card-grid--peek { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: var(--sp-2); } .card-grid--peek::-webkit-scrollbar { display: none; } .card-grid--peek > * { flex: 0 0 83%; scroll-snap-align: start; min-width: 0; } .card-grid { grid-template-columns: minmax(0, 1fr); --gap-x: var(--sp-2); gap: var(--sp-4) var(--gap-x); } .card-grid--few > * { flex-basis: 100%; } }
.grid { display: grid; gap: var(--grid-gap-y) var(--grid-gap-x); grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- 10. Slider (scroll-snap; kart sayısı az ise kartlar tam doldurur: --n) ---------- */
.strip { position: relative; --gap: var(--sp-4); --vis-d: 4; --vis: var(--vis-d); }
.strip__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.strip__viewport::-webkit-scrollbar { display: none; }
.strip__track { display: flex; gap: var(--gap); }
.strip__track > * { flex: 0 0 calc((100% - var(--gap) * (var(--vis) - 1)) / var(--vis)); scroll-snap-align: start; min-width: 0; }
.strip__nav { display: flex; gap: var(--sp-1); }
.strip__btn { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink-900); box-shadow: var(--sh-1); transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.strip__btn:hover:not(:disabled) { background: var(--brand-700); color: var(--white); }
.strip__btn:focus:not(:focus-visible) { outline: none; }
.strip__btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
.strip__btn svg { width: 20px; height: 20px; }
.strip.is-single .strip__nav { visibility: hidden; }
@media (max-width: 1100px) { .strip { --vis-d: 2; } }
@media (max-width: 760px) { .strip { --vis-d: 1.2; } .strip__viewport { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }

/* ---------- 11. Anasayfa ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--split-gap); align-items: center; }
.about-intro__portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); max-width: 480px; width: 100%; }
.about-intro__portrait.bg-img { background-position: center top; }
.about-intro__text { margin-top: var(--sp-2); font-size: 1.125rem; line-height: 1.75; color: var(--ink-700); max-width: 56ch; }
.about-intro__cta { margin-top: var(--sp-3); }
@media (max-width: 900px) { .about-intro { grid-template-columns: minmax(0, 1fr); } .about-intro__portrait { max-width: 380px; } }

.media-panels { display: grid; grid-template-columns: minmax(0, 1fr); }
.media-panel { grid-area: 1 / 1; min-width: 0; transition: opacity 200ms ease, visibility 200ms; }
.media-panel:not(.is-active) { opacity: 0; visibility: hidden; pointer-events: none; }
.media-panel__bar { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-3); min-height: 44px; margin-bottom: var(--sp-3); }
.media-panel__bar .strip__nav.is-idle { visibility: hidden; }
.media-preview { display: grid; gap: var(--media-gap); }

.cta { text-align: center; padding-block: calc(var(--section-y) * 1.5); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(74,127,163,.26), transparent 62%); pointer-events: none; }
.cta__inner { position: relative; max-width: 46rem; margin-inline: auto; }
.cta__title { font-size: var(--fs-h1); color: var(--white); }
.cta__text { margin-top: var(--sp-2); font-size: var(--fs-lead); color: rgba(255,255,255,.82); text-align: center; }
.cta__actions { margin-top: var(--sp-3); }

/* ---------- 12. Hakkımda ---------- */

.bio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--split-gap); align-items: start; }
.bio__aside { position: sticky; top: calc(var(--header-h-compact) + 5rem); display: grid; gap: var(--sp-3); }
.bio__portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); background-position: center top; }
.pullquote { position: relative; padding: var(--sp-3) 0 0; border-top: 2px solid var(--brand-700); font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.4; font-weight: var(--w-reg); letter-spacing: var(--ls-heading); color: var(--brand-800); font-style: italic; text-wrap: balance; }
.pullquote::before { content: "\201C"; position: absolute; top: .1em; left: -.02em; font-size: 3em; line-height: 1; color: var(--brand-200); }
.pullquote p { position: relative; padding-top: .9em; }
@media (max-width: 900px) { .bio { grid-template-columns: minmax(0, 1fr); } .bio__aside { position: static; order: -1; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: end; } }
@media (max-width: 600px) { .bio__aside { grid-template-columns: minmax(0, 1fr); } .bio__portrait { max-width: 320px; } }

/* Gövde (.prose) */
.prose { max-width: var(--maxw-text); font-size: 1.0625rem; color: var(--ink-700); }
.prose > * + * { margin-top: 1.25em; }
.prose p { line-height: var(--lh-body); }
.prose > p:first-of-type { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-800); }
.prose h2 { font-size: var(--fs-h3); margin-top: 2em; }
.prose h3 { font-size: var(--fs-h4); margin-top: 1.8em; }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--brand-800); }
.prose strong { color: var(--ink-900); font-weight: var(--w-bold); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li::marker { color: var(--brand-400); }
.prose img { width: 100%; height: auto; border-radius: var(--radius); margin-block: 1.6em; }
.prose blockquote { padding-left: var(--sp-3); border-left: 3px solid var(--brand-300); font-family: var(--font-display); font-size: var(--fs-h4); font-style: italic; color: var(--brand-800); }

/* Timeline (§19): ortalı, zigzag */
.tl2 { --tl-gap: var(--sp-7); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--tl-gap); row-gap: 0; max-width: 1240px; margin-inline: auto; }
.tl2::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--border); }
.tl2__item { position: relative; grid-row: var(--row) / span 2; margin-bottom: var(--sp-4); min-width: 0; }
.tl2__item--l { grid-column: 1; }
.tl2__item--r { grid-column: 2; }
.tl2__card { width: calc(100% - 150px); padding: var(--sp-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--sh-1); }
.tl2__item--r .tl2__card { margin-left: auto; }
.tl2__mark { position: absolute; top: 28px; width: 12px; height: 12px; background: var(--brand-700); border-radius: var(--radius-sm); }
.tl2__item--l .tl2__mark { right: calc(var(--tl-gap) / -2 - 6px); }
.tl2__item--r .tl2__mark { left: calc(var(--tl-gap) / -2 - 6px); }
.tl2__item.is-current .tl2__mark { background: var(--warm); box-shadow: 0 0 0 5px var(--warm-tint); }
.tl2__period { position: absolute; top: 22px; white-space: nowrap; font-size: 1.0625rem; font-weight: var(--w-bold); color: var(--brand-700); font-variant-numeric: tabular-nums; }
.tl2__item--l .tl2__period { left: calc(100% + var(--tl-gap) / 2 + 22px); }
.tl2__item--r .tl2__period { right: calc(100% + var(--tl-gap) / 2 + 22px); }
.tl2__now { display: inline-block; padding: .05em .6em; border-radius: var(--radius-sm); background: var(--warm-tint); color: var(--warm); }
.tl2__title { font-size: 1.3125rem; font-weight: var(--w-semi); line-height: 1.25; overflow-wrap: anywhere; }
.tl2__sub { margin-top: var(--sp-1); font-size: 0.9375rem; color: var(--fg-muted); }
.tl2__desc { margin-top: var(--sp-12); font-size: 0.9375rem; line-height: 1.6; color: var(--ink-700); text-align: left; }
.tl2__desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tl2__more { margin-top: var(--sp-1); padding: 0; background: none; border: 0; font-size: 0.875rem; font-weight: var(--w-bold); color: var(--accent-text); }
@media (max-width: 1024px) { .tl2 { --tl-gap: var(--sp-5); } .tl2__card { width: calc(100% - 140px); padding: var(--sp-3); } }
@media (max-width: 768px) {
  .tl2 { display: block; padding-left: var(--sp-4); }
  .tl2::before { left: 5px; margin-left: 0; }
  .tl2__item { margin-bottom: var(--sp-3); }
  .tl2__card { width: 100%; margin-left: 0 !important; }
  .tl2__mark { left: -28px !important; right: auto !important; top: 6px; }
  .tl2__period { position: static; display: block; margin-bottom: var(--sp-1); }
}

/* ---------- 13. Sayfalama (§22) ---------- */
.pagination { margin-top: var(--pager-mt); }
.pagination__list { display: flex; justify-content: center; align-items: center; gap: var(--sp-1); flex-wrap: wrap; }
.pagination__item { display: inline-flex; }
.pagination__link { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: var(--radius-sm); background: transparent; font-size: var(--fs-sm); font-weight: var(--w-bold); color: var(--ink-700); font-variant-numeric: tabular-nums; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
a.pagination__link:hover { background: var(--surface-alt); }
.pagination__link svg { width: 18px; height: 18px; }
.pagination__item.is-active .pagination__link { background: var(--brand-700); color: var(--white); }
.pagination__item.is-disabled { opacity: .4; }
.pagination__gap { width: 24px; justify-content: center; align-items: center; color: var(--ink-400); }
.pagination__compact { display: none; padding: 0 var(--sp-12); font-size: var(--fs-sm); font-weight: var(--w-bold); color: var(--ink-700); font-variant-numeric: tabular-nums; }
@media (max-width: 390px) { .pagination__num, .pagination__gap { display: none; } .pagination__compact { display: inline-flex; } }

/* ---------- 14. Detay şablonu ---------- */
.share { display: flex; align-items: center; gap: var(--sp-1); }
.share__label { margin-right: var(--sp-1); font-size: var(--fs-xs); font-weight: var(--w-bold); letter-spacing: .12em; color: var(--ink-500); }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); font-size: 0.875rem; font-weight: var(--w-semi); color: var(--fg-muted); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.chip { display: inline-flex; align-items: center; padding: .3em .8em; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand-700); font-size: var(--fs-xs); font-weight: var(--w-bold); letter-spacing: .03em; }
.chip--ongoing { background: var(--warm-tint); color: var(--warm); }
.detail-lead { margin-top: var(--sp-2); font-size: var(--fs-detail-body); line-height: 1.65; color: var(--ink-700); text-align: justify; hyphens: auto; }
.detail-cover { aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); margin-top: var(--sp-4); }
.detail-body { margin-top: var(--sp-40); }
.section--detail { padding-top: var(--sp-5); }
@media (max-width: 760px) { .section--detail { padding-top: var(--sp-4); } }
.page-hero__meta { margin-top: var(--sp-1); font-size: 0.875rem; color: rgba(255,255,255,.8); }
.crumbs__current { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs__back { display: none; }
@media (max-width: 768px) { .crumbs__current { max-width: 160px; } .crumbs:has(.crumbs__back) > :not(.crumbs__back) { display: none; } .crumbs > .crumbs__back { display: inline-flex; align-items: center; min-height: 44px; } }
.page-hero--detail .page-hero__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.detail-content { max-width: var(--maxw-content); margin-inline: auto; }
.detail-content .prose { max-width: none; font-size: var(--fs-detail-body); line-height: 1.7; }
.detail-content .prose > p:first-of-type { font-size: inherit; line-height: inherit; color: inherit; }
.detail-content .prose p, .detail-content .prose li { text-align: justify; }
.collapsible__body { position: relative; }
.collapsible.is-collapsed .collapsible__body { max-height: 560px; overflow: hidden; }
.collapsible.is-collapsed .collapsible__body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(0deg, var(--bg) 8%, transparent); pointer-events: none; }
.collapsible__toggle { margin-top: var(--sp-2); }


/* ---------- 15. Galeri / lightbox / video / toast ---------- */
.gallery { --gcols: 6; --ggap: var(--sp-1); display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--ggap); }
.gallery > .gallery__item { flex: 0 0 calc((100% - (var(--gcols) - 1) * var(--ggap)) / var(--gcols)); }
.gallery--lt6 { justify-content: center; }
.gallery__item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--surface-alt); }
.gallery__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease-out); }
.gallery__item:hover .gallery__img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(1,21,36,0); transition: background-color var(--dur-fast) var(--ease); }
.gallery__item:hover::after { background: rgba(1,21,36,.2); }
@media (max-width: 1023px) { .gallery { --gcols: 4; justify-content: flex-start; } .gallery--lt4 { justify-content: center; } }
@media (max-width: 767px) { .gallery { --gcols: 3; --ggap: var(--sp-icon); justify-content: flex-start; } .gallery--lt3 { justify-content: center; } }

.lb { position: fixed; inset: 0; z-index: 250; display: none; flex-direction: column; background: var(--scrim); color: var(--white); }
.lb.is-open { display: flex; animation: fadeIn .3s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lb__bar { flex: none; min-height: 64px; padding: var(--sp-1) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); font-size: var(--fs-sm); font-weight: var(--w-bold); font-variant-numeric: tabular-nums; }
.lb__tools { display: flex; align-items: center; gap: var(--sp-1); flex-wrap: wrap; justify-content: flex-end; }
.lb__btn { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: var(--white); transition: background var(--dur-fast) var(--ease); }
.lb__btn:hover { background: rgba(255,255,255,.2); }
.lb__btn svg { width: 20px; height: 20px; }
.lb__dl { display: inline-flex; align-items: center; gap: .5em; height: 44px; padding: 0 1em; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); font-size: var(--fs-xs); font-weight: var(--w-bold); letter-spacing: .02em; white-space: nowrap; }
.lb__dl:hover { background: rgba(255,255,255,.2); }
.lb__dl svg { width: 18px; height: 18px; }
.lb__main { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 calc(var(--sp-6) + var(--sp-1)); }
.lb__frame { max-width: 100%; max-height: 100%; border-radius: var(--radius-lg); overflow: hidden; display: grid; }
.lb__img { touch-action: pan-x pan-y pinch-zoom; max-width: 100%; max-height: min(78vh, 100%); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb__img.is-loading { opacity: 0; }
.lb__nav { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; }
.lb__nav--prev { left: 12px; } .lb__nav--next { right: 12px; }
.lb__cap { flex: none; min-height: 28px; padding: var(--sp-1) var(--gutter) 0; text-align: center; font-size: var(--fs-sm); color: rgba(255,255,255,.8); }
.lb__thumbs { flex: none; display: flex; gap: var(--sp-1); justify-content: safe center; overflow-x: auto; padding: var(--sp-1) var(--gutter) var(--sp-2); scrollbar-width: none; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumb { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); background-size: cover; background-position: center; opacity: .55; transition: opacity var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.lb__thumb:hover { opacity: .9; }
.lb__thumb.is-active { opacity: 1; border-color: var(--white); }
@media (max-width: 700px) {
  .lb__main { padding: 0 var(--sp-1); }
  .lb__nav { top: auto; bottom: 8px; margin: 0; width: 44px; height: 44px; background: rgba(4,18,28,.7); }
  .lb__dl span { display: none; } .lb__dl { padding: 0; width: 44px; justify-content: center; }
  .lb__thumb { width: 52px; height: 52px; }
}

.vm { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; padding: var(--gutter); background: var(--scrim); }
.vm.is-open { display: grid; animation: fadeIn .3s var(--ease) both; }
.vm__box { width: min(1100px, 100%); }
.vm__frame { position: relative; aspect-ratio: 16 / 9; background: var(--black); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-2); }
.vm__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vm__title { margin-top: var(--sp-2); color: rgba(255,255,255,.85); font-size: var(--fs-sm); font-weight: var(--w-semi); }
.vm__close { position: absolute; top: 1rem; right: 1rem; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: .8em 1.3em; border-radius: var(--radius); background: var(--ink-900); color: var(--white); font-size: var(--fs-sm); font-weight: var(--w-semi); box-shadow: var(--sh-2); transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
body.lb-open .toast { bottom: calc(var(--sp-7) + var(--sp-5)); }

/* ---------- 16. Kurum kartları (§39): tek parça, hover'da logo yükselir + ad/görev kartın içinde belirir ---------- */
.inst { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; min-height: 300px; color: inherit; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 250ms ease, box-shadow 250ms ease; }
.inst__box { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: var(--sp-3); }
.inst__logo { display: block; width: auto; height: auto; max-width: 75%; max-height: 200px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .7; transition: filter 250ms ease, opacity 250ms ease, transform 250ms ease; }
.inst__info { position: absolute; inset-inline: var(--sp-2); bottom: var(--sp-2); display: flex; flex-direction: column; align-items: center; gap: var(--sp-icon); text-align: center; min-width: 0; opacity: 0; transform: translateY(var(--sp-12)); transition: opacity 250ms ease, transform 250ms ease; pointer-events: none; }
.inst__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9375rem; line-height: 1.3; font-weight: var(--w-semi); color: var(--ink-900); overflow-wrap: anywhere; }
.inst__sub { max-width: 100%; font-size: 0.8125rem; line-height: 1.4; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inst:hover .inst__logo, .inst:focus-visible .inst__logo, .inst:focus-within .inst__logo { filter: none; opacity: 1; transform: translateY(-20px) scale(var(--hover-scale, 1)); }
.inst:hover .inst__info, .inst:focus-visible .inst__info, .inst:focus-within .inst__info { opacity: 1; transform: none; }
a.inst:hover, a.inst:focus-visible { border-color: var(--brand-400); box-shadow: var(--sh-1); }
@media (hover: none), (max-width: 390px) {
  .inst { min-height: 240px; }
  .inst__box { flex: none; min-height: 200px; }
  .inst__logo { filter: none; opacity: 1; transform: translateY(-20px); max-height: 150px; }
  .inst__info { position: static; opacity: 1; transform: none; padding: 0 var(--sp-2) var(--sp-2); pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .inst__logo, .inst__info { transition: none; } }

/* ---------- 17. İletişim / form ---------- */
.contact-stack { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--contact-gap); align-items: start; }
.contact-form { grid-column: span 7; }
.contact-aside { grid-column: span 5; }
.contact-stack--single .contact-form { grid-column: 3 / span 8; max-width: 760px; width: 100%; justify-self: center; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--card-pad); }
.form { display: grid; gap: var(--sp-3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.field { display: flex; flex-direction: column; gap: .5em; }
.field__label { font-size: var(--fs-xs); font-weight: var(--w-bold); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-600); }
.field input, .field textarea { width: 100%; min-height: 48px; font-family: inherit; font-size: max(16px, var(--fs-body)); font-weight: var(--w-med); color: var(--ink-900); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8em 1.1em; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px var(--accent-tint); }
.field textarea { min-height: 180px; resize: vertical; }
.form__consent { display: flex; align-items: flex-start; gap: .75em; font-size: var(--fs-sm); color: var(--ink-600); }
.form__consent input { flex: none; width: 19px; height: 19px; margin-top: .2em; accent-color: var(--brand-700); }
.form__consent a { color: var(--brand-700); font-weight: var(--w-bold); text-decoration: underline; text-underline-offset: 3px; }
.form__actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-3); flex-wrap: wrap; }
.contact-intro { font-size: var(--fs-body); color: var(--ink-700); text-align: left; }
.form__note { font-size: var(--fs-xs); font-weight: var(--w-semi); color: var(--danger); }
.form__alert { padding: var(--sp-2) var(--sp-3); border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-200); color: var(--brand-800); font-weight: var(--w-semi); font-size: var(--fs-sm); }
.form__alert--error { background: var(--danger-tint); border-color: var(--danger-line); color: var(--danger-ink); }
.form__legal { font-size: var(--fs-xs); color: var(--ink-500); }
.contact-aside__title { font-size: var(--fs-h3); }
.contact-aside { display: grid; gap: var(--sp-3); padding: var(--card-pad); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.contact-row { display: flex; gap: var(--sp-2); align-items: flex-start; }
.contact-row__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--brand-700); color: var(--white); }
.contact-row__icon svg { width: 20px; height: 20px; }
.contact-row__k { display: block; font-size: var(--fs-xs); font-weight: var(--w-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); margin-bottom: .2rem; }
.contact-row__v { font-weight: var(--w-bold); color: var(--ink-900); overflow-wrap: anywhere; font-style: normal; }
a.contact-row__v:hover { color: var(--brand-600); }
.person-role { margin-top: var(--sp-1); font-size: 1rem; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social { display: flex; flex-wrap: wrap; gap: var(--sp-12); }
.social-btn { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255,255,255,.08); color: var(--white); transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }
.social--contact { flex-wrap: nowrap; gap: var(--sp-1); }
.social--contact .social-btn { flex: 1 1 0; min-width: 0; max-width: 42px; width: auto; height: auto; aspect-ratio: 1; background: var(--surface-alt); border: 1px solid var(--border); color: var(--brand-700); }
.social--contact .social-btn:hover { background: var(--brand-700); border-color: var(--brand-700); color: var(--white); }
.social-btn--ink { border-color: var(--border); color: var(--ink-900); background: var(--surface); }
.social-btn--ink:hover { background: var(--brand-700); border-color: var(--brand-700); color: var(--white); }
@media (max-width: 900px) { .contact-form, .contact-aside, .contact-stack--single .contact-form { grid-column: 1 / -1; } .form__row { grid-template-columns: minmax(0, 1fr); } .form__actions { justify-content: stretch; } .form__actions .btn { width: 100%; } }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--brand-900); color: rgba(255,255,255,.72); padding-top: var(--sp-6); }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-4); padding-bottom: var(--footer-pb); }
.footer__brand { grid-column: span 4; min-width: 0; }
.footer__brand:only-child { grid-column: 1 / -1; }
.footer__cols { grid-column: span 8; display: flex; justify-content: space-between; gap: var(--sp-4) var(--sp-5); min-width: 0; }
.footer__col { flex: 0 0 auto; min-width: 0; }
.footer__col--contact { flex: 0 1 280px; }
.footer__contact a, .footer__contact span.footer__line { overflow-wrap: anywhere; max-width: none; }
.footer__logo { width: 167px; height: auto; }
.footer__desc { margin-top: var(--sp-2); max-width: 320px; font-size: 0.9375rem; line-height: 1.6; color: rgba(255,255,255,.7); text-align: left; hyphens: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.social--footer { margin-top: var(--sp-20); }
.footer__logo + .social--footer { margin-top: var(--sp-3); }
.footer__desc + .social--footer { margin-top: var(--sp-20); }
.social--footer .social-btn { width: 40px; height: 40px; background: rgba(255,255,255,.1); border: 0; color: var(--white); }
.social--footer .social-btn:hover { background: var(--white); color: var(--brand-800); }
.footer__title { margin-bottom: var(--sp-1); font-family: var(--font-body); font-size: 0.9375rem; font-weight: var(--w-bold); letter-spacing: 0; text-transform: none; color: var(--white); }
.footer__menu a, .footer__contact a, .footer__contact span.footer__line { display: block; font-size: 0.875rem; font-weight: var(--w-med); line-height: 36px; color: rgba(255,255,255,.7); transition: color var(--dur-fast) var(--ease); overflow-wrap: anywhere; }
.footer__contact a { line-height: 1.5; padding-block: var(--sp-1); }
.footer__menu a:hover, .footer__contact a:hover { color: var(--white); }
.footer__contact { font-style: normal; }
.footer__contact span.footer__line { line-height: 1.6; padding-block: var(--sp-1); max-width: 22ch; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--line-dark); padding-block: var(--sp-3); font-size: 0.75rem; }
.footer__legal a { padding: .3em 1em; color: rgba(255,255,255,.65); transition: color var(--dur-fast) var(--ease); }
.footer__legal a:hover { color: var(--white); }
.footer__legal a + a { border-left: 1px solid var(--line-dark); }
.footer__bar { border-top: 1px solid var(--line-dark-soft); }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); padding-block: var(--sp-2); font-size: 0.8125rem; font-weight: var(--w-semi); }
.footer__credit { margin-left: auto; display: inline-flex; align-items: center; gap: var(--sp-1); min-height: 44px; color: rgba(255,255,255,.7); transition: color var(--dur-fast) var(--ease); }
.footer__credit b { font-weight: var(--w-bold); }
.footer__credit:hover { color: var(--white); }
@media (max-width: 1024px) { .footer__top { grid-template-columns: minmax(0, 1fr); } .footer__brand, .footer__cols { grid-column: 1 / -1; } }
@media (max-width: 900px) { .footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bar-inner { flex-direction: column; text-align: center; }
}

/* ---------- 19. Çerez bandı ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -10px 36px rgba(2,33,58,.12); transform: translateY(100%); transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.cookie-bar.is-in { transform: none; }
.cookie-bar.is-hiding { transform: translateY(100%); opacity: 0; }
.cookie-bar__inner { display: flex; align-items: center; gap: var(--cookie-gap); padding-block: var(--sp-3); }
.cookie-bar__text { flex: 1 1 auto; margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-700); text-align: left; }
.cookie-bar__text a { color: var(--brand-700); font-weight: var(--w-bold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar__actions { flex: none; display: flex; gap: var(--sp-1); }
.cookie-bar__actions .btn { min-height: 44px; }
@media (max-width: 760px) { .cookie-bar__inner { flex-direction: column; align-items: stretch; gap: var(--sp-2); } .cookie-bar__actions .btn { flex: 1 1 0; } }

/* ---------- 20. Hata ---------- */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; padding-block: var(--section-y); }
.notfound__code { font-family: var(--font-display); font-size: clamp(3.5rem, 2rem + 5vw, 6rem); line-height: .9; letter-spacing: var(--ls-display); font-weight: var(--w-reg); color: var(--brand-100); }
.notfound__title { margin-top: var(--sp-2); font-size: var(--fs-h1); }
.notfound__text { margin-top: var(--sp-2); color: var(--ink-600); font-size: var(--fs-lead); max-width: 44ch; }
.notfound__body { text-align: center; }
.notfound__actions { margin-top: var(--sp-3); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }

/* ---------- 21. Hareket ---------- */
/* Scroll reveal (§23): yalnız transform + opacity. Gizleme yalnız html.js altında. */
html.js .stats[data-stats]:not(.is-in) { opacity: 0; transform: translateY(60px); }
html.js .stats[data-stats] { transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1); }
html.js .stats[data-stats]:not(.is-in) .stat { opacity: 0; }
html.js .stats[data-stats] .stat { transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1); }
html.js .stats[data-stats].is-in .stat { transition-delay: calc(var(--i, 0) * 100ms); }
html.js [data-reveal]:not(.is-in), html.js [data-reveal-stagger]:not(.is-in) > * { opacity: 0; transform: translateY(24px); }
html.js [data-reveal], html.js [data-reveal-stagger] > * { transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
html.js [data-reveal-stagger].is-in > * { transition-delay: calc(var(--i, 0) * 80ms); }
html.js [data-reveal]:not(.is-done), html.js [data-reveal-stagger]:not(.is-done) > * { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js .stats[data-stats], html.js .stats[data-stats] .stat { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js [data-reveal], html.js [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__bg { transform: none; }
}

/* Mobil menü kalitesi (§44) */
.nav__foot { display: none; }
@media (max-width: 1024px) {
  .nav { min-height: calc(100svh - var(--header-h)); }
  .nav__list { flex: none; }
  .nav__item { position: relative; align-items: stretch; min-height: 56px; }
  .nav__link { font-family: var(--font-body); font-size: 1.25rem; font-weight: var(--w-med); letter-spacing: 0; min-height: 56px; }
  .nav__item.is-current > .nav__link, .nav__item.is-current > .nav__toggle-sub { color: var(--brand-700) !important; }
  .nav__item.is-current::before { content: ""; position: absolute; left: calc(-1 * var(--gutter)); top: 8px; bottom: 8px; width: 3px; background: var(--brand-700); }
  .nav__toggle-sub { width: var(--sp-5); height: 56px; }
  .nav__link--btn { padding-right: calc((var(--sp-5) - var(--icon-sm)) / 2); }
  .nav__sub a { font-size: 1rem; color: var(--fg-muted); padding-left: var(--sp-2); }
  .nav__sub a[aria-current] { color: var(--brand-700); }
  .nav__foot { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-4); }
  .nav__copy { font-size: var(--fs-xs); color: var(--fg-muted); }
  .social--menu .social-btn { width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--surface-alt); color: var(--brand-700); }
  .social--menu .social-btn:hover { background: var(--brand-700); color: var(--white); }
  body.nav-open .nav__item, body.nav-open .nav__cta { animation: navIn 300ms var(--ease-out) both; }
  body.nav-open .nav__item:nth-child(1) { animation-delay: 40ms; } body.nav-open .nav__item:nth-child(2) { animation-delay: 80ms; }
  body.nav-open .nav__item:nth-child(3) { animation-delay: 120ms; } body.nav-open .nav__item:nth-child(4) { animation-delay: 160ms; }
  body.nav-open .nav__item:nth-child(5) { animation-delay: 200ms; } body.nav-open .nav__cta { animation-delay: 240ms; }
}
@keyframes navIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
