:root {
  --bg: #faf8ff;          /* very light purple-tinted background */
  --bg-accent: #f3effd;   /* section contrast */
  --primary: #b39ddb;     /* muted lavender */
  --primary-600: #9c88cf; /* hover/focus */
  --text: #2a2730;        /* near-black for readability */
  --muted: #6a6674;       /* secondary text */
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(114,105,165,0.15);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, #efe9ff 0%, transparent 60%),
    radial-gradient(900px 400px at -10% 20%, #f7f4ff 0%, transparent 50%),
    var(--bg);
}

/* Header / Nav */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(120%) blur(8px);
  background: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(179,157,219,0.25);
}
.container { max-width: 1100px; padding: 16px 20px; margin: 0 auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 800; letter-spacing: .4px; color: var(--primary); user-select: none; }
nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; }
nav a {
  text-decoration: none; color: var(--muted); font-weight: 600;
  padding: 10px 12px; border-radius: 12px;
  transition: background .2s ease, color .2s ease, transform .04s ease;
}
nav a:hover, nav a:focus { background: var(--bg-accent); color: var(--text); }
nav a:active { transform: translateY(1px); }

/* Mobile menu */
.menu-btn { display: none; }
.menu-icon { display: none; cursor: pointer; border: 0; background: transparent; }
.menu-icon span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--text); border-radius: 2px; }

@media (max-width: 800px) {
  nav ul { display: none; }
  .menu-icon { display: block; }
  .menu-btn:checked + .menu-icon + nav ul {
    display: flex; flex-direction: column; position: absolute; right: 20px; top: 68px;
    background: var(--card); padding: 12px; border-radius: 14px; box-shadow: var(--shadow);
  }
  nav a { padding: 10px 14px; }
}

/* Hero */
.hero { padding: 64px 20px 32px; display: grid; place-items: center; text-align: center; }
.hero-img-wrap {
  width: min(520px, 92vw); aspect-ratio: 4/5; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(180deg, #ffffff, #f6f2ff);
  border: 1px solid rgba(179,157,219,0.2);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 22px 0 12px; }
.hero p { max-width: 750px; font-size: clamp(16px, 2.3vw, 18px); color: var(--muted); line-height: 1.7; margin: 0 auto; }

/* Sections */
section { padding: 72px 20px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.card {
  background: var(--card); border: 1px solid rgba(179,157,219,0.18);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
}
h2 { margin-top: 0; font-size: clamp(22px, 3.2vw, 30px); }

/* Footer */
footer { padding: 40px 20px; text-align: center; color: var(--muted); }

/* Gallery grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.grid figure { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(179,157,219,.18); }
.grid img { width: 100%; height: 240px; object-fit: cover; display: block; }
.grid figcaption { padding: 10px 12px; font-size: 14px; color: var(--muted); background: var(--card); }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.video-card { background: var(--card); border: 1px solid rgba(179,157,219,.18); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.video-card iframe { width: 100%; height: 200px; display: block; }
.video-card .meta { padding: 12px 14px; }
.video-card h3 { margin: 0 0 6px; font-size: 16px; }
.video-card p { margin: 0; color: var(--muted); font-size: 14px; }


.doc-card { background: var(--card); border: 1px solid rgba(179,157,219,.18); 
  border-radius: 16px; box-shadow: var(--shadow); padding: 18px; margin-bottom: 18px; }
.doc-frame { width: 100%; height: 750px; border: 0; }
@media (max-width: 640px) { .doc-frame { height: 520px; } }

.btn-primary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .06s ease, background .2s ease;
}
.btn-primary:hover { background: var(--primary-600); }
.btn-primary:active { transform: translateY(1px); }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.tile {
  background: var(--card);
  border: 1px solid rgba(179,157,219,.18);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform .06s ease, background .2s ease;
}
.tile:hover { background: var(--bg-accent); transform: translateY(-1px); }
.tile-emoji { font-size: 32px; line-height: 1; margin-bottom: 8px; }


/* Hide navigation on home page */
.home-header {
  display: none;
}

.spotify-embed iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.playlist-link {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.playlist-link a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.playlist-link a:hover {
  opacity: 0.85;
}


.video-link {
  position: relative;
  display: block;
}

.video-thumb {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 48px;
  color: white;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
}

.yt-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  text-decoration: underline;
}


.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.favorite-card {
  background: var(--card-bg, rgba(255,255,255,0.75));
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.favorite-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.favorite-emoji {
  font-size: 40px;
  margin-bottom: 10px;
}

.favorite-card h2 {
  margin: 8px 0 6px;
}

.favorite-card p {
  font-size: 14px;
  color: var(--muted);
}

.favorite-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  text-decoration: underline;
}
