:root {
  --teal:     #1b8078;
  --teal-dk:  #135f59;
  --teal-lt:  #e6f4f2;
  --cream:    #f7f2ea;
  --cream-dk: #ece7de;
  --gold:     #e9a020;
  --coral:    #df5c38;
  --text:     #1c2724;
  --muted:    #5e7870;
  --white:    #ffffff;
  --card-bg:  #fdf9f4;
  --r:        16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text); min-height: 100vh; }

/* NAV */
nav {
  background: var(--cream);
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 40px;
  border-bottom: 1px solid var(--cream-dk);
  position: sticky; top: 0; z-index: 100;
}
.nav-brand { font-size: .85rem; font-weight: 600; letter-spacing: .03em; color: var(--teal-dk); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: .85rem; font-weight: 500; color: var(--text); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

/* HERO */
.hero {
  background: var(--teal);
  padding: 40px 20px 30px;
  text-align: center;
  position: relative; overflow: hidden;
}
.ocd-badge {
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; color: #fff;
  line-height: 1.3; text-align: center;
}
.hero-row {
  display: inline-flex; align-items: center; gap: 22px;
  margin-bottom: 30px;
}

img .ocd-logo { width: 20px; height: 20px; }

/* folder */
.folder { width: 108px; height: 80px; position: relative; flex-shrink: 0; }
.folder .tab {
  position: absolute; top: 0; left: 0;
  width: 42px; height: 15px;
  background: var(--gold); border-radius: 5px 5px 0 0;
}
.folder .body {
  position: absolute; top: 11px; left: 0; right: 0; bottom: 0;
  background: var(--coral); border-radius: 4px 10px 10px 10px;
  display: flex; align-items: center; justify-content: center;
}
.folder .body span {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem; color: #fff; letter-spacing: -.01em;
}
.hero-title {
  font-size: 1rem; font-weight: 700; letter-spacing: .05em;
  color: #fff; text-transform: uppercase; text-align: left;
  line-height: 1.4; max-width: 200px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  padding: 10px 26px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent; color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .18s, color .18s;
}
.btn-ghost:hover { background: #fff; color: var(--teal); }

/* MAIN */
main { max-width: 780px; margin: 0 auto; padding: 36px 20px 72px; }

/* FILTER BAR */
.filter-bar {
  background: var(--teal);
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 18px 40px;
  justify-content: center;
}
.f-btn {
  padding: 9px 22px; border-radius: 999px;
  border: none;
  background: var(--cream); color: var(--teal-dk);
  font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .15s, color .15s, transform .1s;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.f-btn:hover { background: var(--white); transform: translateY(-1px); }
.f-btn.on { background: var(--teal-dk); color: var(--cream); }

/* COUNT */
.count { font-size: .78rem; color: var(--muted); margin-bottom: 18px; }
.count strong { color: var(--teal-dk); }

/* CARDS */
.grid { display: flex; flex-direction: column; gap: 14px; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--cream-dk);
  border-radius: var(--r);
  padding: 20px 20px 16px;
  animation: up .28s ease both;
}
@keyframes up { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.card-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: bold;
  font-size: 1.1rem; color: var(--teal-dk); line-height: 1.2;
}
.card-title { font-size: .8rem; color: var(--muted); margin-top: 2px; font-weight: 500; }
.cat-badge {
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px; flex-shrink: 0;
  background: var(--teal-lt); color: var(--teal-dk);
}

.card-desc {
  font-size: .83rem; color: var(--text); line-height: 1.6;
  margin-bottom: 14px; white-space: pre-line;
}

.card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.act {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: 999px;
  font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: opacity .15s;
  border: none;
}
.act:hover { opacity: .82; }
.act-primary { background: var(--teal-dk); color: #fff; }
.act-secondary { background: var(--cream-dk); color: var(--teal-dk); }

/* EMPTY */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: .9rem; }

/* FOOTER */
footer { text-align: center; padding: 20px; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--cream-dk); }

@media (max-width:560px) {
  nav { padding: 12px 16px; }
  .hero { padding: 30px 16px 48px; }
  .filter-bar { padding: 14px 16px; gap: 8px; }
  main { padding: 24px 14px 56px; }
}

.social-icon {
  padding: 6px;
  filter: invert(34%) sepia(98%) saturate(355%) hue-rotate(126deg) brightness(99%) contrast(87%);
}

/* ABOUT */
.description {
  font-size: .9rem; color: var(--text); line-height: 1.6;
  max-width: 600px; margin: 0 auto 36px;
  background: var(--card-bg); border: 1px solid var(--cream-dk);
  border-radius: var(--r); padding: 24px;
  text-align: left;
  color: var(--text);
}

/* CONTACT */
.btn-contact {
  padding: 10px 26px; border-radius: 999px;
  border: 2px solid var(--teal);
  background: var(--teal); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .18s, color .18s;
  font-weight: 600;
}