/* ---------- CUSTOM FONT ---------- */
@font-face {
  font-family: 'Mochi Boom';
  src: url('mochi_font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #82B8A6;
  --teal-dark: #82B8A6;
  --teal-light: #82B8A6;
  --pink: #FBB6CE;
  --pink-dark: #F687B3;
  --bg: #d9d9d9;
  --card: #FFFFFF;
  --text: #283e37;
  --text-soft: #4A5568;
  --text-muted: #718096;
  --border: #E2E8F0;
  --placeholder: #EDF2F7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 24px;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(251, 182, 206, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(79, 209, 197, 0.15) 0%, transparent 40%);
}

.container { max-width: 1280px; margin: 0 auto; }

/* ---------- NAVBAR ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-bottom: 24px;
}
.nav-left { display: flex; gap: 12px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: none;
  background: var(--placeholder);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  font-size: 16px;
  transition: transform 0.15s;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn.accent { background: var(--teal-light); color: var(--teal-dark); }

.nav-tabs {
  display: flex; gap: 28px; list-style: none;
}
.nav-tabs a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 16px;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-tabs a:hover { color: var(--text); }
.nav-tabs a.active { color: var(--text); font-weight: 600; }
.nav-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--text); border-radius: 2px;
}

.nav-right { display: flex; gap: 10px; }
.btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { background: var(--placeholder); }
.btn-primary { background: var(--text); color: white; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }

/* ---------- HERO ---------- */
.hero-wrap {
  position: relative;
  margin-bottom: 60px;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
  border-radius: 28px;
  padding: 56px;
  overflow: visible;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.hero-back {
  position: absolute;
  top: 24px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--text);
  z-index: 5;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-family: 'Mochi Boom', sans-serif;
  font-size: 84px;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: 1px;
}
.hero p {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 420px;
}
.hero-link {
  display: inline-block;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--text);
  padding-bottom: 2px;
}

/* ---------- BREAKING-OUT CHARACTER ---------- */
.hero-character {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: 120%;
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.18));
}
.hero-character img {
  height: 100%;
  width: auto;
  display: block;
}

.hero-dots {
  position: absolute;
  bottom: 32px; left: 56px;
  display: flex; gap: 8px;
  z-index: 2;
}
.hero-dots span {
  width: 28px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.5);
}
.hero-dots span.active { background: var(--text); width: 40px; }

/* ---------- BOTTOM GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.section-title {
  font-family: 'Mochi Boom', sans-serif;
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.section-title .arrow { font-size: 18px; color: var(--text-soft); }

/* ARTWORK */
.artwork-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.artwork-card {
  background: var(--placeholder);
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}
.artwork-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.artwork-card .credit {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}
.view-more {
  width: 100%;
  padding: 14px;
  background: var(--card);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: transform 0.15s;
}
.view-more:hover { transform: translateY(-2px); }

/* SEARCH */
.search-box {
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
}
.search-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  background: var(--teal-light);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s;
}
.search-item:hover { background: var(--teal); color: white; }
.search-item.muted { background: var(--placeholder); }
.search-decor {
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--placeholder);
  overflow: hidden;
  border: 3px solid var(--card);
}
.search-decor img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.search-decor.top { top: -12px; right: -18px; }
.search-decor.bot { bottom: -12px; right: -18px; }

/* LIST */
.list-card {
  background: var(--card);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.15s;
}
.list-card:hover { transform: translateX(4px); }
.list-num {
  font-family: 'Mochi Boom', sans-serif;
  font-size: 42px;
  font-weight: normal;
  color: var(--teal-dark);
  min-width: 50px;
}
.list-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--placeholder);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.list-text h3 {
  font-family: 'Mochi Boom', sans-serif;
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.list-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ---------- PAGE PLACEHOLDER (for Home / Portfolio / Commission / FAQ) ---------- */
.page-placeholder {
  background: var(--card);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
}
.page-placeholder h1 {
  font-family: 'Mochi Boom', sans-serif;
  font-size: 64px;
  font-weight: normal;
  margin-bottom: 24px;
  letter-spacing: 1px;
  color: var(--text);
}
.page-placeholder .placeholder-img {
  max-width: 100%;
  max-height: 500px;
  width: auto;
  height: auto;
  border-radius: 18px;
  display: block;
}
.page-placeholder .placeholder-img-empty {
  width: 100%;
  max-width: 600px;
  height: 400px;
  background: var(--placeholder);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 28px; }
  .hero-content { max-width: 100%; }
  .hero-character { display: none; }
  .hero h1 { font-size: 56px; }
  .nav-tabs { display: none; }
  .page-placeholder h1 { font-size: 44px; }
}
