/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;

  background: #09090b;
  color: #f4f4f5;

  font-family:
    "JetBrains Mono",
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 14px;
  line-height: 1.75;

  letter-spacing: -0.01em;
}

body.light {
  background: #f6f6f5;
  color: #171717;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}


/* =========================================================
   SITE
   ========================================================= */

.site-shell {
  min-height: 100vh;
  position: relative;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
  height: 64px;

  position: sticky;
  top: 0;

  z-index: 50;

  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: center;

  padding: 0 26px;

  border-bottom: 1px solid #202023;

  background: rgba(9, 9, 11, 0.88);

  backdrop-filter: blur(14px);
}

body.light .topbar {
  background: rgba(246, 246, 245, 0.9);
  border-color: #d7d7d7;
}


/* Brand */

.brand {
  justify-self: start;

  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  font-family: Inter, sans-serif;
  font-weight: 900;
  font-size: 17px;

  letter-spacing: -2px;

  border: 1px solid #29292d;

  background: #111113;
}


/* Navigation */

.nav-links {
  display: flex;
  align-items: center;

  gap: 22px;
}

.nav-links a {
  color: #9d9da4;
  text-decoration: none;

  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

body.light .nav-links a:hover,
body.light .nav-links a.active {
  color: #111;
}


/* Actions */

.nav-actions {
  justify-self: end;

  display: flex;
  align-items: center;

  gap: 8px;
}

.icon-btn {
  height: 36px;
  min-width: 36px;

  display: grid;
  place-items: center;

  border: 1px solid #28282c;
  border-radius: 10px;

  background: #101012;
  color: #d8d8dc;

  text-decoration: none;

  cursor: pointer;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.icon-btn:hover {
  border-color: #414146;
  background: #171719;
}

.icon-btn svg {
  width: 17px;
  height: 17px;

  fill: none;
  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-trigger {
  display: flex;
  align-items: center;

  gap: 6px;

  padding: 0 10px;

  color: #aaa;
}

.search-trigger kbd {
  font-size: 10px;

  background: #252529;

  border-radius: 5px;

  padding: 1px 5px;

  color: #c9c9ce;
}

body.light .icon-btn {
  background: #fff;
  border-color: #d9d9dd;
  color: #444;
}

body.light .search-trigger kbd {
  background: #ededee;
  color: #555;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.content {
  width: 100%;
  max-width: 920px;

  margin: 0 auto;

  border-left: 1px solid #202023;
  border-right: 1px solid #202023;
}

body.light .content {
  border-color: #ddd;
}


/* =========================================================
   HERO
   ========================================================= */

.panel-grid {
  background-image:
    radial-gradient(
      #1e1e22 1px,
      transparent 1px
    );

  background-size: 10px 10px;
}

body.light .panel-grid {
  background-image:
    radial-gradient(
      #d8d8d8 1px,
      transparent 1px
    );
}

.hero {
  height: 250px;

  display: grid;
  place-items: center;

  position: relative;

  border-bottom: 1px solid #202023;
}

body.light .hero {
  border-color: #ddd;
}

.hero-logo {
  font-family: Inter, sans-serif;

  font-size: 74px;
  font-weight: 900;

  letter-spacing: -11px;

  line-height: 1;

  transform: scaleX(1.02);
}

body.light .hero-logo {
  color: #111;
}

.cursor-glyph {
  position: absolute;

  right: 16%;
  bottom: 56px;

  color: #ddd;
}

.cursor-glyph svg {
  width: 30px;
  height: 30px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;

  transform: rotate(-17deg);
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile {
  position: relative;
}

.cover-stripe,
.section:before {
  height: 30px;

  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 6px,
      #1a1a1d 6px 7px
    );

  border-bottom: 1px solid #202023;
  border-top: 1px solid #202023;
}

body.light .cover-stripe,
body.light .section:before {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 6px,
      #e9e9e9 6px 7px
    );

  border-color: #ddd;
}


/* =========================================================
   PROFILE HEADER
   ========================================================= */

.profile-head {
  position: relative;

  padding:
    0
    18px
    28px;

  display: flex;

  gap: 18px;

  align-items: flex-end;

  border-bottom: 1px solid #202023;
}

body.light .profile-head {
  border-color: #ddd;
}

.avatar-wrap {
  position: relative;

  margin-top: -58px;
}

.avatar {
  width: 132px;
  height: 132px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background:
    radial-gradient(
      circle at 32% 28%,
      #2f3742 0 10%,
      #17202b 11% 38%,
      #0c1117 39%
    );

  border: 1px solid #3a3a3f;

  box-shadow:
    0 0 0 5px #09090b;

  font-family: Inter, sans-serif;

  font-size: 38px;
  font-weight: 900;

  letter-spacing: -4px;
}

body.light .avatar {
  box-shadow:
    0 0 0 5px #f6f6f5;
}


/* Nepal SVG flag */

.nepal-flag {
  position: absolute;

  z-index: 2;

  left: -3px;
  top: -5px;

  width: 40px;
  height: 48px;

  color: #e83d45;

  filter:
    drop-shadow(
      0 2px 5px rgba(0, 0, 0, 0.55)
    );
}

.nepal-flag svg {
  width: 100%;
  height: 100%;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Identity */

.identity {
  padding-bottom: 8px;
}

.name-row {
  display: flex;
  align-items: center;

  gap: 9px;
}

.name-row h1 {
  margin: 0;

  font-family: Inter, sans-serif;

  font-size: 31px;

  line-height: 1.1;

  letter-spacing: -1.5px;
}


/* Name glow */

.name-row h1.name-glow {
  position: relative;

  color: #fff;

  text-shadow:
    0 0 8px rgba(66, 245, 123, 0.25),
    0 0 24px rgba(66, 245, 123, 0.14);

  will-change:
    transform,
    text-shadow;
}

.name-glow::after {
  content: "";

  position: absolute;

  inset:
    -10px
    -18px;

  border-radius: 999px;

  background:
    radial-gradient(
      ellipse,
      rgba(66, 245, 123, 0.12),
      transparent 68%
    );

  filter: blur(13px);

  z-index: -1;

  opacity: 0.7;

  pointer-events: none;
}

body.light .name-row h1.name-glow {
  color: #111;
}


/* Verified */

.verified {
  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #1594f5;

  color: #fff;

  font:
    700 13px Inter,
    sans-serif;
}


/* Pronounce */

.pronounce {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border: 0;

  background: transparent;

  color: #aaa;

  cursor: pointer;
}

.pronounce svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.6;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.pronounce:hover {
  color: #fff;
}


/* Role */

.role {
  color: #71717a;

  margin:
    6px
    0
    0;
}


/* =========================================================
   PROFILE OVERVIEW
   ========================================================= */

.overview {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 48px;

  padding:
    28px
    22px;

  border-bottom: 1px solid #202023;
}

body.light .overview {
  border-color: #ddd;
}

.overview-col {
  display: flex;

  flex-direction: column;

  gap: 10px;

  min-width: 0;
}


/* =========================================================
   INFO ROW
   ========================================================= */

.info-row {
  display: grid;

  grid-template-columns:
    36px
    minmax(0, 1fr);

  align-items: center;

  column-gap: 12px;

  min-height: 40px;

  margin: 0;

  padding: 0;

  color: #d4d4d8;

  font-size: 13px;

  line-height: 1.45;
}

body.light .info-row {
  color: #3d3d42;
}


/* =========================================================
   INFO ICON
   ========================================================= */

.info-icon {
  width: 36px;
  height: 36px;

  min-width: 36px;

  display: flex;

  align-items: center;
  justify-content: center;

  border:
    1px solid
    #303035;

  border-radius: 9px;

  background: #101012;

  color: #bcbcc2;

  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}

.info-icon svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-row:hover .info-icon {
  color: #fff;

  border-color: #44444a;

  background: #151517;

  transform: translateY(-1px);
}

body.light .info-icon {
  background: #f7f7f8;

  border-color: #dedee2;

  color: #55555b;
}

body.light .info-row:hover .info-icon {
  background: #f0f0f2;

  border-color: #cfcfd4;

  color: #222;
}


/* =========================================================
   INFO LINKS
   ========================================================= */

.info-row a {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  min-width: 0;

  color: #ddd;

  text-decoration: none;

  overflow-wrap: anywhere;

  word-break: break-word;
}

.info-row a:hover {
  color: #fff;

  text-decoration: underline;
}

body.light .info-row a {
  color: #333;
}

body.light .info-row a:hover {
  color: #000;
}


/* Arrow */

.info-arrow {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.info-arrow svg {
  width: 14px;
  height: 14px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.8;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Time */

.time-content {
  display: flex;

  align-items: baseline;

  gap: 7px;

  min-width: 0;
}

.time-content small {
  margin: 0;

  color: #666;

  font-size: 10px;

  line-height: 1;

  white-space: nowrap;
}


/* =========================================================
   SOCIAL GRID
   ========================================================= */

.social-grid {
  display: grid;

  grid-template-columns:
    1fr
    1fr;
}

.social-card {
  min-height: 86px;

  display: grid;

  grid-template-columns:
    48px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 12px;

  padding:
    17px
    18px;

  border-bottom: 1px solid #202023;

  text-decoration: none;

  color: inherit;

  transition:
    background 0.18s ease;
}

.social-card:nth-child(odd) {
  border-right: 1px solid #202023;
}

.social-card:hover {
  background: #101012;
}

body.light .social-card {
  border-color: #ddd;

  background: #f8f8f8;
}

body.light .social-card:hover {
  background: #efefef;
}


/* Social icon */

.social-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background: #17171a;

  border:
    1px solid
    #2b2b30;

  color: #fff;
}

.social-icon svg {
  width: 22px;
  height: 22px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon.github svg {
  fill: currentColor;

  stroke: none;
}

.social-icon.linkedin {
  background: #0879c9;
}

.social-icon.instagram {
  background: #17171a;
}

.social-icon.mail {
  color: #d4d4d8;
}


/* Social text */

.social-card strong {
  display: block;

  font-family: Inter, sans-serif;

  font-size: 15px;
}

.social-card small {
  display: block;

  color: #777;

  margin-top: 2px;
}


/* Social arrow */

.arrow {
  color: #aaa;

  display: flex;
}

.arrow svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  position: relative;

  border-bottom: 1px solid #202023;
}

body.light .section {
  border-color: #ddd;
}

.section-title {
  padding:
    38px
    18px
    16px;
}

.section-title h2,
.list-heading h2 {
  margin: 0;

  font-family: Inter, sans-serif;

  font-size: 31px;

  letter-spacing: -1.5px;
}

.list-heading {
  padding:
    38px
    18px
    16px;
}

.list-heading sup {
  color: #666;

  font-size: 10px;

  margin-left: 5px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-copy {
  padding:
    0
    28px
    34px;

  line-height: 1.9;
}

.about-copy ul {
  margin: 0;

  padding-left: 20px;
}

.about-copy li {
  padding: 7px 0;
}

.about-copy li::marker {
  color: #777;
}

.about-copy strong {
  color: #fff;
}

body.light .about-copy strong {
  color: #111;
}

/* =========================
   ABOUT TYPING ANIMATION
   ========================= */

#about-typing .about-line {
  display: block;
  opacity: 0;
  visibility: hidden;
}

#about-typing .about-line.typing,
#about-typing .about-line.done {
  opacity: 1;
  visibility: visible;
}

#about-typing .about-line.typing::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  animation: aboutCursor 0.65s step-end infinite;
}

#about-typing .about-line.done::after {
  display: none;
}

@keyframes aboutCursor {
  50% {
    opacity: 0;
  }
}


/* =========================================================
   GITHUB CONTRIBUTIONS
   ========================================================= */

.github-contrib-card {
  width: 100%;

  margin-top: 12px;

  padding: 26px;

  border:
    1px solid
    #242428;

  border-radius: 14px;

  background: #0b0b0d;

  box-sizing: border-box;
}

body.light .github-contrib-card {
  background: #fff;

  border-color: #ddd;
}


/* Header */

.github-contrib-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-bottom: 26px;
}

.github-contrib-title {
  display: flex;

  align-items: center;

  gap: 10px;

  color: #f1f1f1;

  font-size: 14px;
}

body.light .github-contrib-title {
  color: #222;
}


/* GitHub mark */

.github-mark {
  width: 30px;
  height: 30px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: #161618;

  border:
    1px solid
    #2a2a2e;

  color: #42f57b;
}

.github-mark svg {
  width: 16px;
  height: 16px;

  fill: currentColor;
}

.github-contrib-header p {
  margin:
    7px
    0
    0
    40px;

  color: #777;

  font-size: 11px;
}


/* Profile link */

.github-profile-link {
  color: #999;

  text-decoration: none;

  font-size: 11px;

  padding:
    8px
    11px;

  border:
    1px solid
    #29292d;

  border-radius: 7px;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.github-profile-link:hover {
  color: #fff;

  border-color: #42f57b;

  background:
    rgba(66, 245, 123, 0.06);
}


/* Calendar */

.github-contribution-calendar {
  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  padding-bottom: 6px;

  scrollbar-width: thin;

  scrollbar-color:
    #303034
    transparent;
}

.github-calendar-inner {
  position: relative;

  min-width: 760px;
}


/* Months */

.github-months {
  position: relative;

  height: 24px;

  margin-left: 32px;
}

.github-month {
  position: absolute;

  top: 0;

  color: #777;

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 9px;

  white-space: nowrap;
}


/* Weekdays */

.github-weekdays {
  position: absolute;

  left: 0;
  top: 28px;

  width: 25px;

  display: grid;

  grid-template-rows:
    repeat(7, 12px);

  gap: 3px;
}

.github-weekdays span {
  color: #666;

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 8px;

  line-height: 12px;
}


/* Grid */

.github-grid {
  margin-left: 32px;

  display: grid;

  grid-auto-flow: column;

  grid-template-rows:
    repeat(7, 12px);

  grid-auto-columns: 12px;

  gap: 3px;
}


/* Day */

.github-day {
  width: 12px;
  height: 12px;

  border-radius: 3px;

  background: #161b22;

  border:
    1px solid
    rgba(255, 255, 255, 0.025);

  box-sizing: border-box;

  cursor: pointer;

  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.github-day:hover {
  transform: scale(1.45);

  filter: brightness(1.25);

  z-index: 10;
}


/* Levels */

.github-day.level-0 {
  background: #161b22;
}

.github-day.level-1 {
  background: #0e4429;
}

.github-day.level-2 {
  background: #006d32;
}

.github-day.level-3 {
  background: #26a641;
}

.github-day.level-4 {
  background: #39d353;
}


/* Tooltip */

.github-tooltip {
  position: fixed;

  z-index: 9999;

  padding:
    8px
    10px;

  border-radius: 6px;

  background: #111114;

  border:
    1px solid
    #303034;

  color: #ddd;

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 9px;

  line-height: 1.5;

  pointer-events: none;

  opacity: 0;

  transform:
    translateY(4px);

  transition:
    opacity 0.12s ease,
    transform 0.12s ease;

  box-shadow:
    0 8px 25px
    rgba(0, 0, 0, 0.35);
}

.github-tooltip.visible {
  opacity: 1;

  transform:
    translateY(0);
}

.github-tooltip strong {
  color: #fff;
}

.github-tooltip .tooltip-date {
  color: #777;
}


/* Calendar bottom */

.github-calendar-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  margin-top: 18px;

  color: #666;

  font-family:
    "JetBrains Mono",
    monospace;

  font-size: 9px;
}

.github-legend {
  display: flex;

  align-items: center;

  gap: 4px;
}

.github-legend span {
  margin:
    0
    3px;
}

.github-legend i {
  width: 11px;
  height: 11px;

  border-radius: 2px;

  display: inline-block;
}

.github-legend .level-0 {
  background: #161b22;
}

.github-legend .level-1 {
  background: #0e4429;
}

.github-legend .level-2 {
  background: #006d32;
}

.github-legend .level-3 {
  background: #26a641;
}

.github-legend .level-4 {
  background: #39d353;
}


/* Loading */

.github-loading {
  min-height: 115px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;
}

.github-loading span {
  width: 8px;
  height: 8px;

  border-radius: 2px;

  background: #303034;

  animation:
    githubLoading
    1s
    infinite
    ease-in-out;
}

.github-loading span:nth-child(2) {
  animation-delay: 0.15s;
}

.github-loading span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes githubLoading {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-4px);
    opacity: 1;
  }

}


