@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/oswald-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/oswald-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/oswald-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Unbounded (OFL) — только для заголовка хаба */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/jbmono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/jbmono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/jbmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* hub.isokov.uz — хаб проектов: поиск, разделы «Приложения» и «Сайты» с карточками, окно проекта (скриншот слева, описание справа). */
:root {
  color-scheme: dark;
  --hb-bg: #0b0d10; --hb-card: #12161b; --hb-card-2: #171c22; --hb-line: #232a33; --hb-line-2: #333c47;
  --hb-text: #eef1f4; --hb-dim: #9aa5b1; --hb-dim-2: #6c7784; --hb-lime: #c7d300; --hb-on-lime: #12150a;
  --hb-app: #c7d300; --hb-app-bg: rgba(199,211,0,.12); --hb-site: #5fb3ff; --hb-site-bg: rgba(95,179,255,.12); --hb-soon: #9aa5b1;
  --hb-display: "Oswald", "Segoe UI", Roboto, sans-serif; --hb-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --hb-mono: "JetBrains Mono", Consolas, monospace;
}
body { background: var(--hb-bg); color: var(--hb-text); font: 15px/1.5 var(--hb-body); margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.hb-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ===== страница ===== */
.hb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px 64px; }
.hb-head { text-align: center; padding: 46px 0 30px; }
.hb-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--hb-line-2); border-radius: 999px; background: var(--hb-card); color: var(--hb-dim); font-size: .9rem; }
.hb-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--hb-lime); box-shadow: 0 0 0 4px rgba(199,211,0,.15); }
.hb-head h1 { font: 800 clamp(3.4rem, 9vw, 6.2rem)/.9 "Unbounded", var(--hb-display); letter-spacing: -.045em; margin: 6px 0 14px; }
.hb-head h1 i { font-style: normal; color: var(--hb-lime); }
.hb-head h1 span { color: var(--hb-lime); }
.hb-head p { margin: 0 auto; max-width: 54ch; color: var(--hb-dim); font: 400 clamp(.82rem, 1.6vw, 1rem)/1.3 "Unbounded", var(--hb-display); letter-spacing: .06em; }
.hb-head p span { color: var(--hb-text); font-weight: 600; }
.hb-head .hb-cv { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--hb-lime); font-weight: 600; }
.hb-head .hb-cv:hover { text-decoration: underline; }

.hb-panel { background: var(--hb-card); border: 1px solid var(--hb-line); border-radius: 18px; padding: 18px 20px; }
.hb-row { display: flex; gap: 12px; align-items: center; }
.hb-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border: 1px solid var(--hb-line-2); border-radius: 12px; background: var(--hb-bg); color: var(--hb-dim); }
.hb-search:focus-within { border-color: var(--hb-lime); color: var(--hb-lime); }
.hb-search input { all: unset; flex: 1; min-width: 0; color: var(--hb-text); font-size: 1rem; }
.hb-search kbd { font: .72rem var(--hb-mono); color: var(--hb-dim-2); border: 1px solid var(--hb-line-2); border-radius: 6px; padding: 2px 7px; }
.hb-sort { height: 46px; border: 1px solid var(--hb-line-2); border-radius: 12px; background: var(--hb-bg); color: var(--hb-text); padding: 0 14px; font: inherit; }
.hb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.hb-chips > span { color: var(--hb-dim-2); font-size: .88rem; margin-right: 4px; }
.hb-chip { all: unset; cursor: pointer; padding: 6px 13px; border-radius: 999px; background: var(--hb-card-2); color: var(--hb-dim); font-size: .88rem; font-weight: 600; border: 1px solid transparent; }
.hb-chip:hover { color: var(--hb-text); }
.hb-chip.on { background: var(--hb-lime); color: var(--hb-on-lime); }
.hb-chip:focus-visible { outline: 2px solid var(--hb-lime); outline-offset: 2px; }

.hb-count { margin: 26px 0 22px; color: var(--hb-dim); }
.hb-count b { color: var(--hb-text); }
.hb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hb-card { position: relative; display: flex; flex-direction: column; background: var(--hb-card); border: 1px solid var(--hb-line); border-radius: 16px; overflow: hidden; cursor: pointer;
  transition: border-color .2s, transform .2s; }
