:root{
  --blue:#2f6bff;
  --blue-dark:#1e40af;
  --blue-light:#60a5fa;
  --yellow:#facc15;
  --wood:#c99463;
  --wood-light:#e3b887;
  --paper:#fafaf7;
  --ink:#1f2937;
  --shadow:0 20px 40px rgba(0,0,0,.25);
  --shadow-soft:0 8px 20px rgba(0,0,0,.18);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:#0f172a;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}

.desk{position:relative}
.section{
  position:relative;
  min-height:100vh;
  padding:6rem 2rem;
  overflow:hidden;
}

/* ---------- textures ---------- */
.bg{position:absolute;inset:0;z-index:0}
.blue-paper{
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.12), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0,0,0,.15), transparent 55%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.04) 0px, rgba(0,0,0,.04) 1px, transparent 1px, transparent 4px),
    linear-gradient(135deg,#3b82f6 0%,#2563eb 40%,#1d4ed8 100%);
}
.bg.blue-paper.dark{
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.10), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(0,0,0,.25), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0px, rgba(255,255,255,.03) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0px, rgba(0,0,0,.05) 1px, transparent 1px, transparent 4px),
    linear-gradient(160deg,#1e3a8a 0%,#1e40af 50%,#172554 100%);
}
.wood-desk{
  background:
    radial-gradient(ellipse at 10% 90%, rgba(0,0,0,.25), transparent 50%),
    repeating-linear-gradient(85deg, rgba(0,0,0,.06) 0px, rgba(0,0,0,.06) 2px, transparent 2px, transparent 14px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 1px, transparent 6px),
    linear-gradient(180deg,#d4a574 0%,#b8845a 40%,#9a6b42 100%);
}
.vignette{position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.35) 100%)}

/* ---------- fonts ---------- */
.pixel{font-family:'Press Start 2P',monospace;letter-spacing:2px}
.hand{font-family:'Caveat','Kalam',cursive}

