:root {
  --bg: #000;
  --surface: #0a0a0a;
  --surface-2: #111;
  --border: #1f1f1f;
  --border-strong: #333;
  --text: #fafafa;
  --muted: #a3a3a3;
  --subtle: #6b6b6b;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius-lg: 12px;
  --radius-sm: 8px;
  --column: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 600;
}

strong,
b {
  color: var(--text);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--column);
  margin: 0 auto;
}

.section {
  padding: 32px 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--subtle);
}

.hatch {
  height: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0 1px,
    transparent 1px 7px
  );
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.btn:hover {
  background: var(--surface-2);
}

.btn.primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn.primary:hover {
  background: #d4d4d4;
  border-color: #d4d4d4;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.5;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
}

.dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(58, 232, 58);
}

.dot.hollow {
  background: transparent;
  border: 1.5px solid #fff;
}

.card {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    background 0.15s,
    border-color 0.15s;
}

.card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.thumb {
  height: 110px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.06) 0 1px,
      transparent 1px 7px
    ),
    var(--surface-2);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

.topbar-link:hover {
  color: var(--text);
}

.search-badge {
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border-color: var(--border-strong);
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.search-badge svg {
  width: 13px;
  height: 13px;
}

.search-badge:hover {
  background: var(--border-strong);
  border-color: var(--subtle);
  color: var(--text);
}

.hero-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2px;
  min-height: 190px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 7px, #1b1b1b 7px 8px),
    var(--surface);
}

.hero-banner p {
  font-size: 18px;
  line-height: 1.4;
  color: var(--muted);
}

.hero-banner .hero-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hero-banner p {
  position: relative;
  z-index: 1;
}

.hero-code {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--subtle);
}

.cursor {
  display: inline-block;
  width: 6px;
  height: 13px;
  margin-left: 3px;
  background: var(--muted);
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}

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

.hero-body {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.hero-photo {
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  align-self: flex-start;
  width: 126px;
  height: 126px;
  border-color: var(--border-strong);
}

.hero-actions .btn {
  padding: 8px 7px;
  font-size: 12px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-role {
  font-size: 13px;
  color: var(--subtle);
}

.hero-meta {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .container {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .section {
    padding: 40px 24px;
  }

  .topbar-inner {
    padding: 0 24px;
  }

  .hero-banner {
    min-height: 190px;
    padding: 24px;
  }

  .hero-banner p {
    font-size: 22px;
  }

  .hero-code {
    top: 18px;
    left: 24px;
    font-size: 13px;
  }

  .hero-banner .hero-quote {
    font-size: 36px;
  }

  .hero-body {
    gap: 22px;
  }

  .hero-photo {
    width: 140px;
    height: 140px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}
.hero-banner p {
  position: relative;
  z-index: 1;
}

.hero-code {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  color: var(--subtle);
}

.cursor {
  display: inline-block;
  width: 6px;
  height: 13px;
  margin-left: 3px;
  background: var(--muted);
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}

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

#about,
#skills {
  padding: 24px 18px;
}

.about-title {
  margin: 0 -18px;
  padding: 0 18px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 32px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  padding-left: 22px;
  list-style: disc;
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
}

.about-list li::marker {
  color: var(--text);
}

.about-list strong {
  color: inherit;
  border-bottom: 1px solid var(--border-strong);
}

@media (min-width: 768px) {
  #about,
  #skills {
    padding: 28px 24px;
  }

  .about-title {
    margin: 0 -24px;
    padding: 0 24px 18px;
    font-size: 36px;
  }

  .about-list {
    gap: 22px;
    margin-top: 22px;
    font-size: 18px;
  }
}

.skill-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.skill-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skill-group + .skill-group {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.15s, border-color 0.15s;
}

.chip:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.chip-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.chip-icon svg {
  width: 18px;
  height: 18px;
}

.skill-group .label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
}

#projects {
  padding: 24px 18px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -18px;
  padding: 0 18px 16px;
  border-bottom: 1px solid var(--border);
}

.section-head .section-title {
  font-size: 26px;
}

.breadcrumb {
  margin-bottom: 16px;
}

.breadcrumb a {
  transition: color 0.15s;
}

.breadcrumb a:hover,
.breadcrumb span {
  color: var(--text);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-thumb {
  display: grid;
  place-items: center;
  height: auto;
  aspect-ratio: 16 / 9;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--subtle);
  object-fit: cover;
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-name {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.project-desc {
  font-size: 13px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.btn svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  #projects {
    padding: 28px 24px;
  }

  .section-head {
    margin: 0 -24px;
    padding: 0 24px 18px;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }
}

.repo-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--subtle);
  transition: border-color 0.15s;
}

.repo-search:focus-within {
  border-color: var(--border-strong);
}

