/* aizek.uz — portfolio
   Layout: the page is one HTTP request. A fixed "pipeline" nav tracks which stage
   (section) the reader is in; the hero trace is the table of contents.
   Dark-first; light theme via [data-theme="light"]. */

:root {
  --bg:    #0a0d14;
  --bg2:   #10151f;
  --bg3:   #161c28;
  --line:  rgba(233, 236, 243, .09);
  --line2: rgba(233, 236, 243, .18);
  --fg:    #e9ecf3;
  --fg2:   #c3c9d6;
  --mute:  #8a93a6;
  --acc:   #f5b43c;      /* amber: the signal */
  --acc-2: rgba(245, 180, 60, .14);
  --ice:   #7dd3fc;      /* ice: secondary, data */
  --ok:    #5ee3a0;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.8);

  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --body:    "Golos Text", "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg:    #f2f4f8;
  --bg2:   #ffffff;
  --bg3:   #e9edf3;
  --line:  rgba(17, 23, 38, .10);
  --line2: rgba(17, 23, 38, .2);
  --fg:    #111726;
  --fg2:   #2b3447;
  --mute:  #5c6678;
  --acc:   #b86f05;
  --acc-2: rgba(184, 111, 5, .12);
  --ice:   #0b7fb3;
  --ok:    #1b8f5a;
  --shadow: 0 30px 60px -30px rgba(17,23,38,.25);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: .9em; background: var(--bg3); padding: .1em .4em; border-radius: 4px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { color: var(--mute); margin-bottom: 14px; }
.eyebrow b { color: var(--acc); font-weight: 500; }

/* ---------- background bus ---------- */
#bus {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: .9;
}
main, header.top, footer.foot { position: relative; z-index: 1; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-block: 12px;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.brand__mark { width: 14px; height: 14px; border: 2px solid var(--acc); border-radius: 3px; position: relative; transform: rotate(45deg); }
.brand__mark::after { content: ""; position: absolute; inset: 3px; background: var(--ice); border-radius: 1px; }
.brand__tld { color: var(--mute); font-weight: 500; }

.pipe { display: flex; align-items: center; gap: 0; justify-self: center; }
.pipe a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; font-family: var(--mono); font-size: .74rem; color: var(--mute);
  transition: color .3s;
}
.pipe a i { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); transition: background .3s, box-shadow .3s, transform .3s; }
.pipe a + a::before { content: ""; position: absolute; left: -8px; top: 50%; width: 16px; height: 1px; background: var(--line2); }
.pipe a.is-on { color: var(--fg); }
.pipe a.is-on i { background: var(--acc); box-shadow: 0 0 0 4px var(--acc-2); transform: scale(1.2); }
.pipe a.is-done i { background: var(--ok); }
.pipe a:hover { color: var(--fg); }

.top__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.langs { display: flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; }
.langs a { padding: 4px 9px; border-radius: 999px; color: var(--mute); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; transition: color .25s, background .25s; }
.langs a:hover { color: var(--fg); }
.langs a.is-on { background: var(--acc); color: #1a1205; }
.theme { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; transition: border-color .3s; }
.theme:hover { border-color: var(--acc); }
.theme__sun { width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: inset -4px -3px 0 0 var(--bg2); transition: box-shadow .4s; }
:root[data-theme="light"] .theme__sun { box-shadow: inset 0 0 0 0 var(--bg2); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.photo { margin: 0; position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--bg2), var(--bg3)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo.is-empty img { display: none; }
.photo__empty { display: none; position: absolute; inset: 0; place-items: center; align-content: center; gap: 10px; color: var(--mute); text-align: center; }
.photo.is-empty .photo__empty { display: grid; }
.photo__mono { font-family: var(--display); font-weight: 700; font-size: 3.2rem; color: var(--acc); letter-spacing: -.04em; line-height: 1; }
.photo__empty::before { content: ""; position: absolute; inset: 12px; border: 1px dashed var(--line2); border-radius: 14px; }
.photo__tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--mute); font-size: .66rem; backdrop-filter: blur(6px); }
.photo:not(.is-empty) .photo__tag { display: none; }
.hero__text { min-width: 0; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 10px; box-shadow: 0 0 0 0 var(--ok); animation: ping 2.4s infinite; vertical-align: 1px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(94,227,160,.5);} 70% { box-shadow: 0 0 0 9px rgba(94,227,160,0);} 100% { box-shadow: 0 0 0 0 rgba(94,227,160,0);} }
.hero h1 { font-size: clamp(2.5rem, 7.2vw, 5.4rem); margin-bottom: 26px; }
.hero h1 br { display: block; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--fg2); max-width: 36em; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--acc); color: #1a1205; }
.btn--ghost { border-color: var(--line2); }
.btn--ghost:hover { border-color: var(--acc); }
.hint { color: var(--mute); }