/* ---------- hero ---------- */
.hero{display:flex;align-items:center;justify-content:center;min-height:100vh}
.hero-center{position:relative;z-index:3;text-align:center;color:#fff}
.hero-kicker{display:block;font-family:'Caveat',cursive;font-size:1.6rem;opacity:.9;margin-bottom:1.5rem}
.title.pixel{font-size:clamp(2.4rem,8vw,6rem);line-height:1.1;text-shadow:0 6px 0 rgba(0,0,0,.25),0 12px 30px rgba(0,0,0,.4)}
.title.pixel.small{font-size:clamp(1.8rem,5vw,3.2rem)}
.hero-sub{display:block;margin-top:1.5rem;font-family:'Caveat',cursive;font-size:1.8rem;opacity:.95}
.scroll-hint{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:.5rem;color:#fff;font-family:'Caveat',cursive;font-size:1.2rem;opacity:.8}
.scroll-hint .arrow{width:2px;height:24px;background:#fff;position:relative;animation:bounce 1.6s infinite}
.scroll-hint .arrow::after{content:'';position:absolute;bottom:0;left:-4px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #fff}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}

/* ---------- stationery layer ---------- */
.stationery-layer{position:absolute;inset:0;z-index:2;pointer-events:none}
.obj{position:absolute;filter:drop-shadow(0 12px 18px rgba(0,0,0,.35))}

.set-square{top:8%;left:6%;width:160px;height:160px;transform:rotate(-12deg)}
.set-square-inner{width:100%;height:100%;background:linear-gradient(135deg,#fde047,#facc15);clip-path:polygon(0 0,100% 0,0 100%);border:2px solid rgba(180,83,9,.3);box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}
.set-square .marks{position:absolute;inset:0;width:100%;height:100%}
.set-square-inner .marks{position:absolute;inset:0}

.pencil{top:72%;right:10%;width:260px;height:22px;transform:rotate(-28deg);display:flex;align-items:center}
.pencil-body{flex:1;height:100%;background:linear-gradient(180deg,#f87171,#dc2626);border-radius:4px 0 0 4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.15),inset 0 4px 0 rgba(255,255,255,.25)}
.pencil-tip{width:26px;height:100%;background:linear-gradient(180deg,#fde68a,#d97706);clip-path:polygon(0 0,100% 50%,0 100%)}
.pencil-eraser{width:22px;height:100%;background:linear-gradient(180deg,#fda4af,#fb7185);border-radius:0 6px 6px 0}
.pencil-band{position:absolute;right:26px;width:6px;height:100%;background:rgba(255,255,255,.6);box-shadow:0 0 0 1px rgba(0,0,0,.2)}

.scissors{top:12%;right:8%;width:130px;height:130px;transform:rotate(18deg)}
.scissors-svg{width:100%;height:100%}

.paperclip{width:46px;height:92px}
.paperclip.pc1{top:60%;left:12%;transform:rotate(15deg)}
.paperclip.pc2{bottom:18%;left:4%;transform:rotate(-30deg)}
.clip-svg{width:100%;height:100%}

.clipboard{top:58%;right:4%;width:150px;height:190px;transform:rotate(8deg)}
.clipboard-board{width:100%;height:100%;background:linear-gradient(135deg,#92400e,#78350f);border-radius:8px;padding:12px;box-shadow:inset 0 0 0 2px rgba(0,0,0,.3)}
.clipboard-clip{position:absolute;top:-10px;left:50%;transform:translateX(-50%);width:60px;height:22px;background:linear-gradient(180deg,#e2e8f0,#94a3b8);border-radius:4px 4px 0 0;box-shadow:0 2px 4px rgba(0,0,0,.3)}
.clipboard-paper{background:#fff;height:100%;border-radius:4px;padding:14px 12px;display:flex;flex-direction:column;gap:8px}
.clipboard-paper .line{height:6px;background:#e5e7eb;border-radius:3px}
.clipboard-paper .line.short{width:60%}

/* ---------- about / notebook ---------- */
.about{display:flex;align-items:center;justify-content:center}
.desk-objects{position:absolute;inset:0;z-index:2;pointer-events:none}
.coffee{position:absolute;top:12%;right:8%;width:70px;height:90px;background:linear-gradient(180deg,#3f2a1a,#1f130a);border-radius:6px 6px 14px 14px;box-shadow:0 12px 20px rgba(0,0,0,.35)}
.coffee::before{content:'';position:absolute;top:-10px;left:50%;transform:translateX(-50%);width:74px;height:14px;background:linear-gradient(180deg,#6b4423,#3f2a1a);border-radius:50%}
.coffee::after{content:'';position:absolute;top:20%;left:10%;width:50px;height:8px;background:rgba(255,255,255,.08);border-radius:4px}
.note-desk{position:absolute;bottom:14%;left:6%;background:#fef08a;padding:10px 14px;border-radius:2px;box-shadow:var(--shadow-soft);transform:rotate(-6deg);font-family:'Caveat',cursive;font-size:1.2rem}

.notebook-wrap{position:relative;z-index:3;width:min(900px,92vw)}
.notebook{position:relative;background:#fff;border-radius:6px;box-shadow:0 30px 60px rgba(0,0,0,.35),0 0 0 1px rgba(0,0,0,.08);overflow:hidden}
.spiral-binding{position:absolute;left:0;top:0;bottom:0;width:42px;background:linear-gradient(90deg,#e5e7eb,#cbd5e1);display:flex;flex-direction:column;justify-content:space-around;align-items:center;padding:14px 0;z-index:2;box-shadow:inset -2px 0 4px rgba(0,0,0,.12)}
.spiral-binding span{width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff,#94a3b8);box-shadow:0 2px 3px rgba(0,0,0,.3),inset 0 1px 2px rgba(255,255,255,.6);border:1px solid #94a3b8}
.page{margin-left:42px;padding:2.5rem 2.5rem 3rem;position:relative;background:
  repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(59,130,246,.12) 31px, rgba(59,130,246,.12) 32px)}
.page-header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:1.5rem;border-bottom:2px dashed rgba(59,130,246,.3);padding-bottom:.8rem}
.page-header h2{font-size:2.6rem;color:#1e40af}
.page-num{font-family:'Press Start 2P',monospace;font-size:.9rem;color:#94a3b8}

.about-grid{display:grid;grid-template-columns:260px 1fr;gap:2rem;align-items:start;margin-bottom:2rem}
.bio p{margin-bottom:1rem;line-height:1.7;font-size:1.05rem}
.bio strong{color:#1e40af}
.skills{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.chip{background:#dbeafe;color:#1e40af;padding:.35rem .8rem;border-radius:999px;font-size:.8rem;font-weight:600;box-shadow:0 2px 0 rgba(30,64,175,.15)}

/* polaroid */
.polaroid{background:#fff;padding:12px 12px 40px;border-radius:4px;box-shadow:0 14px 28px rgba(0,0,0,.25);position:relative;transform:rotate(-3deg);transition:transform .3s ease}
.polaroid:hover{transform:rotate(-1deg) translateY(-4px)}
.polaroid.profile{width:240px}
.polaroid-img{background:#f1f5f9;border-radius:2px;overflow:hidden;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.polaroid-img img{width:100%;height:100%;object-fit:cover}
.caption{font-family:'Caveat',cursive;font-size:1.4rem;text-align:center;margin-top:.6rem;color:#334155}
.tape{position:absolute;top:-12px;width:60px;height:22px;background:linear-gradient(180deg,rgba(253,224,71,.85),rgba(250,204,21,.7));box-shadow:0 2px 4px rgba(0,0,0,.15);transform:rotate(-8deg)}
.tape-tl{left:10px}
.tape-tr{right:10px;transform:rotate(8deg)}

/* sticky notes */
.sticky{padding:14px 16px;border-radius:2px;box-shadow:0 6px 12px rgba(0,0,0,.18),inset 0 -2px 0 rgba(0,0,0,.06);font-size:1rem;line-height:1.4;position:relative}
.sticky::before{content:'';position:absolute;top:-8px;left:50%;transform:translateX(-50%);width:40px;height:14px;background:rgba(255,255,255,.55);box-shadow:0 1px 2px rgba(0,0,0,.1)}
.sticky p{margin:0;font-size:1.3rem}
.sticky small{display:block;margin-top:.3rem;font-size:.85rem;opacity:.7}
.note-yellow{background:#fef08a;transform:rotate(2deg)}
.note-pink{background:#fbcfe8;transform:rotate(-3deg)}
.note-blue{background:#bfdbfe;transform:rotate(1.5deg)}
.sticky-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin:1.5rem 0}
.sticky.note-desk{font-size:1.1rem}
.sticky.big{transform:rotate(-2deg)}

/* software badges */
.software{display:flex;align-items:center;gap:1.2rem;margin-top:1.5rem;flex-wrap:wrap}
.soft-label{font-size:1.4rem;color:#64748b}
.badges{display:flex;gap:.8rem;flex-wrap:wrap}
.badge{width:52px;height:52px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;color:#fff;box-shadow:0 8px 16px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.35);transform:translateZ(0);transition:transform .25s ease}
.badge:hover{transform:translateY(-4px) rotate(-4deg)}
.badge span{font-family:'Inter',sans-serif;letter-spacing:.5px}
.badge.ai{background:linear-gradient(135deg,#ff9a00,#ff6f00)}
.badge.ps{background:linear-gradient(135deg,#31a8ff,#0078d4)}
.badge.ae{background:linear-gradient(135deg,#9999ff,#6e5dd8)}
.badge.figma{background:linear-gradient(135deg,#f24e1e,#a259ff)}

/* ---------- contents ---------- */
.contents{display:flex;flex-direction:column;align-items:center}
.contents-header{text-align:center;margin-bottom:3rem;position:relative;z-index:3}
.contents-header h2{color:#fff;text-shadow:0 6px 0 rgba(0,0,0,.2)}
.contents-header p{font-family:'Caveat',cursive;font-size:1.6rem;color:#dbeafe;margin-top:.5rem}

.scattered{position:relative;width:min(1100px,96vw);min-height:900px;z-index:3}
.tack{position:absolute;top:-14px;left:50%;transform:translateX(-50%);width:16px;height:16px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fca5a5,#dc2626);box-shadow:0 3px 6px rgba(0,0,0,.4),inset 0 1px 2px rgba(255,255,255,.5);z-index:5}
.tack::after{content:'';position:absolute;top:12px;left:50%;transform:translateX(-50%);width:2px;height:8px;background:#7f1d1d;border-radius:1px}

.polaroid.project{position:absolute;background:#fff;padding:10px 10px 34px;border-radius:3px;box-shadow:0 16px 30px rgba(0,0,0,.3);width:230px;transition:transform .3s ease,z-index .3s}
.polaroid.project:hover{transform:rotate(0deg) translateY(-6px) scale(1.04);z-index:10}
.polaroid.project .polaroid-img{aspect-ratio:4/3}
.polaroid.project .caption{font-size:1.1rem;margin-top:.4rem}
.p1{top:20px;left:40px;transform:rotate(-6deg)}
.p2{top:80px;right:60px;transform:rotate(4deg)}
.p3{top:360px;left:120px;transform:rotate(3deg)}
.p4{top:420px;right:140px;transform:rotate(-4deg)}
.p5{top:680px;left:50%;transform:translateX(-50%) rotate(2deg)}

.torn{position:absolute;background:#fff;padding:14px 18px;box-shadow:0 10px 20px rgba(0,0,0,.22);font-family:'Caveat',cursive;font-size:1.3rem;color:#1e293b;clip-path:polygon(2% 0%, 98% 1%, 100% 5%, 99% 95%, 96% 100%, 3% 99%, 0% 96%, 1% 4%)}
.torn small{display:block;font-family:'Inter',sans-serif;font-size:.75rem;opacity:.65;margin-top:.2rem}
.torn p{margin:0;font-size:1.5rem}
.note-t1{top:120px;left:300px;transform:rotate(6deg);background:#fef08a}
.note-t2{top:300px;right:40px;transform:rotate(-5deg);background:#bfdbfe}
.note-t3{top:600px;left:60px;transform:rotate(8deg);background:#fbcfe8}

.sticky.big{position:absolute;bottom:40px;right:60px;width:220px}

.footer{margin-top:4rem;text-align:center;color:#dbeafe;font-size:1.2rem;position:relative;z-index:3}

/* ---------- responsive ---------- */
@media (max-width:780px){
  .section{padding:4rem 1.2rem}
  .set-square{width:110px;height:110px}
  .pencil{width:180px}
  .scissors{width:90px;height:90px}
  .clipboard{width:110px;height:140px}
  .about-grid{grid-template-columns:1fr}
  .polaroid.profile{width:200px;margin:0 auto}
  .sticky-row{grid-template-columns:1fr}
  .scattered{min-height:1200px}
  .polaroid.project{width:180px}
  .p1{top:0;left:10px}
  .p2{top:60px;right:10px}
  .p3{top:300px;left:20px}
  .p4{top:360px;right:20px}
  .p5{top:620px}
  .note-t1{top:220px;left:10px}
  .note-t2{top:520px;right:10px}
  .note-t3{top:760px;left:10px}
}

/* ---------- 3D polish ---------- */
.hero .title.pixel{transform:translateZ(0)}
.notebook{transform:perspective(1200px) rotateX(2deg);transform-origin:center}
.obj{transform-style:preserve-3d}
