/* Tactics Game Survival · v7
   Закат над островом сверху, ниже — интерфейс в духе Rust:
   ячейки инвентаря, консоль F1, таймер вайпа поверх карты. */

:root {
  --ink-0: #0a161c;
  --ink: #0f2029;
  --ink-2: #152b36;
  --line: rgba(236, 228, 210, .12);
  --slot: rgba(236, 228, 210, .055);
  --paper: #ece4d2;
  --muted: #a3a89c;
  --rust: #b23a24;
  --rust-hi: #e8744f;
  --sun: #f2a65e;
  --go: #9cbb4a;
  --go-hi: #b2d15c;

  --f-display: "Fira Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-body: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.6 var(--f-body); overflow-x: hidden;
}
/* лёгкое зерно поверх всего, как пыль на экране */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow-x: hidden; overflow-x: clip; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: .95; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(42px, 6.4vw, 84px); text-transform: uppercase; letter-spacing: .005em; }
h3 { font-size: 26px; font-weight: 600; line-height: 1.1; }
p { margin: 0; }
a { color: var(--paper); text-decoration-color: rgba(236, 228, 210, .4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--rust-hi); }
code { font-family: var(--f-mono); font-size: .92em; }
kbd { font-family: var(--f-mono); font-size: .85em; padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 4px; background: var(--ink-2); }
:focus-visible { outline: 3px solid var(--go-hi); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.lead { color: var(--muted); font-size: 19px; max-width: 52ch; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border: 0; border-radius: 3px; cursor: pointer;
  font: 800 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none;
  transition: background-color .15s ease, transform .1s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--play { background: var(--go); color: var(--ink-0); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22); }
.btn--play:hover { background: var(--go-hi); }
.btn--ghost { background: transparent; color: var(--paper); border: 1px solid rgba(236, 228, 210, .3); font-size: 18px; }
.btn--ghost:hover { border-color: var(--paper); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 18px; }
.btn--support { background: var(--rust); color: var(--paper); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22); }
.btn--support:hover { background: #c8462d; }
.btn--paper { background: var(--paper); color: var(--ink-0); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); }
.btn--paper:hover { background: #fff7e6; }

.cmd {
  display: inline-flex; align-items: stretch; max-width: 100%; min-width: 0;
  border: 1px solid rgba(236, 228, 210, .22); border-radius: 3px;
  background: rgba(10, 22, 28, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cmd code { padding: 0 16px; display: flex; align-items: center; white-space: nowrap; min-width: 0; }
.cmd__copy {
  flex: none; border: 0; border-left: 1px solid rgba(236, 228, 210, .22); background: transparent; color: var(--paper);
  font: 500 15px/1 var(--f-body); padding: 0 16px; cursor: pointer;
}
.cmd__copy:hover { background: rgba(236, 228, 210, .08); }
.is-done { color: var(--go-hi) !important; }

/* ---------- Шапка ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background-color .25s ease; padding-top: env(safe-area-inset-top, 0px); }
.top.is-scrolled { background: rgba(10, 22, 28, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top__in { display: flex; align-items: center; gap: 30px; max-width: 1440px; margin: 0 auto; padding: 14px var(--gutter); }
.logo { font: 800 26px/1 var(--f-display); letter-spacing: .06em; color: var(--paper); text-decoration: none; padding: 7px 10px 6px; background: var(--rust); }
.nav { display: flex; gap: 26px; }
.nav a, .top__link { color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.nav a:hover, .top__link:hover { text-decoration: underline; text-decoration-color: var(--rust-hi); }
.top__mlink { display: none; color: var(--paper); font-weight: 500; font-size: 15px; text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.top__end { margin-left: auto; display: flex; align-items: center; gap: 22px; }

/* ---------- Hero: закат над островом ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px;
  /* пока грузится 3D, виден такой же закат */
  background: linear-gradient(180deg, #e08a4f 0%, #c8693f 26%, #8a5546 34%, #4d4f58 48%, #24505f 64%, #133643 82%, var(--ink) 100%);
}
.hero__scene { position: absolute; inset: 0; }
.hero__scene canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.hero__scene canvas.is-on { opacity: 1; }
#flat { object-fit: contain; object-position: 75% 55%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, var(--ink) 0%, rgba(15, 32, 41, .6) 14%, rgba(15, 32, 41, 0) 36%),
    radial-gradient(ellipse 60% 70% at 0% 85%, rgba(15, 32, 41, .78) 0%, rgba(15, 32, 41, 0) 100%);
}
.hero__in {
  position: absolute; inset: auto 0 0 0;
  max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) clamp(36px, 6vh, 64px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero__text { max-width: 760px; min-width: 0; }
.hero__title {
  font-size: clamp(64px, 10.4vw, 164px); line-height: .82; text-transform: uppercase; letter-spacing: -.005em;
  text-shadow: 0 4px 40px rgba(10, 22, 28, .45);
}
.hero__sub { margin-top: 16px; font: 600 clamp(24px, 2.6vw, 34px)/1.1 var(--f-display); color: var(--sun); }
.hero__in { pointer-events: none; }
.hero__in > * { pointer-events: auto; }
.hero__scene canvas { cursor: grab; }
.hero__scene canvas.is-grabbing { cursor: grabbing; }
.hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ctrl__hint { font-size: 13px; color: rgba(236, 228, 210, .8); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.ctrl__btns { display: flex; gap: 4px; }
.ctrl__btns button {
  min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid rgba(236, 228, 210, .25); border-radius: 3px;
  background: rgba(10, 22, 28, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--paper); font: 600 18px/1 var(--f-display); cursor: pointer;
}
.ctrl__btns button:hover { border-color: var(--paper); }
.hero__caption { max-width: 280px; font-size: 13px; line-height: 1.5; color: rgba(236, 228, 210, .72); text-align: right; }
.hero__caption a { color: rgba(236, 228, 210, .9); display: inline-block; margin-top: 4px; }

.live { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; font-weight: 500; }
.live__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; position: relative; top: -1px; }
.live.is-online .live__dot { background: var(--go); animation: ping 2.4s ease-out infinite; }
.live.is-offline .live__dot { background: var(--rust-hi); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(156, 187, 74, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(156, 187, 74, 0); } }
.live a { color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------- Рейты ---------- */
.rates { background: var(--ink-0); border-top: 3px solid var(--rust); }
.rates__in {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
}
.rates__in > div { padding: 30px 0 34px; border-left: 1px solid var(--line); padding-left: 26px; }
.rates__in > div:first-child { border-left: 0; padding-left: 0; }
.rates dt { color: var(--muted); font-size: 15px; }
.rates dd { margin: 2px 0 0; font: 800 clamp(48px, 5.4vw, 76px)/.9 var(--f-display); font-variant-numeric: tabular-nums; }

/* ---------- Возможности: инвентарь ---------- */
.features { padding: clamp(80px, 11vw, 140px) 0; }
.features__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.inv { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 56px; align-items: start; }
.inv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot {
  position: relative; aspect-ratio: 1 / 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 6px; border: 1px solid rgba(236, 228, 210, .06); border-radius: 2px;
  background: var(--slot); color: var(--paper); cursor: pointer;
  font: 600 14px/1.15 var(--f-display); letter-spacing: .02em; text-transform: uppercase; text-align: center;
  transition: background-color .12s ease, border-color .12s ease;
}
@supports not (aspect-ratio: 1 / 1) { .slot { height: 140px; } }
.slot svg { width: 34px; height: 34px; color: var(--paper); opacity: .9; flex: none; }
.slot span { overflow-wrap: anywhere; }
.slot:hover { background: rgba(236, 228, 210, .1); }
.slot[aria-selected="true"] { background: rgba(178, 58, 36, .28); border-color: var(--rust-hi); }
.slot[aria-selected="true"] svg { color: var(--sun); opacity: 1; }

.item {
  position: sticky; top: 96px;
  padding: 34px 32px 36px; background: var(--ink-2);
  border-top: 3px solid var(--rust);
}
.item__icon { width: 92px; height: 92px; display: grid; place-items: center; background: var(--slot); border: 1px solid var(--line); color: var(--sun); }
.item__name { margin-top: 24px; font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; text-transform: uppercase; line-height: .95; }
.item__text { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 40ch; }

/* ---------- Вайп ---------- */
.wipe { position: relative; overflow: hidden; background: var(--ink-0); padding: clamp(80px, 11vw, 140px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wipe__map {
  position: absolute; top: 50%; right: -12%; width: min(980px, 90vw); height: auto; max-width: none;
  transform: translateY(-50%) rotate(-9deg); opacity: .26; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.wipe__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.clock { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: clamp(14px, 3vw, 40px); margin-top: 28px; }
.clock div { display: flex; flex-direction: column; }
.clock b { font: 800 clamp(64px, 10vw, 150px)/.82 var(--f-display); font-variant-numeric: tabular-nums; color: var(--paper); }
.clock div:first-child b { color: var(--sun); }
.clock span { margin-top: 10px; color: var(--muted); font-size: 15px; }
.wipe__note { margin-top: 32px; color: var(--muted); max-width: 56ch; }
.wipe__dates { padding: 28px 28px 30px; background: rgba(21, 43, 54, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line); }
.wipe__dates h3 { font-size: 22px; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.wipe__dates ol { list-style: none; margin: 16px 0 0; padding: 0; }
.wipe__dates li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.wipe__dates li b { font: 800 28px/1 var(--f-display); text-transform: uppercase; }
.wipe__dates li span { color: var(--muted); font-size: 15px; white-space: nowrap; }
.wipe__dates li:first-child b { color: var(--sun); }
.wipe__last { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Как зайти ---------- */
.join { padding: clamp(80px, 11vw, 140px) 0; }
.join__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; gap: 26px; }
.steps li { counter-increment: s; position: relative; padding-left: 64px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -6px; font: 800 52px/1 var(--f-display); color: var(--rust-hi); }
.steps b { color: var(--paper); font-weight: 600; }

.console { background: rgba(8, 15, 19, .94); border: 1px solid rgba(236, 228, 210, .1); font-family: var(--f-mono); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); min-width: 0; }
.console__bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid rgba(236, 228, 210, .08); font: 500 13px/1 var(--f-mono); color: var(--muted); }
.console__bar span { padding: 3px 6px; background: var(--rust); color: var(--paper); }
.console__log { padding: 20px 18px 8px; font-size: 13px; color: #6e7c76; line-height: 1.8; }
.console__input { display: flex; align-items: center; gap: 10px; margin: 8px 18px 0; padding: 14px 14px; background: rgba(236, 228, 210, .06); border: 1px solid rgba(236, 228, 210, .1); font-size: 16px; min-width: 0; }
.console__input code { overflow-wrap: anywhere; min-width: 0; }
.console__prompt { color: var(--go); }
.caret { width: 9px; height: 19px; background: var(--paper); animation: blink 1.1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.console__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px; }

/* ---------- Вопросы ---------- */
.faq { padding: clamp(80px, 10vw, 130px) 0; background: var(--ink-0); border-top: 1px solid var(--line); }
.faq__in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 25px/1.2 var(--f-display); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--rust-hi); border-bottom: 2px solid var(--rust-hi);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__list details p { padding: 0 0 24px; max-width: 62ch; color: var(--muted); }

/* ---------- Сообщество ---------- */
.community { padding: clamp(70px, 9vw, 110px) 0; background: var(--rust); }
.community__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.community h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 16ch; }
.community__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 44px; background: rgba(10, 22, 28, .3); }
.community__links a { display: flex; flex-direction: column; gap: 6px; padding: 24px 22px 28px; background: var(--rust); color: var(--paper); text-decoration: none; transition: background-color .15s ease; min-width: 0; }
.community__links a:hover { background: #9c311d; }
.community__links b { font: 800 34px/1 var(--f-display); text-transform: uppercase; }
.community__links span { font-size: 15px; opacity: .88; }

/* ---------- Подвал ---------- */
.foot { padding: 36px 0 calc(44px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); background: var(--ink-0); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translate(-50%, 20px);
  padding: 12px 18px; background: var(--paper); color: var(--ink); font-weight: 500; border-radius: 3px; max-width: calc(100% - 32px);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Документы ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 130px var(--gutter) 90px; }
.doc h1 { font-size: clamp(48px, 8vw, 92px); text-transform: uppercase; }
.doc .updated { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; }
.doc h2 { font-size: 30px; margin: 52px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--rust); }
.doc ul { padding-left: 20px; margin: 0; }
.doc li { margin: 10px 0; }
.doc li::marker { color: var(--rust-hi); }
.doc p { margin: 10px 0; }
.doc strong { font-weight: 600; }
.doc .back { display: inline-block; margin-top: 56px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top__mlink { display: inline; }
  .inv, .wipe__in, .join__in, .faq__in, .features__head { grid-template-columns: minmax(0, 1fr); }
  .item { position: static; }
  .community__links { grid-template-columns: repeat(2, 1fr); }
  .hero__caption { display: none; }
  .hero__side { position: absolute; right: var(--gutter); top: -64px; }
  .ctrl__hint { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .hero__shade { background: linear-gradient(0deg, var(--ink) 0%, rgba(15, 32, 41, .9) 30%, rgba(15, 32, 41, 0) 62%); }
  .hero__title { font-size: clamp(54px, 16vw, 96px); }
  .rates__in { grid-template-columns: repeat(3, 1fr); }
  .rates__in > div { padding: 20px 0 22px 16px; }
  .rates__in > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .rates__in > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .inv__grid { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .slot { font-size: 11px; gap: 6px; padding: 6px 2px; }
  .slot svg { width: 26px; height: 26px; }
  .item { padding: 24px 20px 26px; }
  .clock { gap: 14px; }
  .wipe__map { right: -40%; width: 140vw; opacity: .18; }
  .steps li { padding-left: 50px; }
  .steps li::before { font-size: 42px; }
}
@media (max-width: 520px) {
  .top__link, .top .btn--support { display: none; }
  .cta .btn--play, .cta .cmd { flex: 1 1 100%; }
  .cmd { min-height: 50px; }
  .cmd code { flex: 1; font-size: 13px; padding: 0 12px; white-space: normal; overflow-wrap: anywhere; }
  .cmd__copy { padding: 0 12px; font-size: 14px; }
  .slot span { display: none; }
  .community__links { grid-template-columns: minmax(0, 1fr); }
  .console__actions .btn { flex: 1 1 100%; }
  .wipe__dates { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Блог ---------- */
.top.is-solid { background: rgba(10, 22, 28, .94); box-shadow: 0 1px 0 var(--line); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rust-hi); text-decoration-thickness: 2px; }
.blog { padding: 120px 0 90px; }
.blog__head h1 { font-size: clamp(64px, 11vw, 150px); text-transform: uppercase; line-height: .85; }
.blog__head .lead { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 40px; }
.chip {
  min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--paper); font: 500 15px/1 var(--f-body); cursor: pointer;
}
.chip:hover { border-color: rgba(236, 228, 210, .45); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink-0); border-color: var(--paper); }
.blog__empty { margin-top: 30px; color: var(--muted); }

.cat { display: inline-block; padding: 3px 8px 2px; font: 600 13px/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; }
.cat--updates { background: var(--rust); color: var(--paper); }
.cat--guides { background: #2f5a4a; color: var(--paper); }
.cat--tgs { background: var(--go); color: var(--ink-0); }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.post-card { display: flex; flex-direction: column; min-width: 0; }
.post-card[hidden] { display: none; }
.post-card__img { display: block; overflow: hidden; background: var(--ink-2); aspect-ratio: 16 / 9; }
.post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding-top: 16px; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.post-card h3 { margin-top: 12px; font-size: 27px; font-weight: 800; line-height: 1.02; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--rust-hi); }
.post-card__desc { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.post-card--big { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.post-card--big .post-card__body { padding-top: 0; }
.post-card--big h3 { font-size: clamp(34px, 3.6vw, 50px); }
.post-card--big .post-card__desc { font-size: 18px; }

.post { padding: 120px 0 0; }
.post__head { max-width: 900px; }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.post__head h1 { margin-top: 20px; font-size: clamp(40px, 6vw, 76px); line-height: .95; text-transform: uppercase; }
.post__lead { margin-top: 20px; font-size: 20px; color: var(--muted); max-width: 60ch; }
.post__meta { display: flex; gap: 18px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.post__cover { margin: 40px auto 0; max-width: 1240px; }
.post__cover img { display: block; width: 100%; height: auto; max-width: 100%; }
.post__cover figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.post__body { margin-top: 48px; }
.prose { max-width: 68ch; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; font-size: clamp(30px, 3.4vw, 40px); text-transform: none; line-height: 1.05; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--rust-hi); }
.prose strong { font-weight: 600; color: var(--paper); }
.prose code { background: var(--ink-2); padding: 2px 6px; border-radius: 3px; overflow-wrap: anywhere; }
.prose p, .prose li { color: #d9d3c3; }
.tgs-note { margin-top: 36px !important; padding: 22px 24px; background: var(--ink-2); border-left: 4px solid var(--go); }
.tgs-note b { display: block; font: 800 20px/1 var(--f-display); text-transform: uppercase; color: var(--go-hi); letter-spacing: .04em; }
.tgs-note p { margin-top: 8px; }
.sources { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; }
.sources h2 { margin: 0 0 10px; font-size: 22px; text-transform: uppercase; }
.related { margin-top: 90px; padding-top: 60px; padding-bottom: 90px; border-top: 1px solid var(--line); }
.related h2 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 36px; }
.cta-band { background: var(--rust); padding: 64px 0; }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 56px); }
.cta-band p { margin-top: 10px; max-width: 46ch; }
.cta-band__act { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .cmd { background: rgba(10, 22, 28, .4); }

@media (max-width: 980px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card--big { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 17px; }
  .cta-band__act, .cta-band__act > * { flex: 1 1 100%; }
}
