/* ==============================
   ROUGHZONE CREATIVE — style.css
   Warm Earth Tone Design System
   ============================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-bg: #F5F2ED;
  --color-bg-card: #FEFCF9;
  --color-bg-dark: #2A2320;
  --color-bg-dark-alt: #352D2A;
  --color-terra: #B55D4C;
  --color-terra-light: #C97260;
  --color-terra-dark: #9A4D3E;
  --color-terra-muted: rgba(181, 93, 76, 0.12);
  --color-sage: #7D9E8A;
  --color-gold: #C9A96A;
  --color-text: #2A2320;
  --color-text-muted: #7A6F6A;
  --color-text-light: #ADA49E;
  --color-border: #E8E3DC;
  --color-border-dark: #3D3330;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --shadow-soft: 0 4px 24px rgba(42, 35, 32, 0.07);
  --shadow-card: 0 8px 40px rgba(42, 35, 32, 0.10);
  --shadow-lift: 0 16px 60px rgba(42, 35, 32, 0.14);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
  --nav-height: 72px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* =========================
   NAVIGATION
   ========================= */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(245, 242, 237, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.nav-header.scrolled {
  background: rgba(245, 242, 237, 0.97);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-rz {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-terra);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  letter-spacing: -0.2px;
}

.logo-dot {
  color: var(--color-terra);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.2px;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--color-terra);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--color-terra) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--color-terra-dark) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* --- Dropdown Navigation --- */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  min-width: 240px;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--color-text-muted);
  font-size: 14px;
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2vh) 24px 2vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 93, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(125, 158, 138, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin-bottom: clamp(12px, 3vh, 24px);
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-terra);
  background: var(--color-terra-muted);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  margin-bottom: min(2vh, 16px);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-text);
  letter-spacing: -1px;
  margin-bottom: min(1.5vh, 8px);
  white-space: nowrap;
}

.hero-sub {
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.2px;
}

/* --- Floating Tags --- */
.hero-tag {
  position: absolute;
  z-index: 3;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 14px 26px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  animation: floatTag 5s ease-in-out infinite;
}

.tag-1 {
  top: 18%;
  left: 5%;
  animation-delay: 0s;
}

.tag-2 {
  top: 18%;
  right: 5%;
  animation-delay: 1.5s;
}

.tag-3 {
  top: 42%;
  left: 4%;
  animation-delay: 3s;
}

.tag-4 {
  top: 42%;
  right: 4%;
  animation-delay: 4.2s;
}

.tag-5 {
  bottom: 14%;
  left: 5%;
  animation-delay: 2.2s;
}

.tag-6 {
  bottom: 14%;
  right: 5%;
  animation-delay: 3.6s;
}

@keyframes floatTag {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* --- Carousel --- */
.carousel-wrapper {
  position: relative;
  width: 80%;
  max-width: 800px;
  z-index: 2;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.6, 0, 0.2, 1);
  will-change: transform;
  flex: 1;
  min-height: 0;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}

.slide-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8vh;
  padding: 24px 32px;
  transition: box-shadow var(--transition);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.slide-card:hover {
  box-shadow: var(--shadow-lift);
}

.slide-visual {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  width: clamp(150px, 22.5vh, 240px);
  aspect-ratio: 1 / 2;
  flex-shrink: 0;
  border-radius: 24px;
  border: none;
  box-shadow: 0 32px 80px rgba(42, 35, 32, 0.12);
  background: transparent;
  position: relative;
  z-index: 2;
  transition: transform var(--transition);
}

/* --- Album Frame (for Music) --- */
.album-frame {
  width: clamp(200px, 30vh, 320px);
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 12px;
  border: none;
  box-shadow: 0 32px 80px rgba(42, 35, 32, 0.12);
  background: transparent;
  position: relative;
  z-index: 2;
  transition: transform var(--transition);
}

.album-frame:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.album-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.slide-card--music {
  justify-content: flex-start;
  gap: 6vh;
}

.slide-card--music .slide-info {
  flex: 1;
}

.slide-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 0 0 auto;
}

.btn-music {
  justify-content: center;
  width: 100%;
}

.phone-frame:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.phone-frame--dim {
  opacity: 0.7;
  filter: grayscale(20%);
}

.phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
}

