/* =========================================================
   Karabük Özel Sektör Demir-Çelik Haddecileri Derneği
   Tasarım sistemi — "Endüstriyel Miras"
   ========================================================= */

/* ---------- 0. Yazı tipleri ----------
   Sitenin kendi sunucusundan (Google Fonts'a istek yok). Dosyalar yalnızca sitede kullanılan
   karakterleri içerir; listede olmayan bir karakter sistem yazı tipiyle gösterilir.
   Lisans: SIL Open Font License 1.1 (Inter, Barlow Condensed).

   Başlık yazı tipi (Barlow) sayfa başında önceden yüklenir. Gövde yazı tipi (Inter) ilk
   görüntüyü geciktirmesin diye sayfa yüklenince main.js'in eklediği .yazi-tipi-hazir ile
   devreye girer; o zamana kadar Inter ölçülerine ayarlanmış Arial yedeği kullanılır,
   böylece Inter gelince satırlar kaymaz. */
@font-face {
  font-family: "Inter Yedek";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
  size-adjust: 107.4%;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Renk — çelik & köz */
  --steel-950: #080c10;
  --steel-900: #0f161d;
  --steel-800: #18232e;
  --steel-700: #24333f;
  --steel-600: #3a4c5c;
  --steel-400: #7b8c9b;
  --steel-200: #c7d1d9;
  --steel-100: #e4eaef;
  --steel-50:  #f4f7f9;

  --ember-700: #a8300f;
  --ember-600: #c73d14;
  --ember-500: #e14b1a;
  --ember-400: #f4703f;
  --ember-100: #fdece5;

  --amber-500: #f0a500;

  /* Semantik */
  --bg:            #ffffff;
  --bg-subtle:     var(--steel-50);
  --bg-inverse:    var(--steel-950);
  --surface:       #ffffff;
  --surface-raise: #ffffff;
  --border:        #e2e8ee;
  --border-strong: #cbd6df;
  --text:          var(--steel-900);
  --text-muted:    #5a6b7a;
  --text-inverse:  #ffffff;
  --accent:        var(--ember-600);
  --accent-hover:  var(--ember-700);
  --accent-soft:   var(--ember-100);
  /* Beyaz yazılı dolu zeminler (düğme vb.); koyu temada da koyu kalır, kontrast ≥ 4.5 */
  --accent-solid:       var(--ember-600);
  --accent-solid-hover: var(--ember-700);
  --focus:         var(--ember-500);

  /* Tipografi */
  --font-sans: "Inter Yedek", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", var(--font-sans);

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.38vw, 1.44rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.72vw, 1.92rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.25vw, 2.56rem);
  --step-4:  clamp(2.1rem, 1.66rem + 2.1vw, 3.4rem);
  --step-5:  clamp(2.5rem, 1.75rem + 3.6vw, 4.5rem);

  /* Uzay */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.5rem;   --sp-6: 2rem;
  --sp-7: 3rem;     --sp-8: 4rem;     --sp-9: 6rem;

  --container: 1200px;
  --container-narrow: 780px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgb(15 22 29 / 0.06), 0 1px 3px rgb(15 22 29 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(15 22 29 / 0.08), 0 10px 20px -6px rgb(15 22 29 / 0.12);
  --shadow-lg: 0 10px 24px -6px rgb(15 22 29 / 0.14), 0 24px 48px -12px rgb(15 22 29 / 0.18);

  --ring: 0 0 0 3px rgb(225 75 26 / 0.35);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

:root.yazi-tipi-hazir {
  --font-sans: "Inter", "Inter Yedek", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            var(--steel-950);
    --bg-subtle:     var(--steel-900);
    --bg-inverse:    #000000;
    --surface:       var(--steel-900);
    --surface-raise: var(--steel-800);
    --border:        #223140;
    --border-strong: #31465a;
    --text:          #eaf1f6;
    --text-muted:    #9aabb9;
    --accent:        var(--ember-400);
    --accent-hover:  var(--ember-500);
    --accent-soft:   rgb(225 75 26 / 0.14);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 10px 20px -6px rgb(0 0 0 / 0.55);
    --shadow-lg: 0 10px 24px -6px rgb(0 0 0 / 0.6), 0 24px 48px -12px rgb(0 0 0 / 0.65);
  }
}

