:root {
  --bg: #0b0d10;
  --ink: #f2efe8;
  --muted: #aaa59a;
  --line: rgba(242, 239, 232, .14);
  --panel: rgba(19, 21, 25, .82);
  --panel-solid: #14171c;
  --accent: #d7b46a;
  --accent-2: #8fc7b5;
  --danger: #c86464;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(11, 13, 16, .22), var(--bg) 620px),
    radial-gradient(700px 420px at 15% 8%, rgba(215, 180, 106, .13), transparent 60%),
    radial-gradient(620px 420px at 85% 3%, rgba(143, 199, 181, .10), transparent 58%),
    var(--bg);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.nk-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.nk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 16, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nk-header__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nk-brand { text-decoration: none; min-width: 230px; }
.nk-brand__name {
  display: block;
  color: var(--accent);
  font-size: 18px;
  font-weight: 760;
}
.nk-brand__sub {
  display: block;
  max-width: 380px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nk-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nk-nav a, .nk-lang a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 11px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,255,255,.035);
}
.nk-nav a:hover, .nk-lang a:hover { border-color: rgba(215,180,106,.45); }
.nk-lang, .nk-lang ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nk-lang a { color: var(--muted); font-size: 13px; min-height: 34px; padding: 7px 10px; }
.nk-lang .current-lang a { color: var(--accent); border-color: rgba(215,180,106,.42); }

.nk-main { min-height: calc(100vh - 145px); }
.nk-hero {
  min-height: 390px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.nk-hero__media {
  position: absolute;
  inset: 0;
}
.nk-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.96), rgba(11,13,16,.66) 48%, rgba(11,13,16,.28)),
    linear-gradient(0deg, var(--bg), transparent 48%);
}
.nk-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}
.nk-hero__content {
  position: relative;
  padding: 38px 0 30px;
}
.nk-kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
}
.nk-kicker span {
  color: var(--danger);
  margin-left: 10px;
}
.nk-hero h1 {
  max-width: 760px;
  margin: 8px 0 10px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: .92;
  letter-spacing: 0;
}
.nk-hero p {
  max-width: 650px;
  margin: 0 0 18px;
  color: #d6d1c7;
  font-size: 20px;
}
.nk-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(242,239,232,.18);
  border-radius: 7px;
  padding: 11px 18px;
  background: rgba(255,255,255,.05);
  color: var(--ink);
  text-decoration: none;
  font-weight: 740;
}
.nk-btn--main {
  border-color: rgba(215,180,106,.72);
  background: linear-gradient(180deg, rgba(215,180,106,.32), rgba(215,180,106,.16));
}
.nk-section { padding: 30px 0; }
.nk-section--muted {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border-block: 1px solid var(--line);
}
.nk-section-head {
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 2px solid rgba(215,180,106,.72);
}
.nk-section-head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.nk-section-head h1, .nk-section-head h2, .nk-prose h1 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05;
}
.nk-section-head p { max-width: 720px; color: var(--muted); font-size: 18px; }
.nk-section-label {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nk-section-link {
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(215,180,106,.42);
}

.nk-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nk-feature-grid article, .nk-post-card, .nk-prose, .nk-aside-shot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.nk-feature-grid article { padding: 18px 22px; }
.nk-feature-grid h2 { margin: 0 0 8px; font-size: 20px; color: var(--accent); }
.nk-feature-grid p { margin: 0; color: var(--muted); }

.nk-shot-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 14px;
}
.nk-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
  cursor: zoom-in;
}
.nk-shot::after {
  content: "View";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(0,0,0,.48);
  font-size: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: .18s ease;
}
.nk-shot:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.nk-shot-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}
.nk-shot:hover img { transform: scale(1.025); filter: saturate(1.06); }
.nk-shot:first-child { grid-row: span 2; }
.nk-shot:first-child img { height: 360px; }

.nk-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nk-post-card { overflow: hidden; }
.nk-post-card a { display: block; text-decoration: none; }
.nk-post-card img { width: 100%; height: 190px; object-fit: cover; }
.nk-post-card span, .nk-post-card h3, .nk-post-card p { margin-inline: 18px; }
.nk-post-card span { display: block; margin-top: 16px; color: var(--accent-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.nk-post-card h3 { margin-top: 7px; margin-bottom: 8px; font-size: 21px; }
.nk-post-card p { margin-top: 0; margin-bottom: 20px; color: var(--muted); }
.nk-empty { color: var(--muted); }

.nk-page { padding: 72px 0; }
.nk-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}
.nk-prose { padding: clamp(24px, 4vw, 44px); }
.nk-prose p, .nk-prose li { color: #d9d3c8; font-size: 18px; }
.nk-lead { color: var(--ink) !important; font-size: 22px !important; }
.nk-aside-shot { overflow: hidden; }
.nk-aside-shot img { width: 100%; min-height: 520px; object-fit: cover; }
.nk-post-hero img { border-radius: 8px; border: 1px solid var(--line); }
.nk-pager { margin-top: 28px; }

.nk-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0,0,0,.18);
}

.nk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(8px);
}
.nk-lightbox img {
  max-width: min(1180px, 96vw);
  max-height: 90vh;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0,0,0,.75);
}
.nk-lightbox__close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(20,20,20,.7);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.nk-lightbox-open { overflow: hidden; }
.nk-footer__inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 13px;
}

@media (max-width: 900px) {
  .nk-wrap { width: min(100% - 28px, 1160px); }
  .nk-header__inner, .nk-footer__inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nk-brand__sub { white-space: normal; }
  .nk-nav { justify-content: flex-start; }
  .nk-hero { min-height: 410px; }
  .nk-hero__content { padding: 44px 0 30px; }
  .nk-hero p { font-size: 18px; }
  .nk-feature-grid, .nk-news-grid, .nk-page__grid { grid-template-columns: 1fr; }
  .nk-shot-grid { grid-template-columns: 1fr; }
  .nk-shot, .nk-shot:first-child { grid-row: auto; }
  .nk-shot-grid img, .nk-shot:first-child img { height: 230px; }
}
