:root {
  --bg:       #0a1426;
  --bg-2:     #0e1a2f;
  --bg-3:     #122238;
  --ink:      #f4f1ea;
  --ink-2:    #c2bcad;
  --ink-3:    #7d8699;
  --ink-4:    #4a5469;
  --line:     rgba(244, 241, 234, 0.09);
  --line-2:   rgba(244, 241, 234, 0.16);
  --brass:    #c99a3e;
  --brass-2:  #e4b756;
  --brass-soft: rgba(201, 154, 62, 0.14);
  --green:    #52c48a;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
  --sect: clamp(96px, 12vw, 140px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(800px 500px at 80% -20%, rgba(201, 154, 62, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

.mono { font-family: var(--mono); font-size: 0.88em; letter-spacing: -0.01em; }
.brass { color: var(--brass-2); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: 12px 16px; border-radius: 6px;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 20, 38, 0.75);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--brass);
  border-radius: 4px;
  position: relative;
  background: var(--bg-2);
  flex-shrink: 0;
}
.brand__mark::before {
  content: "";
  position: absolute;
  background: var(--brass);
  width: 1px;
  height: 16px;
  top: 8px;
  left: 10px;
  box-shadow: 6px 0 0 var(--brass), 12px 0 0 var(--brass);
}
.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.brand__name .a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__name .b {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color .2s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--ink); }
.nav__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__status .dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(82, 196, 138, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(82, 196, 138, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(82, 196, 138, 0.04); }
}

/* ============ TYPOGRAPHY ============ */
.h1 {
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 16ch;
}
.h1 em {
  font-style: normal;
  color: var(--brass-2);
  font-weight: 600;
}
.h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
  max-width: 16ch;
}
.lede {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
  margin-bottom: 40px;
}

/* ============ BUTTONS ============ */
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn svg { width: 12px; height: 12px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--brass);
  color: var(--bg);
  border-color: var(--brass);
}
.btn--primary:hover {
  background: var(--brass-2);
  border-color: var(--brass-2);
  box-shadow: 0 12px 36px -10px rgba(201, 154, 62, 0.6);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--brass);
  color: var(--brass-2);
}

/* ============ HERO (home) ============ */
.hero {
  padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 8vw, 100px);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__meta .sep {
  width: 24px;
  height: 1px;
  background: var(--brass);
}

/* ============ NEURAL SVG ============ */
.neural {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 340px;
  margin-left: auto;
}
.neural svg { width: 100%; height: 100%; }
.neural__label {
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.neural circle.node {
  fill: var(--bg-2);
  stroke: var(--brass);
  stroke-width: 1.2;
}
.neural circle.node--active {
  fill: var(--brass);
  animation: flash 3s ease-in-out infinite;
}
.neural line {
  stroke: var(--line-2);
  stroke-width: 0.6;
}
.neural line.active {
  stroke: var(--brass);
  stroke-width: 0.8;
  opacity: 0.5;
}
@keyframes flash {
  0%,100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============ SPEC BAR ============ */
.spec {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(201,154,62,0.02), transparent);
}
.spec__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.spec__cell {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
}
.spec__cell:last-child { border-right: none; }
.spec__k {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.spec__k::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 1px;
  display: inline-block;
}
.spec__v {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ============ SECTIONS ============ */
.sect {
  padding: var(--sect) 0;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.sect__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: start;
}
.sect__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sect__label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--brass);
}
.sect__num { color: var(--brass-2); font-weight: 600; }
.sect__sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 54ch;
}

/* ============ PORTFOLIO TABLE ============ */
.portfolio { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 100px 1.1fr 2.4fr 180px 24px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
  position: relative;
}
.row:hover { background: linear-gradient(90deg, transparent, rgba(201,154,62,0.05), transparent); }
.row__id {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--brass);
  letter-spacing: 0.05em;
}
.row__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.row__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 4px;
}
.row__desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.row__url {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: right;
  transition: color .2s ease;
}
.row__arrow {
  color: var(--ink-4);
  font-size: 16px;
  transition: transform .2s ease, color .2s ease;
  text-align: center;
}
.row:hover .row__url { color: var(--brass-2); }
.row:hover .row__arrow { color: var(--brass-2); transform: translateX(4px); }

/* ============ CAPABILITIES ============ */
.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap {
  background: var(--bg);
  padding: 40px 36px;
  transition: background .3s ease;
}
.cap:hover { background: var(--bg-2); }
.cap__hd {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 44px;
}
.cap__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brass);
  letter-spacing: 0.08em;
}
.cap__id {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cap h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.cap p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 44ch;
}

/* ============ COMPANY ============ */
.company__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.company__body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 58ch;
}
.company__body p + p {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 15px;
}
.principles {
  list-style: none;
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}
.principles li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--brass);
}

