@import url('https://fonts.googleapis.com/css2?family=Gugi&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #1b1130;
  --ink-deep: #130c22;
  --paper: #f6efe0;
  --muted: #c6bcda;
  --plum: #b14c86;
  --plum-light: #e8a8cb;
  --citrus: #f2872e;
  --citrus-light: #fbc98b;
  --grape: #93b23a;
  --grape-light: #d3e39c;
  --gold: #e8c468;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.display {
  font-family: 'Gugi', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(27, 17, 48, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(246, 239, 224, 0.08);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.nav-logo span:nth-child(1) { color: var(--plum-light); }
.nav-logo span:nth-child(2) { color: var(--citrus-light); }
.nav-logo span:nth-child(3) { color: var(--grape-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }

.nav-links .btn { margin-left: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink-deep);
}
.btn-gold:hover { background: #f2d485; transform: translateY(-1px); }

.btn-outline {
  border-color: rgba(246, 239, 224, 0.35);
  color: var(--paper);
  background: transparent;
}
.btn-outline:hover { border-color: var(--paper); }

.btn-flavor {
  font-size: 0.88rem;
  padding: 11px 22px;
}

/* ---------- hero ---------- */
.hero {
  padding: 96px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.28;
  margin: 0 0 24px;
}
.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  height: 360px;
}
.hero-art .candy {
  position: absolute;
  width: 220px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}
.hero-art .c1 { top: 4%;  left: 8%;  width: 230px; transform: rotate(-14deg); animation: drop-in 0.7s ease both; }
.hero-art .c2 { top: 38%; left: 34%; width: 200px; transform: rotate(9deg);   animation: drop-in 0.7s 0.12s ease both; }
.hero-art .c3 { top: 66%; left: 2%;  width: 195px; transform: rotate(-6deg);  animation: drop-in 0.7s 0.24s ease both; }

@keyframes drop-in {
  from { opacity: 0; transform: translateY(-24px) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .candy { animation: none !important; }
}

/* ---------- section shell ---------- */
section { padding: 72px 0; }
.section-head { max-width: 56ch; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0 0 14px;
}
.section-head p { color: var(--muted); margin: 0; }

.rule {
  height: 1px;
  background: rgba(246, 239, 224, 0.1);
  border: none;
  margin: 0;
}

/* ---------- story ---------- */
.story .wrap {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.story p { color: var(--muted); margin: 0 0 18px; max-width: 52ch; }
.story-art { display: flex; justify-content: center; }
.story-art svg { width: 100%; max-width: 320px; }

/* ---------- flavor grid ---------- */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.flavor-card {
  background: rgba(246, 239, 224, 0.04);
  border: 1px solid rgba(246, 239, 224, 0.08);
  border-radius: 20px;
  padding: 32px 28px 28px;
  border-top: 3px solid var(--tone, var(--gold));
}
.flavor-card.plum   { --tone: var(--plum); }
.flavor-card.citrus { --tone: var(--citrus); }
.flavor-card.grape  { --tone: var(--grape); }

.flavor-card .icon { width: 108px; margin: 0 auto 20px; }
.flavor-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.flavor-card .en { color: var(--tone); font-size: 0.85rem; margin: 0 0 14px; }
.flavor-card p { color: var(--muted); font-size: 0.94rem; margin: 0 0 18px; }
.flavor-card .more { font-size: 0.88rem; color: var(--paper); border-bottom: 1px solid rgba(246,239,224,0.35); padding-bottom: 2px; }
.flavor-card .more:hover { border-color: var(--paper); }

/* ---------- values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value h3 { font-size: 1.05rem; margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.value h3 .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.value p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid rgba(246, 239, 224, 0.08);
  padding: 48px 0 40px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
footer .foot-note { color: var(--muted); font-size: 0.84rem; max-width: 46ch; margin: 10px 0 0; }
footer .foot-links { display: flex; gap: 24px; font-size: 0.9rem; }
footer .foot-links a { color: var(--muted); }
footer .foot-links a:hover { color: var(--paper); }

/* ---------- products index ---------- */
.page-head {
  padding: 64px 0 40px;
}
.page-head h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 16px;
  max-width: 20ch;
}
.page-head p { color: var(--muted); max-width: 54ch; margin: 0; }

.product-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.product-row.reverse { grid-template-columns: 1.15fr 0.85fr; }
.product-row.reverse .product-art { order: 2; }
.product-row.reverse .product-info { order: 1; }

.product-art { display: flex; justify-content: center; }
.product-art svg { width: 100%; max-width: 320px; }

.product-info .en-label { font-size: 0.86rem; margin: 0 0 8px; }
.product-info.plum .en-label   { color: var(--plum-light); }
.product-info.citrus .en-label { color: var(--citrus-light); }
.product-info.grape .en-label  { color: var(--grape-light); }

.product-info h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 16px; }
.product-info p.desc { color: var(--muted); margin: 0 0 22px; max-width: 46ch; }

.meta-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.meta-tags span {
  font-size: 0.82rem;
  color: var(--paper);
  border: 1px solid rgba(246,239,224,0.25);
  border-radius: 999px;
  padding: 6px 14px;
}

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 260px; margin-top: 12px; }
  .story .wrap { grid-template-columns: 1fr; }
  .story-art { order: -1; }
  .flavor-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .product-row, .product-row.reverse {
    grid-template-columns: 1fr;
  }
  .product-row.reverse .product-art,
  .product-row.reverse .product-info { order: initial; }
  .product-art svg { max-width: 240px; }
}
