/* ── DenslyLive — Shared Styles ── */

:root {
  --bg: #FAFAF7;
  --surface: #F2F1EC;
  --surface2: #E8E7E0;
  --ink: #0E1A0E;
  --ink-mid: #3A4A3A;
  --ink-muted: #7A8A7A;
  --accent: #1A5C2E;
  --accent-mid: #2A7A42;
  --accent-lt: #EAF4ED;
  --accent-lt2: #C8E6D0;
  --gold: #C8892A;
  --gold-lt: #FDF3E3;
  --red: #C0392B;
  --red-lt: #FDEDED;
  --border: rgba(14,26,14,0.1);
  --border2: rgba(14,26,14,0.06);
  --shadow: 0 2px 16px rgba(14,26,14,0.07);
  --shadow-lg: 0 8px 40px rgba(14,26,14,0.12);
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: 'Syne', sans-serif; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 0 40px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,250,247,0.96);
  border-bottom: 1.5px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-logo { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 900; font-style: italic; color: var(--ink); text-decoration: none; letter-spacing: -0.5px; }
.nav-logo span { color: var(--accent); }
.nav-center { display: flex; gap: 4px; }
.nav-link { padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--ink-muted); text-decoration: none; transition: all .2s; }
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.active { color: var(--accent); background: var(--accent-lt); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.nav-badge { font-family: 'Space Mono', monospace; font-size: 10px; background: var(--accent-lt); color: var(--accent); padding: 4px 10px; border-radius: 4px; font-weight: 700; letter-spacing: 1px; border: 1px solid var(--accent-lt2); }
.btn-nav { padding: 8px 20px; border-radius: var(--r); background: var(--accent); color: #fff; font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: all .2s; text-decoration: none; display: inline-flex; align-items: center; }
.btn-nav:hover { background: var(--accent-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,92,46,.3); }

main { padding-top: 60px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: var(--r); font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; border: none; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,92,46,.25); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--ink-mid); background: var(--surface); }
.btn-outline-green { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline-green:hover { background: var(--accent-lt); }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--accent-lt); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ── CHIPS ── */
.chip { font-family: 'Space Mono', monospace; font-size: 10px; padding: 4px 10px; border-radius: 4px; background: var(--surface); border: 1px solid var(--border); letter-spacing: .5px; color: var(--ink-muted); white-space: nowrap; }
.chip-green { background: var(--accent-lt); border-color: var(--accent-lt2); color: var(--accent); }
.chip-gold { background: var(--gold-lt); border-color: rgba(200,137,42,.25); color: var(--gold); }
.chip-red { background: var(--red-lt); border-color: rgba(192,57,43,.2); color: var(--red); }

/* ── SECTION HELPERS ── */
.sec-label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: block; }
.sec-title { font-family: 'Fraunces', serif; font-size: clamp(34px,5vw,58px); font-weight: 900; letter-spacing: -1.5px; line-height: 1; margin-bottom: 32px; }
.sec-title em { font-style: italic; color: var(--accent); }

/* ── LISTING CARD ── */
.listing-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 24px; cursor: pointer; transition: all .25s; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.listing-card::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .25s; }
.listing-card:hover { border-color: var(--accent-lt2); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.listing-card:hover::after { transform: scaleY(1); }
.listing-card.featured { border-color: var(--accent-lt2); background: linear-gradient(135deg, #fff, var(--accent-lt)); }
.listing-card.featured::after { transform: scaleY(1); }
.lc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.lc-badge { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; background: var(--accent-lt); color: var(--accent); border: 1px solid var(--accent-lt2); }
.lc-badge.priv { background: var(--red-lt); color: var(--red); border-color: rgba(192,57,43,.2); }
.lc-time { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--ink-muted); }
.lc-title { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 6px; }
.lc-sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 14px; line-height: 1.5; }
.lc-roles { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.lc-bottom { display: flex; align-items: center; justify-content: space-between; }
.lc-school { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--ink-muted); }
.lc-arrow { font-size: 16px; color: var(--ink-muted); transition: all .2s; }
.listing-card:hover .lc-arrow { color: var(--accent); transform: translateX(3px); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.form-label .req { color: var(--red); }
.form-input, .form-textarea, .form-select { width: 100%; background: #fff; border: 1.5px solid var(--border); border-radius: var(--r); padding: 13px 16px; font-family: 'Syne', sans-serif; font-size: 14px; color: var(--ink); outline: none; transition: border-color .2s; -webkit-appearance: none; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,92,46,.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-muted); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.65; }

/* ── SAMPLE BANNER ── */
.sample-banner {
  background: linear-gradient(135deg, #FDF3E3, #FFF8EE);
  border: 1.5px solid rgba(200,137,42,.25);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.sample-banner-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.sample-banner strong {
  color: var(--gold);
  font-weight: 700;
}
.sample-banner a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.sample-banner a:hover {
  text-decoration: underline;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .5s ease forwards; }
.d1 { animation-delay: .07s; } .d2 { animation-delay: .14s; } .d3 { animation-delay: .21s; } .d4 { animation-delay: .28s; }

/* ── UTILS ── */
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.text-muted { color: var(--ink-muted); }

/* ── RESPONSIVE NAV ── */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-center { display: none; }
}