/* ============ TERMINAL CTA ============ */
.terminal {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-2);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.terminal__dots { display: flex; gap: 6px; }
.terminal__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.terminal__title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.terminal__body { padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 60px); }
.terminal__prompt {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.terminal__prompt::before { content: "$ "; color: var(--ink-3); }
.terminal h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 18ch;
}
.terminal p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.6;
}
.terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--brass);
  vertical-align: -2px;
  margin-left: 3px;
  animation: blink 1.05s steps(2) infinite;
}
@keyframes blink { to { opacity: 0; } }

/* ============ BLOG INDEX ============ */
.page-hero {
  padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero__meta::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--brass);
}
.post-list {
  padding: clamp(72px, 10vw, 120px) 0;
}
.post-list__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.post-list__head .label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.post-item {
  display: grid;
  grid-template-columns: 140px 1fr 140px 24px;
  gap: 40px;
  align-items: baseline;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}
.post-item:hover { background: linear-gradient(90deg, transparent, rgba(201,154,62,0.05), transparent); }
.post-item__date {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--brass);
  letter-spacing: 0.04em;
}
.post-item__title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
  max-width: 40ch;
}
.post-item__excerpt {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.6;
}
.post-item__category {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
}
.post-item__arrow {
  color: var(--ink-4);
  font-size: 18px;
  transition: transform .2s ease, color .2s ease;
}
.post-item:hover .post-item__arrow { color: var(--brass-2); transform: translateX(4px); }

/* ============ BLOG POST ============ */
.post {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
}
.post__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}
.crumbs {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.crumbs a { color: var(--ink-3); transition: color .2s ease; }
.crumbs a:hover { color: var(--brass-2); }
.crumbs .sep { color: var(--ink-4); }
.post__category {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--brass);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--brass-soft);
  border-radius: 4px;
  margin-bottom: 24px;
}
.post__title {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 22ch;
}
.post__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  padding-bottom: 40px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.post__meta .dot { color: var(--ink-4); }
.post__meta .brass { color: var(--brass); }
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.prose p { margin-bottom: 24px; max-width: 66ch; }
.prose h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 48px 0 20px;
  max-width: 30ch;
}
.prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 14px;
  letter-spacing: -0.01em;
}
.prose ul, .prose ol {
  margin: 0 0 24px 22px;
  max-width: 64ch;
}
.prose li {
  margin-bottom: 10px;
  padding-left: 6px;
}
.prose li::marker { color: var(--brass); }
.prose a {
  color: var(--brass-2);
  border-bottom: 1px solid var(--brass-soft);
  transition: border-color .2s ease;
}
.prose a:hover { border-bottom-color: var(--brass-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  border-left: 2px solid var(--brass);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  color: var(--ink);
  font-size: 18px;
  font-style: italic;
  max-width: 60ch;
}
.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}
.post__cta {
  margin-top: 56px;
  padding: 36px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-2);
}
.post__cta h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.post__cta p {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 58ch;
}
.related {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.related h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.related__item {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s ease, background .2s ease;
}
.related__item:hover {
  border-color: var(--brass-soft);
  background: var(--bg-2);
}
.related__item .date {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--brass);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.related__item .title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ============ FOOTER ============ */
.foot {
  padding: 64px 0 40px;
  position: relative;
  z-index: 2;
}
.foot__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot__brand p {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 16px 0 0;
  max-width: 32ch;
  line-height: 1.6;
}
.foot__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot__col a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color .2s;
}
.foot__col a:hover { color: var(--brass-2); }
.foot__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .neural { max-width: 260px; margin: 0; }
  .spec__inner { grid-template-columns: 1fr 1fr; }
  .spec__cell { border-right: none; border-bottom: 1px solid var(--line); }
  .spec__cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .sect__head { grid-template-columns: 1fr; gap: 20px; }
  .caps { grid-template-columns: 1fr; }
  .company__grid { grid-template-columns: 1fr; gap: 32px; }
  .row { grid-template-columns: 80px 1fr 20px; gap: 16px; padding: 22px 0; }
  .row__desc, .row__url { display: none; }
  .principles { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .post-item { grid-template-columns: 100px 1fr 20px; gap: 20px; }
  .post-item__category { display: none; }
  .related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__status { display: none; }
  .spec__inner { grid-template-columns: 1fr; }
  .spec__cell { border-right: none !important; padding: 28px 24px; }
  .foot__inner { grid-template-columns: 1fr; }
  .foot__legal { flex-direction: column; gap: 6px; align-items: flex-start; }
  .post-item { grid-template-columns: 1fr; gap: 6px; }
  .post-item__arrow { display: none; }
  .post__meta { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
