/* ============================================================
   Canyang — An artist under VaseBit Artists Label
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --white:      #FAFAF8;
  --off-white:  #F3F1EC;
  --pale:       #E6E2D9;
  --mid:        #9B9690;
  --muted:      #6B6660;
  --dark:       #232018;
  --ink:        #16130D;
  --accent:     #C0A06A;
  --accent-dim: rgba(192, 160, 106, 0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, 'Helvetica Neue', sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 72px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(192, 160, 106, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out),
              width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              border-color 0.3s;
  mix-blend-mode: difference;
}
.cursor.hovering {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: var(--accent-dim);
}
.cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.06s linear;
}

/* ── SCROLL REVEAL ── */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 72px);
  transition: background 0.5s var(--ease-in-out),
              backdrop-filter 0.5s,
              box-shadow 0.5s;
}
nav.scrolled {
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
.nav-logo {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--white);
  transition: color 0.4s;
}
nav.scrolled .nav-logo { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
nav.scrolled .nav-links a { color: var(--muted); }
nav.scrolled .nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 40px;
  color: var(--white);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.12);
}
nav.scrolled .nav-cta {
  border-color: var(--pale);
  color: var(--ink);
}
nav.scrolled .nav-cta:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.06);
  transition: transform 8s var(--ease-out);
}
.hero.loaded .hero-img {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(16,13,8,0.88) 0%,  rgba(16,13,8,0.3) 45%, transparent 72%),
    linear-gradient(to bottom, rgba(16,13,8,0.3) 0%, transparent 20%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 7vw, 100px) clamp(24px, 7vw, 100px);
  padding-bottom: clamp(60px, 9vw, 120px);
}
.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(80px, 14vw, 180px);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
.hero-title .italic { font-style: italic; }
.hero-sub {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.hero-quote {
  max-width: 440px;
  border-left: 1px solid rgba(192,160,106,0.4);
  padding-left: 20px;
}
.hero-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin-bottom: 10px;
}
.hero-quote cite {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.38);
  font-style: normal;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: clamp(24px, 5vw, 72px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.28);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollPulse 2.2s var(--ease-in-out) infinite;
}
@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* ── SECTION COMMONS ── */
.section {
  padding: var(--section-pad) 0;
}
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--muted); }
.body-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}
.body-text strong { font-weight: 500; color: var(--dark); }

/* ── ABOUT ── */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  margin-bottom: 64px;
}
.about-left { padding-top: 8px; }
.tags-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tag {
  padding: 8px 22px;
  border: 1px solid var(--pale);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--off-white);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: default;
}
.tag:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ── DISCOGRAPHY ── */
.discography {
  background: var(--off-white);
}
.disco-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.disco-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--pale);
  transition: padding-left 0.4s var(--ease-out);
}
.disco-item:first-child { border-top: 1px solid var(--pale); }
.disco-item:hover { padding-left: 16px; }
.disco-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  letter-spacing: 0.08em;
  min-width: 32px;
}
.disco-info { flex: 1; }
.disco-info h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.disco-info p {
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.04em;
}
.disco-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 16px;
  border: 1px solid var(--accent-dim);
  border-radius: 40px;
  background: rgba(192,160,106,0.07);
}

/* ── MY WORK ── */
.work {
  background: var(--white);
  padding-top: 0;
}
.work-sticky-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  padding: var(--section-pad) clamp(24px, 5vw, 72px) 40px;
}
.work-hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 45vw, 560px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.work-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, #0e0c07 100%);
  overflow: hidden;
}
.work-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(192,160,106,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(192,160,106,0.06) 0%, transparent 60%);
}
/* Subtle animated gradient orb */
.work-hero-bg::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,160,106,0.09) 0%, transparent 70%);
  top: 50%; left: 30%;
  transform: translate(-50%,-50%);
  animation: orbPulse 6s var(--ease-in-out) infinite alternate;
}
@keyframes orbPulse {
  from { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
  to   { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
.work-hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
}
.work-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(192,160,106,0.7);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  align-self: flex-end;
  margin-bottom: 4px;
}
.work-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.03em;
  flex: 1;
}
.work-year {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  align-self: flex-end;
  margin-bottom: 8px;
}

.work-body {
  padding-top: 64px;
}
.work-text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 60px);
}
.work-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 20px;
}
.work-col p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}

/* ── EXPERIENCE ── */
.experience {
  background: var(--ink);
}
.experience .section-label { color: rgba(192,160,106,0.7); }
.experience .section-title { color: var(--white); }
.experience .section-title em { color: rgba(255,255,255,0.38); }
.experience .body-text { color: rgba(255,255,255,0.5); }
.experience .body-text strong { color: rgba(255,255,255,0.85); }

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.exp-pillars {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.pillar:hover {
  background: rgba(192,160,106,0.06);
  border-color: rgba(192,160,106,0.2);
  color: rgba(255,255,255,0.75);
}
.pillar-icon {
  color: var(--accent);
  font-size: 14px;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--section-pad) 0 clamp(40px, 6vw, 72px);
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
}
.footer-top {
  margin-bottom: 64px;
}
.footer-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(192,160,106,0.6);
  margin-bottom: 20px;
}
.footer-email {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 3.5vw, 44px);
  color: var(--white);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: inline-block;
  padding-bottom: 6px;
  transition: border-color 0.3s, color 0.3s;
}
.footer-email:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer-manager {
  margin-bottom: 72px;
}
.footer-manager p {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 8px;
}
.footer-manager a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-manager a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 32px;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.25);
}
.footer-meta p {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.02em;
  line-height: 1.9;
  text-align: right;
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }

  .about-grid,
  .exp-grid { grid-template-columns: 1fr; gap: 40px; }

  .work-text-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-meta p { text-align: left; }

  .hero-title {
    font-size: clamp(64px, 18vw, 100px);
  }
  .work-eyebrow { display: none; }
}

@media (max-width: 480px) {
  :root { --section-pad: 60px; }
  .disco-badge { display: none; }
}