:root {
  --bg: #090b0a;
  --bg-2: #121614;
  --ink: #f4efe6;
  --muted: rgba(244, 239, 230, 0.68);
  --line: rgba(244, 239, 230, 0.14);
  --signal: #ff4d1c;
  --paper: #f3eee4;
  --paper-ink: #161814;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --kimyasal: #ff6a2a;
  --biyolojik: #3dce93;
  --radyolojik: #f0c14b;
  --nukleer: #79b6ff;
  --bilim: #d7c4ff;
  --guvenlik: #f2a3c2;
  --akademik: #9ad7c8;
  --gundem: #e7d7b8;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 77, 28, 0.16), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(61, 206, 147, 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  background: rgba(9, 11, 10, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.home-mark {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}
.home-mark img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 10px;
  background: #050505;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
}
.brand strong {
  font-family: var(--serif);
  font-weight: 680;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brand span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--signal);
  color: var(--ink) !important;
  padding: 8px 14px;
  border-radius: 999px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

.ticker {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: #070807;
  overflow: hidden;
}
.ticker-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--signal);
  color: #1a0b06;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.ticker-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a0b06;
  animation: pulse 1.4s ease-in-out infinite;
}
.ticker-track {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-move {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 10px 0;
  animation: tick 200s linear infinite;
}
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a {
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.86rem;
}
.ticker-move a b {
  color: var(--ink);
  font-weight: 600;
  margin-right: 8px;
}

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.mast { padding: 28px 0 0; }
.mast p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}
.mast h2 {
  margin: 6px 0 0;
  max-width: 22em;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: end;
  padding: 42px 0 28px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--signal);
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 680;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.hero-lens {
  margin: 18px 0 0;
  max-width: 40rem;
  font-size: 1.2rem;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.hero-join {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.hero-join input {
  min-height: 46px;
  min-width: min(100%, 240px);
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(9, 11, 10, 0.7);
  color: var(--ink);
  font: inherit;
}
.hero-join .bulletin-note {
  flex: 1 1 100%;
  margin: 0;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--signal);
  color: #1a0b06;
  font-weight: 700;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.hero-visual {
  position: relative;
  display: block;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 77, 28, 0.35), rgba(9, 11, 10, 0.2)),
    #1a1e1b;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.hero-index {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.lanes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 28px;
}
.lane {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.lane:hover { transform: translateY(-3px); border-color: rgba(244, 239, 230, 0.4); }
.lane em {
  font-style: normal;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}
.lane strong { font-size: 0.95rem; }
.lane span {
  color: var(--muted);
  font-size: 0.86rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lane[data-cat="kimyasal"] em { color: var(--kimyasal); }
.lane[data-cat="biyolojik"] em { color: var(--biyolojik); }
.lane[data-cat="radyolojik"] em { color: var(--radyolojik); }
.lane[data-cat="nukleer"] em { color: var(--nukleer); }

.stream-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 10px 0 16px;
}
.stream-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.watch { margin: 48px 0 8px; }
.watch-map-block { margin-top: 22px; }
.watch-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.watch-filters button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}
.watch-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.watch-map {
  position: relative;
  height: auto;
  aspect-ratio: 2 / 1;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #141816;
}
.watch-map > img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: fill;
  display: block;
}
.watch-pins { position: absolute; inset: 0; }
.watch-pin-wrap { background: transparent !important; border: 0 !important; }
.watch-glyph {
  position: absolute;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nukleer);
  filter: drop-shadow(0 0 5px currentColor);
  cursor: pointer;
  animation: watch-bob 2.8s ease-in-out infinite;
}
.watch-glyph svg { width: 16px; height: 16px; display: block; }
.watch-glyph span {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 8px;
  background: #161a18;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
}
.watch-glyph:hover span,
.watch-glyph:focus span { display: block; }
.watch-glyph[data-kind="biyolojik"] { color: var(--biyolojik); }
.watch-glyph[data-kind="kimyasal"] { color: var(--kimyasal); }
.watch-glyph[data-kind="nukleer"] { color: var(--nukleer); }
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #161a18;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content {
  margin: 12px 14px;
  display: grid;
  gap: 4px;
}
.leaflet-popup-content strong { font-size: 0.98rem; }
.leaflet-popup-content em { color: #ffb199; font-style: normal; font-size: 0.78rem; }
.leaflet-popup-content span { color: var(--muted); font-size: 0.88rem; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.watch-sites {
  max-height: 520px;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 8px;
  padding-right: 2px;
}
.watch-site {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}
.watch-site i {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gundem);
}
.watch-site i[data-kind="biyolojik"] { background: var(--biyolojik); }
.watch-site i[data-kind="kimyasal"] { background: var(--kimyasal); }
.watch-site i[data-kind="radyolojik"] { background: var(--radyolojik); }
.watch-site i[data-kind="nukleer"] { background: var(--nukleer); }
.watch-site span { display: grid; }
.watch-site strong { font-size: 0.92rem; }
.watch-site em { color: var(--muted); font-style: normal; font-size: 0.78rem; }
.watch-site b { font-weight: 500; color: rgba(244, 239, 230, 0.82); font-size: 0.8rem; }
.watch-site.is-on { border-color: rgba(255, 177, 153, 0.7); background: rgba(255, 77, 28, 0.08); }
.watch-map-note { margin: 8px 0 0; color: var(--muted); font-size: 0.8rem; }

.links { margin: 48px 0 8px; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.link-card {
  display: grid;
  gap: 4px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px 16px;
  background: rgba(255, 255, 255, 0.03);
}
.link-card:hover { border-color: rgba(255, 177, 153, 0.7); }
.link-card strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.link-card span { color: rgba(244, 239, 230, 0.88); }
.link-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
}
.watch-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.watch-head p { max-width: 42rem; color: var(--muted); }
.watch-group { margin-top: 26px; }
.watch-group h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffb199;
}
.watch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.watch-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px 8px;
  background: rgba(255, 255, 255, 0.03);
}
.watch-card h4 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.35; }
.watch-source { color: var(--muted); font-size: 0.82rem; }
.watch-card p:last-child { color: rgba(244, 239, 230, 0.86); }