/* --- Illustration Frame (for CoRich) --- */
.illustration-frame {
  width: clamp(180px, 30vh, 320px);
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-frame:hover {
  transform: translateY(-4px) scale(1.02);
}

.illustration-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.slide-glow {
  position: absolute;
  width: 180px;
  height: 300px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.3;
  z-index: 1;
}

.glow-terracotta {
  background: var(--color-terra);
}

.glow-sage {
  background: var(--color-sage);
}

.glow-gold {
  background: var(--color-gold);
}

.slide-info {
  flex: 0 1 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-category {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-bottom: 12px;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: min(1.5vh, 12px);
  letter-spacing: -0.5px;
}

.slide-desc {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: min(2vh, 16px);
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-terra);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  letter-spacing: 0.2px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--color-terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181, 93, 76, 0.3);
}

/* CTA row: 前往產品 + App Store badge */
.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-appstore {
  display: inline-block;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-appstore:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.appstore-badge-svg {
  display: block;
  height: 52px;
  width: auto;
  border-radius: 12px;
}

/* Coming Soon Button */
.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--color-border);
  letter-spacing: 0.3px;
  cursor: default;
}

.coming-soon-dot {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

/* Carousel Nav */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-soft);
}

.carousel-btn:hover {
  background: var(--color-terra);
  border-color: var(--color-terra);
  color: #fff;
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.dot.active {
  background: var(--color-terra);
  width: 24px;
  border-radius: 4px;
}

/* =========================
   ABOUT SECTION
   ========================= */
.about {
  padding: 120px 0;
  background: var(--color-bg);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}

.section-headline em {
  font-style: italic;
  color: var(--color-terra);
}

.section-sub {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-top: -12px;
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-text p strong {
  color: var(--color-text);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 16px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-terra);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.4;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-accent {
  background: var(--color-bg-dark);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  width: 100%;
}

.about-card-accent::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(181, 93, 76, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.accent-pill {
  display: inline-block;
  background: var(--color-terra);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
}

.accent-line {
  font-family: var(--font-serif);
  font-size: 22px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  letter-spacing: 4px;
}

.accent-quote {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
}

.accent-quote::before {
  content: '"';
  font-size: 80px;
  color: rgba(181, 93, 76, 0.3);
  position: absolute;
  top: -20px;
  left: -8px;
  font-family: var(--font-serif);
  line-height: 1;
}

.accent-founder {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* =========================
   SERVICES SECTION
   ========================= */
.services {
  padding: 120px 0;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.services .section-headline {
  text-align: center;
  margin-bottom: 64px;
}

.services .section-label {
  text-align: center;
}

.services-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 48px 40px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--color-terra-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-terra);
}

.service-icon {
  width: 32px;
  height: 32px;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.service-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.service-bullet {
  color: var(--color-terra);
  font-size: 8px;
  margin-top: 6px;
  flex-shrink: 0;
}

.service-list strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.service-list span {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.services-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.divider-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-terra);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(181, 93, 76, 0.3);
}

/* =========================
   PORTFOLIO SECTION
   ========================= */
.portfolio {
  padding: clamp(60px, 8vh, 120px) 0;
  background: var(--color-bg);
}

.portfolio .section-headline {
  margin-bottom: 8px;
}

/* Music Scroll Carousel */
.music-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: min(5vh, 48px);
}

.music-scroll-track {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding-bottom: 8px;
}

.music-scroll-track::-webkit-scrollbar {
  display: none;
}

.music-scroll-track .music-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  scroll-snap-align: start;
}

.music-scroll-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.music-scroll-btn:hover {
  background: var(--color-terra);
  border-color: var(--color-terra);
  color: #fff;
  transform: scale(1.05);
}

.music-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
  overflow: hidden;
}

.music-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
  border-color: var(--color-terra);
}

.music-card-inner {
  padding: clamp(20px, 3vh, 36px) clamp(20px, 2.5vw, 32px);
}

.music-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-terra);
  background: var(--color-terra-muted);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  margin-bottom: min(1.5vh, 16px);
}

.music-badge--dual {
  background: rgba(125, 158, 138, 0.12);
  color: var(--color-sage);
}

.music-album-cover {
  width: 100%;
  max-width: 40vh;
  margin: 0 auto min(2vh, 20px) auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.music-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.music-card:hover .music-album-cover img {
  transform: scale(1.04);
}

.album-portrait {
  object-position: top center;
}

.music-artist-zh {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vh, 32px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.music-artist-en {
  font-size: clamp(13px, 1.5vh, 15px);
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: min(2vh, 20px);
}

.music-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: min(2vh, 20px);
  border-radius: 1px;
}

.music-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.music-track-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-track:last-child {
  margin-bottom: 0;
}

.stream-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 26px;
}

