:root {
  --paper: #f4f3ef;
  --line: #dcdad3;
  --ink: #1a1814;
  --ink-soft: #57534b;
  --blue: #2b50d9;
  --yellow: #f5c542;
  --pink: #ff4f8b;
  --green: #1fae6a;
  --mint: #a8dcc3;
  --sand: #ece0b4;
  --orange: #ff6b35;
  --lilac: #c9cdf6;
  --f-body: "Inter", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;
  --f-hand: "Just Me Again Down Here", "Comic Sans MS", cursive;
  --f-pixel: "Handjet", "DM Mono", monospace;
  --nav-h: 64px;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { font-family: var(--f-body); color: var(--ink); background-color: var(--paper); background-image: repeating-linear-gradient(to bottom, transparent 0 35px, var(--line) 35px 36px); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.hand { font-family: var(--f-hand); }
.nowrap { white-space: nowrap; }

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 12px; padding: 0 20px; background: rgba(250, 249, 246, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-logo svg { width: 30px; height: 30px; transition: transform .4s; }
.nav-logo:hover svg { transform: rotate(-20deg) scale(1.1); }
.nav-links { display: flex; height: 100%; margin-left: 8px; }
.nav-links a { display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 100%; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transition: background .2s; }
.nav-links a:hover { background: rgba(245, 197, 66, .35); }
.nav-links a.active { background: var(--yellow); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.social { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.social svg { width: 16px; height: 16px; fill: var(--ink); }
.social:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.s-yellow { background: var(--yellow); }
.s-pink { background: var(--pink); }
.s-green { background: var(--green); }
.nav-cta { margin-left: 6px; display: flex; align-items: center; gap: 8px; padding: 9px 18px; border: 2px solid var(--ink); font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: #fff; transition: background .2s, color .2s; }
.nav-cta:hover { background: var(--ink); color: #fff; }

.hero { position: relative; min-height: 100vh; padding: calc(var(--nav-h) + 48px) 20px 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-hello { font-size: 26px; position: relative; margin-bottom: -10px; }
.scribble { display: block; width: 90px; height: 12px; margin: 0 auto; }
.scribble path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.sticker { position: absolute; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; padding: 8px 16px; border-radius: 999px; box-shadow: 0 3px 0 rgba(0,0,0,.12), 0 6px 14px rgba(0,0,0,.08); border: 2px solid #fff; white-space: nowrap; }
.sticker-mint { background: var(--mint); top: 22%; left: 10%; transform: rotate(-8deg); }
.sticker-sand { background: var(--sand); top: 19%; right: 8%; transform: rotate(12deg); }
.sticker-pink { background: #ffc2d6; bottom: 9%; left: 12%; transform: rotate(-6deg); }
.float-a { animation: floatA 6s ease-in-out infinite; }
.float-b { animation: floatB 7s ease-in-out infinite; }
.float-c { animation: floatA 8s ease-in-out infinite reverse; }
@keyframes floatA { 50% { translate: 0 -10px; } }
@keyframes floatB { 50% { translate: 0 8px; } }
.hero-name { position: relative; font-family: var(--f-pixel); font-weight: 800; font-size: clamp(120px, 24vw, 300px); line-height: .9; letter-spacing: .02em; margin: 6px 0 10px; }
.name-shadow { position: absolute; inset: 0; color: #b9b6ae; transform: translate(10px, 10px); }
.name-main { position: relative; display: inline-flex; }
.name-main b { font-weight: inherit; display: inline-block; animation: hop 3.2s ease-in-out infinite; }
.name-main b:nth-child(2) { animation-delay: .12s; color: var(--blue); }
.name-main b:nth-child(3) { animation-delay: .24s; }
.name-main b:nth-child(4) { animation-delay: .36s; color: var(--pink); }
.name-main b:nth-child(5) { animation-delay: .48s; }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-14px) rotate(-3deg); } }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); display: inline-block; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,80,217,.5); } 100% { box-shadow: 0 0 0 10px rgba(43,80,217,0); } }
.hero-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 16px 0 26px; }
.hero-meta span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; padding: 5px 12px; background: #fff; border: 1.5px solid var(--ink); }
.hero-headline { position: relative; font-size: clamp(32px, 5.4vw, 64px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; max-width: 900px; }
.blob { position: absolute; z-index: -1; border-radius: 50%; background: var(--orange); }
.blob-left { width: 70px; height: 70px; left: -30px; top: -26px; }
.blob-right { width: 70px; height: 70px; right: -10px; top: -4px; }
.emoji-badge { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; font-size: .75em; background: var(--green); border: 3px solid var(--ink); border-radius: 50%; vertical-align: middle; }
.spin { animation: spin 8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.flower { color: var(--pink); display: inline-block; animation: spin 10s linear infinite; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.btn-dark { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 10px 22px 10px 10px; font-family: var(--f-mono); font-weight: 500; font-size: 14px; letter-spacing: .12em; box-shadow: 4px 4px 0 var(--blue); transition: transform .2s, box-shadow .2s; }
.btn-dark:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--blue); }
.btn-icon { width: 30px; height: 30px; display: grid; place-items: center; background: var(--blue); }
.btn-ghost { display: inline-flex; align-items: center; padding: 10px 22px; border: 2px solid var(--ink); background: #fff; font-family: var(--f-mono); font-weight: 500; font-size: 14px; letter-spacing: .12em; transition: background .2s; }
.btn-ghost:hover { background: var(--yellow); }
.arc { display: block; width: 100%; height: 80px; }
.arc path { fill: none; stroke: #b9b6ae; stroke-width: 1.5; vector-effect: non-scaling-stroke; }

section { position: relative; }
.section-kicker { font-size: 24px; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section-kicker.center { text-align: center; }
.boxed-title { display: block; width: fit-content; margin: 26px auto 40px; font-size: clamp(30px, 4vw, 40px); font-weight: 500; letter-spacing: -.02em; padding: 4px 16px; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pixel-title { position: relative; width: fit-content; margin: 14px auto 30px; font-family: var(--f-pixel); font-weight: 800; line-height: .9; font-size: clamp(64px, 11vw, 130px); letter-spacing: .02em; }
.pixel-title.big { font-size: clamp(72px, 15vw, 180px); }
.pt-shadow { position: absolute; inset: 0; color: #b9b6ae; transform: translate(8px, 8px); white-space: nowrap; }
.pt-main { position: relative; white-space: nowrap; }

.about { padding: 50px 0 80px; }
.about-body { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 220px 1fr 220px; gap: 30px; align-items: center; }
.about-text { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.45; text-align: center; }
.about-text u { text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.polaroid { position: relative; background: #fff; padding: 12px 12px 8px; box-shadow: 0 2px 0 rgba(0,0,0,.06), 0 14px 30px rgba(0,0,0,.14); }
.polaroid figcaption { text-align: center; font-size: 18px; padding-top: 6px; }
.polaroid-left { transform: rotate(-6deg); }
.polaroid-right { transform: rotate(5deg); }
.polaroid:hover { z-index: 2; }
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tape { position: absolute; width: 90px; height: 26px; opacity: .85; z-index: 2; }
.polaroid > .tape { top: -12px; left: 50%; translate: -50% 0; rotate: -4deg; }
.tape-blue { background: rgba(160, 175, 245, .8); }
.tape-yellow { background: rgba(245, 214, 120, .85); }
.tape-pink { background: rgba(255, 170, 200, .85); }
.desk-mock { aspect-ratio: 4 / 5; background: #262420; display: grid; place-items: center; padding: 12px; }
.term { width: 100%; background: #12110f; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.t-dots { display: flex; gap: 4px; margin-bottom: 4px; }
.t-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.t-dots i:nth-child(2) { background: var(--yellow); }
.t-dots i:nth-child(3) { background: var(--green); }
.term code { font-family: var(--f-mono); font-size: 11px; color: #e9e6df; }
.term code b { color: var(--yellow); }
.term .ok { color: #7fe0a8; }
.blink { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tags { max-width: var(--maxw); margin: 56px auto 0; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 6px; }
.tag, .tag-emoji { padding: 12px 18px; font-size: 18px; font-weight: 500; clip-path: polygon(2% 6%, 98% 0, 100% 50%, 97% 96%, 3% 100%, 0 50%); transition: transform .25s; }
.tag-emoji { margin-right: 18px; padding: 12px 12px; }
.tag:hover, .tag-emoji:hover { transform: rotate(-3deg) scale(1.05); }
.t-yellow { background: var(--yellow); }
.t-mint { background: var(--mint); }
.t-pink { background: #ffb3cc; }
.t-blue { background: var(--lilac); }
.t-orange { background: #ffc0a3; }

.journey { padding: 60px 0 90px; }
.notes { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.note { position: relative; padding: 26px 18px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.1); transition: transform .3s; }
.note:nth-child(1) { rotate: -2deg; }
.note:nth-child(2) { rotate: 1.5deg; }
.note:nth-child(3) { rotate: -1deg; }
.note:nth-child(4) { rotate: 2deg; }
.note:hover { transform: translateY(-6px) rotate(-1deg); }
.n-yellow { background: #fbe08a; }
.n-mint { background: var(--mint); }
.n-pink { background: #ffc2d6; }
.n-blue { background: var(--lilac); }
.pin { position: absolute; top: -8px; left: 50%; translate: -50% 0; width: 18px; height: 18px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); }
.note-kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); }
.note h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 2px; }
.note-org { font-family: var(--f-hand); font-size: 22px; margin-bottom: 10px; }
.note li { font-size: 14px; line-height: 1.45; padding-left: 16px; position: relative; margin-top: 6px; }
.note li::before { content: "✦"; position: absolute; left: 0; font-size: 10px; top: 3px; }
.certs { max-width: var(--maxw); margin: 56px auto 0; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.certs-title { font-size: 26px; margin-right: 6px; }
.stamp { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; border: 2px dashed var(--ink); background: #fff; }
.stamp:nth-of-type(odd) { rotate: -1.5deg; }
.stamp:nth-of-type(even) { rotate: 1.5deg; }

.work { padding: 60px 0 120px; }
.sticky-note { width: min(380px, calc(100% - 40px)); margin: -6px auto 70px; background: var(--sand); padding: 14px 18px; text-align: center; font-size: 15px; line-height: 1.45; rotate: -3deg; box-shadow: 0 6px 14px rgba(0,0,0,.1); }
.stack { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.card { --tab-h: 52px; position: sticky; top: calc(var(--nav-h) + 20px); margin-bottom: 70px; }
.card:last-child { margin-bottom: 0; }
.card-tab { height: var(--tab-h); position: relative; }
.card-tab span { position: absolute; bottom: -1px; left: calc(var(--i) * 16%); width: 20%; height: 100%; display: flex; align-items: center; justify-content: flex-start; font-family: var(--f-mono); font-size: 14px; font-weight: 500; letter-spacing: .14em; background: var(--card-bg); color: var(--card-fg); clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%); padding-left: 20px; white-space: nowrap; }
.card-body { background: var(--card-bg); color: var(--card-fg); min-height: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.c-blue { --card-bg: var(--blue); --card-fg: #fff; }
.c-dark { --card-bg: var(--ink); --card-fg: #fff; }
.c-yellow { --card-bg: var(--yellow); --card-fg: var(--ink); }
.c-pink { --card-bg: var(--pink); --card-fg: var(--ink); }
.c-green { --card-bg: var(--green); --card-fg: var(--ink); }
.c-orange { --card-bg: var(--orange); --card-fg: var(--ink); }
.card-date { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .14em; }
.card-date i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.card h3 { font-size: clamp(44px, 5.4vw, 64px); font-weight: 600; letter-spacing: -.04em; margin: 16px 0 10px; }
.card-desc { font-size: 17px; line-height: 1.5; max-width: 420px; opacity: .92; }
.card-name { font-family: var(--f-hand); font-size: 22px; margin-top: 14px; opacity: .85; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.card-tags li { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; padding: 7px 12px; background: #fff; color: var(--ink); }
.card-visual { position: relative; background: #fff; padding: 8px; border: 2px solid var(--ink); }
.card-visual .tape { top: -12px; width: 70px; height: 22px; background: rgba(255,255,255,.55); }
.tape-l { left: -16px; rotate: -12deg; }
.tape-r { right: -16px; rotate: 10deg; }
.viz { aspect-ratio: 4 / 3; position: relative; overflow: hidden; font-family: var(--f-mono); font-size: 12px; }
.viz-traffic { background: #2f6b3e; }
.road { position: absolute; background: #3a3a3a; }
.road.h { left: 0; right: 0; top: 42%; height: 18%; }
.road.v { top: 0; bottom: 0; left: 44%; width: 14%; }
.road.h::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #f5c542; }
.road.v::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed #f5c542; }
.car { position: absolute; width: 22px; height: 12px; border-radius: 3px; }
.c1 { background: var(--pink); top: 45%; animation: drive 4s linear infinite; }
.c2 { background: var(--yellow); top: 52%; animation: drive 5s linear infinite reverse; }
.c3 { background: #fff; left: 46%; width: 12px; height: 22px; animation: driveV 4.5s linear infinite; }
@keyframes drive { from { left: -10%; } to { left: 105%; } }
@keyframes driveV { from { top: -10%; } to { top: 105%; } }
.light { position: absolute; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #111; }
.l1 { left: 38%; top: 33%; background: #3be07a; animation: light 3s steps(1) infinite; }
.l2 { left: 60%; top: 63%; background: #ff4a4a; animation: light 3s steps(1) infinite reverse; }
@keyframes light { 50% { background: #ff4a4a; } }
.viz-label { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.65); color: #fff; padding: 4px 8px; }
.viz-voice { background: #f1efe9; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 18px; }
.bubble { padding: 10px 12px; max-width: 80%; font-family: var(--f-body); font-size: 13px; line-height: 1.35; }
.b-user { background: #fff; border: 1.5px solid var(--ink); align-self: flex-start; }
.b-bot { background: #d9f99d; border: 1.5px solid var(--ink); align-self: flex-end; }
.wave { display: flex; gap: 4px; align-items: center; justify-content: center; height: 40px; }
.wave i { width: 5px; background: var(--ink); border-radius: 3px; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-delay: .15s; }
.wave i:nth-child(3n) { animation-delay: .3s; }
.wave i:nth-child(4n) { animation-delay: .45s; }
@keyframes wave { 0%, 100% { height: 8px; } 50% { height: 36px; } }
.viz-sort { background: #fff8de; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.inbox { align-self: center; padding: 8px 14px; background: #fff; border: 1.5px solid var(--ink); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.lanes div { background: #fff; border: 1.5px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 6px; font-family: var(--f-body); font-weight: 600; font-size: 12px; }
.lanes b { font-size: 26px; }
.lanes span { font-family: var(--f-mono); font-weight: 400; font-size: 10px; color: var(--ink-soft); }
.viz-med { background: #fff0f5; padding: 18px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 5px 10px; background: #fff; border: 1.5px solid var(--ink); border-radius: 999px; }
.chips .add { border-style: dashed; color: var(--ink-soft); }
.bars p { font-family: var(--f-body); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.bars i { display: block; height: 10px; background: #f3d6df; margin-top: 4px; position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--pink); border-right: 2px solid var(--ink); }
.viz-cam { background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.4)), linear-gradient(135deg, #5c6b73 0 40%, #39444a 40% 100%); }
.rec { position: absolute; top: 8px; left: 10px; color: #ff4a4a; animation: blink 1.4s steps(1) infinite; }
.box { position: absolute; border: 2px solid; padding: 2px 6px; font-size: 11px; display: flex; align-items: flex-end; }
.known { left: 14%; top: 28%; width: 30%; height: 55%; border-color: #3be07a; color: #3be07a; }
.unknown { left: 56%; top: 22%; width: 32%; height: 62%; border-color: var(--yellow); color: var(--yellow); animation: blink 1s steps(1) infinite; }
.scan { position: absolute; left: 0; right: 0; height: 2px; background: rgba(59,224,122,.8); box-shadow: 0 0 10px #3be07a; animation: scan 3s linear infinite; }
@keyframes scan { from { top: 0; } to { top: 100%; } }
.viz-scout { background: #fff3ec; padding: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.step { font-family: var(--f-body); font-size: 13px; padding: 6px 10px; background: #fff; border: 1.5px solid var(--ink); opacity: 0; animation: stepIn 6s infinite; }
.step:nth-child(2) { animation-delay: .8s; }
.step:nth-child(3) { animation-delay: 1.6s; }
@keyframes stepIn { 0% { opacity: 0; transform: translateX(-8px); } 10%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mail { font-family: var(--f-body); font-size: 12px; line-height: 1.5; padding: 10px; background: #fff; border: 1.5px dashed var(--ink); margin-top: 4px; }

.toolbox { padding: 40px 0 100px; }
.marquee { margin-top: 24px; overflow: hidden; background: var(--ink); color: #fff; border-block: 3px solid var(--ink); rotate: -1.5deg; }
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 16px 0; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--f-pixel); font-weight: 700; font-size: 40px; letter-spacing: .04em; }
.marquee-track span:nth-child(4n+2) { color: var(--yellow); }
.marquee-track span:nth-child(4n) { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.soft-skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 44px auto 0; padding: 0 20px; max-width: 820px; }
.soft-skills span { font-family: var(--f-hand); font-size: 24px; padding: 2px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.soft-skills span:nth-child(odd) { rotate: -2deg; }
.soft-skills span:nth-child(even) { rotate: 2deg; }

.contact { padding: 40px 20px 80px; text-align: center; }
.smiley { width: 170px; margin: 0 auto 10px; animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 25% { rotate: -6deg; } 75% { rotate: 6deg; } }
.contact-sub { font-size: 26px; line-height: 1.35; max-width: 620px; margin: -6px auto 40px; color: var(--ink-soft); }
.contact-wrap { position: relative; max-width: 900px; margin: 0 auto; }
.profile-note { position: absolute; left: -40px; top: -40px; z-index: 2; width: 260px; text-align: left; padding: 18px; background: rgba(201, 205, 246, .92); rotate: -4deg; box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.profile-note .tape { top: -12px; right: 20px; rotate: 18deg; width: 70px; }
.pn-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pn-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--f-pixel); font-weight: 800; font-size: 16px; }
.profile-note p { font-size: 14px; line-height: 1.45; color: #3b3a5a; }
.pn-like { display: inline-block; margin-top: 10px; font-family: var(--f-mono); font-size: 12px; padding: 2px 8px; border: 1.5px solid #3b3a5a; border-radius: 6px; }
.contact-card { background: var(--yellow); border: 3px solid var(--ink); border-radius: 6px 10px 6px 14px; box-shadow: 10px 10px 0 var(--ink); padding: 70px 20px 60px; rotate: .6deg; }
.contact-card .hand { font-size: 28px; }
.contact-big { display: block; font-family: var(--f-pixel); font-weight: 800; font-size: clamp(80px, 16vw, 190px); line-height: .9; margin: 10px 0 24px; transition: letter-spacing .3s; }
.contact-big:hover { letter-spacing: .06em; }
.drop-line { font-family: var(--f-mono); font-weight: 500; letter-spacing: .14em; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.contact-email { margin-top: 20px; font-family: var(--f-mono); font-size: 13px; color: #5a4a10; }

.footer { max-width: var(--maxw); margin: 0 auto; padding: 30px 20px 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.footer-name { font-family: var(--f-pixel); font-weight: 800; font-size: clamp(48px, 7vw, 76px); line-height: 1; margin-bottom: 12px; }
.status.left { justify-content: flex-start; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.footer-links { display: flex; gap: 24px; font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.footer-links a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 10px; }
.footer-bottom { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-soft); }
.to-top { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; padding: 6px 12px; background: var(--sand); border-radius: 999px; color: var(--ink); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav-links a span, .nav-cta span { display: none; }
  .nav-links a { padding: 0 14px; font-size: 16px; }
  .about-body { grid-template-columns: 1fr 1fr; }
  .about-text { grid-column: 1 / -1; grid-row: 1; }
  .polaroid { max-width: 220px; justify-self: center; }
  .notes { grid-template-columns: repeat(2, 1fr); }
  .card-body { grid-template-columns: minmax(0, 1fr); padding: 30px; gap: 30px; }
  .card-tab span { font-size: 0; }
  .card-tab span::after { font-size: 13px; }
  .profile-note { position: relative; left: auto; top: auto; margin: 0 auto 30px; }
  .c-blue .card-tab span::after { content: "✦ 01"; }
  .c-dark .card-tab span::after { content: "✦ 02"; }
  .c-yellow .card-tab span::after { content: "✦ 03"; }
  .c-pink .card-tab span::after { content: "✦ 04"; }
  .c-green .card-tab span::after { content: "✦ 05"; }
  .c-orange .card-tab span::after { content: "✦ 06"; }
}
@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .nav { padding: 0 12px; gap: 6px; }
  .nav-links { margin-left: 2px; }
  .nav-links a { padding: 0 9px; }
  .nav-right { gap: 6px; }
  .social { width: 32px; height: 32px; }
  .nav-cta { padding: 7px 10px; margin-left: 0; }
  .sticker { font-size: 10px; padding: 6px 10px; }
  .sticker-mint { top: 10%; left: 4%; }
  .sticker-sand { display: none; }
  .sticker-pink { bottom: 3%; left: 6%; }
  .blob-left { left: -6px; width: 48px; height: 48px; }
  .blob-right { right: 0; width: 48px; height: 48px; }
  .about-body { grid-template-columns: 1fr 1fr; gap: 18px; }
  .notes { grid-template-columns: 1fr; gap: 28px; }
  .card { --tab-h: 40px; }
  .card-tab span::after { font-size: 11px !important; }
  .card-body { padding: 24px 20px; min-height: 0; }
  .card-desc { font-size: 15px; }
  .card-name { font-size: 19px; }
  .card-tags { margin-top: 18px; }
  .marquee-track span { font-size: 30px; }
  .contact-card { box-shadow: 6px 6px 0 var(--ink); padding: 50px 16px 44px; }
  .footer-right { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (max-width: 420px) {
  .nav { padding: 0 8px; gap: 4px; }
  .nav-logo svg { width: 26px; height: 26px; }
  .nav-links a { padding: 0 8px; font-size: 14px; }
  .social { width: 30px; height: 30px; }
  .social svg { width: 14px; height: 14px; }
  .nav-cta { padding: 6px 8px; }
  .status { font-size: 11px; letter-spacing: .08em; text-align: left; max-width: 300px; }
  .hero-meta span { font-size: 11px; padding: 4px 9px; }
  .term code { font-size: 10px; }
  .card-body { padding: 22px 16px; }
  .card h3 { font-size: 36px; }
  .card-visual .tape-l { left: -6px; }
  .card-visual .tape-r { right: -6px; }
  .viz { aspect-ratio: auto; min-height: 220px; }
  .lanes div { font-size: 10px; }
  .lanes b { font-size: 20px; }
  .pixel-title { font-size: 56px; }
  .pixel-title.big { font-size: 60px; }
  .contact-big { font-size: 72px; }
}
.polaroid .photo-me { height: auto; }
img.pn-avatar { object-fit: cover; object-position: 50% 10%; padding: 0; }
.contact-photo { position: absolute; right: -50px; top: -70px; z-index: 2; width: 190px; rotate: 6deg; }
.contact-photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; width: 100%; height: auto; }
@media (max-width: 960px) {
  .contact-photo { position: relative; right: auto; top: auto; margin: 0 auto 30px; width: 170px; }
}
.card-body, .card-text, .card-visual { min-width: 0; }
.work, .toolbox, .contact { overflow-x: clip; }
@media (max-width: 960px), (max-height: 640px) {
  .card { position: relative; top: auto; margin-bottom: 36px; }
  .card-tab span { left: 0; width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
