/* ============================================================
   AJINGA FAMILY — main.css
   ============================================================ */

/* 1. RESET
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
ul[role="list"] { list-style: none; }

/* 2. TOKENS
   ---------------------------------------------------------- */
:root {
  --cream:      #FAF8F4;
  --navy:       #1C2B4A;
  --gold:       #C17F24;
  --ink:        #2E2E2E;
  --stone:      #6B6560;
  --white:      #FFFFFF;
  --light-bg:   #F2EFE9;
  --border:     #DDD8CF;

  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Source Sans 3', system-ui, sans-serif;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 8px rgba(28, 43, 74, 0.08);
  --shadow-md:  0 4px 16px rgba(28, 43, 74, 0.12);
}

/* 3. BASE
   ---------------------------------------------------------- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* 4. UTILITY
   ---------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.badge {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
}

.badge--gold { background: var(--gold); }

.tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--stone);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.back-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--stone);
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.back-link:hover { color: var(--navy); }

.section-heading {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.25rem;
}

.section-subheading {
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* 5. NAV
   ---------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--navy); background: var(--light-bg); }
.nav-links a.active { color: var(--navy); font-weight: 600; background: var(--light-bg); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 860px) {
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links a { padding: 0.5rem 0.75rem; font-size: 1rem; }

  body.nav-open .nav-links { display: flex; }

  body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* 6. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

/* 7. HERO (homepage)
   ---------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #a56b1a; color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn--outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.7); }

/* 8. HOMEPAGE SECTIONS
   ---------------------------------------------------------- */
.home-section {
  padding: 4rem 0;
}

.home-section + .home-section {
  border-top: 1px solid var(--border);
}

.home-section--alt {
  background: var(--light-bg);
}

.home-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.home-section-header a {
  font-size: 0.875rem;
  color: var(--stone);
  text-decoration: none;
}
.home-section-header a:hover { color: var(--gold); }

.family-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.family-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.family-preview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.family-preview-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.family-preview-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}

.family-preview-role {
  font-size: 0.8rem;
  color: var(--stone);
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1.5rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.post-card:last-child { border-bottom: none; padding-bottom: 0; }

.post-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.post-card:hover .post-card-title { color: var(--gold); }

.post-card-excerpt { font-size: 0.9rem; color: var(--stone); }

.post-card-meta {
  font-size: 0.8rem;
  color: var(--stone);
  white-space: nowrap;
  text-align: right;
}

/* 9. FAMILY TREE
   ---------------------------------------------------------- */
.family-tree-page {
  padding: 3rem 0 5rem;
}

.family-tree-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.family-tree-intro p {
  color: var(--stone);
  max-width: 480px;
  margin-inline: auto;
}

.tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* ── TIER LABELS ────────────────────────────────────────────── */
.tree-tier-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* ── GRANDPARENTS ROW ──────────────────────────────────────── */
.tree-gp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  padding-bottom: 3rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 3rem;
}

.tree-gp-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tree-gp-couple {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding-bottom: 0.75rem;
}

.tree-gp-marriage {
  font-size: 0.7rem;
  color: var(--stone);
  font-style: italic;
  text-align: center;
}

/* ── MIDDLE ROW: siblings + couple ─────────────────────────── */
.tree-middle-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

/* Vertical line down from couple to children */
.tree-middle-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2.5rem;
  background: var(--border);
}

.tree-siblings {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.tree-couple-zone {
  flex: 1;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: center;
}

.tree-couple-heart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  padding-top: 1.5rem; /* align with avatars */
}

.tree-couple-symbol {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.tree-couple-date {
  font-size: 0.65rem;
  color: var(--stone);
  font-style: italic;
  text-align: center;
  line-height: 1.4;
}

/* ── CHILDREN ROW ──────────────────────────────────────────── */
.tree-children {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  padding-top: 2.5rem;
}

/* Horizontal bar above children */
.tree-children::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: var(--border);
}

