@charset "UTF-8";

:root {
  --pink: #fff0f7;
  --pink-light: #ffffff;
  --hot: #9c58ab;
  --hot-dark: #54205f;
  --ink: #6b0c4b;
  --purple: #b79bff;
  --yellow: #fff28a;
  --line: #090808;
  --pixel: "Press Start 2P", monospace;
  --silk: "Silkscreen", "Press Start 2P", monospace;
  --shadow: 10px 10px 0 #e8a6d0;
  --page-width: min(1240px, calc(100% - 44px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 11px;
  line-height: 1.9;
  background-color: var(--pink);
  background-image: radial-gradient(#e9b7d5 1px, transparent 1px);
  background-size: 18px 18px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--hot); color: white; }

.page-progress {
  position: fixed; inset: 0 auto auto 0; width: 100%; height: 7px;
  background: var(--hot); transform: scaleX(0); transform-origin: left;
  z-index: 99; animation: page-progress linear both; animation-timeline: scroll(root);
}
.pixel-panel {
  width: var(--page-width); margin: 28px auto 42px; background: var(--pink-light);
  border: 6px solid var(--hot); box-shadow: var(--shadow); position: relative;
}
.site-header {
  min-height: 76px; padding: 12px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; margin-bottom: 42px; z-index: 2;
}
.wordmark { font-size: 22px; letter-spacing: -4px; transition: transform .2s steps(3); }
.wordmark:hover { transform: rotate(-10deg) scale(1.15); }
.wordmark span { color: var(--hot); font-size: 14px; }
.site-header nav { display: flex; gap: clamp(14px, 3vw, 36px); font-size: 9px; }
.site-header nav a, .site-footer a { transition: color .2s, transform .2s; }
.site-header nav a:hover, .site-footer a:hover { color: var(--hot); }
.site-header nav a[aria-current="page"] { color: var(--hot); text-decoration: underline; text-decoration-style: wavy; text-underline-offset: 6px; }
.header-status { font-size: 8px; white-space: nowrap; }
.header-status span {
  display: inline-block; width: 8px; height: 8px; background: #62d28d;
  border: 2px solid var(--ink); margin-right: 7px; animation: status-pulse 1.4s steps(2,end) infinite;
}
.hero {
  min-height: 620px; padding: 30px clamp(18px, 3vw, 40px) 35px;
  text-align: center; display: flex; align-items: center; flex-direction: column; overflow: hidden;
}
.hero-topline { display: flex; justify-content: space-between; gap: 18px; width: 100%; font-size: 8px; color: #a4427d; }
.tiny-label { margin: 32px 0 5px; font-size: 10px; }
.hero-name {
  font-size: clamp(38px, 7vw, 70px); line-height: 1.4; margin: 0 0 28px;
  color: var(--hot); letter-spacing: -.08em; text-shadow: 4px 4px 0 #ffc8e0;
  animation: pop-in .65s steps(5,end) both;
}
.blink { animation: blink 1s steps(2,end) infinite; }
.portrait-frame {
  position: relative; width: clamp(160px, 22vw, 250px); aspect-ratio: 1;
  border: 6px solid var(--hot); background: #fff; box-shadow: 8px 8px 0 #060606;
  overflow: visible; transform: rotate(-1deg); transition: transform .2s steps(4);
  animation: portrait-float 4s ease-in-out infinite;
}
.portrait-frame:hover { transform: rotate(2deg) scale(1.04); animation-play-state: paused; }
.portrait-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.portrait-spark { position: absolute; color: var(--hot); font-size: 30px; animation: twinkle 1.4s steps(2,end) infinite; }
.spark-a { left: -28px; top: 15px; }
.spark-b { right: -30px; bottom: 12px; animation-delay: .5s; }
.hero-description { font-size: clamp(8px, 1.15vw, 12px); line-height: 2.2; margin: 36px 0 22px; }
.pixel-divider { width: 100%; height: 16px; background: var(--hot); border: 3px solid var(--hot); box-shadow: 0 7px 0 #ff9dcc; position: relative; }
.pixel-divider span { position: absolute; inset: 2px; background: repeating-linear-gradient(90deg, var(--pink-light) 0 14px, transparent 14px 30px); }
.scroll-cue { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 10px; align-items: center; font-size: 7px; opacity: .65; }
.scroll-cue b { font-size: 16px; animation: bob 1s steps(2,end) infinite; }

.content-panel { padding: clamp(22px, 3vw, 40px); min-height: 300px; }
.panel-heading {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 3px dashed #ff9ac9; padding-bottom: 12px; margin-bottom: 25px;
}
.section-index { font-size: 8px; color: #a34a7c; }
.heading-icon { color: var(--hot); font-size: 24px; animation: twinkle 2s ease-in-out infinite; }
h2 { font-size: clamp(18px, 3vw, 29px); line-height: 1.6; color: var(--hot); margin: 0 0 20px; letter-spacing: -.04em; }
.pink-star { font-size: .8em; }
.about-layout { display: grid; grid-template-columns: minmax(280px, .9fr) 1.1fr; gap: clamp(25px, 5vw, 70px); align-items: start; }
.about-description, .body-copy {
  font-family: var(--silk); font-size: clamp(10px, 1.1vw, 13px); line-height: 2.1; margin: 0;
}
.about-stats { min-width: 0; }
.skills-section { display: grid; gap: 12px; }
.stat-card {
  border: 3px solid #ff9bc9; padding: 12px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; background: #fff8fb;
}
.skill-card {
  min-width: 0; box-shadow: 4px 4px 0 #f2c6df;
  transition: transform .2s steps(3), box-shadow .2s steps(3), background .2s;
}
.skill-card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--hot); background: #fff; }
.skill-years { color: #b55788; font-size: 7px; white-space: nowrap; min-width: 66px; }
.skill-info { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 7px; }
.skill-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 8px; }
.skill-title-group { display: flex; align-items: center; gap: 7px; min-width: 0; }
.skill-title-group b { font-size: 7px; line-height: 1.7; }
.skill-icon { width: 25px; height: 25px; object-fit: contain; flex: 0 0 auto; }
.skill-percent { color: var(--hot); font-weight: bold; white-space: nowrap; }
.pixel-progress-bar {
  width: 100%; height: 13px; background: #f0dfe9; border: 2px solid var(--hot);
  overflow: hidden; position: relative; padding: 1px;
}
.progress-fill { height: 100%; width: var(--target-width); background: repeating-linear-gradient(90deg, #9c58ab 0 8px, #b779c2 8px 11px); transform: scaleX(0); transform-origin: left; animation: growBar 1.3s cubic-bezier(.2,.8,.2,1) both; }
.photoshop-level { --target-width: 95%; animation-delay: .15s; }
.illustrator-level { --target-width: 75%; animation-delay: .3s; }
.lightroom-level { --target-width: 95%; animation-delay: .45s; }
.canva-level { --target-width: 98%; animation-delay: .6s; }
.sticker {
  position: absolute; right: 20px; bottom: -22px; background: var(--yellow);
  border: 3px solid var(--ink); padding: 10px; transform: rotate(7deg);
  font-size: 8px; text-align: center; box-shadow: 4px 4px 0 var(--hot);
  animation: sticker-wiggle 3s ease-in-out infinite;
}
.work-panel .body-copy { max-width: 760px; margin-bottom: 28px; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.project-card { min-width: 0; display: block; }
.project-art {
  height: clamp(190px, 27vw, 320px); border: 4px solid var(--hot);
  box-shadow: 6px 6px 0 #ff9dcc; position: relative; overflow: hidden;
  transition: transform .2s steps(3), box-shadow .2s steps(3), filter .2s;
}
.project-card:hover .project-art { transform: translate(-3px,-3px) rotate(-.5deg); box-shadow: 9px 9px 0 var(--hot); filter: saturate(1.15); }
.art-one {
  background-color: #ff9acb;
  background-image: linear-gradient(45deg,#ffffff44 25%,transparent 25%,transparent 75%,#ffffff44 75%),linear-gradient(45deg,#ffffff44 25%,transparent 25%,transparent 75%,#ffffff44 75%);
  background-size: 32px 32px; background-position: 0 0,16px 16px;
}
.art-two { background: #c8b3ff; }
.art-three { background: #fff28a; }
.art-window { position: absolute; left: 0; right: 0; top: 0; padding: 7px 8px; background: white; border-bottom: 4px solid var(--hot); font-size: 7px; z-index: 2; }
.art-big { position: absolute; left: 9%; top: 30%; font-size: clamp(20px,3.1vw,38px); line-height: 1.6; color: var(--hot-dark); text-shadow: 3px 3px 0 #fff2f8; }
.art-heart { position: absolute; right: 7%; bottom: 8%; font-size: 90px; color: #ff4d9f; text-shadow: 5px 5px 0 var(--ink); animation: bob 2s ease-in-out infinite; }
.art-star { position: absolute; right: 5%; bottom: 4%; font-size: 85px; color: var(--hot); animation: twinkle 1.2s steps(2,end) infinite; }
.project-info { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; border-bottom: 3px solid #ff9bc9; }
.project-info span { font-size: 7px; color: #a34a7c; }
.project-info h3 { font-size: 12px; margin: 8px 0 0; }
.project-info > b { font-size: 20px; color: var(--hot); transition: transform .2s; }
.project-card:hover .project-info > b { transform: translate(4px,-4px); }
.all-projects-link { display: inline-flex; gap: 20px; align-items: center; margin-top: 30px; padding: 13px 16px; border: 3px solid var(--hot); box-shadow: 4px 4px 0 #ff9dcc; font-size: 8px; transition: transform .2s, box-shadow .2s; }
.all-projects-link:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--hot); }

.contact-panel { padding: clamp(25px,5vw,65px); background: var(--hot); color: white; overflow: hidden; }
.contact-panel .section-index { color: #ffe0ef; }
.contact-panel h2 { font-size: clamp(35px,8vw,90px); line-height: 1.35; color: white; margin: 38px 0 25px; text-shadow: 5px 5px 0 var(--ink); }
.contact-panel h2 span { color: var(--yellow); }
.contact-panel > p { font-family: var(--silk); font-size: 10px; line-height: 2; max-width: 520px; }
.contact-button { display: inline-flex; gap: 22px; align-items: center; margin: 25px 0 12px; color: var(--ink); font-size: 9px; padding: 12px 15px; background: white; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.contact-button:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
.contact-decoration { text-align: right; font-size: 8px; margin-top: 35px; color: #ffe0ef; }
.site-footer { width: var(--page-width); margin: 0 auto; padding: 0 0 35px; display: flex; justify-content: space-between; gap: 20px; font-size: 8px; color: #8d2866; }
.reveal { animation: panel-rise both; animation-timeline: view(); animation-range: entry 0% entry 25%; }

/* Projects archive */
.projects-intro { padding: 30px clamp(18px,4vw,48px) 35px; overflow: hidden; }
.projects-title { color: var(--hot); font-size: clamp(38px,8vw,82px); line-height: 1.35; margin: 18px 0; text-shadow: 5px 5px 0 #ffc8e0; }
.projects-title span { color: var(--hot-dark); }
.projects-title b { font-weight: normal; }
.projects-intro-copy { max-width: 650px; font-family: var(--silk); font-size: 12px; line-height: 2.1; margin: 0 0 25px; }
.back-home { display: inline-block; margin-top: 23px; font-size: 8px; transition: transform .2s; }
.back-home:hover { transform: translateX(-5px); }
.project-archive { margin-top: 42px; }
.archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 22px; align-items: start; }
.archive-card { min-width: 0; border: 3px solid #ff9bc9; background: #fff8fb; box-shadow: 5px 5px 0 #f0c2dc; transition: transform .2s, box-shadow .2s; scroll-margin-top: 25px; }
.archive-card:hover { transform: translateY(-3px); box-shadow: 8px 8px 0 var(--hot); }
.archive-card[open] { grid-column: 1 / -1; box-shadow: 7px 7px 0 var(--hot); }
.archive-card summary { display: block; cursor: pointer; list-style: none; }
.archive-card summary::-webkit-details-marker { display: none; }
.archive-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f5d9e9; border-bottom: 3px solid #ff9bc9; }
.archive-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.archive-card:hover .archive-image img { transform: scale(1.04); }
.image-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #a34a7c; font-size: 12px; line-height: 2; background: repeating-linear-gradient(135deg,#f9e2ef 0 12px,#f3d2e5 12px 24px); pointer-events: none; }
.archive-image img:not([src=""]), .expanded-gallery img:not([src=""]) { position: relative; z-index: 1; }
.open-label { position: absolute; right: 10px; bottom: 10px; z-index: 2; background: white; border: 2px solid var(--hot); padding: 5px 8px; font-size: 7px; }
.archive-info { padding: 14px; }
.archive-info > span { color: #a34a7c; font-size: 7px; }
.archive-info h3 { font-size: 10px; line-height: 1.8; margin: 8px 0; }
.archive-info p { font-family: var(--silk); font-size: 9px; line-height: 2; margin: 0; }
.project-expanded { padding: clamp(18px,3vw,35px); border-top: 3px dashed #ff9bc9; background: #fff; animation: expand-in .25s ease-out both; }
.expanded-heading { display: flex; justify-content: space-between; color: #a34a7c; font-size: 8px; padding-bottom: 12px; border-bottom: 2px dashed #f3bfdc; }
.project-expanded h3 { color: var(--hot); font-size: clamp(14px,2vw,20px); margin: 22px 0 10px; }
.project-expanded > p:not(.project-meta) { max-width: 850px; font-family: var(--silk); font-size: 11px; line-height: 2.2; }
.expanded-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 25px 0; }
.expanded-gallery figure { margin: 0; min-width: 0; }
.expanded-gallery img { display: block; width: 100%; min-height: 170px; max-height: 480px; object-fit: cover; border: 3px solid var(--hot); background: #f7e4ef; }
.expanded-gallery figcaption { font-size: 7px; color: #a34a7c; padding-top: 8px; }
.project-meta { padding-top: 12px; border-top: 2px dashed #f3bfdc; color: #a34a7c; font-size: 7px; }

@keyframes page-progress { to { transform: scaleX(1); } }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(16px) scale(.92); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 50% { transform: translateY(5px); } }
@keyframes twinkle { 50% { opacity: .45; transform: scale(.85) rotate(10deg); } }
@keyframes growBar { to { transform: scaleX(1); } }
@keyframes panel-rise { from { opacity: .2; translate: 0 35px; } to { opacity: 1; translate: 0 0; } }
@keyframes expand-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes status-pulse { 50% { opacity: .35; } }
@keyframes portrait-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes sticker-wiggle { 0%,90%,100% { rotate: 7deg; } 94% { rotate: 10deg; } 97% { rotate: 4deg; } }

@supports not (animation-timeline: view()) { .reveal { animation: none; } }
@media (max-width: 900px) {
  .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --page-width: calc(100% - 28px); --shadow: 7px 7px 0 #e8a6d0; }
  body { font-size: 9px; }
  .pixel-panel { border-width: 4px; margin-top: 18px; margin-bottom: 30px; }
  .site-header { min-height: 62px; padding: 10px 12px; gap: 8px; flex-wrap: wrap; }
  .wordmark { font-size: 18px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; font-size: 7px; }
  .header-status { font-size: 7px; }
  .hero { min-height: 560px; padding: 20px 12px 38px; }
  .hero-topline { font-size: 6px; }
  .hero-topline span:last-child { text-align: right; }
  .hero-name { font-size: clamp(36px,12vw,60px); }
  .hero-description { max-width: 95%; font-size: 8px; }
  .scroll-cue { font-size: 6px; right: 9px; }
  .content-panel { padding: 18px 14px; }
  .about-layout { grid-template-columns: 1fr; gap: 22px; }
  .skill-years { min-width: 58px; font-size: 6px; }
  .skill-title-group b { font-size: 6px; }
  .skill-icon { width: 21px; height: 21px; }
  .project-grid { grid-template-columns: 1fr; gap: 25px; }
  .project-art { height: clamp(250px,70vw,400px); }
  .art-big { font-size: clamp(34px,11vw,60px); }
  .project-info h3 { font-size: 11px; }
  .archive-grid { grid-template-columns: 1fr; gap: 22px; }
  .archive-card[open] { grid-column: auto; }
  .expanded-gallery { grid-template-columns: 1fr; }
  .projects-intro { padding: 20px 14px 28px; }
  .projects-title { font-size: clamp(38px,12vw,66px); }
  .projects-intro-copy { font-size: 10px; }
  .site-footer { flex-wrap: wrap; font-size: 6px; }
  .site-footer span:first-child { width: 100%; }
  .contact-panel h2 { font-size: clamp(34px,11vw,65px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