.hb-card:hover { border-color: rgba(199,211,0,.45); transform: translateY(-2px); }
.hb-card:focus-visible { outline: 2px solid var(--hb-lime); outline-offset: 3px; }
.hb-shot { position: relative; height: 170px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, var(--c) 0%, var(--hb-card-2) 75%); }
.hb-shot > img { position: absolute; bottom: -50px; width: 112px; border-radius: 14px; border: 2px solid rgba(255,255,255,.85); box-shadow: 0 18px 30px -14px rgba(0,0,0,.8); transition: transform .3s; }
.hb-shot img.s1 { left: 50%; margin-left: -118px; transform: rotate(-7deg); }
.hb-shot img.s2 { left: 50%; margin-left: 6px; transform: rotate(5deg); bottom: -70px; }
.hb-card:hover .hb-shot img.s1 { transform: rotate(-9deg) translateY(-6px); }
.hb-card:hover .hb-shot img.s2 { transform: rotate(7deg) translateY(-6px); }
.hb-body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hb-title { display: flex; align-items: center; gap: 10px; }
.hb-title img, .hb-title .g { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.hb-title .g { display: grid; place-items: center; font: 600 .8rem var(--hb-display); color: #fff; background: #8a2620; }
.hb-title h2, .hb-title h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.hb-body p { margin: 0; color: var(--hb-dim); }
.hb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 2px; }
.hb-tag { padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.hb-tag.app { background: var(--hb-app-bg); color: var(--hb-app); }
.hb-tag.site { background: var(--hb-site-bg); color: var(--hb-site); }
.hb-tag.soon { border: 1px dashed var(--hb-line-2); color: var(--hb-soon); }
.hb-tag.cat { background: var(--hb-card-2); color: var(--hb-dim); }
.hb-foot { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-top: 1px solid var(--hb-line); background: #0f1317; color: var(--hb-dim); font-size: .86rem; }
.hb-when { margin-left: 6px; color: var(--hb-dim-2); font-size: .8rem; }
.hb-go { margin-left: auto; display: flex; gap: 4px; }
.hb-go a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--hb-dim); }
.hb-go a:hover { color: var(--hb-lime); background: rgba(199,211,0,.1); }
.hb-card.cta { border-style: dashed; background: transparent; justify-content: center; align-items: center; text-align: center; padding: 30px 24px; gap: 12px; min-height: 300px; }
.hb-card.cta h3 { margin: 0; font: 600 1.6rem/1.1 var(--hb-display); text-transform: uppercase; }
.hb-card.cta p { margin: 0; color: var(--hb-dim); max-width: 30ch; }
.hb-card.cta .hb-btn { margin-top: 6px; }
.hb-empty { text-align: center; color: var(--hb-dim); padding: 40px 0; }
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; border: 1px solid var(--hb-line-2); background: var(--hb-card-2); }
.hb-btn:hover { border-color: var(--hb-lime); }
.hb-btn.p { background: var(--hb-lime); border-color: var(--hb-lime); color: var(--hb-on-lime); }
.hb-btn.p:hover { filter: brightness(1.07); }
.hb-foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hb-line); color: var(--hb-dim-2); font-size: .86rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hb-foot-note a:hover { color: var(--hb-text); }

/* ===== разделы: приложения и сайты ===== */
.hb-sec + .hb-sec { margin-top: 48px; }
.hb-sec-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--hb-line); }
.hb-sec-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--hb-app-bg); color: var(--hb-app); }
.hb-sec.site .hb-sec-ico { background: var(--hb-site-bg); color: var(--hb-site); }
.hb-sec-head h2 { margin: 0; font: 600 1.75rem/1 var(--hb-display); text-transform: uppercase; letter-spacing: .02em; }
.hb-sec-n { font: 700 .78rem/1 var(--hb-mono); color: var(--hb-dim); border: 1px solid var(--hb-line-2); border-radius: 999px; padding: 5px 9px; }
.hb-sec-head p { margin: 0 0 0 auto; color: var(--hb-dim-2); font-size: .92rem; text-align: right; }

/* карточка сайта: скриншот в окне браузера с адресом */
.hb-win { position: absolute; left: 7%; width: 86%; top: 24px; bottom: -40px; border-radius: 10px; overflow: hidden; background: #0b0d10;
  border: 1px solid rgba(255,255,255,.22); box-shadow: 0 18px 30px -14px rgba(0,0,0,.8); transition: transform .3s; }