/* ── TREE NODE (shared) ─────────────────────────────────────── */
.tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s;
  position: relative;
}

.tree-node:hover { transform: translateY(-4px); }

/* Vertical drop from horizontal bar to each child */
.tree-children .tree-node::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 2.5rem;
  background: var(--border);
}

/* ── AVATARS ─────────────────────────────────────────────────── */
.tree-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
  transition: border-color 0.15s, box-shadow 0.15s;
  overflow: hidden;
}

.tree-node:hover .tree-avatar {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(193, 127, 36, 0.3);
}

.tree-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tree-avatar--gold { background: var(--gold); }
.tree-avatar--stone { background: var(--stone); }
.tree-avatar--in-memoriam { opacity: 0.75; }

.tree-node-name {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  margin-top: 0.6rem;
  text-align: center;
}

.tree-node-sub {
  font-size: 0.78rem;
  color: var(--stone);
  text-align: center;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 800px) {
  .tree-gp-row { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; margin-bottom: 2rem; }
  .tree-middle-row { flex-direction: column; align-items: center; gap: 1.5rem; }
  .tree-middle-row::after { display: none; }
  .tree-siblings { flex: none; flex-direction: row; }
  .tree-couple-zone { flex: none; }
  .tree-couple-heart { padding-top: 0; }
  .tree-children { padding-top: 1.5rem; }
  .tree-children::before { display: none; }
  .tree-children .tree-node::before { display: none; }
}

@media (max-width: 480px) {
  .tree-gp-couple { gap: 1.25rem; }
  .tree-couple-zone { gap: 0.75rem; }
  .tree-children { gap: 1rem; }
  .tree-siblings { gap: 1rem; }
}

/* 10. MEMBER PROFILE
   ---------------------------------------------------------- */
.member-page {
  padding: 3rem 0 5rem;
}

.member-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.member-photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--border);
  flex-shrink: 0;
}

.member-role-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.member-name {
  margin-bottom: 0.5rem;
}

.member-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--stone);
  margin-bottom: 1rem;
}

.member-age {
  font-weight: 600;
  color: var(--navy);
}

.member-pronouns { color: var(--stone); }

.member-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 580px;
}

.member-favorites {
  margin-bottom: 2.5rem;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.favorite-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.favorite-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.2rem;
}

.favorite-value {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--navy);
}

.member-more {
  margin-bottom: 2rem;
}

.member-back { margin-top: 2rem; }

@media (max-width: 560px) {
  .member-hero { grid-template-columns: 1fr; }
  .member-photo-placeholder { margin: 0 auto; }
}

/* 11. BLOG
   ---------------------------------------------------------- */
.blog-page, .post-article {
  padding: 3rem 0 5rem;
}

.blog-header, .post-header {
  margin-bottom: 2.5rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--stone);
  margin-bottom: 0.75rem;
  align-items: center;
}

.post-author { font-weight: 600; color: var(--navy); }
.post-reading { color: var(--stone); }

.post-title { margin-bottom: 0.5rem; }

.post-description {
  font-size: 1.1rem;
  color: var(--stone);
  font-style: italic;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.blog-post-card:hover {
  box-shadow: var(--shadow-md);
  color: inherit;
}

.blog-post-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.blog-post-card:hover h2 { color: var(--gold); }

.blog-post-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.blog-post-card p {
  font-size: 0.95rem;
  color: var(--stone);
}

/* Prose (blog body / recipe body) */
.prose { max-width: 680px; }
.prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1.1rem; }
.prose ul, .prose ol { margin-left: 1.5rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--navy); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.post-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* 12. PHOTOS
   ---------------------------------------------------------- */