.repo-search svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.repo-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 14px;
}

.repo-search input::placeholder {
  color: var(--subtle);
}

.repo-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.repo-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 14px;
}

.repo-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.repo-icon svg {
  width: 18px;
  height: 18px;
}

.repo-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.repo-card[hidden] {
  display: none;
}

.repo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.repo-name {
  font-size: 15px;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.repo-stats {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.repo-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.repo-stat svg {
  width: 12px;
  height: 12px;
}

.repo-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.repo-empty {
  margin-top: 16px;
  font-size: 13px;
  color: var(--subtle);
}

.dot.lang-javascript {
  background: #f7df1e;
}

.dot.lang-python {
  background: #3776ab;
}

.dot.lang-html {
  background: #e44d26;
}

@media (min-width: 768px) {
  .repo-list {
    grid-template-columns: 1fr 1fr;
  }
}

#contact {
  padding: 24px 18px;
}

.contact-block {
  margin: 0 -18px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
}

.contact-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-mail-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.contact-email {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 6.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.contact-copy {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.15s;
}

.contact-copy:hover {
  color: var(--text);
}

.contact-copy svg {
  width: 14px;
  height: 14px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.field {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.15s;
}

.field::placeholder {
  color: var(--subtle);
}

.field:focus {
  outline: 0;
  border-color: var(--border-strong);
}

textarea.field {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
}

.form-note {
  font-size: 12px;
  color: var(--subtle);
}

.connect-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin-top: 12px;
}

.connect-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.15s;
}

.connect-link:hover {
  color: var(--text);
}

.connect-link svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

@media (min-width: 768px) {
  #contact {
    padding: 28px 24px;
  }

  .contact-block {
    margin: 0 -24px;
    padding: 24px;
  }

  .contact-block:last-child {
    padding-bottom: 0;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

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

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 24px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  padding: 0 12px;
  transition: color 0.15s;
}

.footer-links a + a {
  border-left: 1px solid var(--border-strong);
}

.footer-links a:last-child {
  padding-right: 0;
}

.footer-links a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .footer-bar {
    padding: 24px;
  }
}

img.project-thumb {
  display: block;
  width: 100%;
}

.footer {
  border-bottom: 1px solid var(--border);
}

#resume {
  padding: 24px 18px;
}

.resume-intro {
  margin-top: 20px;
  font-size: 15px;
}

.resume-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.resume-file-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}

.resume-file-name svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.resume-file-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-file-actions {
  display: flex;
  gap: 8px;
}

.resume-preview {
  display: block;
  width: 100%;
  height: 640px;
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

@media (min-width: 768px) {
  #resume {
    padding: 28px 24px;
  }

  .resume-preview {
    height: 860px;
  }
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note.is-success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #22c55e;
}

.form-note.is-success svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

section[id],
article[id] {
  scroll-margin-top: 68px;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background 0.15s;
}

.menu-btn:hover {
  background: var(--surface-2);
}

.menu-btn svg {
  width: 18px;
  height: 18px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.palette {
  position: absolute;
  top: 12vh;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(560px, calc(100vw - 24px));
  max-height: 70vh;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  transform: translateX(-50%);
}

.palette-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--subtle);
}

.palette-search svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.palette-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 15px;
}

.palette-input::placeholder {
  color: var(--subtle);
}

.palette-list {
  overflow-y: auto;
  padding: 6px 8px 10px;
}

.palette-group {
  padding: 14px 8px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--subtle);
}

.palette-group[hidden],
.palette-item[hidden],
.palette-empty[hidden] {
  display: none;
}

.palette-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.palette-item[aria-selected="true"] {
  background: #262626;
}

.palette-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.nav-prefix {
  font-weight: 400;
  color: var(--muted);
}

.nav-sep {
  color: var(--text);
}

.palette-empty {
  padding: 20px 8px;
  font-size: 13px;
  text-align: center;
  color: var(--subtle);
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(320px, 85vw);
  overflow-y: auto;
  background: var(--surface-2);
  border-left: 1px solid var(--border-strong);
  transform: translateX(100%);
  transition: transform 0.2s;
}

.overlay.is-open .drawer {
  transform: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px 20px;
}

.drawer-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.drawer-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}

.drawer-close:hover {
  background: #262626;
  color: var(--text);
}

.drawer-close svg {
  width: 16px;
  height: 16px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 12px 24px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.drawer-link:hover,
.drawer-link.is-active {
  background: #262626;
  color: var(--text);
}

.drawer-link svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.drawer-divider {
  height: 1px;
  margin: 12px 0 14px;
  background: var(--border);
}

.drawer-label {
  padding: 0 12px 8px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .topbar-actions .topbar-link,
  .topbar-actions .search-badge {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .overlay,
  .drawer {
    transition: none;
  }
}