.news-intro {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  margin: 8px 0 28px;
}
.news-intro img {
  width: 120px;
  height: 148px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 16px;
  background: #fff;
}
.news-intro p { margin: 0; max-width: 40rem; color: var(--muted); }

.stream {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.card {
  display: grid;
  grid-template-columns: 92px 1fr 180px;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.card:hover h3 { color: var(--signal); }
.card-no {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--muted);
}
.card h3 {
  margin: 4px 0;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.card p { margin: 0; color: var(--muted); }
.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag { color: var(--ink); }
.tag[data-cat="kimyasal"] { color: var(--kimyasal); }
.tag[data-cat="biyolojik"] { color: var(--biyolojik); }
.tag[data-cat="radyolojik"] { color: var(--radyolojik); }
.tag[data-cat="nukleer"] { color: var(--nukleer); }
.tag[data-cat="bilim"] { color: var(--bilim); }
.tag[data-cat="guvenlik"] { color: var(--guvenlik); }
.tag[data-cat="akademik"] { color: var(--akademik); }
.tag[data-cat="gundem"] { color: var(--gundem); }
.article-body {
  max-width: 42rem;
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}
.article-body p { margin: 0 0 1em; }
.article-body h2 {
  margin: 1.6em 0 0.5em;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.article-body a { color: #9a3b16; }
.article-body img {
  width: 100%;
  margin: 0.4em 0 1em;
  border-radius: 12px;
}
.thumb {
  width: 180px;
  height: 112px;
  object-fit: cover;
  border-radius: 12px;
  background: #1c211e;
}
.thumb.is-hidden { display: none; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer a { color: var(--ink); }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--signal);
  z-index: 30;
}

body[data-page="article"],
body[data-page="about"] {
  background: var(--paper);
  color: var(--paper-ink);
}
body[data-page="article"] .site-header,
body[data-page="about"] .site-header {
  background: rgba(9, 11, 10, 0.94);
  color: var(--ink);
}
.article { padding: 28px 0 64px; }
.article-kicker { color: #9a3b16; }
.article h1 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-weight: 680;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 18ch;
}
.article-lead {
  font-size: 1.25rem;
  max-width: 42rem;
  color: #3c4038;
}
.article-figure {
  margin: 28px 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ddd6c8;
}
.article-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.pull {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--signal);
  background: #fffaf3;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22, 24, 20, 0.1);
}
.points b {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #9a3b16;
}
.article-note {
  margin-top: 22px;
  color: #5c6158;
  font-size: 0.92rem;
}
.full-link { margin-top: 18px; }
.next-story {
  margin-top: 48px;
  display: block;
  text-decoration: none;
  padding-top: 22px;
  border-top: 1px solid rgba(22, 24, 20, 0.14);
}
.next-story small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a3b16;
  font-weight: 700;
}
.next-story strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  padding: 36px 0 64px;
  align-items: start;
}
.about img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 22%;
  background: #fff;
  max-height: 640px;
}
.bulletin {
  margin: 22px 0 8px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(22, 24, 20, 0.12);
  background: #fffaf3;
}
.bulletin h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.bulletin p { margin: 0 0 12px; }
.bulletin-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bulletin-form input {
  flex: 1 1 220px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(22, 24, 20, 0.18);
  background: #fff;
  color: var(--paper-ink);
  font: inherit;
}
.bulletin-note { margin-top: 12px; font-weight: 600; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
body[data-page="home"] .bulletin {
  margin-top: 36px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}
body[data-page="home"] .bulletin p { color: var(--muted); }
body[data-page="home"] .bulletin-form input {
  background: rgba(9, 11, 10, 0.7);
  color: var(--ink);
  border-color: var(--line);
}
.about h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.about p { font-size: 1.08rem; color: #33382f; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
body[data-page="about"] .btn.ghost { color: var(--paper-ink); border-color: rgba(22, 24, 20, 0.2); }

.empty { padding: 28px 0 48px; color: var(--muted); }

@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes watch-bob {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -68%) scale(1.16); }
}

@media (max-width: 900px) {
  .hero, .lanes, .about, .watch-grid, .link-grid, .news-intro { grid-template-columns: 1fr; }
  .watch-map { height: auto; }
  .card { grid-template-columns: 52px 1fr; }
  .thumb { display: none; }
  .hero-visual, .hero-visual img { min-height: 220px; }
  .menu-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 16px 16px;
    background: #090b0a;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-move, .ticker-label i, .watch-glyph { animation: none; }
  html { scroll-behavior: auto; }
}
