* {
  box-sizing: border-box;
}

:root {
  --deep-green: #4f6f5a;
  --green-mid: #6b8c77;
  --gold: #d4b26b;
  --champagne: #f5e9d3;
  --ivory: #f8f2e5;
  --rosewater: #f7e8e5;
  --stone: #e8e1d6;
  --blush: #f0d8d2;
  --ink: #16231c;
  --accent: var(--deep-green);
  --accent-2: #eef1f3;
  --paper: #fbf7ef;
  --line: #e3cfa3;
  --muted: #4f5f57;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(79, 111, 90, 0.12);
  font-family: "DM Sans", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
}

body {
  margin: 0;
  background: radial-gradient(120% 70% at 15% 20%, #f2e6cc, #fcf8f0 60%);
  padding: 24px;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--gold);
}

.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--deep-green);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 10px;
  color: var(--champagne);
}

.tab-list {
  display: flex;
  gap: 10px;
}

.tab {
  padding: 10px 16px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  text-transform: lowercase;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--green-mid);
  color: var(--champagne);
}

.tab.active {
  background: var(--champagne);
  color: var(--deep-green);
  border-color: var(--gold);
}

.tab.hidden {
  display: none;
}

.nav-meta {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--green-mid);
  color: var(--champagne);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-weight: 600;
}

.ghost-btn {
  background: var(--blush);
  color: var(--deep-green);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 28px 16px 18px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero-copy h1 {
  font-size: clamp(28px, 3.4vw, 34px);
  margin: 8px 0 12px;
  color: var(--deep-green);
}

.hero-copy .lede {
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 4px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--gold);
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid var(--gold);
  box-shadow: 0 10px 25px rgba(15, 47, 36, 0.18);
  cursor: pointer;
}

.cta.ghost,
.ghost-btn {
  background: var(--blush);
  color: var(--deep-green);
  border: 1px solid var(--gold);
  box-shadow: none;
}

.quiet {
  color: var(--muted);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  background: linear-gradient(145deg, #f6eedf, #e9dec9);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-visual .bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(212,178,107,0.28));
  filter: blur(0px);
  border-radius: 50%;
}

.hero-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 80%;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(22, 35, 28, 0.15));
}

.bubble.large {
  width: 200px;
  height: 200px;
  top: -40px;
  right: -60px;
}

.bubble.small {
  width: 140px;
  height: 140px;
  bottom: -30px;
  left: -20px;
}

.shop {
  margin-top: 18px;
  padding: 16px 12px 28px;
  background: var(--rosewater);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.shop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.category-info {
  flex: 1;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.category-info p {
  margin: 4px 0;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blush);
  color: var(--deep-green);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.filter-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.product-grid {
  margin-top: 20px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-items: center;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 360px;
}

.product-card h3 {
  margin: 0;
  font-weight: 700;
  text-align: center;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.product-card .meta {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--champagne);
  color: var(--deep-green);
  font-weight: 600;
  border: 1px solid var(--gold);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.badge.alt {
  background: var(--deep-green);
  color: var(--champagne);
  border-color: var(--gold);
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(79,111,90,0.12), rgba(212,178,107,0.12));
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--deep-green);
}

.preview-label {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.product-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.action-btn {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--gold);
  background: var(--blush);
  color: var(--deep-green);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  font-size: 13px;
}

.action-btn.primary {
  background: var(--deep-green);
  color: var(--gold);
  border-color: var(--gold);
}

.price {
  font-weight: 800;
  color: var(--deep-green);
}

.meta {
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  width: 100%;
  padding: 18px;
  border: 1px dashed var(--gold);
  border-radius: 14px;
  background: rgba(79, 111, 90, 0.06);
  color: var(--deep-green);
  text-align: center;
  font-weight: 700;
}

.site-footer {
  margin-top: 28px;
  padding: 16px 8px;
  border-top: 1px solid var(--gold);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: var(--deep-green);
  color: var(--champagne);
  border-radius: 16px;
}

.footer-links,
.footer-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-actions .cta {
  padding: 10px 14px;
}

.site-footer a {
  color: var(--gold);
}
.content {
  padding: 24px 10px 10px;
}

.panel {
  background: var(--stone);
  border: 1px solid var(--gold);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: center;
  box-shadow: var(--shadow);
}

.panel-visual {
  min-height: 240px;
  border-radius: 16px;
  background: linear-gradient(120deg, #f1eadc, #e3d7c1);
  border: 1px solid var(--gold);
}

.about-portrait {
  background: linear-gradient(145deg, #f5e8d7, #e3d3bf);
  position: relative;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 12px;
  border: 2px dashed var(--gold);
}

.panel-copy h1 {
  margin: 8px 0 10px;
  color: #c07b70;
}

.panel-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.project-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.project-card {
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.project-card h3 {
  margin: 0;
}

.detail-section {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.detail-section h2 {
  margin: 0 0 10px;
  color: var(--deep-green);
}

.detail-section p {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0;
}

.detail-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--blush);
  color: var(--deep-green);
  font-weight: 700;
  text-decoration: none;
}

.detail-link a:hover,
.detail-link a:focus {
  color: var(--gold);
  border-color: var(--gold);
}

.donation-section {
  margin-top: 18px;
  padding: 18px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.donation-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.donation-section h2 {
  margin: 4px 0;
  color: var(--deep-green);
}

.donation-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.donation-card {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.donation-card h3 {
  margin: 0;
  color: var(--deep-green);
}

.donation-card .action-btn {
  width: 100%;
  justify-content: center;
}

.tos-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.tos-note a {
  color: var(--deep-green);
  font-weight: 700;
}

@media (max-width: 720px) {
  body {
    padding: 12px;
  }

  .top-nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-list {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .tab {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-meta {
    flex-shrink: 0;
    gap: 6px;
  }

  .pill {
    padding: 6px 10px;
    font-size: 13px;
  }

  .ghost-btn {
    padding: 6px 10px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }

  .product-card {
    max-width: none;
  }

  .product-actions {
    justify-content: center;
  }
}
