/* Fuat Kozluklu — Editöryel Arşiv. Vanilla CSS (Tailwind tarzı utility yok). */

/* ----- Font ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ----- Theme variables -------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg:           #0A0A0B;
  --surface:      #101012;
  --surface-elev: #15151A;
  --border:       #23232A;
  --border-soft:  #1B1B21;
  --text:         #FAFAFA;
  --text-muted:   #A1A1AA;
  --text-faint:   #71717A;
  --text-dim:     #5C5C68;
  --accent:       #B8956A;
  --accent-soft:  rgba(184, 149, 106, 0.10);
  --accent-300:   #CFAD74;
  --accent-400:   #B8956A;
  --signal-success: #3F8F5F;
  --signal-warning: #C39450;
  --signal-danger:  #B23B3B;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:  'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, monospace;
}

html, body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-weight: 400;
  line-height: 1.5;
  font-feature-settings: 'kern', 'liga', 'calt';
  min-height: 100vh;
}

::selection { background: rgba(184, 149, 106, 0.35); color: #FFF8EE; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2D2D36; }

/* ----- Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  margin-left: auto; margin-right: auto;
  padding: 0 1.25rem;
  max-width: 1440px;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
@media (min-width: 1280px) { .container { padding: 0 3rem; } }

/* ----- Typography ------------------------------------------------------- */
.editorial {
  font-family: var(--font-serif);
  font-feature-settings: 'liga', 'kern';
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3, h4 { color: var(--text); }
p { color: var(--text); }

.display-2xl { font-size: 4.25rem; line-height: 1.04; letter-spacing: -0.025em; }
.display-xl  { font-size: 3.25rem; line-height: 1.06; letter-spacing: -0.022em; }
.display-lg  { font-size: 2.5rem;  line-height: 1.08; letter-spacing: -0.018em; }
.display-md  { font-size: 2rem;    line-height: 1.12; letter-spacing: -0.014em; }
@media (max-width: 640px) {
  .display-2xl { font-size: 2.5rem; }
  .display-xl  { font-size: 2.25rem; }
  .display-lg  { font-size: 2rem; }
  .display-md  { font-size: 1.625rem; }
}

.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--signal-danger); }
.text-success { color: var(--signal-success); }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.mono { font-family: var(--font-mono); }

/* ----- Surface ---------------------------------------------------------- */
.surface {
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.surface-strong {
  background: var(--surface-elev);
  border: 1px solid var(--border);
}

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 100ms ease;
  cursor: pointer;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #0A0A0B; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-300); border-color: var(--accent-300); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--text-muted); padding: 0.55rem 1rem; }
.btn-ghost:hover { color: var(--text); background: var(--surface-elev); }
.btn-danger { background: var(--signal-danger); color: white; border-color: var(--signal-danger); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.7rem; }
.btn[disabled], .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ----- Form ------------------------------------------------------------- */
.field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 180ms ease, background-color 180ms ease;
  font-family: inherit;
}
.field::placeholder { color: var(--text-faint); }
.field:focus { outline: none; border-color: var(--accent); background: var(--surface-elev); }
.field:read-only, .field:disabled { background: var(--surface-elev); color: var(--text-muted); }
textarea.field { resize: vertical; min-height: 120px; }
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A1A1AA' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field-error { color: var(--signal-danger); font-size: 0.85rem; margin-top: 0.5rem; }
.field-success { color: var(--accent); font-size: 0.85rem; margin-top: 0.5rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }

