/* ============================================================
   Venus Chen — portfolio
   Editorial rhythm: warm white / ink black / one cherry accent.
   90% neutral · 8% gray · 2% pink.
   ============================================================ */

:root {
  --ink: #171515;
  --ink-soft: #4d4749;
  --ink-faint: #968d90;
  --paper: #faf9f7;
  --paper-alt: #f2efec;
  --line: #e8e4e0;
  --accent: #bd3d6e;
  --accent-soft: #f9e7ef;
  --dark: #171114;
  --dark-soft: #a68e9a;
  --radius: 14px;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", Georgia, "Songti SC", serif;
  --font-sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --maxw: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- nav (transparent over hero, glass on scroll) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(250, 249, 247, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.nav-logo:hover { color: var(--ink); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.85rem;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
}
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--font-sans);
}
.lang-btn.is-active { background: var(--ink); color: #fff; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); }

/* ---------- hero: collage ---------- */
.hero { position: relative; overflow: hidden; }
.hero-collage {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: max(88vh, 660px);
  background: var(--paper);
}
.hero-figure {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 94%;
  aspect-ratio: 3 / 4;
  z-index: 1;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 99%);
}
.hero-side {
  position: absolute;
  right: 0;
  top: 20%;
  width: min(36%, 400px);
  z-index: 3;
}
.hero-script {
  font-family: "Caveat", "Long Cang", cursive;
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.22;
  color: var(--ink);
  transform: rotate(-1.5deg);
  letter-spacing: 0.01em;
}
.squiggle { display: block; width: 200px; max-width: 60%; margin: 6px 0 26px 8px; }
.hero-side .hero-name {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero-side .hero-cta {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: #fff;
  transition: background 0.25s ease, color 0.25s ease;
}
.hero-side .hero-cta:hover { background: var(--accent); color: #fff; }

.doodle {
  position: absolute;
  font-family: "Caveat", cursive;
  color: var(--accent);
  z-index: 2;
  opacity: 0.85;
  user-select: none;
}
.d-heart { left: 47%; top: 24%; font-size: 1.7rem; transform: rotate(-8deg); }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  line-height: 1.18;
  max-width: 26ch;
  margin-bottom: 20px;
}

/* ---------- stat row ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 44px 0 56px;
}
.stat-i { display: flex; flex-direction: column; gap: 4px; }
.stat-i .num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
  color: var(--ink);
}
.stat-i .lab { font-size: 0.88rem; color: var(--ink-faint); max-width: 24ch; }
.stat-i .lab.role { font-size: 1rem; color: var(--ink-soft); padding-top: 10px; }

/* ---------- full-bleed photo ---------- */
.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.strip img {
  width: 100%;
  height: min(56vh, 500px);
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.strip-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 28px 16px;
  background: linear-gradient(transparent, rgba(23, 17, 20, 0.6));
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

/* ---------- split (inside the classroom) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 20px;
}
.split h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.split p { color: var(--ink-soft); font-size: 0.98rem; white-space: pre-line; }
.split-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
}

.block-h {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 64px 0 24px;
}

/* ---------- stall cards ---------- */
.stall-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stall {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.stall .no {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 500;
}
.stall .t {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  margin-top: 4px;
}
.stall .meta { font-size: 0.82rem; color: var(--ink-faint); margin-top: 2px; }
.stall .nums { margin-top: 10px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.stall .story { margin-top: 12px; font-size: 0.92rem; color: var(--ink-soft); }
.stall .imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.stall .imgs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}
.stall .imgs img:first-child:nth-last-child(3) { grid-column: 1 / -1; }

/* ---------- music (dark) ---------- */
.section-dark { background: var(--dark); color: #e9dde3; }
.section-dark .music-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  color: #fff;
  max-width: 20ch;
}
.section-dark .music-sub {
  margin-top: 14px;
  color: var(--dark-soft);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.section-dark .music-photo { margin: 44px 0; }
.section-dark .music-photo img {
  width: 100%;
  max-height: 68vh;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.section-dark .stat-row { margin: 0; }
.section-dark .stat-i .num { color: #fff; }
.section-dark .stat-i .lab { color: var(--dark-soft); }
.section-dark .stat-i .lab.role { color: #e9dde3; }
.music-timeline {
  margin-top: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.music-timeline .ti .d {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 500;
}
.music-timeline .ti .t { display: block; font-size: 1.15rem; color: #fff; margin-top: 2px; }
.music-timeline .arrow { color: rgba(255, 255, 255, 0.35); font-size: 0.9rem; line-height: 1; }
.section-dark .music-end {
  margin-top: 48px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
  color: #eecddb;
  max-width: 38ch;
}

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}
.card-featured { border-color: var(--ink); box-shadow: 0 10px 34px rgba(23, 21, 21, 0.07); }
.card-award { border-left: 3px solid var(--accent); }
.card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.badge {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--paper-alt);
  color: var(--ink-soft);
}
.badge-award { background: var(--accent-soft); color: #a13d64; font-weight: 600; }
.badge-paused { background: #efedea; color: #8a8386; }
.card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; }
.card-text { color: var(--ink-soft); font-size: 0.93rem; white-space: pre-line; }
.card-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.card-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}
.card-link { margin-top: auto; padding-top: 16px; font-size: 0.9rem; font-weight: 600; }

/* Collapsible long card text (products section) */
.card-text.is-clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-text.is-open { display: block; overflow: visible; }
.card-toggle {
  align-self: flex-start;
  margin-top: 12px;
  padding: 5px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.card-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }

/* Make Again studio banner */
.studio-banner { grid-column: 1 / -1; border-color: var(--ink); box-shadow: 0 10px 34px rgba(23, 21, 21, 0.07); }
.studio-banner .card-photos { grid-template-columns: repeat(4, 1fr); }
.studio-banner .card-photos img { aspect-ratio: 16 / 10; }

/* ---------- music extras (dark) ---------- */
.section-dark .music-lead { margin-top: 18px; color: #cbb6c0; font-size: 1rem; max-width: 58ch; }
.dark-shows { display: flex; flex-direction: column; gap: 32px; margin-top: 52px; }
.dark-show-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  color: var(--dark-soft);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.dark-show-meta strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; color: #fff; }
.dark-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dark-photos img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: #efe9ea;
  padding: 76px 0 40px;
}
.footer-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 20px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.02rem;
  margin-bottom: 50px;
}
.footer-contact a { color: #f0b9cf; font-weight: 600; }
.footer-contact a:hover { color: #fce3ef; }
.footer-copy {
  font-size: 0.82rem;
  color: #7d7476;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

::selection { background: var(--accent); color: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-collage { min-height: 0; display: flex; flex-direction: column; }
  .hero-figure {
    position: relative;
    left: auto; bottom: auto;
    transform: none;
    height: 52vh;
    width: 82%;
    max-width: 360px;
    margin: 20px auto 0;
    aspect-ratio: auto;
  }
  .hero-side {
    position: relative;
    right: auto; top: auto;
    width: auto;
    max-width: 520px;
    margin: 26px auto 0;
    padding: 0 24px 54px;
    text-align: center;
  }
  .hero-script { transform: rotate(-1deg); }
  .squiggle { margin: 6px auto 22px; }
  .d-heart { left: 8%; top: 46%; }
  .section { padding: 64px 0; }
  .stat-row { grid-template-columns: 1fr; gap: 22px; margin: 34px 0 44px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .stall-row { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .studio-banner .card-photos { grid-template-columns: 1fr 1fr; }
  .dark-photos { grid-template-columns: 1fr; }
  .full-bleed img { height: 52vh; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 0.95rem; }
  .nav-links a.is-active::after { display: none; }
  .nav-burger { display: flex; }
}
.stall .imgs.imgs-col { grid-template-columns: 1fr; }
