:root {
  --ink: #1c1612;
  --soot: #2a221c;
  --paper: #f4ece1;
  --card: #fff8ef;
  --copper: #c4784a;
  --rust: #8f4a2e;
  --moss: #3d4a3a;
  --line: #d8cbb8;
  --muted: #6b5c4e;
  --cream: #fbf4ea;
  --shadow: 0 18px 40px rgba(28, 22, 18, 0.12);
  --ray: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 120, 74, 0.12), transparent 55%),
    radial-gradient(900px 420px at 110% 8%, rgba(61, 74, 58, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-size: var(--ray);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.toz,
.raycizgi {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.toz {
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: toz-kay 18s linear infinite;
}

.raycizgi::before,
.raycizgi::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0.35;
  animation: ray-yur 9s ease-in-out infinite;
}
.raycizgi::before { top: 22%; }
.raycizgi::after { top: 71%; animation-delay: -4s; }

@keyframes toz-kay {
  from { transform: translateY(0); }
  to { transform: translateY(-80px); }
}
@keyframes ray-yur {
  0%, 100% { transform: translateX(-8%); opacity: 0.15; }
  50% { transform: translateX(8%); opacity: 0.45; }
}

.avlu {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ray {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #1c1612;
  background: color-mix(in srgb, var(--ink) 94%, #000);
  color: var(--cream);
  border-bottom: 3px solid var(--copper);
}

.ray-ic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 10px 0;
}

.asma {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.asma-harf {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--copper);
  display: grid;
  place-items: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  color: var(--copper);
  flex: none;
}
.asma b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.asma small {
  display: block;
  color: #d8c4ae;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.isilik {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.kapi,
.kapi-uye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  text-decoration: none;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.kapi {
  background: var(--copper);
  color: #1c1612;
  box-shadow: 0 0 0 0 rgba(196, 120, 74, 0.5);
  animation: kapi-nefes 2.4s ease-in-out infinite;
}
.kapi-uye {
  background: transparent;
  color: var(--cream);
  outline: 1.5px solid #e6d2bb;
}
.kapi:hover,
.kapi-uye:hover { transform: translateY(-1px); }
.kapi-uye:hover { background: #3a3028; }

@keyframes kapi-nefes {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 120, 74, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(196, 120, 74, 0); }
}

.burger {
  width: 44px;
  height: 44px;
  border: 1px solid #5a4c40;
  background: transparent;
  color: var(--cream);
  display: grid;
  gap: 5px;
  place-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.kornis {
  overflow: hidden;
  background: var(--rust);
  color: #f8eadc;
  border-bottom: 1px solid #6d3822;
  position: relative;
  z-index: 30;
}
.kornis-yol {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 8px 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: kornis-kay 28s linear infinite;
  white-space: nowrap;
}
@keyframes kornis-kay {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.merdiven {
  background: #efe4d4;
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  position: relative;
  z-index: 25;
}
.merdiven.is-open { max-height: 280px; }
.merdiven ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 12px 0 16px;
}
.merdiven a {
  text-decoration: none;
  font-weight: 600;
  color: var(--soot);
}
.merdiven a.is-here,
.merdiven a:hover { color: var(--rust); }

.iz {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.iz a { color: var(--rust); text-decoration: none; }
.iz span::before { content: "·"; margin-right: 6px; color: var(--copper); }
.iz span:first-child::before { content: none; margin: 0; }

.sahne {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 28px 0 12px;
  align-items: start;
}

.kicker {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
}
h1 em {
  font-style: italic;
  color: var(--rust);
  font-weight: 560;
}
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0 0 12px; }
h3 { font-size: 1.25rem; margin: 28px 0 10px; }

.lede {
  margin: 0 0 18px;
  font-size: 1.08rem;
  color: #3a3129;
  max-width: 42rem;
}

.bilet {
  background: var(--card);
  border: 1px solid #e3d4c0;
  box-shadow: var(--shadow);
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
}
.bilet::before,
.bilet::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--paper);
  border-radius: 50%;
}
.bilet::before { left: -9px; top: 56px; box-shadow: 0 72px 0 var(--paper); }
.bilet::after { right: -9px; top: 56px; box-shadow: 0 72px 0 var(--paper); }
.bilet small {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.bilet strong {
  display: block;
  margin: 10px 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  word-break: break-word;
  color: var(--ink);
}
.bilet p { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }
.bilet .isilik { justify-content: stretch; }
.bilet .kapi,
.bilet .kapi-uye { flex: 1; }
.bilet .kapi-uye { color: var(--ink); outline-color: var(--ink); }

.sahanlik { padding: 10px 0 28px; position: relative; z-index: 1; }
.slaytlar {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 12px;
}
.slayt {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 16px 16px;
  min-height: 168px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.slayt.is-on { border-color: var(--copper); transform: translateY(-4px); }
.slayt h2 { font-size: 1.2rem; }
.slayt p { margin: 0; color: var(--muted); }
.sahan-nav {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.ok, .nokta {
  border: 1px solid var(--line);
  background: var(--card);
  min-height: 36px;
}
.ok { padding: 0 12px; font-size: 1.2rem; }
.nokta { width: 12px; padding: 0; border-radius: 50%; }
.nokta.is-on { background: var(--copper); border-color: var(--copper); }

.kolon {
  position: relative;
  z-index: 1;
  padding: 8px 0 36px;
  max-width: 44rem;
}
.kolon p { margin: 0 0 16px; }
.kolon p:last-child { margin-bottom: 0; }

.kat {
  position: relative;
  z-index: 1;
  padding: 8px 0 36px;
}
.kat .intro { color: var(--muted); max-width: 40rem; margin: 0 0 18px; }
.izgara {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.kart {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 18px 18px 16px;
  min-height: 148px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.kart:hover { border-color: var(--copper); transform: translateY(-3px); }
.kart b {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.kart span { color: var(--muted); }

.not,
.etkinlik {
  background: #2a221c;
  color: #f6ece0;
  padding: 22px 22px 20px;
  border-left: 5px solid var(--copper);
}
.not p, .etkinlik p { margin: 0; color: #ddd0c0; }
.yildiz { color: var(--copper); font-size: 1.2rem; margin: 0 0 10px !important; letter-spacing: 2px; }

.sss .soru {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.sss button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 14px 28px 14px 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.sss button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--copper);
  font-family: "Fraunces", Georgia, serif;
}
.sss .soru.is-open button::after { content: "–"; }
.sss .soru p {
  display: none;
  margin: 0 0 14px;
  color: var(--muted);
}
.sss .soru.is-open p { display: block; }

.dip {
  background: var(--ink);
  color: #eadccb;
  padding: 36px 0 110px;
  position: relative;
  z-index: 1;
}
.dip-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 24px;
}
.dip h2 { color: #fff8ef; font-size: 1.15rem; }
.dip p, .dip li { color: #cbb9a6; }
.dip ul { margin: 0; padding-left: 18px; }
.dip a { color: #f0d2b4; }
.diller { display: flex; gap: 12px; flex-wrap: wrap; }
.uyari { margin-top: 22px; font-size: 0.86rem; color: #9c8b78; }

.taban {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #1c1612;
  background: color-mix(in srgb, var(--ink) 96%, #000);
  border-top: 2px solid var(--copper);
}
.taban .kapi,
.taban .kapi-uye { flex: 1; }

.kapak-gorsel {
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.kapak-gorsel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

@media (max-width: 900px) {
  .sahne,
  .dip-grid,
  .izgara,
  .slaytlar { grid-template-columns: 1fr; }
  .slayt { display: none; min-height: 150px; }
  .slayt.is-on { display: block; }
  .sahan-nav { display: flex; }
  .asma small { display: none; }
}

@media (max-width: 720px) {
  .taban { display: flex; }
  body { padding-bottom: 76px; }
  .ray-ic { min-height: 64px; }
  .bilet .isilik { flex-direction: column; }
  h1 { font-size: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