/* ----- Header ----------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 240ms ease, border-color 240ms ease;
}
.header.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; gap: 1.5rem;
}
@media (min-width: 1024px) { .header-inner { height: 5rem; } }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 1px solid rgba(184, 149, 106, 0.6);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1;
}
.brand-text { line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.125rem; color: var(--text); letter-spacing: -0.01em; }
.brand-sub  { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }
.nav-main { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-main { display: flex; } }
.nav-link {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: color 180ms ease;
  position: relative;
}
.icon-btn:hover { color: var(--text); }
.icon-btn .badge {
  position: absolute; top: -0.25rem; right: -0.25rem;
  width: 1.05rem; height: 1.05rem;
  display: grid; place-items: center;
  background: var(--accent); color: #0A0A0B;
  font-size: 0.625rem; font-weight: 600;
  border-radius: 999px;
}
.mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-nav { display: none; }
.mobile-nav.open { display: block; border-top: 1px solid var(--border); background: var(--bg); }
.mobile-nav-inner { display: flex; flex-direction: column; padding: 1.25rem 0; gap: 0.25rem; }
.mobile-nav a { padding: 0.75rem 0; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text); }

/* ----- Footer ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); margin-top: 6rem; }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  padding: 4rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid .col-wide { grid-column: span 2; }
@media (min-width: 768px) { .footer-grid .col-wide { grid-column: span 1; } }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer p, .footer a { color: var(--text-muted); font-size: 0.85rem; }
.footer a:hover { color: var(--text); }
.footer .col-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* ----- Hero ------------------------------------------------------------- */
.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg::before, .hero-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
}
.hero-bg::before { top: -160px; right: -160px; width: 480px; height: 480px; background: rgba(184, 149, 106, 0.10); }
.hero-bg::after  { bottom: 0; left: 0; width: 320px; height: 320px; background: rgba(184, 149, 106, 0.05); }
.hero-inner {
  position: relative;
  padding-top: 5rem; padding-bottom: 6rem;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 2fr 1fr; padding-top: 8rem; padding-bottom: 9rem; align-items: end; }
}
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-eyebrow .rule { width: 2.5rem; height: 1px; background: var(--accent); }
.hero-title { font-size: clamp(2.25rem, 5.5vw, 4.25rem); line-height: 1.05; }
.hero-title .accent { color: var(--accent); }
.hero-body { margin-top: 2rem; max-width: 36rem; color: var(--text-muted); font-size: 1.125rem; line-height: 1.6; }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-scroll { margin-top: 4rem; display: none; align-items: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; }
@media (min-width: 768px) { .hero-scroll { display: inline-flex; } }
.byline-card {
  display: none;
}
@media (min-width: 768px) {
  .byline-card { display: block; max-width: 22rem; margin-left: auto; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border-soft); backdrop-filter: blur(4px); }
  .byline-card .row { display: flex; align-items: center; gap: 1rem; }
  .byline-card img { width: 3.5rem; height: 3.5rem; object-fit: cover; border: 1px solid var(--border); }
  .byline-card .label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
  .byline-card .name { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text); line-height: 1.2; margin-top: 0.25rem; }
  .byline-card .sub { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.15rem; }
}

/* ----- Stats strip ------------------------------------------------------ */
.stats {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(21, 21, 26, 0.4);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-cell { padding: 2rem 1.25rem; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.stats-cell:nth-child(1), .stats-cell:nth-child(2) { border-top: 0; }
.stats-cell:nth-child(2n+1) { border-left: 0; }
@media (min-width: 1024px) {
  .stats-cell { border-top: 0; }
  .stats-cell:first-child { border-left: 0; }
  .stats-cell:nth-child(2n+1) { border-left: 1px solid var(--border); }
  .stats-cell:first-child { border-left: 0; }
}
.stats-cell .value { font-family: var(--font-serif); font-size: 2rem; line-height: 1; }
.stats-cell .label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.75rem; }

/* ----- Sections --------------------------------------------------------- */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-bordered { border-top: 1px solid var(--border); }
.section-tight { padding: 3rem 0; }

.section-header { margin-bottom: 2.5rem; max-width: 48rem; }
@media (min-width: 1024px) { .section-header { margin-bottom: 3.5rem; } }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .title { font-family: var(--font-serif); font-size: 2rem; line-height: 1.05; color: var(--text); margin-top: 1rem; }
@media (min-width: 1024px) { .section-header .title { font-size: 2.5rem; } }
.section-header .subtitle { margin-top: 1.25rem; max-width: 36rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.section-header.center .subtitle { margin-left: auto; margin-right: auto; }

/* ----- Categories grid -------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  background: var(--bg);
  padding: 1.75rem;
  transition: background-color 180ms ease;
}
.cat-card:hover { background: var(--surface); }
.cat-card .num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.cat-card .name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); transition: color 180ms ease; }
.cat-card:hover .name { color: var(--accent); }
.cat-card .arrow { margin-top: 1.5rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }

/* ----- Media card (gallery) -------------------------------------------- */
.media-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .media-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .media-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.media-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-soft);
  transition: border-color 240ms ease;
}
.media-card:hover { border-color: var(--accent); }
.media-card .frame { position: relative; display: block; overflow: hidden; background: var(--surface-elev); aspect-ratio: 4 / 3; }
.media-card .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card .frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 50%);
  opacity: 0; transition: opacity 240ms ease;
}
.media-card:hover .frame::after { opacity: 1; }
.media-card .meta {
  position: absolute; inset-inline: 0; bottom: 0; padding: 1rem;
  display: flex; align-items: end; justify-content: space-between; gap: 0.75rem;
  transform: translateY(8px); opacity: 0; transition: transform 240ms ease, opacity 240ms ease;
}
.media-card:hover .meta { transform: translateY(0); opacity: 1; }
.media-card .meta .title { font-size: 0.78rem; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card .meta .year  { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }
.media-card .cart-toggle {
  flex-shrink: 0; width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.25); color: var(--text);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
  background: rgba(10,10,11,0.6);
}
.media-card .cart-toggle:hover { border-color: var(--accent); color: var(--accent); }
.media-card .cart-toggle.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.media-card .badge-video {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(10,10,11,0.85); padding: 0.25rem 0.5rem;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text);
}

