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

  :root {
    --pink: #f72585;
    --hot: #ff006e;
    --yellow: #ffe600;
    --cyan: #00f5ff;
    --dark: #0a0a0a;
    --white: #ffffff;
  }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: 'Dokdo', cursive;
    overflow-x: hidden;
    cursor: none;
    user-select: none;
  }

  /* cursor */
#cursor {
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

#cursor-ring {
  width: 30px;
  height: 30px;
  border: 2px solid var(--pink);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: 0.15s ease;
  border-color: var(--pink);
}
  /* nav bar */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(247,37,133,0.12);
     transition: all 0.3s ease;
  }
  .nav-logo {
    font-size: clamp(20px, 1.8vw, 32px);
    font-weight: 900;
    letter-spacing: 0.05em;
    color:black;
    text-transform: lowercase;
    
  }
  .nav-logo a {
  color: inherit;        
  text-decoration: none; 
}
  .nav-links { display: flex; gap: 32px; }
  .nav-links a {
     font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.15em;
    font-weight: 700;

    text-transform: uppercase;
    color:black;
    text-decoration: none;
    position: relative;
    transition: opacity 0.2s ease;
  }
  .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--pink);
}

.nav-links a.active::after {
  width: 100%;
}
 
  #bgCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
  }


  .hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding-top: 82px;
  }


  .title-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    z-index: 10;
  }

  .bubble-title {
      width: clamp(360px, 75vw, 1100px);
    z-index: 10;
    animation: titleFloat 4s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
  }
  .bubble-title img {
  width: 100%;
  height: auto;
  display: block;
   object-fit: contain;
}

  @keyframes titleFloat {
    0%, 100% { transform: translateY(0px) rotate(-0.3deg); }
    50% { transform: translateY(-12px) rotate(0.3deg); }
  }


  .img-overlay {
    position: absolute;
    top: 50%; left: 50%;
    display: flex;
  flex-direction: column;
  align-items: center;
    transform: translate(-50%, -50%);
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
      width: clamp(320px, 60vw, 800px);
  }
  .img-overlay.visible {
    opacity: 1;
  }
  .img-overlay img {
    width: 100%;
    border-radius: 4px;
    display: block;
    animation: imgPop 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  @keyframes imgPop {
    from { transform: scale(0.85); }
    to { transform: scale(1); }
  }
.overlay-text {
  text-align: center;
  margin-bottom: 12px; 
  font-size: clamp(16px, 2vw, 28px);
   color: var(--pink);
  letter-spacing: 0.1em;
}
  /* HOLD HINT */
  .hint {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
     font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: hintPulse 2.5s ease-in-out infinite;
  }
  .hint-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pink);
    animation: hintPulse 2.5s ease-in-out infinite;
  }
  @keyframes hintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }

  /* STARS BG PARTICLES */
  .star {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    animation: starFloat linear infinite;
    color: var(--pink);
    font-size: 14px;
    opacity: 0.18;
  }
  @keyframes starFloat {
    from { transform: translateY(110vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.18; }
    90% { opacity: 0.18; }
    to { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
  }
 

/* hamburger */
.menu-toggle {
display:none;
  font-size: 22px;
  cursor: pointer;
  z-index: 200;
  color:#0a0a0a
}

/*tablet*/
@media (max-width: 768px) {

  nav {
    padding: 14px 20px;
  }

  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(85%, 320px);
    height: 100vh;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 100px 24px 24px;
    transition: right 0.3s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    z-index: 150;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: clamp(16px, 2.25vw, 18px);
    padding: 10px 0;
  }

  .bubble-title {
    width: 85vw;
  }

  .img-overlay {
    width: 90vw;
  }

  .hint {
    bottom: 50px;
  }
}


/* mobile*/
@media (max-width: 430px) {

  nav {
    padding: 12px 16px;
  }

  .nav-logo {
    font-size: 20px;
  }

  .menu-toggle {
    font-size: 24px;
  }

  .nav-links {
    width: 100%;
    max-width: 100%;
    padding: 100px 18px 24px;
    gap: 20px;
  }

  .nav-links a {
    font-size: 15px;
  }

  .bubble-title {
    width: clamp(260px, 80vw, 900px);
  }

  .img-overlay {
    width: 95vw;
  }

  .hint {
    font-size: 14px;
    gap: 6px;
  }
}


/* about page */

.about-hero {
  height: 100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position: relative;
  z-index: 1;
  transition: 0.4s ease;
}

.about-title {
  width: clamp(280px, 50vw, 520px);
  margin-bottom: 20px;
  transform: translateY(-40px);

  animation: floatTitle 4s ease-in-out infinite; 
}
@keyframes floatTitle {
  0%, 100% {
    transform: translateY(-40px);
  }
  50% {
    transform: translateY(-55px); 
  }
}
.about-hero.hide {
  opacity: 0;
}
/* ===== FLIP CARD ===== */

.card-container {
  perspective: 1000px;
}

.card {
  width: clamp(240px, 25vw, 320px);
  height:clamp(320px, 40vw, 420px) ;
  position: relative;
  transform-style: preserve-3d;
  transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
    box-shadow: 0 20px 60px rgba(247,37,133,0.25);
    animation: floatCard 4s ease-in-out infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.card.flip {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 50px;
  backface-visibility: hidden;
}

.card-front {
  background: none;
  overflow: hidden;
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* ===== SPLIT ===== */

.split {
  display: none;
  height: 100vh;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.split.show {
  display: flex;
}




.split-wrap {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
}



.split-card {
  width: clamp(280px, 28vw, 420px);
  transition: transform 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
}
.split-card:hover {
  transform: scale(1.05);
}



.split-card img {
  width: 100%;
  height: auto;           
  object-fit: contain;    
  display: block;
}


.split-card:first-child {
  transform: rotate(-6deg);
  animation: float1 4s ease-in-out infinite;
}

.split-card:last-child {
  transform: rotate(6deg);
  animation: float2 4s ease-in-out infinite;
}

@keyframes float1 {
  0%,100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(-8deg); }
}

@keyframes float2 {
  0%,100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-10px) rotate(8deg); }
}
/* ===== MOBILE ===== */

@media (max-width: 768px) {

  .split-wrap {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .split-card {
    width: 60vw;        
    max-width: 220px;   
  }

  .split-card img {
    height: auto;
  }

  .split-card:first-child,
  .split-card:last-child {
    transform: none; 
  }

}
#phone {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  display: none;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

/*contact*/

.contact-page {
  background: white;
}


.contact {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;

  text-align: center;
  position: relative;
  z-index: 1;

  padding: 120px 20px 60px;
}


.contact-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}


.contact h1 {
  font-family: 'Dokdo';
  font-size: clamp(72px, 10vw, 120px);
  line-height: 0.9;
  color: var(--pink);
}

.contact h1 span {
  color: black;
}


.contact-sub {
  font-size: clamp(16px, 1.25vw, 20px);
  color: #666;
  max-width: 420px;
  line-height: 1.7;
}


.contact-socials {
  display: flex;
  gap: 24px;
  margin-top: 5px;
}

.contact-socials a {
  font-size: 14px;
  text-decoration: none;
  color: #888;
  transition: 0.2s;
}

.contact-socials a:hover {
  color: var(--pink);
}


.contact-form {
  width: 100%;
  max-width: 320px;

  display: flex;
  flex-direction: column;
  gap: 12px;
}


.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;

  background: white;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  outline: none;

  transition: 0.2s;
}