/* trace: the table of contents, drawn as a request waterfall */
.trace {
  min-width: 0; width: 100%;
  background: linear-gradient(160deg, var(--bg2), var(--bg3));
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 14px;
}
.trace__head { display: flex; justify-content: space-between; gap: 12px; color: var(--mute); margin-bottom: 12px; padding-inline: 6px; }
.trace__cap { flex: 1; text-align: center; }
.trace__head b { color: var(--ice); font-weight: 500; }
.trace__spans li { --off: 0%; --w: 2%; --p: 0; }
.trace__spans a {
  position: relative; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 16px;
  padding: 9px 8px; border-radius: 10px; min-height: 42px;
  transition: background .25s;
}
.trace__spans a::before {
  content: ""; position: absolute; left: 134px; right: 8px; bottom: 7px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg,
    transparent var(--off),
    var(--acc) var(--off),
    var(--acc) calc(var(--off) + var(--p) * var(--w)),
    var(--line) calc(var(--off) + var(--p) * var(--w)),
    var(--line) calc(var(--off) + var(--w)),
    transparent calc(var(--off) + var(--w)));
}
.trace__spans .ok a::before { background: linear-gradient(90deg, transparent var(--off), var(--ok) var(--off), var(--ok) calc(var(--off) + var(--p) * var(--w)), var(--line) 0, var(--line) calc(var(--off) + var(--w)), transparent 0); }
.trace__spans a:hover { background: var(--acc-2); }
.trace__spans em { font-style: normal; font-family: var(--mono); font-size: .8rem; color: var(--acc); }
.trace__spans .ok em { color: var(--ok); }
.trace__spans span { font-size: .86rem; color: var(--fg2); padding-bottom: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trace__spans b { font-family: var(--mono); font-size: .76rem; font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; min-width: 5.2em; text-align: right; }
.trace__spans li.is-live b { color: var(--fg); }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec--band { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg2) 70%, transparent) 12%, color-mix(in srgb, var(--bg2) 70%, transparent) 88%, transparent); }
.sec__head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 52rem; }
.sec__head h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.sec__lede { margin-top: 18px; color: var(--fg2); font-size: 1.05rem; max-width: 40em; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about__text { display: grid; gap: 18px; max-width: 38em; color: var(--fg2); }
.about__text strong { color: var(--fg); font-weight: 600; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 0; }
.facts > div { background: var(--bg2); padding: 20px 20px 18px; }
.facts dt { color: var(--mute); margin-bottom: 8px; }
.facts dd { margin: 0; display: grid; }
.facts dd b { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.facts dd i { font-style: normal; color: var(--mute); font-size: .85rem; }

/* ---------- system map ---------- */
.sysmap { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; position: relative; }
.sysmap__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; z-index: 1; }
.sysmap__edges { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.sysmap__edges path { fill: none; stroke: var(--line2); stroke-width: 1.5; }
.sysmap__edges path.flow { stroke: var(--acc); stroke-dasharray: 3 14; stroke-width: 2; animation: flow 1.6s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -17; } }
.node {
  position: relative; text-align: left; display: grid; gap: 4px;
  padding: 14px 14px 12px; border-radius: 14px;
  background: var(--bg2); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
  min-width: 0;
}
.node:hover { border-color: var(--line2); transform: translateY(-2px); }
.node.is-on { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-2), var(--shadow); }
.node__k { color: var(--mute); font-size: .68rem; }
.node--mine .node__k { color: var(--acc); }
.node--core .node__k { color: var(--ice); }
.node__t { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.node__s { color: var(--mute); font-size: .78rem; line-height: 1.35; }
.sysmap__panel {
  position: sticky; top: 86px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; min-height: 300px;
  box-shadow: var(--shadow);
}
.panel h3 { font-size: 1.25rem; margin-bottom: 14px; }
.panel p, .panel li { color: var(--fg2); font-size: .95rem; }
.panel ul { display: grid; gap: 10px; }
.panel li { position: relative; padding-left: 18px; }
.panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--acc); }
.panel b { color: var(--acc); font-weight: 600; }
.panel.is-in { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px);} }

