/* css/components.css
   Sidebar, nav, chips, cards, hero
*/

/* --- Sidebar --- */
.sidebar{
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #ffffff;
  border-right: 1px solid rgba(1,20,37,0.08);
}

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

.brandLink{
  text-decoration: none;
}

.nameLine{
  font-family: var(--font-display, inherit);
  font-weight: 800;
  font-size: 20px;
  color: #011425;
  letter-spacing: -0.01em;
}

.nameLine .vi{
  font-weight: 900;
}

.introLine1,
.introLine2{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(1,20,37,0.64);
  line-height: 1.35;
}
.introLine2{ margin-top: 2px; }

.navToggle{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(1,20,37,0.12);
  background: rgba(255,255,255,0.78);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.navToggle:hover{ background: rgba(255,255,255,0.96); }
.navToggle svg{ width: 18px; height: 18px; stroke: rgba(1,20,37,0.72); }

/* Icons always visible */
.nav svg, .findme svg{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  stroke: currentColor;
}

/* --- Nav --- */
.nav{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-top: 6px;
}

.nav a{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(1,20,37,0.78);
  font-weight: 750;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav a:hover{
  background: rgba(92,124,137,0.18);
  border-color: rgba(1,20,37,0.10);
  transform: translateY(-1px);
}

/* Collapsed state (labels hidden, icons centered) */
html.nav-collapsed .nav a{
  justify-content: center;
}
html.nav-collapsed .navLabel{
  display:none;
}
html.nav-collapsed .brand .nameLine,
html.nav-collapsed .brand .introLine1,
html.nav-collapsed .brand .introLine2{
  display:none;
}

/* --- Find Me --- */
.findme{
  margin-top: auto;
  display:flex;
  flex-direction:column;
  gap: 10px;
  padding-top: 12px;
}

.kickerLeft{
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(1,20,37,0.55);
  margin-bottom: 4px;
}

.findLink{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(1,20,37,0.78);
  border: 1px solid rgba(1,20,37,0.08);
  background: rgba(1,20,37,0.02);
  transition: background 160ms ease, border-color 160ms ease;
}

.findLink:hover{
  background: rgba(92,124,137,0.18);
  border-color: rgba(1,20,37,0.12);
}

.findLink .left{
  display:flex;
  align-items:center;
  gap: 10px;
}

.footerNote{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(1,20,37,0.60);
  line-height: 1.45;
}

html.nav-collapsed .kickerLeft,
html.nav-collapsed .footerNote,
html.nav-collapsed .findLabel,
html.nav-collapsed .ext{
  display:none;
}
html.nav-collapsed .findLink{
  justify-content:center;
}

/* --- Right panel typography --- */
.kicker{
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
}

.sectionTitle{
  margin-top: 10px;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.quote{
  margin-top: 14px;
  color: rgba(255,255,255,0.84);
  font-size: 18px;
}

/* --- Fixed hero (no "box") --- */
.heroFixed{
  position: sticky;
  top: 0;
  z-index: 5;
  padding-bottom: 18px;
  background: transparent;
  backdrop-filter: none;
}

.heroFixed h1{
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.heroFixed em{
  font-family: var(--font-accent, Georgia, serif);
  font-style: italic;
}

/* --- Browse block --- */
.belowHero{
  margin-top: 18px;
}

/* --- Chips --- */
.chips{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.chip{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.chip:hover{
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-1px);
}
.chip.active{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.95);
}

/* --- Posts: THIS is the "beautiful" surfaced card layout --- */
.posts{
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

a.postRow{
  display: block;
  text-decoration: none;
  border-radius: 22px;
  padding: 18px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

a.postRow:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.22);
}

.postMeta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  font-size: 12px;
  color: rgba(255,255,255,0.70);
}

.postMeta .tag{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
}

a.postRow h3{
  margin: 10px 0 6px;
  color: rgba(255,255,255,0.92);
}

.small{
  font-size: 13px;
  color: rgba(255,255,255,0.74);
  line-height: 1.45;
}

.emptyState{
  color: rgba(255,255,255,0.74);
  font-size: 13px;
}

/* Responsive hero */
@media (max-width: 900px){
  .heroFixed h1{ font-size: 44px; }
}
 