/* ----- Pagination ------------------------------------------------------- */
.pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.4rem; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; font-size: 0.85rem;
  border: 1px solid var(--border); color: var(--text-muted);
  transition: border-color 180ms ease, color 180ms ease;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { border-color: var(--accent); color: var(--accent); }
.pagination .disabled { color: var(--text-dim); }

/* ----- Detail page ------------------------------------------------------ */
.detail-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding: 2.5rem 0 4rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 2fr 1fr; gap: 2.5rem; } }
.detail-frame {
  position: relative; background: var(--surface); border: 1px solid var(--border-soft);
}
.detail-frame img, .detail-frame video { width: 100%; height: auto; display: block; background: var(--bg); }
.detail-frame .footer-bar { display: flex; justify-content: space-between; padding: 0.75rem 1rem; border-top: 1px solid var(--border); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.16em; text-transform: uppercase; }
.detail-side { display: flex; flex-direction: column; gap: 1.5rem; }
.detail-price-card { padding: 1.5rem; background: var(--surface-elev); border: 1px solid var(--border); }
.detail-price-card .amount { font-family: var(--font-serif); font-size: 1.875rem; color: var(--text); margin-top: 0.5rem; }
.detail-meta-list { display: flex; flex-direction: column; gap: 0.85rem; font-size: 0.875rem; }
.detail-meta-list .row { display: flex; gap: 0.75rem; align-items: start; color: var(--text); }
.detail-meta-list .row .label { font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }
.detail-meta-list .row .value { font-size: 0.85rem; }

/* Watermark visual overlay (server-side de filigran var, bu sadece ek görsel sigorta) */
.watermark-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    -28deg,
    transparent 0px, transparent 140px,
    rgba(255,255,255,0.05) 140px, rgba(255,255,255,0.05) 141px
  );
}

