
:root{
  --brown:#6B4E2E;
  --ivory:#F7F2E8;
  --green:#3B7A57;
  --blue:#4C97C3;
  --text:#2a241e;
}
*{box-sizing:border-box;}
body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:var(--ivory);
  color:var(--text);
}

/* Header/Nav */
.topbar{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(12px);
  background:rgba(255,255,255,0.85);
  border-bottom:1px solid #e0d8c9;
}
.nav{
  max-width:1100px;
  margin:0 auto;
  padding:6px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand img{
  height:80px;
}
@media(max-width:600px){
  .brand img{height:62px;}
}

#nav-toggle{display:none;}
.burger{
  font-size:26px;
  line-height:1;
  padding:6px 10px;
  border-radius:10px;
  border:1px solid #e0d8c9;
  cursor:pointer;
  user-select:none;
}
.menu{
  display:flex;
  gap:16px;
}
.menu a{
  text-decoration:none;
  color:var(--brown);
  font-weight:600;
}
@media(max-width:800px){
  .burger{display:block;}
  .menu{
    position:absolute;
    top:54px;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid #e0d8c9;
    padding:10px 16px 14px;
    display:none;
    flex-direction:column;
    gap:8px;
  }
  #nav-toggle:checked + .burger + .menu{
    display:flex;
  }
}

/* Hero */
.hero{
  position:relative;
  padding:80px 16px 90px;
  background:
    linear-gradient(rgba(247,242,232,0.4),rgba(247,242,232,0.55)),
    url("assets/hero.png") center/cover no-repeat;
}
.hero-inner{
  max-width:520px;
  margin:0 auto;
}
.hero-card{
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(18px);
  border-radius:24px;
  padding:24px 20px 26px;
  box-shadow:0 10px 25px rgba(0,0,0,0.16);
  text-align:center;
}
.hero-card h1{
  font-size:clamp(26px,5.4vw,34px);
  margin:0 0 12px;
  color:var(--brown);
  font-weight:800;
}
.hero-card p{
  margin:0 0 18px;
  line-height:1.55;
  font-size:clamp(15px,2.3vw,17px);
}
.hero-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.btn{
  display:block;
  width:100%;
  text-decoration:none;
  font-weight:700;
  text-align:center;
  padding:13px 16px;
  border-radius:14px;
  color:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,0.15);
}
.btn.brown{background:var(--brown);}
.btn.green{background:var(--green);}
.btn.blue{background:var(--blue);}
.btn:active{transform:scale(0.97);}

/* Page sections for subpages */
.page .section{
  max-width:900px;
  margin:30px auto;
  padding:0 16px;
}
.page h1{
  font-size:28px;
  color:var(--brown);
}

/* Simple footer placeholder (optional later) */

/* ORAL HISTORIES PAGE  ---------------------------------- */

.oh-hero{
  padding:40px 16px 30px;
  background:
    linear-gradient(rgba(247,242,232,0.85), rgba(247,242,232,0.95)),
    url("assets/hero.png") center/cover no-repeat;
}
.oh-hero-inner{
  max-width:900px;
  margin:0 auto;
}
.oh-hero-card{
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(16px);
  border-radius:22px;
  padding:22px 18px 20px;
  box-shadow:0 10px 24px rgba(0,0,0,0.12);
  text-align:left;
}
.oh-hero-card h1{
  margin:0 0 10px;
  font-size:clamp(24px,4.8vw,32px);
  color:var(--brown);
}
.oh-hero-card p{
  margin:0 0 12px;
  line-height:1.6;
}

/* Pills / filters */
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
.pill{
  border-radius:999px;
  border:1px solid #ddcdb7;
  padding:6px 12px;
  font-size:13px;
  background:#fff;
  color:var(--brown);
  cursor:pointer;
}
.pill-soft{
  background:rgba(255,255,255,0.9);
  border-color:transparent;
}
.pill-active{
  background:var(--brown);
  color:#fff;
  border-color:var(--brown);
}

/* Featured story */
.oh-feature-card{
  background:#fff;
  border-radius:18px;
  padding:18px 16px 20px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}
.oh-feature-label{
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:var(--brown);
  margin-bottom:6px;
}
.oh-feature-card h3{
  margin:4px 0 8px;
}
.oh-feature-card p{
  margin:0 0 10px;
}
.oh-feature-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:13px;
  color:#7a6a58;
}
.link-btn{
  display:inline-block;
  margin-top:8px;
  font-size:14px;
  font-weight:600;
  color:var(--blue);
  text-decoration:underline;
}

/* Story grid */
.oh-intro{
  margin-top:0;
  margin-bottom:16px;
}
.story-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@media (min-width:720px){
  .story-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}
.story-card{
  background:#fff;
  border-radius:18px;
  padding:16px 14px 18px;
  box-shadow:0 6px 16px rgba(0,0,0,0.06);
}
.story-card h3{
  margin:6px 0 8px;
  font-size:18px;
  color:var(--brown);
}
.story-card p{
  margin:0 0 10px;
}
.story-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:13px;
  color:#7a6a58;
}
.story-tag{
  display:inline-block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.09em;
  color:#7a5b35;
  background:#f3e3cd;
  border-radius:999px;
  padding:3px 9px;
}

/* Submit card */
.oh-submit-card{
  background:#fff;
  border-radius:20px;
  padding:18px 16px 20px;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}
.oh-submit-card ul{
  padding-left:18px;
  margin:8px 0 0;
}
.oh-submit-card li{
  margin-bottom:4px;
}
/* ABOUT PAGE */
.oh-feature-card ul {
  padding-left: 18px;
  margin: 8px 0;
}
.oh-feature-card ul li {
  margin-bottom: 6px;
}
/* Founder Section */
.founder-section {
  text-align: center;
}

.founder-photo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.20);
  border: 4px solid #fff;
}

.founder-name {
  margin-top: 12px;
  font-size: 15px;
  color: var(--brown);
}

.founder-message {
  font-style: italic;
  line-height: 1.6;
  color: #5a4a3a;
}
/* Digital Library Page */

.resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .resource-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.resource-card {
  background: #fff;
  padding: 18px 16px 20px;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.resource-card h2 {
  margin-top: 0;
  color: var(--brown);
}

.resource-card ul {
  padding-left: 18px;
  margin-top: 8px;
}
.resource-card ul li {
  margin-bottom: 6px;
}