/*shatter=========================================================
   Bhabana Kalita — Playful 3D Portfolio Stylesheet
   Pure HTML / CSS / JS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --bg: #f7ead1;
  --bg-2: #fde4cf;
  --ink: #1c1410;
  --ink-soft: #5a4733;
  --paper: #fffaf0;
  --accent: #ff5e8a;   /* hot pink */
  --accent-2: #6b3ef5; /* electric purple */
  --accent-3: #ffc83d; /* warm yellow */
  --accent-4: #2ecc71; /* mint */
  --accent-5: #4cc9f0; /* sky */
  --line: #1c14101a;

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } .cursor-blob { display: none; } }

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Background mesh + grain ---------- */
.bg-mesh {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 12% 10%, #ffc6d5 0%, transparent 60%),
    radial-gradient(35vw 35vw at 88% 18%, #c9b8ff 0%, transparent 60%),
    radial-gradient(45vw 45vw at 78% 88%, #ffe09a 0%, transparent 60%),
    radial-gradient(38vw 38vw at 14% 86%, #b8f0d6 0%, transparent 60%),
    var(--bg);
}
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .18; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Custom cursor ---------- */
.cursor-blob {
  position: fixed; top: 0; left: 0; width: 22px; height: 22px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; mix-blend-mode: multiply;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .2s ease, background .2s ease, width .2s, height .2s;
  z-index: 9998;
}
.cursor-blob.hover { width: 56px; height: 56px; background: var(--accent-3); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 18px;
  background: rgba(255,250,240,.7);
  backdrop-filter: blur(14px);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 500;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; gap: 8px;
}
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); display: inline-block;
  box-shadow: 0 0 0 3px #ffd6e0;
  animation: pulse 2s ease-in-out infinite;
}
.logo-amp { color: var(--accent-2); }
@keyframes pulse { 50% { transform: scale(1.3); } }

.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--accent-2); }
.nav-links a.nav-cta {
  padding: 6px 14px; background: var(--ink); color: var(--bg);
  border-radius: 999px; transition: all .25s;
}
.nav-links a.nav-cta:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
@media (max-width: 720px) {
  .nav { gap: 14px; padding: 8px 12px; }
  .nav-links { gap: 12px; font-size: 13px; }
  .nav-logo { font-size: 14px; }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; padding: 120px 24px 60px;
  perspective: 1200px;
}
.hero-stage {
  position: relative;
  width: min(1100px, 100%);
  display: flex; align-items: center; justify-content: center;
  transform-style: preserve-3d;
}

.hero-text { position: relative; text-align: center; z-index: 5; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px;
  padding: 6px 14px; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 28px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-4); animation: pulse 1.6s infinite; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 124px);
  line-height: .95;
  letter-spacing: -0.03em;
}
.h-line { display: block; }
.ink { color: var(--ink); }
.hand-mark {
  font-family: var(--font-hand);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15em;
  position: relative;
  display: inline-block;
  transform: rotate(-3deg);
}
.hand-mark::after {
  content: ''; position: absolute; left: -4%; right: -4%; bottom: 6%;
  height: 14px; background: var(--accent-3); z-index: -1;
  border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  transform: rotate(1deg);
}

.hero-sub {
  margin-top: 28px; font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
}
.hero-sub b { color: var(--ink); background: linear-gradient(transparent 60%, #ffe09a 60%); padding: 0 2px; }

.hero-ctas { margin-top: 36px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  padding: 14px 26px; border-radius: 999px; font-weight: 600;
  border: 1.5px solid var(--ink); transition: all .25s ease;
  font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 0 var(--accent); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--accent); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--ink); background: var(--accent-3); }

