/* Shared navigation and motion language for public pages. */
nav {
  min-height: 72px;
  padding-inline: clamp(18px, 5vw, 72px) !important;
  background: rgba(7, 7, 9, .82) !important;
  border-bottom-color: rgba(255,255,255,.09) !important;
  backdrop-filter: blur(22px) saturate(140%) !important;
}
nav .menu-links { gap: clamp(14px, 2.1vw, 30px); }
nav .menu-links a { margin-left: 0 !important; font-size: .92rem !important; }
nav .menu-links a.active:not(.join-us-btn) { color: #fff !important; }
nav .menu-links a.active:not(.join-us-btn)::after { transform: scaleX(1); }
nav .logo img { display: block; }
.hamburger-btn { border: 0; }
body { text-wrap: pretty; }
img { max-width: 100%; }

@media (max-width: 768px) {
  nav { min-height: 64px; padding-inline: 18px !important; }
  nav .menu-links { gap: 0; }
  nav .menu-links a { margin: 0 !important; }
  .hamburger-btn { min-width: 40px; min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the shared public header geometrically identical on every route. */
nav {
  box-sizing: border-box !important;
  height: 72px !important;
  min-height: 72px !important;
  padding: 0 clamp(24px, 5vw, 72px) !important;
}
nav .logo { flex: 0 0 auto; }
nav .logo img { width: auto; height: 28px !important; max-height: 28px; }
nav .menu-links { align-items: center !important; gap: clamp(16px, 2.1vw, 30px) !important; }
nav .menu-links a { margin: 0 !important; font-size: 15px !important; line-height: 1.25 !important; }
nav .hamburger-btn { display: none !important; }
@media (max-width: 992px) {
  nav { height: 64px !important; min-height: 64px !important; padding: 0 18px !important; }
  nav .logo img { height: 26px !important; max-height: 26px; }
  nav .hamburger-btn { display: flex !important; width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; box-sizing: border-box; }
  nav .menu-links { top: 64px !important; height: calc(100dvh - 64px) !important; max-height: calc(100dvh - 64px) !important; gap: 0 !important; }
  nav .menu-links a { margin: 0 !important; font-size: 18px !important; }
}

/* Repository style project index, backed by the existing Supabase project feed. */
.spacious-section.hero-ambient-mask { padding-top: clamp(100px, 8vw, 120px) !important; padding-bottom: 42px !important; }
#filterSection { padding-top: 28px !important; }
.repository-heading { margin-bottom: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.025); }
.repository-profile { display:flex; align-items:center; gap:14px; padding:20px 22px; }
.repository-avatar { display:grid; width:42px; height:42px; place-items:center; border:1px solid rgba(255,255,255,.14); border-radius:50%; background:linear-gradient(145deg,#25272d,#111216); color:#f4f4f5; font-weight:700; }
.repository-profile > div:last-child { display:grid; gap:4px; }.repository-profile strong { color:#f4f4f5; font-size:1rem; }.repository-profile span { color:#92949e; font-size:.82rem; }
.repository-tabs { display:flex; gap:22px; padding:0 22px; border-top:1px solid rgba(255,255,255,.08); }
.repository-tab { position:relative; display:flex; align-items:center; gap:8px; min-height:48px; color:#92949e; font-size:.84rem; text-decoration:none; }.repository-tab:hover { color:#f4f4f5; }.repository-tab i { font-style:normal; font-size:1rem; }.repository-tab.is-active { color:#f4f4f5; }.repository-tab.is-active::after { position:absolute; right:0; bottom:-1px; left:0; height:2px; background:#f78166; content:""; }
.repository-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:20px 0 16px; }
.repository-search { display:flex; align-items:center; gap:10px; width:min(100%,540px); min-height:42px; padding:0 13px; border:1px solid rgba(255,255,255,.14); border-radius:8px; background:#0c0d10; color:#9b9ca5; }.repository-search > span { font-size:1.2rem; }.repository-search input { width:100%; border:0; outline:0; background:transparent; color:#f4f4f5; font:inherit; font-size:.86rem; }.repository-search:focus-within { border-color:#6e7681; box-shadow:0 0 0 2px rgba(110,118,129,.17); }
.repository-sort { display:flex; align-items:center; gap:8px; color:#92949e; font-size:.78rem; }.repository-sort select { max-width:190px; min-height:40px; padding:0 30px 0 10px; border:1px solid rgba(255,255,255,.14); border-radius:8px; background:#111216; color:#e4e4e7; font:inherit; }
#filterSection > div:not(.repository-heading):not(.repository-toolbar) { gap:8px !important; }
#filterSection .cat-filter-btn { padding:8px 14px !important; border-radius:8px !important; font-size:.8rem !important; font-weight:500 !important; }
#filterSection .cat-filter-btn.active { background:#1c1d22 !important; color:#f4f4f5 !important; border-color:rgba(255,255,255,.28) !important; box-shadow:none !important; }
#filterSection .cat-filter-btn.active svg { stroke:#f4f4f5 !important; }
.repository-results-count { max-width:1200px; margin:18px auto 0; padding:0 24px 12px; color:#92949e; font-size:.8rem; }
.repository-list { border:1px solid rgba(255,255,255,.12); border-radius:12px; overflow:hidden; }
.repository-row { display:flex; align-items:center; gap:16px; min-height:112px; padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.09); background:rgba(10,11,13,.72); transition:background .2s ease,transform .35s ease,opacity .35s ease; }
.repository-row:last-child { border-bottom:0; }.repository-row:hover { background:rgba(255,255,255,.045); }.repository-row.reveal { opacity:0; transform:translateY(8px); }.repository-row.reveal.active { opacity:1; transform:none; }
.repository-project-icon { display:grid; flex:0 0 64px; width:64px; height:64px; place-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:10px; background-color:#1b1d22; background-position:center; background-size:cover; color:#a1a1aa; }.repository-project-icon span { filter:drop-shadow(0 1px 3px #000); }
.repository-project-main { min-width:0; flex:1; }.repository-project-titleline { display:flex; align-items:center; gap:10px; }.repository-project-title { padding:0; border:0; background:transparent; color:#8ab4f8; font:600 1rem Inter,sans-serif; text-align:left; cursor:pointer; }.repository-project-title:hover { text-decoration:underline; }.repository-public { padding:2px 8px; border:1px solid rgba(255,255,255,.15); border-radius:20px; color:#92949e; font-size:.68rem; }
.repository-project-main p { margin:7px 0 10px; overflow:hidden; color:#b1b2ba; font-size:.82rem; line-height:1.5; text-overflow:ellipsis; }.repository-project-meta { display:flex; align-items:center; flex-wrap:wrap; gap:12px; color:#92949e; font-size:.72rem; }.repository-language { display:inline-flex; align-items:center; gap:5px; color:#b1b2ba; }.repository-language i { width:9px; height:9px; border-radius:50%; background:#8ab4f8; }.repository-language:nth-child(2n) i { background:#c792ea; }.repository-language:nth-child(3n) i { background:#f1c40f; }.repository-category,.repository-ai { padding:2px 7px; border:1px solid rgba(255,255,255,.1); border-radius:20px; text-transform:capitalize; }.repository-ai { color:#c4b5fd; }
.repository-project-cta { flex:0 0 auto; }.repository-action { display:inline-flex; align-items:center; gap:8px; padding:7px 12px; border:1px solid rgba(255,255,255,.16); border-radius:7px; background:#17181d; color:#e4e4e7; font:500 .78rem Inter,sans-serif; text-decoration:none; cursor:pointer; }.repository-action:hover { background:#22242b; border-color:rgba(255,255,255,.3); }.repository-empty { padding:42px 18px; color:#a1a1aa; text-align:center; }
@media (max-width:700px) {
  #filterSection { padding:32px 16px 12px !important; }.repository-profile { padding:16px; }.repository-toolbar { align-items:stretch; flex-direction:column; }.repository-search { width:auto; }.repository-sort { justify-content:space-between; }.repository-sort select { flex:1; max-width:none; }
  #filterSection > div:not(.repository-heading):not(.repository-toolbar) { display:flex !important; overflow-x:auto; flex-wrap:nowrap !important; padding-bottom:7px; scrollbar-width:none; }#filterSection .cat-filter-btn { flex:0 0 auto; }.repository-results-count { padding-inline:16px; }.repository-list { border-radius:10px; }.repository-row { align-items:flex-start; gap:11px; padding:15px 12px; }.repository-project-icon { flex-basis:54px; width:54px; height:54px; }.repository-project-titleline { flex-wrap:wrap; gap:6px; }.repository-project-title { font-size:.9rem; }.repository-project-main p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }.repository-project-cta { align-self:flex-start; }.repository-action { width:32px; height:32px; justify-content:center; padding:0; overflow:hidden; font-size:0; }.repository-action span { font-size:.9rem; }
}
@media (prefers-reduced-motion:reduce) { .repository-row { transition:none; } }
