*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 86px; overflow-x: hidden; background: #000; }
    body {
      min-height: 100vh;
      overflow-x: hidden;
      background: #000;
      color: #e1e0cc;
      font-family: "Almarai", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    a { color: inherit; text-decoration: none; }
    button, input { font: inherit; }
    button { cursor: pointer; }
    a:focus-visible, button:focus-visible, input:focus-visible {
      outline: 2px solid rgba(222,219,200,.82);
      outline-offset: 4px;
    }
    .top {
      position: sticky;
      top: 0;
      z-index: 60;
      border-bottom: 1px solid rgba(222,219,200,.12);
      background: rgba(0,0,0,.88);
      backdrop-filter: blur(18px);
    }
    .top-inner {
      max-width: 1480px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 18px;
      padding: 14px clamp(16px, 3vw, 34px);
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      letter-spacing: -.04em;
      white-space: nowrap;
    }
    .brand::before {
      content: "";
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: #b70000;
      box-shadow: 0 0 20px rgba(183,0,0,.75);
    }
    .site-nav {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(14px, 4vw, 56px);
      color: rgba(225,224,204,.74);
      font-size: clamp(11px, 1.1vw, 14px);
      white-space: nowrap;
    }
    .site-nav a { transition: color .2s ease; }
    .site-nav a:hover,
    .site-nav a.active { color: #e1e0cc; }
    .lang-switch {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      padding: 3px;
      border: 1px solid rgba(222,219,200,.16);
      border-radius: 999px;
      background: rgba(255,255,255,.04);
    }
    .lang-switch button {
      min-width: 34px;
      height: 24px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: rgba(225,224,204,.58);
      font-size: 11px;
    }
    .lang-switch button.active { background: #dedbc8; color: #050505; }
    .hero {
      max-width: 1480px;
      margin: 0 auto;
      padding: clamp(42px, 7vw, 94px) clamp(16px, 3vw, 34px) 24px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
      gap: clamp(28px, 6vw, 92px);
      align-items: end;
    }
    .label {
      display: block;
      margin-bottom: 12px;
      color: rgba(222,219,200,.52);
      font-size: 11px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    h1 {
      max-width: 980px;
      color: #e1e0cc;
      font-size: clamp(54px, 11vw, 168px);
      line-height: .82;
      letter-spacing: -.08em;
    }
    .hero p {
      color: rgba(222,219,200,.72);
      font-size: 14px;
      line-height: 1.72;
    }
    .feature-strip {
      max-width: 1480px;
      margin: 0 auto;
      padding: 0 clamp(16px, 3vw, 34px) 46px;
    }
    .strip-head,
    .library-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 16px;
    }
    .strip-head h2,
    .library-head h2 {
      font-size: clamp(24px, 3vw, 42px);
      letter-spacing: -.05em;
      line-height: 1;
    }
    .shuffle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 34px;
      padding: 0 12px;
      border: 1px solid rgba(222,219,200,.14);
      border-radius: 999px;
      background: rgba(255,255,255,.04);
      color: rgba(222,219,200,.64);
      font-size: 12px;
      transition: transform .18s ease, color .18s ease, border-color .18s ease;
    }
    .shuffle:hover {
      transform: translateY(-1px);
      color: #e1e0cc;
      border-color: rgba(222,219,200,.32);
    }
    .featured-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(260px, 1fr));
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }
    .featured-grid::-webkit-scrollbar { display: none; }
    .skill-card {
      min-height: 160px;
      position: relative;
      display: grid;
      gap: 20px;
      padding: 26px;
      border: 1px solid rgba(222,219,200,.12);
      border-radius: 20px;
      background: #121212;
      box-shadow: 0 24px 80px rgba(0,0,0,.28);
      transition: transform .2s ease, border-color .2s ease, background .2s ease;
    }
    .skill-card:hover {
      transform: translateY(-4px);
      border-color: rgba(222,219,200,.3);
      background: #171717;
    }
    .skill-card.featured::before {
      content: attr(data-badge);
      position: absolute;
      top: -1px;
      left: 22px;
      padding: 7px 12px;
      border-radius: 0 0 8px 8px;
      background: rgba(92,174,148,.35);
      color: #8edbc6;
      font-size: 12px;
      font-weight: 800;
    }
    .skill-top {
      display: grid;
      grid-template-columns: 50px 1fr auto;
      gap: 16px;
      align-items: center;
      margin-top: 6px;
    }
    .icon {
      width: 50px;
      height: 50px;
      display: grid;
      place-items: center;
      border-radius: 999px;
      background: var(--tone, #1d3450);
      color: #fff;
      font-size: 20px;
      font-weight: 800;
      box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    }
    .icon img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: inherit;
    }
    .plus {
      width: 42px;
      height: 42px;
      border: 0;
      border-radius: 10px;
      background: rgba(222,219,200,.08);
      color: rgba(222,219,200,.8);
      font-size: 24px;
      line-height: 1;
      transition: transform .18s ease, background .18s ease, color .18s ease;
    }
    .plus:hover {
      transform: rotate(90deg);
      background: #dedbc8;
      color: #050505;
    }
    .skill-card h3 {
      overflow: hidden;
      color: #e1e0cc;
      font-size: 21px;
      line-height: 1.08;
      letter-spacing: -.035em;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
    .skill-card p {
      color: rgba(222,219,200,.48);
      font-size: 14px;
      line-height: 1.55;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .meta-row {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-self: end;
    }
    .pill {
      padding: 6px 9px;
      border: 1px solid rgba(222,219,200,.12);
      border-radius: 999px;
      color: rgba(222,219,200,.52);
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
    }
    .library {
      max-width: 1480px;
      margin: 0 auto;
      padding: 0 clamp(16px, 3vw, 34px) 90px;
    }
    .toolbox {
      display: grid;
      grid-template-columns: minmax(220px, 360px) 1fr;
      gap: 16px;
      align-items: center;
      margin-bottom: 18px;
    }
    .search {
      min-height: 42px;
      width: 100%;
      border: 1px solid rgba(222,219,200,.14);
      border-radius: 10px;
      background: #0b0b0b;
      color: #e1e0cc;
      padding: 0 14px;
      outline: none;
    }
    .filters {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .filters::-webkit-scrollbar { display: none; }
    .filter {
      min-height: 40px;
      padding: 0 16px;
      border: 0;
      border-radius: 10px;
      background: transparent;
      color: rgba(222,219,200,.46);
      font-weight: 800;
      white-space: nowrap;
      transition: background .18s ease, color .18s ease, transform .18s ease;
    }
    .filter:hover { color: #e1e0cc; transform: translateY(-1px); }
    .filter.active { background: rgba(222,219,200,.9); color: #050505; }
    .cards {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
    }
    .empty {
      padding: 28px;
      border: 1px solid rgba(222,219,200,.12);
      border-radius: 14px;
      color: rgba(222,219,200,.58);
      background: #101010;
    }
    @media (max-width: 1180px) {
      .featured-grid,
      .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    @media (max-width: 860px) {
      .top-inner, .hero, .toolbox { grid-template-columns: 1fr; }
      .site-nav { max-width: 100%; justify-content: flex-start; overflow-x: auto; }
      .featured-grid,
      .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 560px) {
      .featured-grid,
      .cards { grid-template-columns: 1fr; }
      .skill-card { min-height: 150px; padding: 22px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
      }
    }