.photos-page {
  padding: 3rem 0 5rem;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.photo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.photo-placeholder {
  background: var(--light-bg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  font-size: 2rem;
}

.photo-caption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.photo-caption-text { color: var(--ink); font-weight: 500; }
.photo-caption-date { font-size: 0.75rem; color: var(--stone); }

/* 13. RECIPES
   ---------------------------------------------------------- */
.recipes-page, .recipe-article {
  padding: 3rem 0 5rem;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.recipe-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.recipe-card:hover {
  box-shadow: var(--shadow-md);
  color: inherit;
}

.recipe-card h3 { color: var(--navy); margin-bottom: 0.25rem; }
.recipe-card:hover h3 { color: var(--gold); }

.recipe-card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.recipe-card-desc { font-size: 0.9rem; color: var(--stone); }

.recipe-header { margin-bottom: 2rem; }
.recipe-title { margin-bottom: 0.5rem; }

.recipe-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.recipe-author { font-weight: 600; color: var(--navy); }
.recipe-category {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.recipe-description { font-style: italic; color: var(--stone); font-size: 1.05rem; }

/* 14. MILESTONES
   ---------------------------------------------------------- */
.milestones-page {
  padding: 3rem 0 5rem;
}

.milestone-timeline {
  position: relative;
  padding-left: 2.5rem;
}

.milestone-timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.milestone-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 0.5rem;
}

.milestone-dot {
  position: absolute;
  left: -2.2rem;
  top: 0.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 1;
}

.milestone-who {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.milestone-what {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.milestone-date {
  font-size: 0.8rem;
  color: var(--stone);
}

.milestone-category {
  display: inline-block;
  background: var(--light-bg);
  border: 1px solid var(--border);
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  color: var(--stone);
  margin-left: 0.5rem;
}

/* 15. TRADITIONS
   ---------------------------------------------------------- */
.traditions-page {
  padding: 3rem 0 5rem;
}

.traditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tradition-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-top: 4px solid var(--gold);
}

.tradition-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tradition-emoji { font-size: 1.75rem; }

.tradition-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
}

.tradition-season {
  font-size: 0.75rem;
  color: var(--stone);
  font-weight: 400;
  display: block;
}

.tradition-desc { font-size: 0.95rem; color: var(--ink); line-height: 1.6; }

/* 16. BUCKET LIST
   ---------------------------------------------------------- */
.bucket-page {
  padding: 3rem 0 5rem;
}

.bucket-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.bucket-stat {
  text-align: center;
}

.bucket-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 600;
}

.bucket-stat-label {
  font-size: 0.8rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bucket-categories {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.bucket-category-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.bucket-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bucket-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: box-shadow 0.15s;
}

.bucket-item:hover { box-shadow: var(--shadow); }

.bucket-item.done {
  opacity: 0.6;
  background: var(--light-bg);
}

.bucket-checkbox {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--white);
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}

.bucket-item.done .bucket-checkbox {
  background: var(--gold);
  border-color: var(--gold);
}

.bucket-item-text {
  font-size: 0.95rem;
  color: var(--ink);
}

.bucket-item.done .bucket-item-text {
  text-decoration: line-through;
  color: var(--stone);
}

.bucket-item-notes {
  font-size: 0.8rem;
  color: var(--stone);
  margin-top: 0.2rem;
  font-style: italic;
}

/* 17. MUSIC
   ---------------------------------------------------------- */
.music-page {
  padding: 3rem 0 5rem;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.music-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.music-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.music-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.1rem;
}

.music-artist {
  font-size: 0.85rem;
  color: var(--stone);
  margin-bottom: 0.4rem;
}

.music-added-by {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.music-why { font-size: 0.875rem; color: var(--ink); line-height: 1.5; }

/* 18. PAGE HEADER COMPONENT
   ---------------------------------------------------------- */
.page-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.page-header h1 { margin-bottom: 0.4rem; }
.page-header p { color: var(--stone); font-size: 1rem; }

/* 19. EMPTY STATES
   ---------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--stone);
}

.empty-state p { max-width: 360px; margin-inline: auto; }
