@font-face {
  font-family: 'MaoKen';
  src: url('fonts/maoken.woff2') format('woff2');
  font-display: swap;
}

:root {
  --cream: #f2ede3;
  --ink: #3b2b20;
  --brick: #b5563c;
  --muted: #8c8172;
  --paper-line: #cdbfa4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'MaoKen', 'Kaiti SC', 'STKaiti', serif;
  font-size: 18px;
  line-height: 1.85;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}

.brand {
  text-align: center;
  margin-bottom: 8px;
}

.coco {
  position: relative;
  display: block;
  width: min(360px, 78vw);
  margin: 0 auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: float 5s ease-in-out infinite;
}

.coco img {
  display: block;
  width: 100%;
  height: auto;
}

.coco .wave {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.coco:hover .wave,
.coco:focus-visible .wave,
.coco.on .wave { opacity: 1; }

.name {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 2px;
}

h1 {
  margin: 20px 0 0;
  text-align: center;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 3px;
}

.vine {
  display: block;
  width: min(420px, 80%);
  height: auto;
  margin: 12px auto 20px;
}

.meta {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.intro { margin: 28px 0 0; }

section { margin-top: 32px; }

h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: normal;
  color: var(--brick);
  letter-spacing: 1px;
}

p { margin: 8px 0; }

ul {
  margin: 8px 0;
  padding-left: 1.2em;
  list-style: none;
}

li { position: relative; margin: 6px 0; }

li::before {
  content: '·';
  position: absolute;
  left: -1em;
  color: var(--brick);
}

nav {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px dashed var(--paper-line);
  text-align: center;
  font-size: 16px;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-line);
  margin: 0 12px;
}

nav a:hover { color: var(--brick); border-color: var(--brick); }

footer {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.rise { opacity: 0; transform: translateY(10px); animation: rise 0.7s ease forwards; }
.rise:nth-child(2) { animation-delay: 0.08s; }
.rise:nth-child(3) { animation-delay: 0.16s; }
.rise:nth-child(4) { animation-delay: 0.24s; }
.rise:nth-child(5) { animation-delay: 0.32s; }

@keyframes rise { to { opacity: 1; transform: none; } }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .coco { animation: none; }
  .rise { animation: none; opacity: 1; transform: none; }
  .coco .wave { transition: none; }
}
