/* ==========================================================================
   Vortéx — base.css
   Tasarım dili: "Lounge" — CS2 Panorama'nın sade, yarı saydam panel mantığı
   ile loş ışıklı lüks bir pub'ın sıcaklığı. Espresso siyahı, krem metin,
   pirinç/altın vurgu; ışık ender ve bilinçli kullanılır.
   ========================================================================== */

:root {
  /* Zemin */
  --bg:            #0b0907;
  --bg-2:          #120f0c;
  --bg-3:          #1a1612;

  /* Cam yüzeyler */
  --surface:       rgba(26, 21, 17, .58);
  --surface-2:     rgba(34, 28, 22, .66);
  --surface-solid: #16120f;
  --line:          rgba(244, 226, 196, .085);
  --line-2:        rgba(244, 226, 196, .16);
  --highlight:     rgba(255, 244, 226, .06);

  /* Metin */
  --text:          #f2eadd;
  --text-2:        #bdb09e;
  --text-3:        #857a6c;

  /* Marka — logodaki pirinç tonundan türetildi */
  --gold:          #cfae7c;
  --gold-hi:       #f1d7a2;
  --gold-lo:       #8d6a3c;
  --gold-ink:      #1b130a;
  --gold-grad:     linear-gradient(115deg, #8d6a3c 0%, #d9b884 32%, #f3dcaa 50%, #c39a62 68%, #e8cc95 100%);
  --ember:         #d98a5b;
  --steel:         #9fb4c4;

  /* Durum */
  --ok:            #8fcf9f;
  --warn:          #e6b866;
  --bad:           #e07a6c;

  /* Tipografi */
  --font-ui:       "Barlow Semi Condensed", "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display:  "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-mark:     "Montserrat", "Barlow", system-ui, sans-serif;
  --font-mono:     ui-monospace, "Cascadia Mono", "Consolas", monospace;

  /* Ölçü */
  --container:     1240px;
  --gutter:        clamp(16px, 4vw, 40px);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     6px;
  --header-h:      68px;
  --blur:          18px;

  --shadow:        0 40px 90px -40px rgba(0, 0, 0, .9), 0 12px 30px -18px rgba(0, 0, 0, .7);
  --shadow-soft:   0 20px 50px -30px rgba(0, 0, 0, .85);
  --ease:          cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* --- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: rgba(207, 174, 124, .35); color: #fff; }

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

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* --- Ortam: loş pub ışığı, film greni, vinyet ----------------------------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 40vw at 18% -8%, rgba(214, 160, 92, .16), transparent 62%),
    radial-gradient(48vw 36vw at 88% 6%, rgba(190, 120, 70, .10), transparent 65%),
    radial-gradient(70vw 50vw at 50% 110%, rgba(120, 80, 45, .12), transparent 70%),
    linear-gradient(180deg, #0d0a08 0%, var(--bg) 40%, #090706 100%);
}
.ambient::before {
  content: "";
  position: absolute;
  inset: -50%;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .8  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* --- Tipografi ------------------------------------------------------------ */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
}
.display em, .serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lede {
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
  color: var(--text-2);
  max-width: 62ch;
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wordmark {
  font-family: var(--font-mark);
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: 0; }

.prose { color: var(--text-2); max-width: 70ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3 { color: var(--text); font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin-top: 1.8em; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.45rem; }
.prose a { color: var(--gold); border-bottom: 1px solid rgba(207, 174, 124, .35); }
.prose a:hover { border-color: var(--gold); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--text); font-weight: 600; }

/* --- Yardımcılar ---------------------------------------------------------- */

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}
.container--narrow { width: min(100% - var(--gutter) * 2, 880px); margin-inline: auto; }

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

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--gold-ink);
  border-radius: var(--radius-xs);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

/* Kaydırınca beliren öğeler (JS yoksa görünür kalır) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