.contact-form textarea {
  min-height: 100px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
}

/* button*/

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 20px;

  background: var(--pink);
  color: white;
  font-family: 'Dokdo', cursive;

  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.contact-form button:hover {
  transform: translateY(-2px);
}

/* message */

.form-msg {
  margin-top: 10px;
  font-size: 13px;
  color: var(--pink);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/*mobile*/

@media (max-width: 768px) {

  .contact {
    padding: 100px 16px 40px;
  }

  .contact h1 {
    font-size: clamp(48px, 10vw, 80px);
  }

  .contact-form {
    max-width: 280px;
  }

}

/*work page*/

  .work-section {
    min-height: 100vh;
    padding: 80px 48px 80px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
.work-title {
  width: clamp(240px, 40vw, 520px);
  margin-bottom: 10px;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(247,37,133,0.25));
  animation: floatTitle 4s ease-in-out infinite;
}
@keyframes floatTitle {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
 
  .work-sub {
    font-family: dokdo, cursive;
    font-size: clamp(18px, 2.5vw, 26px);
    color: #aaa;
    margin-bottom: 56px;
    letter-spacing: 0.05em;
  }
 
  .work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
  }
 
  .project-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: none;
    position: relative;
    aspect-ratio: 4/3;
    border: 3px solid transparent;
    transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
    box-shadow: 0 8px 32px rgba(247,37,133,0.10);
  }
 
  .project-card:hover {
    border-color: var(--pink);
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: 0 20px 48px rgba(247,37,133,0.22);
  }
 
  .project-card:nth-child(even):hover {
    transform: translateY(-8px) rotate(0.5deg);
  }
 
  .card-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  
  }
 
  .card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
  }
  .project-card:hover .card-thumb { transform: scale(1.05); }
 
  .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.82) 0%, rgba(10,10,10,0.1) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
  }
 
  .project-card:hover .card-overlay { opacity: 1; }
 
  .card-tag {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
  }
 
  .card-title {
    font-family: 'Dokdo', cursive;
    font-size: clamp(26px, 3vw, 38px);
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }
 
  .card-hint {
    font-family: 'Dokdo', cursive;
    font-size: 16px;
    color: rgba(255,255,255,0.55);
  }
 
  .card-label {
    position: absolute;
    bottom: 18px;
    left: 22px;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
 
  .project-card:hover .card-label { opacity: 0; }
 
  .card-label-tag {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--pink);
    font-family: 'Inter', sans-serif;
    background: rgba(255,255,255,0.92);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
  }
 
  .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
 
  .modal-backdrop.open {
    opacity: 1;
    pointer-events: all;
  }
 
  .modal {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 88vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
    position: relative;
    border: 3px solid var(--pink);
    scrollbar-width: thin;
    scrollbar-color: var(--pink) transparent;
  }
 
  .modal-backdrop.open .modal {
    transform: translateY(0) scale(1);
  }
 
  .modal-topbar {
    height: 6px;
    background: linear-gradient(90deg, var(--pink), #ff9fdf, var(--pink));
    border-radius: 22px 22px 0 0;
    flex-shrink: 0;
  }
 
  .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--pink);
    background: #fff;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    cursor: none;
    z-index: 10;
    transition: background 0.2s, color 0.2s;
    color: var(--pink);
    font-weight: 700;
  }
 
  .modal-close:hover {
    background: var(--pink);
    color: #fff;
  }
 
  .modal-inner {
    padding: 32px 36px 40px;
  }
 
  .modal-tag {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 700;
    margin-bottom: 6px;
  }
 
  .modal-title {
    font-family: 'Dokdo', cursive;
    font-size: clamp(44px, 6vw, 70px);
    color: #0a0a0a;
    line-height: 1;
    margin-bottom: 14px;
  }
 
  .modal-desc {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13.5px;
    color: #666;
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 28px;
  }
 
  .modal-media {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 2px solid rgba(247,37,133,0.12);
  }
 
  .modal-media img,
  .modal-media video {
    width: 100%;
    display: block;
  }
 
  .media-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #fff0f6 0%, #ffd6ec 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    border: 2px dashed rgba(247,37,133,0.3);
  }
 
  .media-placeholder span { font-size: 40px; }
 
  .media-placeholder p {
    font-family: 'Dokdo', cursive;
    font-size: 18px;
    color: var(--pink);
    letter-spacing: 0.05em;
  }
 
  /* ===== GALLERY ===== */
  .modal-gallery {
    columns: 3;
    column-gap: 10px;
    margin-bottom: 10px;
  }
 
  .modal-gallery-item {
    break-inside: avoid;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    background: #fce4f0;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    cursor: zoom-in;
  }
 
  .modal-gallery-item:hover {
    border-color: var(--pink);
    transform: scale(1.02);
  }
 
  .modal-gallery-item img { width: 100%; display: block; }
 
  .gallery-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff0f6, #ffd6ec);
    font-family: 'Reenie Beanie', cursive;
    font-size: 15px;
    color: var(--pink);
  }
 
  /* links */
  .modal-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed rgba(247,37,133,0.2);
  }
 
  .modal-link {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-family: 'Dokdo', cursive;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s;
    cursor: none;
  }
 
  .modal-link:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 0 10px 28px rgba(247,37,133,0.35);
  }
 
  .modal-link.primary {
    background: var(--pink);
    color: #fff;
    box-shadow: 0 4px 16px rgba(247,37,133,0.3);
  }
 
  .modal-link.secondary {
    background: #fff;
    border: 2.5px solid var(--pink);
    color: var(--pink);
  }
 
  .modal-link.secondary:hover {
    background: var(--pink);
    color: #fff;
  }
 
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    cursor: zoom-out;
  }
 
  .lightbox.open {
    opacity: 1;
    pointer-events: all;
  }
 
  .lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
    cursor: zoom-out;
  }
 
  .lightbox.open img { transform: scale(1); }
 
  /* responsive */
  @media (max-width: 768px) {
    .work-section { padding: 100px 20px 60px; }
    .work-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .modal-inner { padding: 20px 18px 28px; }
    .modal-gallery { columns: 2; }
  }
 
  @media (max-width: 430px) {
    .work-grid { grid-template-columns: 1fr; }
    .modal { max-height: 92vh; }
    .modal-gallery { columns: 2; }
  }