@font-face {
  font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap;
  src: url('barlow-condensed.woff2') format('woff2');
}
@font-face {
  font-family: Inter; font-weight: 400 700; font-display: swap;
  src: url('inter.woff2') format('woff2');
}
@font-face {
  font-family: Inter; font-weight: 400 700; font-display: swap;
  src: url('inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  --bg: #0d1318;
  --panel: #121a21;
  --text: #f3ead8;
  --muted: #abbac1;
  --line: #2b3a45;
  --accent: #a4cee0;
  --action: #c8e3ed;
  --action-text: #102027;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --mono: Consolas, 'Courier New', monospace;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
p, h1, h2, h3 { margin: 0; }
.shell { width: min(100% - 88px, 1240px); margin-inline: auto; }
.skip { position: fixed; inset: 8px auto auto 8px; transform: translateY(-150%); z-index: 10; padding: 8px 16px; background: var(--panel); }
.skip:focus { transform: none; }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; border-radius: 4px; }
.brand span { font: 800 21px/.9 var(--display); letter-spacing: .045em; }
.brand small { display: block; color: var(--accent); font: 700 10px/1.2 var(--mono); letter-spacing: .26em; margin-top: 5px; }
.main-nav { display: flex; gap: clamp(15px, 4vw, 44px); font-size: .87rem; font-weight: 600; }
.main-nav a:hover, .site-footer a:hover { color: var(--accent); }
.preview-bar { background: var(--panel); border-bottom: 1px solid var(--line); }
.concepts { display: flex; flex-wrap: wrap; align-content: center; align-items: center; gap: 2px 6px; min-height: 43px; padding-block: 4px; font-size: .73rem; }
.concepts span { margin-right: 12px; color: var(--muted); }
.concepts a { color: var(--muted); border: 1px solid transparent; padding: 3px 9px; }
.concepts a:hover, .concepts a[aria-current] { color: var(--accent); border-color: var(--line); }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-image, .hero-image::after { position: absolute; inset: 0; }
.hero-image { z-index: -1; background: url('zone.webp') center 53% / cover; }
.hero-image::after { content: ''; background: linear-gradient(90deg, #0c141a 4%, #0c141ae8 28%, #0c141a5c 74%), linear-gradient(0deg, #0d1318, transparent 38%); }
.hero-inner { display: grid; grid-template-columns: 1.5fr .85fr; align-items: center; gap: clamp(12px, 4vw, 72px); min-height: 565px; padding-block: 76px; }
.eyebrow, .category { color: var(--accent); font: 700 .75rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 19px; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; background: currentColor; }
h1 { font: 800 clamp(69px, 8.4vw, 125px)/.79 var(--display); letter-spacing: -.016em; }
h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-description { max-width: 420px; margin-top: 26px; font-size: clamp(.96rem, 1.5vw, 1.14rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 9px 15px; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; transition: background-color .16s, border-color .16s; }
.primary { color: var(--action-text); background: var(--action); border-color: var(--action); }
.primary:hover { background: var(--text); border-color: var(--text); }
.secondary { background: var(--bg); }
.secondary:hover { border-color: var(--accent); }
.hero-brand { display: grid; place-items: center; }
.hero-brand img { width: min(100%, 336px); height: auto; border: 1px solid #b7c8d05c; box-shadow: 0 18px 65px #05090bad; transform: rotate(3deg); }
.project-section { padding-top: 55px; }
.section-heading { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.13; letter-spacing: -.045em; }
.section-rule { flex: 1; height: 1px; background: var(--line); }
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mod-card { padding: 22px; border: 1px solid var(--line); background: var(--panel); }
.mod-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); color: var(--accent); margin-bottom: 19px; }
.mod-info .category { font-size: .68rem; }
h3 { font: 800 1.96rem/.98 var(--display); }
.mod-info h3 { margin: 6px 0 10px; }
.mod-info p:last-child, .server-copy > p:not(.category) { font-size: .87rem; color: var(--muted); }
.servers { padding-bottom: 62px; }
.server-card { position: relative; isolation: isolate; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.server-card::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #101820 27%, #101820b0 48%, #1018201c), url('zone.webp') right 58% / cover; }
.server-copy { padding: 38px; }
.server-copy h3 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); margin: 8px 0 10px; }
.server-copy .button { margin-top: 18px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 72px; display: flex; gap: 15px; align-items: center; justify-content: space-between; color: var(--muted); font-size: .78rem; }

.industrial {
  --bg: #141512; --panel: #1c1e18; --text: #f1e9d5; --muted: #c3bda9;
  --line: #444438; --accent: #e8b969; --action: #edb85e; --action-text: #231708;
}
.industrial .hero-image { inset: 0 0 0 46%; background-position: 63% 50%; filter: sepia(.37) saturate(.7); }
.industrial .hero-image::after { background: linear-gradient(90deg, #141512, #14151224 64%), linear-gradient(0deg, #141512, transparent 37%); }
.industrial .hero-inner { grid-template-columns: 1.1fr .85fr; min-height: 520px; }
.industrial .hero-brand { border: 1px solid #dfbd8073; background: #16170fe0; padding: 14px; width: min(100%, 285px); justify-self: end; }
.industrial .hero-brand img { transform: none; border: 0; box-shadow: none; }
.industrial .hero::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: repeating-linear-gradient(125deg, #dbac5966 0 9px, transparent 9px 20px); }
.industrial .mod-grid { grid-template-columns: 1fr; gap: 6px; }
.industrial .mod-card { display: flex; align-items: center; gap: 20px; border-left: 3px solid #ae8447; }
.industrial .mod-mark { margin: 0; flex-shrink: 0; }

.archive {
  --bg: #ede9dd; --panel: #f7f3e7; --text: #212822; --muted: #4b5750;
  --line: #a8aca0; --accent: #315969; --action: #274c5b; --action-text: #fff9ec;
}
.archive .hero { padding-block: 24px; }
.archive .hero-image { opacity: .36; inset: 0; filter: sepia(.37) saturate(.65); }
.archive .hero-image::after { background: linear-gradient(90deg, #ede9dd 2%, #ede9ddda 41%, #ede9dd52); }
.archive .hero-inner { min-height: 485px; grid-template-columns: .72fr 1fr; padding-block: 40px; }
.archive .hero-brand { grid-area: 1 / 1; justify-items: start; }
.archive .hero-brand img { transform: none; width: min(100%, 360px); box-shadow: 0 9px 25px #262c2540; outline: 1px solid #222e22; outline-offset: 7px; }
.archive h1 { font-size: clamp(60px, 7.6vw, 111px); }
.archive .primary:hover { background: #183542; border-color: #183542; }
.archive .server-card::before { background: linear-gradient(90deg, #f7f3e7 20%, #f7f3e7f5 38%, #f7f3e720 83%), url('zone.webp') right 56% / cover; filter: sepia(.22); }

@media (max-width: 950px) {
  .shell { width: calc(100% - 56px); }
  .hero-inner { min-height: 500px; }
  h1 { font-size: clamp(62px, 9.5vw, 92px); }
  .mod-card { padding: 17px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; }
  .brand span { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
  .main-nav { font-size: .75rem; }
  .hero-inner, .industrial .hero-inner, .archive .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-block: 37px; }
  .hero-image { background-position: 64% 50%; }
  .hero-image::after { background: linear-gradient(90deg, #0c141af2, #0c141a93), linear-gradient(0deg, #0d1318, transparent 40%); }
  .hero-brand, .industrial .hero-brand, .archive .hero-brand { grid-area: auto; justify-self: start; justify-items: start; margin-top: 14px; }
  .hero-brand img, .archive .hero-brand img { width: min(100%, 146px); transform: none; }
  .industrial .hero-brand { width: 146px; padding: 6px; }
  .archive .hero { padding-block: 0; }
  .archive .hero-image::after { background: linear-gradient(90deg, #ede9dd 0%, #ede9ddbd 85%); }
  h1, .archive h1 { font-size: clamp(51px, 13vw, 76px); }
  .project-section { padding-top: 34px; }
  .mod-grid { grid-template-columns: 1fr; gap: 8px; }
  .mod-card { display: flex; gap: 14px; }
  .mod-mark { flex-shrink: 0; margin: 0; }
  .server-copy { padding: 22px 17px; }
  .server-card::before { background-image: linear-gradient(90deg, #101820 20%, #1018208f), url('zone.webp'); }
  .archive .server-card::before { background-image: linear-gradient(90deg, #f7f3e7 28%, #f7f3e7ae), url('zone.webp'); }
  .servers { padding-bottom: 38px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