/* ----- Marquee ---------------------------------------------------------- */
.marquee { border-top: 1px solid var(--border); padding: 3.5rem 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-muted); }
@media (min-width: 1024px) { .marquee-track { gap: 5rem; } .marquee-track span { font-size: 1.75rem; } }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Bio section ----------------------------------------------------- */
.bio-section { border-top: 1px solid var(--border); background: rgba(21, 21, 26, 0.3); }
.bio-grid { padding: 5rem 0; display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .bio-grid { grid-template-columns: 5fr 7fr; gap: 4rem; padding: 7rem 0; } }
.bio-portrait { position: relative; }
.bio-portrait .frame { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.bio-portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio-portrait .vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
}
.bio-portrait .tick { position: absolute; background: var(--accent); }
.bio-portrait .tick.h { width: 1.5rem; height: 1px; }
.bio-portrait .tick.v { width: 1px; height: 1.5rem; }
.bio-portrait .tick.tl-h { top: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.tl-v { top: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.tr-h { top: 0.75rem; right: 0.75rem; }
.bio-portrait .tick.tr-v { top: 0.75rem; right: 0.75rem; }
.bio-portrait .tick.bl-h { bottom: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.bl-v { bottom: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.br-h { bottom: 0.75rem; right: 0.75rem; }
.bio-portrait .tick.br-v { bottom: 0.75rem; right: 0.75rem; }
.bio-portrait .caption { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.bio-portrait .caption .name { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.2; color: var(--text); }
.bio-portrait .caption .role { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem; }
.bio-portrait .caption .est { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.bio-text .body { font-size: 1.125rem; line-height: 1.7; color: var(--text-muted); margin-top: 1.5rem; }
.milestones { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.milestones .cell { background: var(--bg); padding: 1.25rem; }
.milestones .y { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; color: var(--text); }
.milestones .l { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.3; }

/* ----- YouTube embed grid (about page) --------------------------------- */
.yt-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
.yt-card { background: var(--surface); border: 1px solid var(--border-soft); }
.yt-frame { position: relative; padding-top: 56.25%; background: black; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-card .meta { padding: 1rem 1.25rem; }
.yt-card .meta .title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text); }
.yt-card .meta .desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.5; }

/* ----- Cart / Checkout summary ----------------------------------------- */
.cart-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .cart-grid { grid-template-columns: 2fr 1fr; } }
.cart-line { display: flex; gap: 1rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border-soft); align-items: center; }
.cart-line .thumb { width: 7rem; height: 5rem; background: var(--surface-elev); flex-shrink: 0; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .info .title { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-line .info .sub { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 0.25rem; }
.cart-line .price { font-family: var(--font-mono); color: var(--text); }
.cart-line .remove { color: var(--text-muted); }
.cart-line .remove:hover { color: var(--signal-danger); }
.summary-card { padding: 1.5rem; background: var(--surface-elev); border: 1px solid var(--border); position: sticky; top: 6rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; color: var(--text); }
.summary-row .label { color: var(--text-muted); }
.summary-row .value { font-family: var(--font-mono); }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; }
.summary-total .value { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); }
.divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

/* ----- Admin layout ---------------------------------------------------- */
.admin-shell { min-height: 100vh; }
.admin-topbar { border-bottom: 1px solid var(--border); background: rgba(10,10,11,0.8); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 40; }
.admin-topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem; height: 3.5rem; }
@media (min-width: 1024px) { .admin-topbar-inner { padding: 0 2.5rem; } }
.admin-topbar .left { display: flex; align-items: center; gap: 0.75rem; }
.admin-topbar .left .label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.admin-topbar .right { display: flex; align-items: center; gap: 1rem; font-size: 0.72rem; }
.admin-topbar .right a, .admin-topbar .right button { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em; }
.admin-topbar .right .role { color: var(--accent); }
.admin-layout { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .admin-layout { grid-template-columns: 260px 1fr; } }
.admin-sidebar { border-right: 1px solid var(--border); min-height: calc(100vh - 3.5rem); padding: 1rem; }
.admin-sidebar a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem; font-size: 0.875rem; color: var(--text-muted);
  border-radius: 2px;
}
.admin-sidebar a:hover, .admin-sidebar a.active { color: var(--text); background: var(--surface); }
.admin-main { padding: 2rem 1.5rem; }
@media (min-width: 1024px) { .admin-main { padding: 2rem 2.5rem; } }
.admin-h1 { font-family: var(--font-serif); font-size: 1.875rem; color: var(--text); margin-top: 0.5rem; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 2rem 0; }
@media (min-width: 1024px) { .admin-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.admin-stats-grid .cell { background: var(--bg); padding: 1.5rem; }
.admin-stats-grid .cell .label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.admin-stats-grid .cell .value { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); }

.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th { text-align: left; padding: 0.75rem 1rem; background: rgba(21, 21, 26, 0.6); color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.table td { padding: 0.75rem 1rem; border-top: 1px solid var(--border); color: var(--text); }
.table tr:hover td { background: rgba(21, 21, 26, 0.4); }
.table .mono { font-family: var(--font-mono); font-size: 0.85rem; }

.tag { display: inline-flex; padding: 0.25rem 0.6rem; border: 1px solid var(--border); color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.tag.success { color: var(--accent); border-color: var(--accent); }
.tag.danger  { color: var(--signal-danger); border-color: var(--signal-danger); }

/* ----- Bakım sayfası ---------------------------------------------------- */
.maintenance {
  min-height: 100vh; display: grid; place-items: center; padding: 2rem;
  background: var(--bg);
}
.maintenance-card { max-width: 30rem; text-align: center; }
.maintenance .icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid var(--accent); color: var(--accent); margin: 0 auto 1.5rem; font-size: 1.25rem; }
.maintenance h1 { font-family: var(--font-serif); font-size: 1.875rem; color: var(--text); }
.maintenance p { color: var(--text-muted); margin-top: 0.75rem; }

/* ----- Drop zone (upload) ---------------------------------------------- */
.dropzone {
  border: 2px dashed var(--border); padding: 2.5rem;
  text-align: center; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease;
  background: var(--surface);
}
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--surface-elev); }
.dropzone .icon { font-size: 2rem; color: var(--text-muted); }
.dropzone h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); margin-top: 1rem; }
.dropzone .sub { color: var(--text-muted); margin-top: 0.5rem; font-size: 0.875rem; }

/* ----- Misc ------------------------------------------------------------- */
.divider-line { height: 1px; background: var(--border); margin: 1.5rem 0; }
.flash { padding: 1rem 1.25rem; background: var(--surface); border-left: 3px solid var(--accent); margin-bottom: 1.5rem; }
.flash.error { border-left-color: var(--signal-danger); color: var(--signal-danger); }
.flash.success { border-left-color: var(--accent); }
.grid { display: grid; }
.flex { display: flex; }
.gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.hidden { display: none; }
.spacer { flex: 1; }