.stream-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 11px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: transparent;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.stream-link--spotify:hover {
  background: #1DB954;
  border-color: #1DB954;
  color: #fff;
}

.stream-link--apple:hover {
  background: #fc3c44;
  border-color: #fc3c44;
  color: #fff;
}

.stream-link--kkbox:hover {
  background: #00B7EE;
  border-color: #00B7EE;
  color: #fff;
}

.music-note {
  color: var(--color-terra);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.music-title-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
}

.music-title-text small {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Milestone Card */
.music-card--milestone {
  background: #5C3D2E;
  border-color: #7A5240;
}

.music-card--milestone:hover {
  border-color: var(--color-terra);
}

.music-card--milestone .music-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.milestone-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.milestone-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.milestone-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}

.milestone-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 24px;
}

.milestone-years {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.year-badge {
  background: var(--color-terra);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-xl);
}

.milestone-note {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================
   PRODUCTS SECTION
   ========================= */
.products {
  padding: 120px 0;
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #F9F7F2;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.product-visual {
  width: 100%;
  display: flex;
}

.product-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-info {
  padding: 32px 24px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.product-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-logo .logo-text {
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo .logo-rz {
  background: var(--color-terra);
}

.footer-tagline {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}

.footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-email {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-terra-light);
  margin-bottom: 20px;
  transition: color var(--transition);
  word-break: break-all;
}

.footer-email:hover {
  color: #fff;
}

.footer-company {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-company strong {
  color: rgba(255, 255, 255, 0.8);
}

.footer-taxid {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-legal-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-legal-links a:hover {
  color: var(--color-terra-light);
}

.footer-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-sage);
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.25);
}

.footer-built {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.2);
}

/* =========================
   ANIMATIONS ON SCROLL
   ========================= */

/* Base: all animatable elements start hidden */
.fade-up,
.fade-left,
.fade-right,
.scale-in {
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.fade-up {
  transform: translateY(48px);
}

.fade-left {
  transform: translateX(-52px);
}

.fade-right {
  transform: translateX(52px);
}

.scale-in {
  transform: scale(0.88) translateY(20px);
}

/* Visible state: all variants resolve to neutral */
.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.anim-delay-1 {
  transition-delay: 0.10s;
}

.anim-delay-2 {
  transition-delay: 0.20s;
}

.anim-delay-3 {
  transition-delay: 0.30s;
}

.anim-delay-4 {
  transition-delay: 0.40s;
}

.anim-delay-5 {
  transition-delay: 0.50s;
}

.anim-delay-6 {
  transition-delay: 0.60s;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-divider {
    flex-direction: row;
    padding: 0;
    gap: 16px;
  }

  .services-divider::before,
  .services-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
  }

  .music-scroll-track .music-card {
    flex: 0 0 calc(50% - 16px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(245, 242, 237, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: auto;
  }

  .nav-dropdown .dropdown-menu a {
    padding-left: 48px;
    font-size: 15px;
    color: var(--color-text-muted);
  }

  .nav-cta {
    margin: 8px 24px;
    border-radius: var(--radius-sm);
    text-align: center;
  }

  .nav-burger {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .carousel-wrapper {
    width: 100%;
  }

  .hero-tag {
    display: none;
  }

  .slide-card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    text-align: center;
  }

  .slide-info {
    flex: 0 1 auto;
  }

  .phone-frame {
    width: clamp(160px, 45vw, 220px);
    height: auto;
    aspect-ratio: 1 / 2;
  }

  .album-frame {
    width: clamp(200px, 60vw, 300px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .slide-cta-row {
    justify-content: center;
  }

  .illustration-frame {
    width: min(80vw, 300px);
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .slide-desc {
    margin: 0 auto 24px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .music-scroll-wrapper {
    margin-top: 32px;
    position: relative;
    padding: 0 12px; /* make space if arrows hang out a bit */
  }

  .music-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .music-scroll-btn--prev {
    left: -4px;
  }

  .music-scroll-btn--next {
    right: -4px;
    background: var(--color-terra);
    color: #fff;
    border-color: var(--color-terra);
  }

  .music-scroll-btn--next:hover {
    background: var(--color-terra-dark);
    border-color: var(--color-terra-dark);
  }

  .music-scroll-track {
    padding-bottom: 8px;
  }

  .music-scroll-track .music-card {
    flex: 0 0 100%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .slide-card {
    padding: 24px 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .about-card-accent {
    padding: 36px 28px;
  }

  .music-card-inner {
    padding: 28px 24px;
  }
}