.hb-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; background: #1a1f26; border-bottom: 1px solid rgba(255,255,255,.08); }
.hb-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a434e; flex: none; }
.hb-bar span { margin-left: 8px; flex: 1; min-width: 0; height: 14px; border-radius: 7px; background: #0f1317; color: var(--hb-dim); font: 600 9.5px/14px var(--hb-mono);
  padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hb-win img { display: block; width: 100%; }
.hb-card:hover .hb-win { transform: translateY(-6px); }
@media (min-width: 1101px) { .hb-sec.app .hb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hb-cta { margin-top: 48px; display: flex; align-items: center; gap: 24px; padding: 26px 30px; border: 1px dashed var(--hb-line-2); border-radius: 16px; }
.hb-cta div { flex: 1; }
.hb-cta h3 { margin: 0 0 6px; font: 600 1.5rem/1.1 var(--hb-display); text-transform: uppercase; }
.hb-cta p { margin: 0; color: var(--hb-dim); }
@media (max-width: 640px) { .hb-cta { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 18px; } }

/* ===== окно проекта ===== */
.hb-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 28px; background: rgba(5,6,8,.78); backdrop-filter: blur(6px); }
.hb-modal[hidden] { display: none; }
.hb-dialog { position: relative; width: min(1180px, 100%); height: min(720px, calc(100vh - 56px)); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  background: var(--hb-card); border: 1px solid var(--hb-line-2); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
  animation: hbin .32s cubic-bezier(.2,.8,.2,1); }
@keyframes hbin { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.hb-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hb-line-2); background: rgba(11,13,16,.8); cursor: pointer; display: grid; place-items: center; color: var(--hb-text); }
.hb-close:hover { border-color: var(--hb-lime); color: var(--hb-lime); }
.hb-stage { position: relative; display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: radial-gradient(90% 80% at 50% 10%, var(--c) 0%, #0b0d10 80%); }
.hb-view { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 26px 64px 12px; }
.hb-view img { max-width: 100%; max-height: 100%; min-height: 0; min-width: 0; object-fit: contain; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.hb-arrow { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(11,13,16,.75); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hb-arrow:hover { background: var(--hb-lime); color: var(--hb-on-lime); }
.hb-arrow.l { left: 14px; } .hb-arrow.r { right: 14px; }
.hb-cap { text-align: center; color: rgba(238,241,244,.75); font-size: .86rem; padding: 0 20px 8px; }
.hb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 6px 16px 18px; overflow-x: auto; }
.hb-thumbs button { all: unset; cursor: pointer; flex: none; height: 64px; border-radius: 9px; overflow: hidden; border: 2px solid transparent; opacity: .6; }
.hb-thumbs button img { height: 100%; display: block; }
.hb-thumbs button.on { border-color: var(--hb-lime); opacity: 1; }
.hb-info { padding: 34px 32px 26px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.hb-info .hb-title img, .hb-info .hb-title .g { width: 56px; height: 56px; border-radius: 15px; }
.hb-info .hb-title h2 { font: 600 2.1rem/1 var(--hb-display); text-transform: uppercase; letter-spacing: .02em; }
.hb-info .lead { margin: 0; font-size: 1.12rem; line-height: 1.45; color: var(--hb-text); font-weight: 600; }
.hb-info .desc { margin: 0; color: var(--hb-dim); }
.hb-info h3 { margin: 4px 0 0; font: 700 .74rem var(--hb-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--hb-dim-2); }
.hb-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hb-info li { display: flex; gap: 10px; }
.hb-info li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--hb-lime); }
.hb-info .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.hb-info .meta { display: flex; align-items: center; gap: 12px; color: var(--hb-dim); font-size: .88rem; }

@media (max-width: 1000px) { .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .hb-modal { padding: 0; place-items: stretch; }
  .hb-dialog { height: 100%; width: 100%; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: 52% 1fr; }
  .hb-view { padding: 18px 54px 6px; }
  .hb-thumbs { padding-bottom: 10px; }
  .hb-thumbs button { height: 46px; }
  .hb-info { padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  .hb-wrap { padding: 0 16px 48px; }
  .hb-sec-head { flex-wrap: wrap; row-gap: 8px; }
  .hb-sec-head p { flex-basis: 100%; margin: 0; text-align: left; }
  .hb-grid { grid-template-columns: 1fr; }
  .hb-row { flex-wrap: wrap; }
  .hb-sort { width: 100%; }
  .hb-search kbd { display: none; }
  .hb-head { padding: 32px 0 22px; }
}
@media (prefers-reduced-motion: reduce) { .hb-dialog { animation: none; } .hb-card, .hb-shot > img, .hb-win { transition: none; } }

/* фон страницы — как у резюме: тонкая сетка и мягкие пятна акцента */
body { background-color: var(--hb-bg); background-image:
  radial-gradient(60vw 50vh at 6% -6%, rgba(124,154,60,.10), rgba(124,154,60,0) 62%),
  radial-gradient(55vw 55vh at 106% 6%, rgba(199,211,0,.07), rgba(199,211,0,0) 60%),
  linear-gradient(rgba(199,211,0,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(199,211,0,.025) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px; background-attachment: fixed; }




.hb-head-links { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.hb-head .hb-cv { margin-top: 18px; }