/* ---------- timeline ---------- */
.tl { display: grid; gap: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 126px; top: 10px; bottom: 10px; width: 1px; background: var(--line2); }
.tl__item { display: grid; grid-template-columns: 104px 1fr; gap: 44px; padding-block: 26px; position: relative; }
.tl__item::before { content: ""; position: absolute; left: 122px; top: 36px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acc); }
.tl__item--edu::before { border-color: var(--mute); }
.tl__when { display: grid; align-content: start; gap: 2px; color: var(--mute); padding-top: 4px; }
.tl__when b { color: var(--fg); font-weight: 500; font-size: 1rem; white-space: nowrap; }
.tl__when span { white-space: nowrap; }
.tl__body { min-width: 0; max-width: 42em; display: grid; gap: 10px; }
.tl__body h3 { font-size: 1.25rem; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.tl__logo { width: 32px; height: 32px; border-radius: 9px; }
.tl__subs { display: grid; gap: 8px; margin-top: 4px; }
.tl__subs li { color: var(--fg2); font-size: .95rem; padding-left: 16px; position: relative; }
.tl__subs li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 2px; background: var(--acc); }
.tl__subs b { color: var(--fg); font-weight: 600; }
.tl__role { font-weight: 400; color: var(--mute); font-size: .92rem; }
.tl__body p { color: var(--fg2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { padding: 3px 9px; border: 1px solid var(--line2); border-radius: 999px; color: var(--mute); font-size: .72rem; }

/* ---------- project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 16px; align-content: start; transition: border-color .3s, transform .3s var(--ease); min-width: 0; }
.card:hover { border-color: var(--line2); transform: translateY(-3px); }
.card__head { display: flex; gap: 14px; align-items: center; }
.card__head > div { display: grid; gap: 4px; min-width: 0; }
.card__logo { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.card__k { color: var(--acc); }
.card h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.card > p { color: var(--fg2); font-size: .97rem; }
.card__meta { margin: 0; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.card__meta > div { display: grid; grid-template-columns: 54px 1fr; gap: 10px; }
.card__meta dt { color: var(--mute); }
.card__meta dd { margin: 0; color: var(--fg2); }
.card__link { color: var(--acc); font-size: .9rem; font-weight: 600; justify-self: start; }

/* ---------- stack ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); color: var(--mute); transition: all .25s; }
.chip:hover { color: var(--fg); border-color: var(--acc); }
.chip.is-on { background: var(--acc); color: #1a1205; border-color: var(--acc); }
.stack { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stack__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.stack__row h3 { color: var(--mute); font-weight: 500; padding-top: 6px; }
.stack__row ul { display: flex; flex-wrap: wrap; gap: 8px; }
.stack__row li { padding: 6px 12px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--line); font-size: .9rem; transition: opacity .3s, border-color .3s, background .3s, transform .3s; }
.stack.is-filtered li { display: none; }
.stack.is-filtered li.on { display: block; border-color: var(--acc); background: var(--acc-2); animation: chipIn .35s var(--ease); }
.stack__row.is-empty { display: none; }
.stack__count { color: var(--mute); margin: -14px 0 16px; min-height: 1.2em; }
@keyframes chipIn { from { opacity: 0; transform: translateY(6px); } }

.principles { margin-top: clamp(48px, 7vw, 88px); }
.principles h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 24px; }
.principles__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.principles__list li { color: var(--fg2); padding-left: 18px; border-left: 2px solid var(--acc); }
.principles__list b { color: var(--fg); display: block; margin-bottom: 4px; }

/* ---------- contact ---------- */
.sec--end { padding-bottom: clamp(48px, 6vw, 88px); }
.ok-code { color: var(--ok); }
.contact { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 44rem; margin-bottom: 36px; }
.contact__row { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding-block: 16px; border-bottom: 1px solid var(--line); }
.contact__k { color: var(--mute); }
.contact__v { font-size: 1.1rem; word-break: break-word; }
a.contact__v { color: var(--acc); }
a.contact__v:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 999px; color: var(--mute); transition: all .25s; }
.copy:hover, .copy.is-done { color: var(--ok); border-color: var(--ok); }
.resp { margin: 0; padding: 18px 20px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); color: var(--mute); overflow-x: auto; max-width: 44rem; line-height: 1.7; }
.resp span { color: var(--ice); }

