:root {
  --bg: #f2f6f4;
  --bg-2: #e7efea;
  --surface: #ffffff;
  --ink: #15241c;
  --muted: #5a6d63;
  --line: #d5e0d9;
  --accent: #1f7a4d;
  --accent-soft: #e4f3ea;
  --accent-2: #0f5c38;
  --shadow: 0 10px 28px rgba(21, 36, 28, 0.07);
  --radius: 16px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -10%, #d9eee2 0%, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #dce8f2 0%, transparent 50%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-2);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(242, 246, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(213, 224, 217, 0.8);
}

.nav-brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.hero {
  padding: 48px 20px 36px;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 auto 18px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-lead strong {
  color: var(--ink);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero-pills span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 64px;
  display: grid;
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #b9cec2;
  box-shadow: 0 14px 32px rgba(21, 36, 28, 0.09);
}

.card-intro,
.card-area {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.card-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  font-size: 1.35rem;
}

.card h2,
.block-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card p,
.block-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card p + p {
  margin-top: 10px;
}

.note {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid #f0e0b0;
  color: #6b5420 !important;
  font-size: 0.9rem !important;
}

.block-lead {
  margin-bottom: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.mini-card:hover {
  transform: translateY(-2px);
  border-color: #b7cfc2;
}

.mini-wide {
  grid-column: span 2;
}

.mini-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.mini-card .meta {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.mini-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.accordion {
  display: grid;
  gap: 8px;
}

.acc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(21, 36, 28, 0.04);
  transition: border-color 0.15s ease;
}

.acc[open],
.acc:hover {
  border-color: #b7cfc2;
}

.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 650;
  font-size: 0.98rem;
  user-select: none;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}

.acc[open] .chev {
  transform: rotate(-135deg);
}

.acc-body {
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  border-top: 1px solid transparent;
}

.weights {
  display: grid;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.w-row {
  display: grid;
  grid-template-columns: minmax(110px, 1.1fr) 1.6fr auto;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
}

.w-row b {
  color: var(--accent-2);
  font-variant-numeric: tabular-nums;
  min-width: 2.4rem;
  text-align: right;
}

.bar {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-2);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #3d9a68, #1f7a4d);
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.flow > li:not(.flow-arrow) {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.flow > li:not(.flow-arrow):hover {
  border-color: #b7cfc2;
  transform: translateX(2px);
}

.flow-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 800;
  font-size: 0.85rem;
}

.flow strong {
  display: block;
  font-size: 0.98rem;
}

.flow p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.flow-arrow {
  height: 18px;
  margin-left: 30px;
  position: relative;
}

.flow-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 4px;
  width: 2px;
  background: #b7cfc2;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: 0;
  border: 5px solid transparent;
  border-top-color: #b7cfc2;
}

.flow-final {
  border-color: #9dceb2 !important;
  background: linear-gradient(180deg, #f4fbf6, #fff) !important;
}

.flow-final .flow-num {
  background: var(--accent);
  color: #fff;
}

.twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.twin .card h2 {
  font-size: 1.05rem;
}

.sm {
  margin: 0 0 12px !important;
  font-size: 0.88rem !important;
}

.tip {
  margin-top: 12px !important;
  color: var(--accent-2) !important;
  font-weight: 600;
}

.scale-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.scale-table th,
.scale-table td {
  padding: 9px 10px 9px 0;
  vertical-align: middle;
}

.scale-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.scale-table td {
  border-bottom: 1px solid #eef3f0;
}

.scale-table tr:last-child td {
  border-bottom: 0;
}

/* Aralık · sınıf · alan — dengeli sütunlar */
.scale-table th:nth-child(1),
.scale-table td:nth-child(1) {
  width: 42%;
}

.scale-table th:nth-child(2),
.scale-table td:nth-child(2) {
  width: 28%;
  padding-left: 6px;
}

.scale-table th:nth-child(3),
.scale-table td:nth-child(3) {
  width: 30%;
  text-align: right;
  padding-right: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.scale-table th:nth-child(3) {
  text-align: right;
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.c1 { background: #2b6cb0; }
.c2 { background: #63b3ed; }
.c3 { background: #f6e05e; }
.c4 { background: #ed8936; }
.c5 { background: #e53e3e; }
.p1 { background: #f5f500; }
.p2 { background: #f5b800; }
.p3 { background: #f57a00; }
.p4 { background: #f50000; }

.card-result {
  text-align: center;
  background:
    linear-gradient(180deg, #f5fbf7 0%, #fff 55%);
}

.map-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.map-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 40, 30, 0.06);
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.map-card:hover,
.map-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 40, 30, 0.1);
  outline: none;
}

.map-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 508;
  object-fit: cover;
  background: #e8eee9;
}

.map-card-meta {
  display: grid;
  gap: 2px;
  padding: 12px 14px 14px;
}

.map-card-meta strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.map-card-meta small {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.map-card-meta .map-src {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #6a7f74;
}

.map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(12, 22, 18, 0.78);
  backdrop-filter: blur(4px);
}

.map-lightbox[hidden] {
  display: none !important;
}

.map-lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.map-lb-figure {
  position: relative;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.map-lb-figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 90px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  background: #111;
  transition: opacity 0.15s ease;
}

.map-lb-figure img.is-loading {
  opacity: 0.85;
}

.map-lb-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #dff5ea;
  font-size: 0.8rem;
  pointer-events: none;
}

.map-lb-figure figcaption {
  color: #e8f0ea;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  display: grid;
  gap: 4px;
  max-width: 42rem;
}

.map-lb-figure .map-lb-src {
  font-size: 0.78rem;
  font-weight: 500;
  color: #b7c8bc;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .map-gallery {
    grid-template-columns: 1fr;
  }
}

.card-result p {
  max-width: 640px;
  margin: 0 auto 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.site-foot {
  padding: 24px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-foot p {
  margin: 0;
}

@media (max-width: 800px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .mini-wide {
    grid-column: span 2;
  }

  .twin {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 32px 16px 24px;
  }

  .wrap {
    padding: 0 14px 48px;
    gap: 16px;
  }

  .card-intro,
  .card-area {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .mini-wide {
    grid-column: auto;
  }

  .w-row {
    grid-template-columns: 1fr auto;
  }

  .w-row .bar {
    grid-column: 1 / -1;
    order: 3;
  }

  .site-nav {
    padding: 10px 14px;
  }
}

.team-block {
  margin-bottom: 28px;
  padding: 8px 0 4px;
}

.team-block-title {
  font-size: clamp(1.75rem, 3.8vw, 2.4rem) !important;
  letter-spacing: -0.02em;
}

.team-block .block-lead {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.team-subhead {
  margin: 16px 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-2);
}

.team-advisor-slot {
  margin: 6px 0 20px;
  display: flex;
  justify-content: center;
}

.team-advisor-slot .team-card {
  width: min(100%, 300px);
  padding: 16px 16px 14px;
  gap: 10px;
}

.team-advisor-slot .team-photo {
  width: 180px;
  height: 180px;
  border-radius: 20px;
}

.team-advisor-slot .team-photo-empty {
  font-size: 3rem;
}

.team-advisor-slot .team-role {
  margin-top: 2px;
}

.team-advisor-slot .team-name {
  margin-top: 2px;
  font-size: 1.28rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 14px 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-photo {
  width: 112px;
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg-2);
}

.team-photo-empty {
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: var(--muted);
}

.team-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.team-role {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
  line-height: 1.2;
}

.team-name {
  margin: 0;
  font-size: 0.98rem;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.25;
  color: #15241c;
}

.team-class,
.team-school {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  color: #15241c;
  font-weight: 500;
}

.team-class strong,
.team-duty strong {
  font-weight: 800;
}

.team-duty {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 500;
  color: #c0392b;
}

.team-duty strong {
  color: #c0392b;
}

.team-class:empty,
.team-school:empty,
.team-duty:empty {
  display: none;
}

@media (max-width: 640px) {
  .team-grid {
    gap: 8px;
  }

  .team-photo {
    width: 88px;
    height: 88px;
    border-radius: 14px;
  }

  .team-name {
    font-size: 0.88rem;
  }

  .team-class,
  .team-school,
  .team-duty {
    font-size: 0.74rem;
  }

  .team-advisor-slot .team-photo {
    width: 150px;
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
