@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg: #f3ecdf;
  --surface: #fdfaf4;
  --ink: #33291f;
  --muted: #6b5c4c;
  --accent: #e8590c;
  --accent-dark: #b23f00;
  --accent-ink: #ffffff;
  --line: #e6dcc8;
  --teal: #0b7285;
  --purple: #5f3dc4;
  --green: #2b8a3e;
  --amber: #f0a202;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(51, 41, 31, 0.08);
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Baloo 2", var(--sans);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

body {
  padding: 0 5% 60px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

img { max-width: 100%; display: block; }

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.site-header .brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 4vw, 30px);
  color: var(--ink);
}

.site-header .brand a { color: inherit; text-decoration: none; }

.site-header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 38px);
  margin: 0 0 10px;
}

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 3.5vw, 26px);
  margin: 0 0 12px;
}

.tagline {
  color: var(--muted);
  margin: 0 0 32px;
  font-size: 16px;
}

.about {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 32px;
  box-shadow: var(--shadow);
}

.about h2 { margin-top: 0; }
.about p { margin: 0 0 10px; }
.about p:last-child { margin-bottom: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  text-decoration: none;
}

.card h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0 0 6px;
  font-size: 18px;
}

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

.empty-state {
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  font-size: 14px;
}

/* tag filter chips, shared by gallery + videos */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.tag-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
}

.tag-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.media-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--line);
}

.media-item .meta {
  padding: 10px 12px;
  font-size: 13px;
}

.media-item .meta .title { font-weight: 700; }
.media-item .meta .date { color: var(--muted); font-size: 12px; }

[hidden] { display: none !important; }