.foot { border-top: 1px solid var(--line); padding-block: 22px; }
.foot__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--mute); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .status-dot, .sysmap__edges path.flow { animation: none; }
  .panel.is-in { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid, .about, .sysmap { grid-template-columns: 1fr; }
  .sysmap__panel { position: static; }
  .principles__list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero__grid { grid-template-columns: 1fr; }
  .photo { max-width: 240px; aspect-ratio: 1; }
  .langs a { padding: 4px 7px; }
  .trace__cap { display: none; }
  .top { grid-template-columns: auto 1fr auto; gap: 8px; }
  .pipe a { padding: 6px 5px; }
  .pipe a span { display: none; }
  .pipe a + a::before { left: -5px; width: 10px; }
  .trace__spans a { grid-template-columns: 80px 1fr auto; gap: 10px; }
  .trace__spans a::before { left: 90px; }
  .sysmap__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sysmap__edges { display: none; }
  .node { padding: 12px; }
  .tl::before { left: 6px; }
  .tl__item { grid-template-columns: 1fr; gap: 10px; padding-left: 26px; }
  .tl__item::before { left: 2px; top: 30px; }
  .tl__when { display: flex; gap: 8px; align-items: baseline; }
  .cards { grid-template-columns: 1fr; }
  .stack__row { grid-template-columns: 1fr; gap: 10px; }
  .contact__row { grid-template-columns: 1fr; gap: 6px; }
  .copy { justify-self: start; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .facts { grid-template-columns: 1fr; }
}

/* compact top bar on phones */
@media (max-width: 720px) {
  .brand__name { font-size: .9rem; }
  .brand { gap: 7px; }
  .theme { width: 32px; height: 32px; }
  .theme__sun { width: 12px; height: 12px; }
  .langs { padding: 2px; }
  .langs a { padding: 3px 6px; font-size: .64rem; letter-spacing: .03em; }
  .top__right { gap: 6px; }
  .pipe a { padding: 6px 4px; }
  .pipe a + a::before { left: -4px; width: 8px; }
}
@media (max-width: 400px) {
  .pipe a i { width: 6px; height: 6px; }
  .pipe a { padding: 6px 3px; }
}

/* real logos: wordmarks of different ratios sit on a white chip so they read in both themes */
.card__logo, .tl__logo { width: auto; height: 44px; min-width: 44px; max-width: 150px; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; object-fit: contain; }
.tl__logo { height: 36px; min-width: 36px; max-width: 120px; padding: 7px 8px; border-radius: 9px; }

/* ---------- keywords ---------- */
.kws { display: grid; border-top: 1px solid var(--line); }
.kw__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.kw__row h3 { color: var(--mute); font-weight: 500; padding-top: 10px; }
.kw__row ul { display: flex; flex-wrap: wrap; gap: 10px; }
.kw { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 9px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.kw:hover { border-color: var(--acc); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.kw img, .kw__mark { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 5px; box-sizing: border-box; flex: none; display: grid; place-items: center; }
.kw__mark { color: #1a1205; font-size: .5rem; font-weight: 600; letter-spacing: 0; padding: 0; text-transform: uppercase; }
@media (max-width: 720px) { .kw__row { grid-template-columns: 1fr; gap: 10px; } .kw__row h3 { padding-top: 0; } }