:root[data-theme="dark"] {
  --bg:            var(--steel-950);
  --bg-subtle:     var(--steel-900);
  --bg-inverse:    #000000;
  --surface:       var(--steel-900);
  --surface-raise: var(--steel-800);
  --border:        #223140;
  --border-strong: #31465a;
  --text:          #eaf1f6;
  --text-muted:    #9aabb9;
  --accent:        var(--ember-400);
  --accent-hover:  var(--ember-500);
  --accent-soft:   rgb(225 75 26 / 0.14);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 10px 20px -6px rgb(0 0 0 / 0.55);
  --shadow-lg: 0 10px 24px -6px rgb(0 0 0 / 0.6), 0 24px 48px -12px rgb(0 0 0 / 0.65);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

::selection { background: var(--accent-solid); color: #fff; }

/* ---------- 3. Yardımcılar ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--subtle { background: var(--bg-subtle); }
.section--dark {
  background: var(--bg-inverse);
  color: #e8eef3;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-head p { color: #9fb1bf; }

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--accent-solid);
  color: #fff;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; top: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 1.75rem; height: 2px;
  background: currentColor;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--text-muted); font-size: var(--step-1); margin-top: var(--sp-3); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.lead { font-size: var(--step-1); color: var(--text-muted); }

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent-solid); color: #fff; }
.btn--primary:hover { background: var(--accent-solid-hover); color: #fff; }
.btn--outline { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost-light { border-color: rgb(255 255 255 / 0.35); color: #fff; background: rgb(255 255 255 / 0.05); }
.btn--ghost-light:hover { background: rgb(255 255 255 / 0.14); color: #fff; border-color: #fff; }

/* ---------- 4. Üst bar + Header ---------- */
.topbar {
  background: var(--steel-950);
  color: #b9c7d2;
  font-size: var(--step--1);
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 2.5rem;
  padding-block: 0.4rem;
}
.topbar__list { display: flex; flex-wrap: wrap; gap: var(--sp-5); list-style: none; padding: 0; margin: 0; }
.topbar a { color: #b9c7d2; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 1em; height: 1em; flex: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 5rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text); }
/* Marka kilidi: amblem görsel, dernek adı gerçek metin.
   Logonun içine gömülü yazı 52px yükseklikte okunmuyordu; metin olarak
   yazıldığında her ölçüde keskin ve temaya otomatik uyumlu. */
.brand__mark { width: 62px; height: 62px; flex: none; }
.brand__text { display: none; line-height: 1.2; }
.brand__sup {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 560px) { .brand__text { display: block; } }

/* Navigasyon */
.nav { display: none; }
@media (min-width: 1024px) { .nav { display: block; } }

.nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav__link:hover { color: var(--accent); background: var(--bg-subtle); }
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 0.85rem; bottom: 0.15rem; height: 2px; background: currentColor;
}
.nav__item { position: relative; }
.nav__chevron { width: 0.7em; height: 0.7em; transition: transform 0.2s var(--ease); }
.nav__item.is-open .nav__chevron { transform: rotate(180deg); }

.nav__submenu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 15rem;
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  background: var(--surface-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav__item.is-open > .nav__submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__submenu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__submenu a:hover { background: var(--accent-soft); color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 1.2rem; height: 1.2rem; }
.header__actions .btn { display: none; }
@media (min-width: 1180px) { .header__actions .btn { display: inline-flex; } }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* Mobil menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr min(22rem, 88vw);
  visibility: hidden;
}
.mobile-nav.is-open { visibility: visible; }
.mobile-nav__scrim {
  background: rgb(8 12 16 / 0.6);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  border: 0;
  cursor: pointer;
}
.mobile-nav.is-open .mobile-nav__scrim { opacity: 1; }
.mobile-nav__panel {
  background: var(--surface);
  overflow-y: auto;
  padding: var(--sp-5);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-5); }
.mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.mobile-nav__list a:hover { color: var(--accent); }
.mobile-nav__list ul { list-style: none; margin: 0 0 0.5rem; padding: 0 0 0 1rem; }
.mobile-nav__list ul a { font-weight: 500; font-size: 0.93rem; color: var(--text-muted); border-bottom: 0; padding: 0.4rem 0; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(82vh, 44rem);
  padding-block: clamp(4rem, 10vw, 7rem);
  background: var(--steel-950);
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease), transform 8s linear;
  transform: scale(1.06);
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgb(8 12 16 / 0.94) 0%, rgb(8 12 16 / 0.78) 45%, rgb(8 12 16 / 0.42) 100%),
    linear-gradient(to top, rgb(8 12 16 / 0.85), transparent 55%);
}
.hero__inner { max-width: 46rem; }
.hero h1 { font-size: var(--step-5); color: #fff; margin-bottom: var(--sp-4); }
.hero h1 em { font-style: normal; color: var(--ember-400); }
.hero__lead { font-size: var(--step-1); color: #cfdae3; max-width: 38rem; margin-bottom: var(--sp-6); }
.hero__eyebrow { color: var(--ember-400); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.hero__dots {
  position: absolute;
  bottom: clamp(1rem, 3.5vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
/* Görünen çizgi 3 px; tıklama alanı 24 px (WCAG 2.5.8) */
.hero__dot {
  position: relative;
  width: 2.25rem; height: 1.5rem;
  border: 0; padding: 0;
  background: none;
  cursor: pointer;
}
.hero__dot::before {
  content: "";
  position: absolute; inset: 50% 0 auto;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.3);
  transition: background-color 0.25s var(--ease);
}
.hero__dot:hover::before { background: rgb(255 255 255 / 0.6); }
.hero__dot[aria-current="true"]::before { background: var(--ember-500); }
.hero__pause {
  display: grid; place-items: center;
  width: 1.75rem; height: 1.75rem;
  margin-left: 0.4rem;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 50%;
  background: rgb(8 12 16 / 0.35);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero__pause:hover { background: rgb(8 12 16 / 0.7); border-color: rgb(255 255 255 / 0.7); }
.hero__pause svg { width: 0.85rem; height: 0.85rem; }
.hero__play-ikon, .hero__pause.is-paused .hero__pause-ikon { display: none; }
.hero__pause.is-paused .hero__play-ikon { display: inline; }

/* ---------- 6. İstatistikler ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.75rem, 1.5vw, 1.25rem);
  text-align: center;
  container-type: inline-size;
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  /* En uzun değer ("500.000 m²") kutuya sığsın: yazı kutu genişliğiyle küçülür.
     Aynı satırdaki kutular eşit genişlikte olduğu için tüm rakamlar aynı boyda kalır. */
  font-size: min(var(--step-4), 23cqi);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  /* Sayaç animasyonunda rakam genişliği değişip satır kırılmasın (düzen kayması) */
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 0.5rem; font-size: var(--step--1); color: var(--text-muted); font-weight: 500; }

.stats--floating { margin-top: calc(-1 * clamp(2rem, 5vw, 4rem)); position: relative; z-index: 5; box-shadow: var(--shadow-lg); }

/* ---------- 7. Kartlar / Izgaralar ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* Yan sütundaki position:sticky öğelerin hareket alanı olması için sütun
   satır yüksekliğince uzamalı — align-items:start bunu içerik yüksekliğine
   sabitler ve sticky etkisiz kalır. */
.grid > aside, .grid > .yan-kutu { align-self: stretch; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__body { padding: clamp(1.25rem, 3vw, 1.75rem); flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.card__title { font-size: var(--step-1); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__text { color: var(--text-muted); font-size: 0.96rem; }
.card__meta { font-size: var(--step--1); color: var(--text-muted); display: flex; gap: 0.75rem; flex-wrap: wrap; }
.card__icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.card__icon svg { width: 1.5rem; height: 1.5rem; }
.card__link { margin-top: auto; padding-top: 0.5rem; font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.card__link:hover { gap: 0.6rem; }
.card__link svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }

/* ---------- 8. Üye logoları ---------- */
/* Ayrık kartlar: 1px aralıklı beyaz karolar koyu temada tek bir parlak
   levhaya dönüşüyordu. Boşluklu ve yuvarlatılmış kartlar zemini nefes
   aldırır, son satırdaki eksik hücreler de görünmez olur. */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  background: transparent;
  border: 0;
}
.logo-wall__item {
  display: grid;
  place-items: center;
  padding: clamp(0.9rem, 2.5vw, 1.4rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 6.5rem;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.logo-wall__item:hover { background: var(--bg-subtle); border-color: var(--border-strong); transform: translateY(-2px); }
.logo-wall__item img {
  max-height: 4.25rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.logo-wall__item:hover img { filter: grayscale(0); opacity: 1; }
/* Logosu olmayan üye: firma adı yazıyla. Kart koyu temada da açık renk olduğu için sabit koyu yazı. */
.logo-wall__ad {
  display: grid;
  gap: 0.15rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: #2b3540;
}
.logo-wall__ad small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3d4955;
}
/* Üye logoları çok renkli ve koyu metinli; koyu zeminde okunmaları için
   açık kart gerekiyor. Parlaklığı kırmak için hafif gri ve düşük opaklık. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-wall__item {
    background: #dfe6ec; border-color: transparent; opacity: 0.82;
  }
  :root:not([data-theme="light"]) .logo-wall__item:hover { background: #eef3f7; opacity: 1; }
}
:root[data-theme="dark"] .logo-wall__item {
  background: #dfe6ec; border-color: transparent; opacity: 0.82;
}
:root[data-theme="dark"] .logo-wall__item:hover { background: #eef3f7; opacity: 1; }

/* ---------- 8b. Üye bilgi penceresi ---------- */
.logo-wall__item {
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.logo-wall__item::after {
  content: "Detay";
  position: absolute;
  inset-inline: 0;
  bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.logo-wall__item:hover::after,
.logo-wall__item:focus-visible::after { opacity: 1; }

.uye-dialog {
  /* Genel reset (* { margin: 0 }) tarayıcının dialog'u ortalayan
     margin:auto değerini ezdiği için burada geri veriliyor. */
  margin: auto;
  width: min(46rem, calc(100vw - 2rem));
  max-height: min(90vh, 48rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.uye-dialog::backdrop { background: rgb(8 12 16 / 0.72); }

.uye-dialog__head {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  padding-right: 3.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
@media (min-width: 620px) { .uye-dialog__head { grid-template-columns: 12rem 1fr; } }
.uye-dialog__logo {
  display: grid;
  place-items: center;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.uye-dialog__logo img { max-height: 4.5rem; width: auto; object-fit: contain; }
.uye-dialog__head h2 { font-size: var(--step-2); }
.uye-dialog__head p { color: var(--text-muted); margin-top: 0.4rem; font-size: 0.95rem; }

.uye-dialog__list { margin: 0; padding: clamp(1rem, 3vw, 1.5rem); display: grid; gap: 0; }
.uye-dialog__list > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 620px) { .uye-dialog__list > div { grid-template-columns: 11rem 1fr; gap: 1rem; align-items: baseline; } }
.uye-dialog__list > div:last-child { border-bottom: 0; }
.uye-dialog__list dt { font-weight: 700; font-size: 0.9rem; }
.uye-dialog__list dd { margin: 0; color: var(--text-muted); overflow-wrap: anywhere; }
.uye-dialog__list dd a { color: var(--accent); text-decoration: none; }
.uye-dialog__list dd a:hover { text-decoration: underline; }

.uye-dialog__close { position: absolute; top: 0.9rem; right: 0.9rem; background: var(--surface); }

.uye-detay-btn {
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.uye-detay-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 9. Kişi kartları ---------- */
.person-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
/* Az sayıda kişi: kartlar ortalı sıralanır, son satırda tek kart kalmaz */
.person-grid--ortali { display: flex; flex-wrap: wrap; justify-content: center; }
.person-grid--ortali > .person { flex: 1 1 12.5rem; max-width: 15rem; }
.person {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.person:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.person__photo {
  width: 7.5rem; height: 7.5rem;
  margin: 0 auto var(--sp-4);
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-subtle);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}
.person__name { font-size: var(--step-1); margin-bottom: 0.15rem; }
.person__role { color: var(--accent); font-weight: 600; font-size: 0.92rem; }
.person__org { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.2rem; }
.person__years { color: var(--text-muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.person--sm .person__photo { width: 5.5rem; height: 5.5rem; }
.person--sm .person__name { font-size: var(--step-0); }

/* ---------- 10. Zaman çizelgesi ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.25rem; }
.timeline::before {
  content: ""; position: absolute; left: 0.45rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px; background: linear-gradient(to bottom, var(--accent), var(--border));
}
.timeline > li { position: relative; padding-bottom: var(--sp-6); }
.timeline > li::before {
  content: ""; position: absolute; left: -2.05rem; top: 0.45rem;
  width: 0.85rem; height: 0.85rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.timeline__year { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--accent); }
.timeline__text { color: var(--text-muted); margin-top: 0.25rem; }

/* ---------- 11. Tablo ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 44rem; }
caption { text-align: left; padding: var(--sp-4); color: var(--text-muted); font-size: var(--step--1); }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  background: var(--bg-subtle);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-subtle); }
td a { text-decoration: none; }
td a:hover { text-decoration: underline; }

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
.badge--active { background: rgb(22 163 74 / 0.1); border-color: rgb(22 163 74 / 0.3); color: #15803d; }
.badge--closed { background: rgb(100 116 139 / 0.1); color: var(--text-muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .badge--active { color: #4ade80; }
}
:root[data-theme="dark"] .badge--active { color: #4ade80; }

/* ---------- 12. Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: linear-gradient(115deg, var(--steel-950) 20%, var(--steel-800) 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(115deg, rgb(255 255 255 / 0.045) 0 1px, transparent 1px 14px);
}
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero p { color: #b3c2ce; max-width: 52ch; margin-top: var(--sp-4); font-size: var(--step-1); }

.breadcrumb { font-size: var(--step--1); margin-bottom: var(--sp-4); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; opacity: 0.45; }
.breadcrumb a { color: inherit; opacity: 0.8; text-decoration: none; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.page-hero .breadcrumb { color: #9fb1bf; }

/* ---------- 13. Prose (uzun metin) ---------- */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { margin-top: var(--sp-7); font-size: var(--step-2); }
.prose h3 { margin-top: var(--sp-6); font-size: var(--step-1); }
.prose p { line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: 0.4rem; }
.prose strong { color: var(--text); font-weight: 700; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.35rem 0 0.35rem 1.25rem;
  font-size: var(--step-1);
  font-style: italic;
  color: var(--text-muted);
}
.prose figure { margin: var(--sp-6) 0; }
.prose figcaption { font-size: var(--step--1); color: var(--text-muted); margin-top: 0.5rem; }

.signature { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.signature strong { display: block; font-family: var(--font-display); font-size: var(--step-1); }
.signature span { color: var(--text-muted); font-size: 0.93rem; }

/* ---------- 14. Alıntı / vurgu bloğu ---------- */
.pullquote {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg-subtle);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.pullquote q { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; display: block; }
.pullquote cite { display: block; margin-top: var(--sp-3); font-style: normal; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- 15. Galeri ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--sp-6); }
.filter-btn {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn[aria-pressed="true"] { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }

/* Telefonda iki sütun (min %45); küçük resim için 400 px'lik sürüm yeter, büyüğü lightbox'ta */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 15rem), 1fr)); gap: 0.75rem; }
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 0; padding: 0;
  background: var(--bg-subtle);
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item.is-hidden { display: none; }
.gallery__item--video { cursor: pointer; }
.gallery__item--video video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Oynat simgesi: koyu daire içinde üçgen */
.gallery__item--video::after {
  content: "";
  position: absolute; inset: 50% auto auto 50%;
  width: 3.5rem; height: 3.5rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgb(8 12 16 / 0.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 58% 50% / 1.6rem no-repeat;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.85);
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.gallery__item--video:hover::after { background-color: var(--accent-solid); transform: translate(-50%, -50%) scale(1.08); }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  place-items: center;
  background: rgb(8 12 16 / 0.94);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: grid; }
.lightbox img, .lightbox video { display: block; max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); margin-inline: auto; }
.lightbox > div { width: 100%; }
.lightbox video { width: min(100%, 64rem); aspect-ratio: 16 / 9; background: #000; }
.lightbox [hidden] { display: none; }
.lightbox__caption { color: #cfdae3; text-align: center; margin-top: var(--sp-4); font-size: 0.95rem; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; color: #fff; border-color: rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.08); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; border-color: rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.08);
  width: 3rem; height: 3rem;
}
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

/* ---------- 16. Haber listesi ---------- */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.news-item { background: var(--surface); transition: background-color 0.18s var(--ease); }
.news-item:hover { background: var(--bg-subtle); }
.news-item > a, .news-item > article { display: grid; gap: 0.35rem; padding: clamp(1rem, 2.5vw, 1.5rem); text-decoration: none; color: inherit; }
.news-item__date { font-size: var(--step--1); color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.news-item__title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; }
.news-item a:hover .news-item__title { color: var(--accent); }
.news-item__excerpt { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- 17. İletişim ---------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }

.contact-list { margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
/* <dl> içinde dt/dd çiftini yalnızca tek bir div sarabilir; ikon bu yüzden dt'nin içinde ve sola konumlu */
.contact-list--icons > div { position: relative; min-height: 2.75rem; padding-left: calc(2.75rem + var(--sp-4)); }
.contact-list--icons .contact-list__icon { position: absolute; left: 0; top: 0; }
.contact-list__icon {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent);
}
.contact-list__icon svg { width: 1.25rem; height: 1.25rem; }
.contact-list dt { font-size: var(--step--1); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contact-list dd { margin: 0.15rem 0 0; font-weight: 600; }
.contact-list dd a { text-decoration: none; color: var(--text); }
.contact-list dd a:hover { color: var(--accent); }

.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 620px) { .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field__hint { font-size: var(--step--1); color: var(--text-muted); }
.form-note { font-size: var(--step--1); color: var(--text-muted); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 18. CTA şeridi ---------- */
.cta-band {
  display: grid;
  gap: var(--sp-5);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, var(--steel-900), var(--steel-700));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 100% 0%, rgb(225 75 26 / 0.35), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d1db; margin-top: var(--sp-3); max-width: 48ch; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--steel-950); color: #a9b8c4; padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__mark { width: 78px; height: 78px; }
.footer__name {
  margin: 0.75rem 0 var(--sp-4);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d8e9b;
  line-height: 1.5;
}
.footer__name strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.footer__desc { font-size: 0.92rem; line-height: 1.7; max-width: 34ch; }
.site-footer h2 {
  color: #fff; font-size: 0.9rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer a { color: #a9b8c4; text-decoration: none; font-size: 0.93rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; font-size: 0.93rem; line-height: 1.7; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between; align-items: center;
  font-size: 0.86rem;
}
.footer__credit { margin-left: auto; color: #7d8e9b; letter-spacing: 0.02em; }
.footer__credit span { color: #c4d1db; font-weight: 600; }
.footer__credit a { color: inherit; text-decoration: none; }
.footer__credit a:hover span, .footer__credit a:focus-visible span { color: #f4703f; text-decoration: underline; text-underline-offset: 3px; }

.social { display: flex; gap: 0.5rem; }
.social a {
  display: grid; place-items: center;
  width: 2.35rem; height: 2.35rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--radius);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.social a:hover { background: var(--accent-solid); border-color: var(--accent-solid); color: #fff; }
.social svg { width: 1.05rem; height: 1.05rem; }

/* ---------- 20. Yukarı çık ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 2.9rem; height: 2.9rem;
  background: var(--accent-solid); color: #fff; border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
  display: grid; place-items: center;
  cursor: pointer;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent-solid-hover); }
.to-top svg { width: 1.15rem; height: 1.15rem; }

/* ---------- 21. Görünürlük animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 22. Yazdırma ---------- */
@media print {
  .topbar, .site-header, .mobile-nav, .to-top, .hero__dots, .site-footer, .cta-band, .gallery-filters { display: none !important; }
  body { color: #000; background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .page-hero { background: none; color: #000; padding-block: 1rem; }
  .page-hero h1, .page-hero p { color: #000; }
}