/* ---------- Floating items ---------- */
.float-item {
  position: absolute;
  left: 50%; top: 50%;
  transform:
    translate3d(calc(-50% + var(--x)), calc(-50% + var(--y)), 0)
    rotate(var(--r));
  will-change: transform;
  animation: bob 6s ease-in-out infinite;
  z-index: 2;
}
.float-item:nth-child(odd) { animation-duration: 8s; animation-direction: alternate; }
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 920px) {
  .float-item { display: none; }
}

/* Sticky note */
.sticky-note {
  width: 170px; padding: 22px 18px 18px;
  border-radius: 4px;
  font-family: var(--font-hand); font-size: 26px; line-height: 1.05;
  color: var(--ink);
  box-shadow: 6px 8px 0 rgba(0,0,0,.18), inset 0 -10px 18px rgba(0,0,0,.05);
  position: relative;
}
.sn-yellow { background: linear-gradient(160deg, #ffe784, #ffd84d); }
.sn-pin {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8aa9, #b03050);
  box-shadow: 0 2px 3px rgba(0,0,0,.3);
}

/* Polaroid */
.polaroid {
  background: var(--paper); padding: 12px 12px 32px;
  width: 200px; border-radius: 2px;
  box-shadow: 6px 8px 0 rgba(0,0,0,.18);
}
.polaroid-img {
  width: 100%; aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.trophy { font-size: 64px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.polaroid-badge {
  position: absolute; top: 8px; right: 8px;
  background: #fff; color: var(--ink);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  padding: 3px 7px; border-radius: 999px;
}
.polaroid-cap {
  margin-top: 10px; font-family: var(--font-hand);
  text-align: center; font-size: 18px; color: var(--ink);
}

/* Chip stack */
.chip-stack { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.chip {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  padding: 6px 14px; border: 1.5px solid var(--ink);
  border-radius: 999px; background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}
.chip.c1 { background: #ffd6a5; }
.chip.c2 { background: #bde0fe; margin-left: 14px; }
.chip.c3 { background: #ffadad; margin-left: 6px; }
.chip.c4 { background: #caffbf; margin-left: 20px; }

/* Terminal card */
.terminal-card {
  width: 240px; background: #1c1410; border-radius: 8px;
  box-shadow: 6px 8px 0 rgba(0,0,0,.25);
  font-family: var(--font-mono); font-size: 12px; color: #e9e0d2;
  overflow: hidden;
}
.t-bar { background: #322820; padding: 6px 10px; display: flex; align-items: center; gap: 5px; }
.t-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5e5e; }
.t-bar i:nth-child(2) { background: #ffbd2e; }
.t-bar i:nth-child(3) { background: #28c840; }
.t-bar span { margin-left: 8px; font-size: 11px; opacity: .6; }
.t-body { padding: 10px 12px; }
.t-prompt { color: var(--accent-3); }
.t-out { color: #b1ddc0; padding-left: 12px; }
.cursor-blink { animation: blink 1s steps(1) infinite; color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }

/* Coffee */
.coffee { position: relative; }
.cup {
  width: 70px; height: 60px; background: #8b5a2b; border-radius: 0 0 20px 20px;
  position: relative;
  box-shadow: inset -8px -8px 12px rgba(0,0,0,.2), 6px 6px 0 rgba(0,0,0,.18);
}
.cup::before {
  content: ''; position: absolute; top: -6px; left: 5px; right: 5px; height: 10px;
  background: #3d2817; border-radius: 50%;
}
.cup::after {
  content: ''; position: absolute; top: 8px; right: -18px; width: 18px; height: 22px;
  border: 5px solid #8b5a2b; border-radius: 50%; border-left: none;
}
.steam { position: absolute; top: -22px; left: 18px; display: flex; gap: 5px; }
.steam span {
  width: 5px; height: 18px; background: rgba(255,255,255,.7);
  border-radius: 999px; animation: steam 2s ease-in-out infinite;
}
.steam span:nth-child(2) { animation-delay: .4s; }
.steam span:nth-child(3) { animation-delay: .8s; }
@keyframes steam { 0%,100% { opacity: 0; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-10px); } }
.coffee-label { font-family: var(--font-hand); font-size: 18px; margin-top: 8px; }

/* Star burst */
.star-burst { position: relative; }
.star-burst svg { filter: drop-shadow(4px 4px 0 var(--ink)); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.burst-text {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hand); font-size: 24px; color: #fff;
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-soft);
}
.scroll-line { width: 1.5px; height: 50px; background: var(--ink); animation: scroll-down 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes scroll-down { 0%,100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- SECTIONS ---------- */
.section { padding: 120px 6vw; position: relative; }
.section-head { margin-bottom: 60px; max-width: 900px; }
.sec-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent-2);
  font-weight: 700; letter-spacing: .15em;
}
.sec-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -0.03em;
  margin-top: 8px;
}
.sec-title em { color: var(--accent); font-style: italic; }
.sec-sub { margin-top: 16px; color: var(--ink-soft); font-size: 18px; max-width: 640px; }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 22px; padding: 40px;
  box-shadow: 8px 8px 0 var(--ink);
  position: relative; transform-style: preserve-3d;
}
.about-card p + p { margin-top: 18px; }
.about-card .ribbon {
  position: absolute; top: -14px; left: 30px;
  background: var(--accent); color: #fff;
  font-family: var(--font-hand); font-size: 22px;
  padding: 4px 16px; border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-3deg);
}
.mini-link {
  display: inline-block; margin-top: 22px; font-weight: 600;
  border-bottom: 2px solid var(--accent);
}
.mini-link:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

.about-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  background: var(--accent-3); border: 1.5px solid var(--ink);
  border-radius: 18px; padding: 26px;
  box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; gap: 6px;
  transform-style: preserve-3d;
}
.stat-pink { background: #ffadc6; }
.stat-mint { background: #b8f0d6; }
.stat-lilac { background: #d4b8ff; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; }
.stat-lbl { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- SKILLS ---------- */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}
.skill-tile {
  background-color: var(--bg, var(--paper));
  border: 1.5px solid var(--ink); border-radius: 14px;
  padding: 18px 20px 20px; min-height: 140px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
  transform-style: preserve-3d;
  position: relative;
}
.skill-tile:hover { transform: translate(-4px,-4px) rotate(-1deg); box-shadow: 9px 9px 0 var(--ink); }
.skill-tile .skill-cat {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink); opacity: .55;
  padding-bottom: 4px; border-bottom: 1.5px dashed rgba(28,20,16,.3);
  align-self: flex-start;
}
.skill-tile b { font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1.05; margin-top: 4px; }
.skill-tile .skill-desc { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; line-height: 1.45; margin-top: auto; }

/* ---------- PROJECTS ---------- */
.project-list { display: flex; flex-direction: column; gap: 32px; }
.project {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 24px; padding: 32px;
  box-shadow: 10px 10px 0 var(--ink);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px;
  align-items: center; position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .35s ease, box-shadow .35s ease;
}
.project:hover { transform: translate(-6px,-6px); box-shadow: 16px 16px 0 var(--ink); }
@media (max-width: 880px) { .project { grid-template-columns: 1fr; padding: 24px; } }

.p-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.p-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent-2); font-weight: 700; }
.p-year { font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; background: var(--ink); color: var(--bg); border-radius: 999px; }
.p-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; }
.p-emoji { font-size: 28px; }
.p-tag { font-family: var(--font-hand); font-size: 22px; color: var(--accent); margin: 4px 0 14px; }
.p-body p { color: var(--ink-soft); }
.p-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.p-stack span { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; background: #f3e8d8; border-radius: 999px; border: 1px solid var(--ink); }
.p-links { display: flex; gap: 16px; margin-top: 22px; }
.p-links a { font-weight: 600; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: color .2s; }
.p-links a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

/* Project visual blocks (3D illustrations in CSS) */
.p-visual {
  position: relative; aspect-ratio: 4 / 3; min-height: 200px;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #fff3d6, #ffd6a5);
  border: 1.5px solid var(--ink);
}
.pv-browser {
  width: 94%;
  height: 88%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  top: 6%;
  left: 3%;
  transform: rotate(-1.5deg) translateY(2px);
  transition: transform 0.3s ease;
}
.pv-browser-bar {
  background: #322820;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1.5px solid var(--ink);
}
.pv-browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5e5e;
  display: inline-block;
}
.pv-browser-bar i:nth-child(2) { background: #ffbd2e; }
.pv-browser-bar i:nth-child(3) { background: #28c840; }
.pv-browser-content {
  flex: 1;
  overflow: hidden;
  background: #000;
  position: relative;
}
.p-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.pv-uniscout { background: radial-gradient(circle at 70% 30%, #5b3aff, #1a0f3a); }
.pv-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(180,160,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,160,255,.25) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: perspective(400px) rotateX(55deg) translateY(20%);
  transform-origin: bottom;
}
.pv-orb {
  position: absolute; top: 30%; left: 50%; transform: translate(-50%,-50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c9b8ff 40%, #5b3aff 80%);
  box-shadow: 0 0 60px #5b3aff, 0 0 100px #ff5e8a;
  animation: bob 4s ease-in-out infinite;
}
.pv-card {
  position: absolute; padding: 6px 12px; background: #1c1027;
  color: #fff; border: 1px solid #5b3aff; border-radius: 6px;
  font-family: var(--font-mono); font-size: 11px;
  box-shadow: 0 0 12px rgba(91,58,255,.6);
}
.pv-c1 { top: 18%; left: 8%; }
.pv-c2 { bottom: 22%; right: 12%; }
.pv-c3 { bottom: 12%; left: 16%; }

.pv-rental { background: linear-gradient(160deg, #ffe6b8, #f7c08a); }
.house { position: absolute; bottom: 14%; left: 50%; transform: translateX(-50%); width: 140px; }
.roof { width: 0; height: 0; margin: 0 auto;
  border-left: 80px solid transparent; border-right: 80px solid transparent;
  border-bottom: 60px solid #c0392b; filter: drop-shadow(3px 3px 0 var(--ink));
}
.walls { width: 140px; height: 100px; background: #f5e0bf; border: 2px solid var(--ink); margin: -2px auto 0; position: relative; box-shadow: 4px 4px 0 var(--ink); }
.door { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 32px; height: 50px; background: #6b3e2c; border: 2px solid var(--ink); border-bottom: none; }
.window { position: absolute; top: 14px; width: 26px; height: 26px; background: #87ceeb; border: 2px solid var(--ink); }
.w1 { left: 14px; }
.w2 { right: 14px; }
.risk-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent-4); color: #fff; font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; padding: 6px 12px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.pv-secure { background: linear-gradient(160deg, #2a2440, #0a0820); }
.lock { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.lock-shackle { width: 50px; height: 50px; border: 6px solid #ffd84d; border-radius: 50% 50% 0 0; border-bottom: none; margin: 0 auto -6px; }
.lock-body { font-size: 64px; filter: drop-shadow(0 4px 12px rgba(255,216,77,.6)); }
.packet { position: absolute; font-family: var(--font-mono); font-size: 12px; color: #6affc1; padding: 3px 8px; background: rgba(106,255,193,.1); border: 1px solid #6affc1; border-radius: 4px; animation: bob 3.5s ease-in-out infinite; }
.p1 { top: 15%; left: 10%; }
.p2 { bottom: 22%; left: 12%; animation-delay: .6s; }
.p3 { top: 22%; right: 10%; animation-delay: 1.2s; }

.pv-ai { background: linear-gradient(160deg, #b8f0d6, #4cc9f0); display: flex; align-items: flex-end; justify-content: center; padding: 30px; }
.chart { display: flex; gap: 10px; align-items: flex-end; height: 70%; }
.bar { width: 22px; background: var(--ink); border-radius: 4px 4px 0 0; height: var(--h); box-shadow: 3px 0 0 rgba(0,0,0,.15); animation: grow 1.2s ease-out backwards; }
.bar:nth-child(1) { animation-delay: .1s; background: var(--accent); }
.bar:nth-child(2) { animation-delay: .2s; background: var(--accent-2); }
.bar:nth-child(3) { animation-delay: .3s; background: var(--accent-3); }
.bar:nth-child(4) { animation-delay: .4s; background: var(--accent-4); }
.bar:nth-child(5) { animation-delay: .5s; background: var(--accent-5); }
.bar:nth-child(6) { animation-delay: .6s; background: var(--ink); }
@keyframes grow { from { height: 0; } }
.acc-pill {
  position: absolute; top: 16px; left: 16px;
  background: var(--ink); color: var(--accent-3); font-family: var(--font-mono);
  font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}

.big-link {
  display: inline-block; margin-top: 50px; font-family: var(--font-display);
  font-size: 28px; font-weight: 800; font-style: italic;
  border-bottom: 3px solid var(--accent); padding-bottom: 4px;
}
.big-link:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }

/* ---------- EXPERIENCE ---------- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 880px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 18px; padding: 32px;
  box-shadow: 8px 8px 0 var(--accent-2);
  position: relative;
  transform-style: preserve-3d;
  transition: transform .3s, box-shadow .3s;
}
.exp-card:hover { transform: translate(-3px,-3px); box-shadow: 12px 12px 0 var(--accent-2); }
.exp-date { font-family: var(--font-mono); font-size: 12px; color: var(--accent-2); font-weight: 700; }
.exp-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 28px; margin: 8px 0 4px; }
.exp-org { font-family: var(--font-hand); font-size: 22px; color: var(--accent); margin-bottom: 14px; }
.exp-card ul { padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.exp-card li { color: var(--ink-soft); }
.exp-card li b { color: var(--ink); }

/* ---------- ACHIEVEMENTS + EDU ---------- */
.ach-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
  margin-bottom: 60px;
}
.ach-card {
  background: var(--paper); border: 1.5px solid var(--ink);
  border-radius: 18px; padding: 26px;
  box-shadow: 6px 6px 0 var(--ink);
  transform-style: preserve-3d;
  transition: transform .3s, box-shadow .3s;
}
.ach-card:hover { transform: translate(-4px,-4px) rotate(-1deg); box-shadow: 10px 10px 0 var(--accent); }
.ach-icon { font-size: 36px; margin-bottom: 10px; }
.ach-card h4 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.ach-card p { font-size: 14px; color: var(--ink-soft); }

.edu-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.edu-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  flex-wrap: wrap; gap: 12px;
}
.edu-row b { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.edu-row span { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); }
.edu-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.edu-grade { background: var(--accent-3); color: var(--ink); padding: 4px 12px; border-radius: 999px; font-weight: 700; border: 1.5px solid var(--ink); }

.certs { display: flex; flex-wrap: wrap; gap: 10px; }
.cert-pill {
  font-family: var(--font-mono); font-size: 13px;
  padding: 8px 16px; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.cert-pill:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--accent); }

/* ---------- CONTACT CARD ---------- */
.contact { padding-bottom: 60px; }
.contact-card {
  position: relative;
  background: linear-gradient(155deg, #ffe9b3, #ffc8a0 45%, #ffadc6 100%);
  border: 2px solid var(--ink); border-radius: 32px;
  padding: 60px clamp(28px, 5vw, 72px);
  box-shadow: 14px 14px 0 var(--ink);
  overflow: hidden;
  transform-style: preserve-3d;
}
.contact-stamp {
  position: absolute; top: 30px; right: 30px;
  width: 130px; height: 130px;
  border: 3px dashed var(--ink); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink); text-align: center; line-height: 1.2;
  transform: rotate(-12deg);
  background: rgba(255, 250, 240, .4);
  animation: stamp-spin 18s linear infinite;
}
.contact-stamp strong { font-size: 13px; font-family: var(--font-display); margin: 2px 0; }
@keyframes stamp-spin { to { transform: rotate(348deg); } }
@media (max-width: 720px) { .contact-stamp { display: none; } }

.contact-eyebrow { font-family: var(--font-hand); font-size: 28px; color: var(--accent-2); }
.contact-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 5vw, 72px); line-height: 1.05;
  letter-spacing: -0.02em; margin-top: 8px; max-width: 800px;
}
.contact-title em { color: var(--accent); font-style: italic; }
.contact-sub { margin-top: 20px; color: var(--ink); max-width: 580px; font-size: 17px; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 40px 0; max-width: 720px;
}
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-tile {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px 18px;
  align-items: center;
  padding: 18px 22px; background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: all .25s ease;
}
.contact-tile:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--accent-2); background: #fff; }
.ct-lbl { grid-row: 1 / 3; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); writing-mode: vertical-rl; transform: rotate(180deg); }
.ct-val { font-family: var(--font-display); font-weight: 700; font-size: 17px; word-break: break-all; }
.ct-arrow { font-family: var(--font-display); font-size: 28px; color: var(--accent); transition: transform .25s; }
.contact-tile:hover .ct-arrow { transform: translateX(6px) rotate(-12deg); color: var(--accent-2); }

.contact-bigbtn {
  display: inline-block; margin-top: 12px;
  padding: 20px 40px; background: var(--ink); color: var(--bg);
  border-radius: 999px; font-weight: 700; font-size: 18px;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent);
  transition: all .25s;
}
.contact-bigbtn:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 var(--accent); background: var(--accent-2); }

.cc-sticker {
  position: absolute; font-size: 42px; pointer-events: none;
  animation: bob 6s ease-in-out infinite;
}
.cc-s1 { bottom: 30px; left: 30px; color: var(--accent); transform: rotate(-15deg); }
.cc-s2 { top: 38%; right: 8%; color: var(--ink); }
.cc-s3 { bottom: 20%; right: 30%; color: var(--accent-2); }
.cc-s4 { top: 14%; left: 30%; color: var(--accent); font-size: 30px; }

/* ---------- FOOTER ---------- */
.footer {
  padding: 50px 6vw; text-align: center;
  border-top: 1.5px dashed var(--ink);
  font-family: var(--font-mono); font-size: 13px;
  color: var(--ink-soft);
}
.footer .foot-hand { font-family: var(--font-hand); font-size: 22px; color: var(--accent); margin-top: 8px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Tilt effect support ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform .25s ease;
}

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: #fff; }


/* =========================================================
   Entrance Shatter Screen Styles
   ========================================================= */

#shatter-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  perspective: 1200px;
}

#shatter-face-container {
  position: relative;
  width: min(320px, 90vw);
  height: min(426px, 120vw); /* 3:4 aspect ratio approx */
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 16px;
  overflow: visible; /* elements fly out */
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#shatter-face-container:hover {
  transform: scale(1.04) rotate(-1deg);
}

.shatter-piece {
  position: absolute;
  background-repeat: no-repeat;
  background-size: 1000% 1000%; /* For 10x10 grid */
  transition: transform 1.2s cubic-bezier(0.1, 0.8, 0.25, 1), opacity 4s ease;
  transform-style: preserve-3d;
  pointer-events: none;
}

#shatter-prompt {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: bounce-cta 2s ease-in-out infinite;
  text-align: center;
  padding: 0 20px;
  pointer-events: none;
}

@keyframes bounce-cta {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

#shatter-flash {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 10001;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

body.shatter-lock {
  overflow: hidden;
  height: 100vh;
}
