:root {
  --color-mint: #DDF5EC;
  --color-mint-dark: #2F8A6B;
  --color-soft-pink: #F8DDE3;
  --color-pink: #EC4899;
  --color-lavender: #3F957D;
  --color-text-gray: #555555;
  --color-text-light: #888888;
  --color-text-dark: #111827;
  --color-bg: #FFFFFF;
  --color-bg-light: #FAFAFA;
  --font-main: 'Chiron Hei HK', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden !important; width: 100% !important; max-width: 100% !important; position: relative; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); color: var(--color-text-gray); background: var(--color-bg); line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
.site-wrapper { overflow-x: hidden !important; width: 100% !important; max-width: 100% !important; position: relative; contain: paint; }
a { text-decoration: none; color: inherit; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
ul, ol { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 8rem 0; }
.bg-light { background-color: var(--color-bg-light); }
.text-center { text-align: center; }
.text-lavender { color: var(--color-lavender); }
.bg-lavender { background-color: var(--color-lavender); }
.text-pink { color: var(--color-pink); }
.text-accent { color: #8b7355; }
.text-light-gray { color: var(--color-text-light); }
.link-muted { font-size: 0.875rem; font-weight: 500; color: var(--color-text-light); transition: 0.3s; }
.hover-dark:hover { color: var(--color-text-dark); }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; } .mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; } .mt-16 { margin-top: 4rem; }
.rounded-2xl { border-radius: 1rem; } .rounded-3xl { border-radius: 1.5rem; } .rounded-xl { border-radius: 0.75rem; }
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
.shadow-glow { box-shadow: 0 0 30px rgba(255,255,255,0.3); }
.border-gray { border: 1px solid #F3F4F6; }
.border-white { border: 4px solid rgba(255,255,255,0.4); }
.border-top { border-top: 1px solid #F3F4F6; }
.align-end { align-items: flex-end; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden !important; }
.z-10 { z-index: 10; } .z-0 { z-index: 0; }

.gradient-bg { background: linear-gradient(135deg, #F2FAF7 0%, #C4EFE0 100%); }

.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-center-gap-16 { display: flex; justify-content: center; align-items: center; gap: 4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Typography */
.section-badge { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.section-title { font-size: 2.25rem; font-weight: 600; color: var(--color-text-dark); }
.section-title-large { font-size: 3rem; font-weight: 300; color: var(--color-text-dark); }
.section-desc { color: var(--color-text-light); font-weight: 300; max-width: 600px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; border-radius: 9999px; font-weight: 500; transition: all 0.3s; cursor: pointer; border: none; font-family: var(--font-main); }
.btn-dark { background-color: var(--color-text-dark); color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.btn-dark:hover { background-color: #374151; }
.btn-glass { background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); color: var(--color-text-dark); }
.btn-glass:hover { background: rgba(255,255,255,0.6); }
.btn-yellow { background-color: #FEE500; color: #371D1E; font-weight: 700; padding: 1rem 2.5rem; }
.btn-yellow:hover { background-color: #F4DC00; }
.nav-btn { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #E5E7EB; background: transparent; cursor: pointer; transition: 0.3s; }
.nav-btn:hover { background: #F3F4F6; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: 85px; background: transparent; z-index: 1000; display: flex; align-items: center; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease; }
.navbar.nav-hidden { transform: translateY(-100%); }
.navbar .logo { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.15em; color: var(--color-text-dark); font-family: var(--font-main); text-transform: uppercase; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; color: var(--color-text-dark); transition: all 0.3s ease; }
.nav-links a:hover { color: var(--color-lavender); }

/* Hero Section */
.hero { height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.2); backdrop-filter: blur(2px); z-index: 0; }
.hero-container { position: relative; z-index: 10; display: flex; align-items: center; height: 100%; width: 100%; }
.hero-text { flex: 1; padding-top: 5rem; }
.hero-text .subtitle { font-size: 1rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; color: #666; }
.hero-text .title { font-size: 4.5rem; font-weight: 300; line-height: 1.2; color: var(--color-text-dark); margin-bottom: 1.5rem; }
.hero-text .desc { font-size: 1.25rem; font-weight: 300; margin-bottom: 2.5rem; max-width: 500px; color: #555; }
.btn-group { display: flex; gap: 1rem; }
.hero-image { flex: 1; height: 100%; display: flex; justify-content: center; align-items: flex-end; }
.hero-image .img-wrapper { width: 100%; height: 100%; overflow: visible; position: relative; transform: scale(1.15) translateY(2rem); transform-origin: bottom center; }
.hero-image img { object-position: bottom center; }

/* Scroll Indicator */
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scroll-indicator span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; }
.scroll-indicator .line { width: 1px; height: 3rem; background: rgba(0,0,0,0.1); position: relative; overflow: hidden; }
.scroll-indicator .line-inner { position: absolute; top: 0; left: 0; width: 100%; height: 50%; background: #000; animation: scrollLine 1.5s infinite linear; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* Intro Section */
.intro-layout { display: flex; align-items: center; gap: 6rem; }
.intro-image { flex: 1; display: flex; justify-content: flex-end; }
.intro-image .img-wrapper { width: 100%; max-width: 450px; aspect-ratio: 3/4; position: relative; }
.img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.2), transparent); }
.intro-text { flex: 1; }
.name-block { position: relative; margin-bottom: 2.5rem; }
.name-block .indicator { position: absolute; left: -1.5rem; top: 0; width: 4px; height: 100%; border-radius: 9999px; }
.name-ko { font-size: 3rem; font-weight: 300; color: var(--color-text-dark); margin-bottom: 0.5rem; }
.name-en { font-size: 1.25rem; letter-spacing: 0.2em; color: var(--color-text-light); font-weight: 300; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; padding: 1.5rem 0; border-top: 1px solid #F3F4F6; border-bottom: 1px solid #F3F4F6; margin-bottom: 3rem; }
.info-item { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; }
.info-item span { color: var(--color-text-light); font-size: 0.75rem; }
.info-item strong { color: var(--color-text-dark); font-weight: 500; }
.hover-lavender { color: var(--color-text-dark); font-weight: 500; transition: 0.3s; }
.hover-lavender:hover { color: var(--color-lavender); }
.quote { font-size: 1.5rem; font-weight: 300; line-height: 1.6; color: #374151; font-style: italic; }

.details-split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; border-top: 1px solid #F3F4F6; padding-top: 2rem; }

/* Career */
.card { background: #fff; padding: 2rem; border-radius: 1rem; border: 1px solid #F3F4F6; box-shadow: 0 4px 20px -4px rgba(0,0,0,0.05); transition: 0.3s; cursor: default; }
.card:hover { transform: translateY(-5px) scale(1.02); }
.card-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--color-text-gray); }
.bg-mint-light { background: rgba(221, 245, 236, 0.5); }
.card-tag { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; color: var(--color-text-light); text-transform: uppercase; margin-bottom: 0.5rem; }
.card-title { font-size: 1.25rem; font-weight: 600; color: var(--color-text-dark); margin-bottom: 0.5rem; }
.card-desc { color: var(--color-text-light); font-weight: 300; font-size: 0.875rem; }

/* Portfolio / Gallery */
.gallery-item { cursor: pointer; }
.img-box { position: relative; aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1rem; }
.img-box img { transition: transform 0.7s; }
.gallery-item:hover .img-box img { transform: scale(1.05); }
.hover-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.1); transition: 0.5s; }
.gallery-item:hover .hover-overlay { background: rgba(0,0,0,0.3); }
.badge-live { position: absolute; top: 1rem; left: 1rem; background: #EF4444; color: #fff; font-size: 0.625rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 0.25rem; display: flex; align-items: center; gap: 0.25rem; z-index: 10; }
.dot.blink { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: pulse 1s infinite alternate; }
@keyframes pulse { from { opacity: 1; } to { opacity: 0.4; } }
.badge-viewers { position: absolute; top: 1rem; left: 4rem; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); color: #fff; font-size: 0.625rem; font-weight: 500; padding: 0.25rem 0.5rem; border-radius: 0.25rem; display: flex; align-items: center; gap: 0.25rem; z-index: 10; }
.play-btn-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; z-index: 10; }
.gallery-item:hover .play-btn-overlay { opacity: 1; transform: scale(1.1); }
.play-btn { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; color: var(--color-text-dark); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); padding-left: 0.25rem; font-size: 1.25rem; }
.item-info { padding: 0 0.25rem; }
.item-tag { font-size: 0.75rem; font-weight: 500; margin-bottom: 0.25rem; display: block; }
.item-title { font-size: 1.05rem; font-weight: 600; color: var(--color-text-dark); margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-brand { font-size: 0.75rem; color: var(--color-text-light); }
.item-price { font-size: 0.875rem; font-weight: 700; color: var(--color-text-dark); }

/* Video & Insta */
.video-box { position: relative; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; }
.video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); transition: 0.5s; display: flex; align-items: center; justify-content: center; }
.video-box:hover .video-overlay { background: rgba(0,0,0,0.5); }
.play-btn-large { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; padding-left: 0.25rem; transition: 0.3s; }
.video-box:hover .play-btn-large { transform: scale(1.1); }
.video-info { position: absolute; bottom: 1rem; left: 1rem; color: #fff; }
.video-info h4 { font-size: 1.125rem; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.video-info p { font-size: 0.875rem; opacity: 0.9; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.insta-item { position: relative; aspect-ratio: 1/1; overflow: hidden; cursor: pointer; transition: 0.3s; }
.insta-item:hover { transform: scale(1.05); z-index: 10; border-radius: 0.75rem; }
.insta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; opacity: 0; transition: 0.3s; }
.insta-item:hover .insta-overlay { opacity: 1; }

/* Contact */
#contact { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 4rem 0; overflow: hidden !important; position: relative !important; }
.bg-contact { position: absolute; inset: 0; background: rgba(221, 245, 236, 0.3); z-index: 0; }
.blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; mix-blend-mode: multiply; filter: blur(80px); opacity: 0.7; animation: blob 7s infinite; }
.blob-pink { top: 0; right: 0; background: var(--color-soft-pink); }
.blob-lavender { bottom: 0; left: 0; background: #BCECE0; animation-delay: 2s; }
@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
.contact-card { padding: 4rem 5rem; position: relative; z-index: 10; background: transparent; border: none; box-shadow: none; backdrop-filter: none; margin: 0 auto; max-width: 900px; }
.contact-desc { font-weight: 300; max-width: 500px; margin: 0 auto 3rem auto; line-height: 1.6; }
.contact-link { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.contact-icon { width: 4rem; height: 4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #4B5563; transition: 0.3s; }
.contact-link:hover .contact-icon { transform: scale(1.1); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.hover-lavender-bg:hover { color: var(--color-lavender); }
.hover-mint-bg:hover { color: var(--color-mint-dark); }
.hover-pink-bg:hover { color: var(--color-pink); }

.footer { padding: 2.5rem 0; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.fade-up.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

.fade-up-stagger { opacity: 1; }
.fade-item { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.fade-item.active { opacity: 1; transform: translateY(0); }
.hero-text .fade-item:nth-child(1) { transition-delay: 0.1s; }
.hero-text .fade-item:nth-child(2) { transition-delay: 0.3s; }
.hero-text .fade-item:nth-child(3) { transition-delay: 0.5s; }
.hero-text .fade-item:nth-child(4) { transition-delay: 0.7s; }

.intro-layout .fade-item:nth-child(1) { transition-delay: 0.2s; }
.intro-layout .fade-item:nth-child(2) { transition-delay: 0.4s; }

.reveal-right { opacity: 0; transform: translateX(50px); transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-text .title { font-size: 3.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .contact-card { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
  /* Navbar & Hamburger */
  .hamburger { display: block !important; background: none; border: none; font-size: 1.5rem; color: #111827; cursor: pointer; }
  .navbar { height: 65px; }
  .navbar .container { justify-content: space-between; padding: 0 2.5rem !important; }
  .nav-links { 
    position: fixed; top: 65px; left: 0; width: 100%; height: 0; background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
    overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); opacity: 0;
  }
  .nav-links.active { height: calc(100vh - 65px); opacity: 1; }
  .nav-links a { font-size: 1.25rem; font-weight: 700; display: block; }
  
  /* Hero */
  .hero { height: auto; min-height: 100vh; padding: 0; }
  .hero-container { flex-direction: column-reverse; text-align: center; justify-content: center; padding-top: 5rem; padding-bottom: 2rem; gap: 1rem; }
  .hero-image { display: block; width: 100%; max-width: 250px; margin: 0 auto; }
  .hero-text { flex: none; display: flex; flex-direction: column; align-items: center; padding-top: 0; z-index: 10; }
  .hero-text .title { font-size: 2.3rem; line-height: 1.35; margin-bottom: 1rem; }
  .hero-text .desc { font-size: 0.95rem; margin-bottom: 1.5rem; padding: 0 1rem; }
  .hero-contact { display: none !important; }
  .btn-group { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .scroll-indicator { display: none !important; } /* Hide overlapping scroll line */
  
  /* Layouts */
  .section { padding: 4rem 1.5rem !important; }
  .intro-layout { flex-direction: column; text-align: center; gap: 2.5rem !important; }
  .intro-image { justify-content: center; width: 100%; }
  .intro-image .img-wrapper { max-width: 220px; margin: 0 auto; aspect-ratio: 1/1 !important; border-radius: 50% !important; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important; }
  .intro-image .img-wrapper img { width: 100%; height: 100% !important; object-fit: cover !important; }
  .name-block { margin-bottom: 1rem !important; text-align: center; }
  .name-ko { font-size: 2.2rem !important; }
  .name-block .indicator { display: none; }
  .quote { font-size: 1rem !important; padding-left: 0 !important; border-left: none !important; margin-bottom: 1.5rem !important; text-align: center; line-height: 1.6; word-break: keep-all; }
  .details-split { grid-template-columns: 1fr !important; gap: 2.5rem !important; text-align: left; padding-top: 0.5rem !important; }
  
  /* Unified Profile & History Rows */
  .profile-col h4, .career-col h4 { margin-bottom: 1rem !important; font-size: 0.95rem !important; text-align: left; }
  
  .profile-col > div { display: flex !important; flex-direction: column !important; gap: 0.75rem !important; }
  .profile-col > div > div { display: flex !important; justify-content: space-between !important; align-items: flex-start !important; border-bottom: 1px dashed #E5E7EB; padding-bottom: 0.6rem !important; text-align: right; }
  .profile-col > div > div > p { margin: 0 !important; font-weight: 700 !important; color: #111827 !important; width: 85px !important; flex-shrink: 0 !important; text-align: left !important; font-size: 0.9rem !important; }
  .profile-col > div > div > strong, .profile-col > div > div > a { font-size: 0.9rem !important; font-weight: 600 !important; color: #4B5563 !important; }
  
  .career-col > div { gap: 0.75rem !important; }
  .career-col > div > div { font-size: 0.9rem !important; border-bottom: 1px dashed #E5E7EB !important; padding-bottom: 0.6rem !important; display: flex !important; justify-content: space-between !important; }
  .career-col > div > div > span:last-child { text-align: right; word-break: break-word; }
  
  /* Grids & Misc */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
  .gallery-item .img-box .fa-user { font-size: 3.5rem !important; margin-top: 1.2rem !important; }
  .gallery-item .item-info { padding: 0.75rem 0.25rem 0 0.25rem; }
  .gallery-item .item-tag { font-size: 0.7rem !important; }
  .gallery-item .item-title { font-size: 0.9rem !important; margin-top: 0.25rem !important; line-height: 1.3; }
  .gallery-item .item-brand { font-size: 0.75rem !important; }
  .gallery-item .item-price { font-size: 0.75rem !important; }
  .gallery-item .badge-live { font-size: 0.6rem !important; padding: 0.15rem 0.4rem !important; top: 0.5rem !important; left: 0.5rem !important; }
  .gallery-item .badge-viewers { font-size: 0.6rem !important; padding: 0.15rem 0.4rem !important; top: 0.5rem !important; right: 0.5rem !important; left: auto !important; }
  .gallery-item .play-btn { width: 2.2rem !important; height: 2.2rem !important; font-size: 0.8rem !important; }
  .flex-center-gap-16 { gap: 1.5rem; flex-direction: column; }
  .contact-card { padding: 2.5rem 1.5rem !important; }
  .contact-card a[href^="mailto:"] { word-break: break-all !important; font-size: 1.1rem !important; }
  .section-title-large { font-size: 2.2rem; }
  
  .hidden-mobile { display: none; }
  .w-full-mobile { width: 100%; }
}

/* Fullpage Layout (Desktop) */
@media (min-width: 769px) {
  #home, #about, #portfolio, #contact {
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
  }
  #home .hero-container,
  #about .intro-layout,
  #portfolio .container,
  #contact .container {
    width: 100%;
  }
}