/* Error */

.github-error {
  padding: 14px;

  border:
    1px solid
    #2b2b2f;

  border-radius: 8px;

  color: #777;

  font-size: 11px;
}

.github-error a {
  color: #aaa;

  margin-left: 4px;
}

.github-error a:hover {
  color: #42f57b;
}


/* Light calendar */

body.light .github-month,
body.light .github-weekdays span,
body.light .github-calendar-bottom {
  color: #888;
}

body.light .github-day {
  border-color:
    rgba(0, 0, 0, 0.04);
}

body.light .github-day.level-0 {
  background: #ebedf0;
}

body.light .github-day.level-1 {
  background: #9be9a8;
}

body.light .github-day.level-2 {
  background: #40c463;
}

body.light .github-day.level-3 {
  background: #30a14e;
}

body.light .github-day.level-4 {
  background: #216e39;
}


/* =========================================================
   STACK
   ========================================================= */

.stack-section {
  border-bottom: 1px solid #202023;
}

.stack-grid {
  padding:
    18px
    18px
    34px;

  display: grid;

  grid-template-columns:
    repeat(11, 1fr);

  gap:
    28px
    30px;

  align-items: center;
}

.tech {
  height: 64px;

  display: grid;

  place-items: center;

  position: relative;

  transition:
    transform 0.18s ease;
}

