/* ==========================================================================
   CEPHE 81 — KONTUR: gece haritası, amber (biz) ve kobalt (karşı cephe),
   oyunun L·01 paletinden. Tek kerf işareti: cephe hattı.
   ========================================================================== */

.theme-cephe {
  --bg: #0a0d12;
  --fg: #e9edf2;
  --fg-2: #c3cbd5;
  --fg-3: #9aa6b5;
  --line: #2b3542;
  --line-strong: #e9edf2;
  --surface: #151b23;
  --surface-2: #1c232d;
  --header-line: #2b3542;
  --status-dev: #f5a524;
  --inert-bg: #242d39;
  --inert-fg: #9aa6b5;
  --strip-thumb: #3a4656;
  --cp-amber: #f5a524;
  --cp-cobalt: #6b9bff;
  background: var(--bg);
  color: var(--fg);
}

.theme-cephe .site-header {
  --header-bg: transparent;
}

.theme-cephe .site-header.is-scrolled {
  --header-bg: var(--bg);
}

/* ---------- Hero ---------- */
.cp-hero__art {
  position: relative;
  height: clamp(260px, 46vw, 680px);
  overflow: hidden;
  background: #0b1220;
}

.cp-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
}

/* fotoğrafın altı sayfa zeminine erir */
.cp-hero__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(10, 13, 18, 0), var(--bg));
  pointer-events: none;
}

.cp-hero__body {
  position: relative;
  margin-top: -24px;
}

.cp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  align-items: end;
  margin-top: 40px;
}

.cp-hero__icon {
  --icon: 88px;
}

.cp-title {
  margin-top: 28px;
  font-size: clamp(2.75rem, 1.2rem + 5.6vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.cp-81 {
  color: var(--cp-amber);
}

.cp-lead {
  max-width: 640px;
  margin-top: 28px;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6875rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--fg-2);
}

.cp-lead strong {
  font-weight: 700;
  color: var(--fg);
}

.cp-hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 6px;
}

.cp-hero__meta .status {
  color: var(--cp-amber);
}

/* ---------- Ekranlar ---------- */
.cp-screens {
  padding-top: 140px;
}

.cp-screens .section-head {
  margin-bottom: 32px;
}

.cp-strip > li {
  width: 258px;
}

.cp-strip img {
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--line);
}

/* ---------- Cephe hattı ---------- */
.cp-front {
  padding-top: 140px;
  padding-bottom: 128px;
}

.cp-board {
  padding: 34px 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.cp-board__head {
  margin-bottom: 8px;
}

.cp-board__head .label:first-child {
  color: var(--cp-amber);
}

.cp-board__head .label:last-child {
  color: var(--cp-cobalt);
}

.cp-lane {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  align-items: center;
  margin-top: 10px;
}

.cp-bar {
  position: relative;
  display: block;
  height: 56px;
  background: rgba(107, 155, 255, 0.28);
}

.cp-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  background: rgba(245, 165, 36, 0.78);
  border-right: 3px solid #fff3d6;
  box-shadow: 4px 0 16px rgba(245, 165, 36, 0.45);
}

.cp-board figcaption {
  margin-top: 26px;
}

/* ---------- Kartlar ---------- */
.cp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  list-style: none;
  padding: 0;
}

.cp-cards li {
  padding: 26px 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.cp-cards h2 {
  margin-top: 8px;
  font-size: clamp(1.625rem, 1.4rem + 0.6vw, 1.875rem);
}

.cp-cards p {
  margin-top: 14px;
}

.cp-cards--ink {
  background: var(--cp-amber) !important;
  border-color: var(--cp-amber) !important;
  color: #0a0d12;
  --fg-2: #2a2110;
  --fg-3: #3d3015;
}

/* ---------- Emirler ve arazi ---------- */
.cp-orders {
  padding-top: 130px;
}

.cp-orders__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}

.cp-orders__grid > :last-child {
  padding-left: 12px;
}

.cp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}

.cp-chips li {
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cp-orders__text {
  max-width: 580px;
  margin-top: 16px;
}

/* ---------- Harita ---------- */
.cp-map {
  margin: 0 0 56px;
}

.cp-map img {
  width: 100%;
  height: auto;
}

.cp-map figcaption {
  margin-top: 14px;
}

/* ---------- Alt bilgi ---------- */
.cp-foot .game-foot__grid > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cp-foot p {
  color: var(--fg-2);
}

.cp-foot {
  padding-bottom: 96px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .cp-hero__grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .cp-orders__grid {
    grid-template-columns: 1fr;
    row-gap: var(--space-64);
  }

  .cp-orders__grid > :last-child {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .cp-hero__body {
    margin-top: -8px;
  }

  .cp-hero__icon {
    --icon: 72px;
  }

  .cp-hero__meta .btn {
    width: 100%;
    justify-content: center;
  }

  .cp-screens,
  .cp-front {
    padding-top: 96px;
  }

  .cp-strip > li {
    width: 200px;
  }

  .cp-board {
    padding: 20px 16px;
  }

  .cp-lane {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cp-bar {
    height: 36px;
  }

  .cp-cards {
    grid-template-columns: 1fr;
  }

  .cp-orders {
    padding-top: 96px;
  }

  .cp-map {
    margin-inline: calc(var(--margin) * -1);
  }
}
