/* Webrazzi Sessions — ortak tasarım sistemi */
:root {
  --yellow: #f3d02e;
  --yellow-deep: #e2bd12;
  --yellow-soft: #fbf0b8;
  --ink: #111111;
  --ink-2: #2a2b2d;
  --gray: #525659;
  --muted: #64676a;
  --paper: #f6f3eb;
  --paper-2: #efeadf;
  --card: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.22);
  --dark: #0d0d0d;
  --dark-2: #181818;
  --ok: #1f8a4c;
  --err: #c2341b;
  --on-ink: #ffffff;            /* mürekkep zemin üstündeki yazı */
  --on-yellow: #111111;         /* sarı zemin üstündeki yazı (temadan bağımsız) */
  --tint: rgba(17,17,17,.06);   /* hafif mürekkep yıkaması: etiket, hover, rozet */
  --tint-2: rgba(17,17,17,.13);
  --ink-soft: rgba(17,17,17,.28);
  --map: #ebe5d6;
  --err-bg: #fde8e4;
  color-scheme: light;

  --font-display: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 0 rgba(17,17,17,.04), 0 12px 32px -12px rgba(17,17,17,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

/* ---- koyu tema: data-theme'i theme.js ayarlar (tercih yoksa sistem) ---- */
:root[data-theme="dark"] {
  --ink: #f4f1ea; --ink-2: #d9d5cc; --gray: #aaa69d; --muted: #8d8a82;
  --paper: #121110; --paper-2: #1a1917; --card: #1d1c19;
  --line: rgba(244,241,234,.14); --line-strong: rgba(244,241,234,.28);
  --dark: #1e1d1a; --dark-2: #272622;
  --ok: #3cb46c; --err: #e5593f;
  --on-ink: #111111;
  --tint: rgba(244,241,234,.08); --tint-2: rgba(244,241,234,.16); --ink-soft: rgba(244,241,234,.3);
  --map: #1a1917; --err-bg: rgba(229,89,63,.16);
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.7);
  color-scheme: dark;
}
/* Sarı ve koyu zeminli bloklar temadan bağımsız kalır: içlerinde mürekkep değerleri sabit */
.format, .spon, .invite__face,
.ev, .legacy, .corp, .day, .foot, .fside, .evopt, .ticker {
  --ink: #111111; --ink-2: #2a2b2d; --gray: #525659; --muted: #5d6063; --on-ink: #ffffff;
  --line: rgba(17,17,17,.12); --line-strong: rgba(17,17,17,.22); --tint: rgba(17,17,17,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--on-yellow); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

/* ---- butonlar ---- */
.btn {
  --bg: var(--ink); --fg: var(--on-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn--yellow { --bg: var(--yellow); --fg: var(--on-yellow); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--on-ink); }
.btn--light { --bg: #fff; --fg: #111; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- logo kilidi: "webrazzi sessions | suffix" ---- */
.bar { display: inline-block; width: 4px; background: var(--yellow); border-radius: 2px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--tint);
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(243,208,46,.3); }

.kicker {
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ''; width: 4px; height: 18px; background: var(--yellow); border-radius: 2px; }

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

[hidden] { display: none !important; }

/* ---- tema anahtarı ---- */
.theme-toggle {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0;
  border-radius: 50%; border: 1.5px solid color-mix(in srgb, currentColor 28%, transparent);
  background: transparent; color: inherit; cursor: pointer;
  transition: background .2s, transform .25s var(--ease);
}
.theme-toggle:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }

/* Etkinlik logoları: "webrazzi sessions" kısmı her iki logoda aynı boyutta.
   --wm = kelime işaretinin genişliği; görsel genişliği logodaki oranla hesaplanır. */
.lg-box { container-type: inline-size; }
.lg-ai, .lg-builders { height: auto !important; max-width: none !important; --wm: min(44cqw, 230px); }
.lg-ai { width: calc(var(--wm) * 1.358) !important; }
.lg-builders { width: calc(var(--wm) * 2.088) !important; }

/* ---- takvime ekle menüsü ---- */
.cal { position: relative; display: inline-block; }
.cal > summary { list-style: none; cursor: pointer; }
.cal > summary::-webkit-details-marker { display: none; }
.cal > summary::after { content: '▾'; font-size: 12px; margin-left: 2px; transition: transform .2s; }
.cal[open] > summary::after { transform: rotate(180deg); }
.cal__menu {
  position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 236px;
  display: grid; padding: 6px; border-radius: 14px;
  background: #fff; color: #111; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06);
}
.cal__menu a { display: block; padding: 10px 12px; border-radius: 9px; color: #111; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.cal__menu a:hover, .cal__menu a:focus-visible { background: #f3d02e; outline: none; }
.cal--down .cal__menu { bottom: auto; top: calc(100% + 8px); }