.tech:hover {
  transform:
    translateY(-3px);
}

.tech i {
  font-size: 50px;
}

.text-logo {
  font-family: Inter, sans-serif;

  font-size: 25px;

  font-weight: 800;

  letter-spacing: -1px;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.project-list {
  width: 100%;
}

.list-item {
  border-top: 1px solid #202023;
}

body.light .list-item {
  border-color: #ddd;
}

.list-main {
  min-height: 78px;

  display: grid;

  grid-template-columns:
    44px
    minmax(0, 1fr);

  align-items: center;

  gap: 14px;

  padding:
    13px
    18px;

  cursor: pointer;
}

.item-icon {
  width: 34px;
  height: 34px;

  display: grid;

  place-items: center;

  border:
    1px solid
    #303035;

  border-radius: 8px;

  background: #101012;

  color: #bbb;
}

.item-icon svg {
  width: 18px;
  height: 18px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.6;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.list-main h3 {
  margin: 0;

  font-family: Inter, sans-serif;

  font-size: 15px;
}

.list-main p {
  margin: 3px 0 0;

  color: #777;

  font-size: 11px;
}

.list-actions {
  display: flex;

  align-items: center;

  gap: 5px;

  margin:
    -64px
    12px
    0
    0;

  float: right;
}

.list-actions a,
.expand {
  width: 32px;
  height: 32px;

  display: grid;

  place-items: center;

  border:
    1px solid
    #2b2b2f;

  border-radius: 7px;

  background: #101012;

  color: #aaa;

  text-decoration: none;

  cursor: pointer;
}

.list-actions svg {
  width: 15px;
  height: 15px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.list-actions a:hover,
.expand:hover {
  color: #fff;

  border-color: #444;
}


/* Details */

.details {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  padding:
    0
    62px;

  transition:
    max-height 0.3s ease,
    padding 0.3s ease,
    opacity 0.2s ease;
}

.expandable.open .details {
  max-height: 220px;

  padding:
    0
    62px
    20px;

  opacity: 1;
}

.details p {
  margin:
    0
    0
    12px;

  color: #aaa;
}

.chips {
  display: flex;

  gap: 7px;

  flex-wrap: wrap;
}

.chips span,
.status {
  font-size: 11px;

  color: #aaa;

  border:
    1px solid
    #2b2b2f;

  border-radius: 5px;

  padding:
    3px
    7px;

  background: #111114;
}


/* =========================================================
   ACHIEVEMENTS
   ========================================================= */

.simple-list {
  border-top: 1px solid #202023;
}

.simple-item {
  min-height: 78px;

  padding:
    13px
    18px;

  display: grid;

  grid-template-columns:
    36px
    minmax(0, 1fr)
    auto;

  gap: 14px;

  align-items: center;

  border-bottom: 1px solid #202023;
}

body.light .simple-item {
  border-color: #ddd;
}

.simple-item > span:last-child {
  color: #777;

  font-size: 11px;
}

.medal {
  width: 32px;
  height: 32px;

  display: grid;

  place-items: center;

  color: #bbb;
}

.medal svg {
  width: 19px;
  height: 19px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.simple-item h3 {
  margin: 0;

  font-family: Inter, sans-serif;

  font-size: 14px;
}

.simple-item p {
  margin: 3px 0 0;

  color: #777;

  font-size: 11px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.content-cards {
  border-bottom: 1px solid #202023;
}

.cards {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 10px;

  padding:
    0
    18px
    28px;
}

.mini-card {
  border:
    1px solid
    #28282c;

  background: #0f0f11;

  padding: 18px;

  min-height: 180px;

  display: flex;

  flex-direction: column;
}

body.light .mini-card {
  background: #f8f8f8;

  border-color: #d5d5d5;
}

.product-mark {
  width: 36px;
  height: 36px;

  display: grid;

  place-items: center;

  border:
    1px solid
    #333;

  border-radius: 8px;

  font-family: Inter, sans-serif;

  font-weight: 900;
}

.mini-card h3 {
  font-family: Inter, sans-serif;

  margin:
    15px
    0
    8px;

  font-size: 16px;
}

.mini-card p {
  color: #85858c;

  font-size: 12px;

  margin:
    0
    0
    20px;
}

.status {
  margin-top: auto;

  width: fit-content;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  max-width: 920px;

  margin: 0 auto;

  padding:
    25px
    18px
    50px;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  color: #666;

  font-size: 11px;
}

.footer a {
  color: #aaa;

  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

body.light .footer a:hover {
  color: #111;
}


/* =========================================================
   COMMAND PALETTE
   ========================================================= */

.command-overlay {
  position: fixed;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.65);

  backdrop-filter: blur(8px);

  z-index: 100;

  display: none;

  place-items: start center;

  padding-top: 15vh;
}

.command-overlay.open {
  display: grid;
}

.command-dialog {
  width:
    min(
      620px,
      calc(100vw - 30px)
    );

  border:
    1px solid
    #36363b;

  background: #101012;

  box-shadow:
    0
    30px
    100px
    rgba(0, 0, 0, 0.5);

  border-radius: 12px;

  overflow: hidden;
}

.command-input {
  height: 58px;

  display: flex;

  align-items: center;

  gap: 10px;

  padding:
    0
    18px;

  border-bottom:
    1px solid
    #2a2a2e;

  color: #777;
}

.command-input svg {
  width: 17px;
  height: 17px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.7;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.command-input input {
  flex: 1;

  background: transparent;

  border: 0;

  outline: 0;

  color: #eee;

  font: inherit;
}

.command-results {
  max-height: 300px;

  overflow: auto;
}

.command-result {
  display: flex;

  justify-content: space-between;

  gap: 10px;

  padding:
    12px
    18px;

  cursor: pointer;
}

.command-result:hover,
.command-result.selected {
  background: #1a1a1d;
}

.command-result small {
  color: #666;
}

.command-hint {
  display: flex;

  gap: 15px;

  padding:
    10px
    18px;

  color: #666;

  border-top:
    1px solid
    #2a2a2e;

  font-size: 10px;
}


/* =========================================================
   IMPORTANT — OLD FLOATING ISSUE BADGE REMOVED
   ========================================================= */

.issue-badge {
  display: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .topbar {
    grid-template-columns:
      auto
      1fr
      auto;

    padding:
      0
      12px;
  }

  .nav-links {
    justify-self: center;

    gap: 12px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .content {
    border: 0;
  }

  .hero {
    height: 190px;
  }

  .hero-logo {
    font-size: 58px;
  }

  .profile-head {
    padding-left: 14px;
  }

  .avatar {
    width: 100px;
    height: 100px;
  }

  .overview {
    grid-template-columns: 1fr;

    gap: 10px;

    padding:
      22px
      14px;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .social-card:nth-child(odd) {
    border-right: 0;
  }

  .stack-grid {
    grid-template-columns:
      repeat(6, 1fr);

    gap:
      18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .github-contrib-card {
    padding: 18px;
  }

  .github-contrib-header {
    align-items: flex-start;
  }

  .github-contrib-header p {
    margin-left: 0;
  }

  .github-profile-link {
    font-size: 9px;
  }

  .github-calendar-bottom {
    align-items: flex-start;

    flex-direction: column;
  }

  .section-title h2,
  .list-heading h2 {
    font-size: 28px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

  .nav-links {
    gap: 8px;
  }

  .nav-actions .search-trigger {
    display: none;
  }

  .hero {
    height: 165px;
  }

  .hero-logo {
    font-size: 48px;
  }

  .profile-head {
    gap: 10px;
  }

  .avatar {
    width: 82px;
    height: 82px;

    font-size: 28px;
  }

  .name-row h1 {
    font-size: 20px;
  }

  .verified {
    width: 17px;
    height: 17px;

    font-size: 10px;
  }

  .pronounce {
    display: none;
  }

  .overview {
    padding:
      20px
      13px;
  }

  .info-row {
    grid-template-columns:
      34px
      minmax(0, 1fr);

    column-gap: 10px;

    min-height: 38px;

    font-size: 12px;
  }

  .info-icon {
    width: 34px;
    height: 34px;

    min-width: 34px;
  }

  .info-icon svg {
    width: 17px;
    height: 17px;
  }

  .time-content {
    gap: 5px;
  }

  .time-content small {
    font-size: 9px;
  }

  .stack-grid {
    grid-template-columns:
      repeat(4, 1fr);
  }

  .details,
  .expandable.open .details {
    padding-left: 56px;
    padding-right: 14px;
  }

}