/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Force pencil.cur cursor on ALL elements (overriding default link pointers) */
* {
  cursor: url('pencil (2).png') 0 0, auto !important;
}

body {
  font-family: 'Caveat', cursive;
  background-color: #F5F0E8;
  color: #0D0D0D;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  /* Halftone dot background */
  background-image: radial-gradient(rgba(13,13,13,0.07) 15%, transparent 15%);
  background-size: 10px 10px;
  background-attachment: fixed;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: rgba(255,230,0,0.4); color: #0D0D0D; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #F5F0E8; }
::-webkit-scrollbar-thumb { background: #0D0D0D; border: 2px solid #F5F0E8; }

/* ═══════════════════════════════════════
   BACKGROUND SCRIBBLES (parallax deco)
   ═══════════════════════════════════════ */
.bg-scribbles { position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: 0.06; }
.scribble { position: absolute; }
.scribble-1 { width: 180px; top: 8%; left: 5%; animation: scribbleDrift1 18s ease-in-out infinite; }
.scribble-2 { width: 80px; top: 25%; right: 8%; animation: scribbleSpin 22s linear infinite; }
.scribble-3 { width: 100px; bottom: 30%; left: 10%; animation: scribbleDrift2 15s ease-in-out infinite; }
.scribble-4 { width: 50px; top: 60%; right: 15%; animation: scribblePulse 10s ease-in-out infinite; }
.scribble-5 { width: 120px; bottom: 10%; right: 5%; animation: scribbleDrift3 20s ease-in-out infinite; }

@keyframes scribbleDrift1 {
  0%,100% { transform: translate(0, 0) rotate(12deg); }
  25%     { transform: translate(30px, -20px) rotate(18deg); }
  50%     { transform: translate(-15px, -40px) rotate(8deg); }
  75%     { transform: translate(20px, 10px) rotate(22deg); }
}
@keyframes scribbleSpin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes scribbleDrift2 {
  0%,100% { transform: translate(0, 0) rotate(0deg); }
  33%     { transform: translate(-25px, 30px) rotate(-6deg); }
  66%     { transform: translate(20px, -25px) rotate(5deg); }
}
@keyframes scribblePulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.4); opacity: 0.5; }
}
@keyframes scribbleDrift3 {
  0%,100% { transform: translate(0, 0) rotate(-8deg); }
  30%     { transform: translate(-20px, -35px) rotate(-15deg); }
  60%     { transform: translate(25px, 15px) rotate(0deg); }
}

/* ═══════════════════════════════════════
   TAPE STRIP (shared)
   ═══════════════════════════════════════ */
.tape-strip {
  position: absolute;
  background: rgba(237,232,213,0.85);
  box-shadow: 1px 1px 3px rgba(0,0,0,0.12);
  z-index: 10;
  pointer-events: none;
}
.tape-top-right    { width: 64px; height: 22px; top: -12px; right: 18%; transform: rotate(6deg); }
.tape-bottom-left  { width: 58px; height: 20px; bottom: -10px; left: 12%; transform: rotate(-6deg); }
.tape-center-top   { width: 60px; height: 20px; top: -11px; left: 50%; transform: translateX(-50%) rotate(2deg); }
.tape-top-right-sm { width: 50px; height: 18px; top: 8px; right: 16px; transform: rotate(-12deg); }
.tape-bottom-left-sm { width: 50px; height: 18px; bottom: 8px; left: 16px; transform: rotate(6deg); }
.tape-tag          { width: 40px; height: 14px; top: -8px; left: 8px; transform: rotate(12deg); }
.tape-tag-r        { width: 40px; height: 14px; top: -8px; right: 8px; transform: rotate(-12deg); }
.tape-tag-social   { width: 48px; height: 18px; top: -10px; right: 10px; transform: rotate(-10deg); }
.tape-tag-social-r { width: 48px; height: 18px; top: -12px; left: 16px; transform: rotate(6deg); }
.tape-contact-tl   { width: 96px; height: 32px; top: -18px; left: 10%; transform: rotate(-5deg); background: #EDE8D5; border: 2px solid #0D0D0D; }
.tape-contact-br   { width: 120px; height: 36px; bottom: -20px; right: 10%; transform: rotate(8deg); background: #EDE8D5; border: 2px solid #0D0D0D; }

/* ═══════════════════════════════════════
   TORN PAPER CLIP-PATHS
   ═══════════════════════════════════════ */
.torn-edge       { clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%); }
.torn-edge-rev   { clip-path: polygon(2% 0%, 98% 2%, 100% 100%, 0% 98%); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes dropIn {
  0%   { transform: translateY(-60px) rotate(-10deg); opacity: 0; }
  60%  { transform: translateY(8px) rotate(2deg); }
  100% { transform: translateY(0) rotate(var(--rotation, 0deg)); opacity: 1; }
}
@keyframes wobble {
  0%,100% { transform: rotate(var(--rotation, 0deg)) translateY(0); }
  25%     { transform: rotate(calc(var(--rotation, 0deg) + 3deg)) translateY(-6px); }
  75%     { transform: rotate(calc(var(--rotation, 0deg) - 3deg)) translateY(-3px); }
}

.animate-drop {
  opacity: 0;
  animation: dropIn 0.75s cubic-bezier(0.34,1.56,0.64,1) forwards;
  animation-delay: var(--delay, 0s);
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 4px solid #0D0D0D;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,1);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.6rem; font-weight: 900; font-style: italic;
  color: #0D0D0D;
  text-decoration: underline; text-decoration-color: #FFE600;
  text-decoration-thickness: 6px; text-underline-offset: 4px;
}
.nav-links {
  display: flex; gap: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-link {
  padding: 0.3rem 0.7rem;
  transition: all 0.15s ease;
}
.nav-link:hover, .nav-link--active {
  background: #FFE600; transform: rotate(1deg) scale(1.05);
}
.nav-link--active { background: #0D0D0D; color: #fff; transform: rotate(-2deg); }
.nav-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: #FFE600; color: #0D0D0D;
  padding: 0.5rem 1rem;
  border: 2px solid #0D0D0D;
  box-shadow: 2px 2px 0 0 #0D0D0D;
  transform: rotate(1deg);
  transition: all 0.15s ease;
}
.nav-cta:hover { transform: rotate(-1deg) scale(1.06); box-shadow: 4px 4px 0 0 #0D0D0D; }

.mobile-menu-btn { display: none; background: none; border: 2px solid #0D0D0D; padding: 0.5rem; cursor: pointer; }
.hamburger {
  display: block; width: 24px; height: 3px; background: #0D0D0D; position: relative;
}
.hamburger::before, .hamburger::after {
  content: ''; position: absolute; width: 24px; height: 3px; background: #0D0D0D;
  transition: all 0.3s;
}
.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  max-width: 1280px; margin: 0 auto;
  min-height: 80vh;
  padding: 4rem 2rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 3rem;
  position: relative;
}
.hero-text { flex: 1 1 400px; position: relative; z-index: 2; }

/* ── Shining Heading ── */
.hero-name {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 900; line-height: 1;
  letter-spacing: -0.03em;
  color: #0D0D0D;
  text-shadow: 4px 4px 0 #FFE600;
  transform: rotate(-2deg);
  position: relative;
}
.hero-name-shine {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #0D0D0D 0%,
    #0D0D0D calc(var(--shine-x, -30%) - 15%),
    #FFE600 var(--shine-x, -30%),
    #fff calc(var(--shine-x, -30%) + 3%),
    #FFE600 calc(var(--shine-x, -30%) + 6%),
    #0D0D0D calc(var(--shine-x, -30%) + 20%),
    #0D0D0D 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: filter 0.15s ease;
}
.hero-name.glow {
  filter: drop-shadow(0 0 20px rgba(255,230,0,0.5)) drop-shadow(0 0 60px rgba(255,230,0,0.2));
}

.hero-subtitle-tag {
  display: inline-block;
  margin-top: 1.2rem;
  background: #FF2D78; color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  padding: 0.5rem 1.2rem;
  border: 2px solid #0D0D0D;
  box-shadow: 4px 4px 0 0 #0D0D0D;
  transform: rotate(2deg);
  clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%);
}

/* ── Photo Stack (3D perspective container) ── */
.hero-photo-stack {
  flex: 0 1 380px; position: relative;
  perspective: 800px;
  transform-style: preserve-3d;
  height: 420px;
  touch-action: none;
  cursor: grab;
}
.hero-photo-stack:active { cursor: grabbing; }

.stack-photo {
  position: absolute; inset: 0;
  transform:
    translate(var(--stack-x, 0px), var(--stack-y, 0px))
    rotate(var(--stack-rotation, 0deg))
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg));
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  user-select: none;
  -webkit-user-drag: none;
}
.stack-photo img { pointer-events: none; }

.stack-photo-3 { z-index: 1; filter: brightness(0.85); }
.stack-photo-2 { z-index: 2; filter: brightness(0.9); }
.stack-photo-1 { z-index: 3; filter: brightness(0.95); }
.stack-photo-main { z-index: 4; }

.stack-photo .polaroid-frame {
  width: 100%; height: 100%;
}

.polaroid-frame {
  position: relative; overflow: hidden;
  background: #fff; padding: 14px; padding-bottom: 50px;
  border: 4px solid #0D0D0D;
  box-shadow: 8px 8px 0 0 rgba(0,0,0,1);
  clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%);
}
.hero-photo {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  filter: contrast(1.15);
  transition: filter 0.5s ease;
}
.polaroid-frame:hover .hero-photo { filter: contrast(1) saturate(1.1); }
.halftone-overlay {
  position: absolute; inset: 14px;
  background-image: radial-gradient(#0D0D0D 12%, transparent 12%);
  background-size: 6px 6px;
  mix-blend-mode: multiply; opacity: 0.15;
  pointer-events: none;
}

.starburst-hero {
  position: absolute; width: 100px; height: 100px;
  top: 10%; right: 5%;
  opacity: 0.18; z-index: 0;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(8deg); }
}

/* ═══════════════════════════════════════
   TORN DIVIDERS
   ═══════════════════════════════════════ */
.torn-divider { width: 100%; line-height: 0; margin: -1px 0; }
.torn-divider svg { width: 100%; height: 40px; display: block; }
.torn-divider-reverse { transform: scaleY(-1); }

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.about-section {
  max-width: 1100px; margin: 0 auto;
  padding: 4rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 3rem;
}
.about-label {
  flex: 0 0 260px; position: relative; text-align: center;
}
.about-label h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  text-transform: uppercase;
  background: #b9ecff; color: #006f87;
  padding: 1rem 1.5rem;
  border: 4px solid #0D0D0D;
  box-shadow: 6px 6px 0 0 rgba(0,0,0,1);
  clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%);
  transform: rotate(-4deg);
}
.about-card {
  flex: 1 1 450px; position: relative;
  background: #EDE8D5;
  border: 2px solid #0D0D0D;
  padding: 2.5rem;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,1);
  clip-path: polygon(2% 0%, 98% 2%, 100% 100%, 0% 98%);
  transform: rotate(1deg);
}
.about-text {
  font-size: 1.3rem; line-height: 1.5;
  color: #4b4731;
  margin-bottom: 1rem;
}
.about-quote {
  font-size: 1.2rem; font-style: italic;
  color: #7c775f; margin-top: 0.5rem;
  border-left: 4px solid #FFE600;
  padding-left: 1rem;
}
.scribble-underline {
  text-decoration: underline wavy #FF2D78;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 700; color: #0D0D0D;
}

/* ═══════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════ */
.skills-section {
  max-width: 1100px; margin: 0 auto;
  padding: 3rem 2rem 4rem; position: relative;
}
.skills-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem;
  position: relative; z-index: 2;
}
.skill-tag {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  padding: 0.7rem 1.4rem;
  border: 2px solid #0D0D0D;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,1);
  cursor: default;
  transition: all 0.25s ease;
  transform: rotate(var(--rotation, 0deg));
}
.skill-tag:hover {
  transform: rotate(0deg) translateY(-6px) !important;
  box-shadow: 6px 8px 0 0 rgba(0,0,0,1);
}
.skill-yellow  { background: #FFE600; color: #0D0D0D; clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%); }
.skill-magenta { background: #FF2D78; color: #fff;     clip-path: polygon(2% 0%, 98% 2%, 100% 100%, 0% 98%); }
.skill-cyan    { background: #b9ecff; color: #006f87;  clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%); }
.skill-cream   { background: #EDE8D5; color: #4b4731;  clip-path: polygon(2% 0%, 98% 2%, 100% 100%, 0% 98%); }

.ink-blob {
  position: absolute; width: 280px; height: 280px;
  bottom: -40px; left: -60px;
  background: radial-gradient(circle, rgba(255,45,120,0.08) 0%, transparent 70%);
  border-radius: 50%; filter: blur(30px);
  z-index: 0;
}

/* ═══════════════════════════════════════
   WORK / PROJECTS
   ═══════════════════════════════════════ */
.work-section {
  max-width: 1300px; margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.work-heading {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  display: inline-block;
  background: #FFE600;
  padding: 0.2rem 1rem;
  border: 2px solid #0D0D0D;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,1);
  transform: rotate(-2deg);
  margin-bottom: 2.5rem;
}
.collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem 2rem;
}

/* Polaroid project card */
.project-card {
  position: relative;
  background: #fff; padding: 12px; padding-bottom: 0;
  border: 4px solid #0D0D0D;
  box-shadow: 6px 6px 0 0 rgba(0,0,0,1);
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s ease;
  cursor: pointer; display: block; text-decoration: none; color: #0D0D0D;
}
.project-card:hover {
  transform: translateY(-16px) scale(1.03) rotate(0deg) !important;
  box-shadow: 14px 14px 0 0 rgba(0,0,0,1) !important;
  z-index: 20;
}
.project-card .card-img-wrap {
  width: 100%; aspect-ratio: 1/1; overflow: hidden;
  border: 2px solid #0D0D0D; position: relative;
}
.project-card .card-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.project-card:hover .card-img { filter: grayscale(0%); }
.project-card .card-color-wash {
  display: none;
}
.project-card .card-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem; text-align: center;
  padding: 0.8rem 0.5rem;
  color: #0D0D0D;
}
.project-card .card-category {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: rgba(0,0,0,0.08);
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.3rem;
}

.work-note {
  text-align: center; margin-top: 2.5rem;
  font-family: 'Caveat', cursive; font-size: 1.2rem;
  color: #7c775f;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact-section {
  position: relative;
  background: #FF2D78;
  padding: 5rem 2rem;
  border: 8px solid #0D0D0D;
  box-shadow: 16px 16px 0 0 rgba(0,0,0,1);
  clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%);
  max-width: 1300px; margin: 4rem auto 0;
  transform: rotate(1deg);
  overflow: visible;
}
.contact-heading {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.85;
  color: #fff; text-align: center;
  mix-blend-mode: overlay;
  transform: rotate(-3deg);
  margin-bottom: 2.5rem;
}
.doodle-arrow {
  display: block; width: 100px; margin: 0 auto 2rem;
  opacity: 0.7;
}
.social-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.2rem; position: relative; z-index: 2;
}
.social-tag {
  position: relative; display: flex; flex-direction: column; align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  padding: 1rem 1.5rem 0.8rem;
  border: 4px solid #0D0D0D;
  box-shadow: 4px 4px 0 0 rgba(0,0,0,1);
  transform: rotate(var(--rotation, 0deg));
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-tag:hover {
  animation: wobble 0.5s ease-in-out infinite;
  box-shadow: 8px 12px 0 0 rgba(0,0,0,1) !important;
  z-index: 5;
}
.tag-icon { font-size: 1.4rem; margin-bottom: 0.2rem; }
.tag-label { font-size: 0.95rem; }
.tag-sub { font-size: 0.7rem; opacity: 0.7; margin-top: 0.1rem; }

.tag-yellow  { background: #FFE600; color: #0D0D0D; clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%); }
.tag-magenta { background: #FF2D78; color: #fff; border-color: #0D0D0D; clip-path: polygon(2% 0%, 98% 2%, 100% 100%, 0% 98%); }
.tag-black   { background: #0D0D0D; color: #fff; box-shadow: 4px 4px 0 0 rgba(255,255,255,1); clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%); }
.tag-cyan    { background: #b9ecff; color: #006f87; clip-path: polygon(2% 0%, 98% 2%, 100% 100%, 0% 98%); }
.tag-cream   { background: #EDE8D5; color: #0D0D0D; clip-path: polygon(0% 0%, 100% 2%, 98% 100%, 2% 98%); }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  background: #FFE600; border-top: 4px solid #0D0D0D;
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
}
.footer-copy {
  font-family: 'Permanent Marker', cursive;
  font-size: 1rem; transform: rotate(-1deg);
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase;
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: #FF2D78; font-style: italic; }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET LANDSCAPE (≤1024px)
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .hero-name { font-size: clamp(2.8rem, 7vw, 4.5rem); }
  .hero-photo-stack { flex: 0 1 340px; height: 380px; }
  .stack-photo-3 { display: none; } /* hide deepest photo on smaller screens */

  .collage-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .contact-section { padding: 4rem 1.5rem; }
  .contact-heading { font-size: clamp(2.5rem, 8vw, 5rem); }

  .social-tags { gap: 1rem; }
  .social-tag { padding: 0.8rem 1.2rem; font-size: 0.95rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET PORTRAIT (≤768px)
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav collapses to burger */
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff; border: 2px solid #0D0D0D;
    border-top: none; padding: 0.5rem; gap: 0; z-index: 99;
  }
  .nav-links.active { display: flex; }
  .nav-link { padding: 0.8rem 1rem; text-align: left; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }

  /* Hero stacks vertically */
  .hero { flex-direction: column; min-height: auto; padding-top: 2.5rem; gap: 1.5rem; }
  .hero-name { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero-photo-stack { flex: 0 0 auto; width: 100%; max-width: 340px; height: 380px; margin: 0 auto; }
  .stack-photo-3, .stack-photo-2 { display: none; } /* keep 1 bg photo + main */

  /* About stacks */
  .about-section { flex-direction: column; gap: 1.5rem; padding: 3rem 1.5rem; }
  .about-label { flex: 0 0 auto; }
  .about-label h2 { font-size: 2rem; }

  /* Work */
  .collage-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .work-heading { font-size: 2rem; }

  /* Skills */
  .skills-cloud { gap: 1rem; }
  .skill-tag { font-size: 0.95rem; padding: 0.6rem 1.1rem; }

  /* Contact */
  .contact-section { padding: 3rem 1.2rem; transform: rotate(0deg); margin: 2rem 0.5rem 0; }
  .contact-heading { font-size: 2.5rem; margin-bottom: 1.5rem; }
  .social-tags { gap: 0.8rem; }
  .social-tag { font-size: 0.9rem; padding: 0.7rem 1rem; border-width: 3px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 1rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤480px)
   ═══════════════════════════════════════ */
@media (max-width: 480px) {
  .nav-inner { padding: 0.7rem 1rem; }
  .nav-logo { font-size: 1.3rem; }

  .hero { padding: 2rem 1rem; gap: 1.2rem; }
  .hero-name { font-size: 2.4rem; text-shadow: 3px 3px 0 #FFE600; }
  .hero-subtitle-tag { font-size: 0.95rem; padding: 0.4rem 1rem; }
  .hero-photo-stack { max-width: 280px; height: 320px; }
  .stack-photo-3, .stack-photo-2, .stack-photo-1 { display: none; } /* main only */

  .about-section { padding: 2rem 1rem; }
  .about-card { padding: 1.5rem; }
  .about-text { font-size: 1.15rem; }
  .about-quote { font-size: 1.05rem; }
  .about-label h2 { font-size: 1.7rem; padding: 0.8rem 1rem; }

  .skills-section { padding: 2rem 1rem; }
  .skill-tag { font-size: 0.85rem; padding: 0.5rem 0.9rem; }

  .work-section { padding: 2rem 1rem; }
  .work-heading { font-size: 1.8rem; margin-bottom: 1.5rem; }
  .collage-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .contact-section { padding: 2.5rem 1rem; border-width: 5px; box-shadow: 10px 10px 0 0 rgba(0,0,0,1); }
  .contact-heading { font-size: 2rem; line-height: 0.9; }
  .social-tag { font-size: 0.8rem; padding: 0.6rem 0.8rem; border-width: 2px; }
  .tag-icon { font-size: 1.1rem; }
  .tag-label { font-size: 0.8rem; }

  .footer { margin-top: 3rem; }
  .footer-inner { padding: 1.5rem 1rem; }
  .footer-copy { font-size: 0.85rem; }
  .footer-links { font-size: 0.7rem; gap: 1rem; }

  .torn-divider svg { height: 25px; }
}

/* ═══════════════════════════════════════
   TOUCH DEVICES — disable pointer effects
   ═══════════════════════════════════════ */
@media (hover: none) {
  .hero-name-shine {
    --shine-x: -30%;
    background: none !important;
    -webkit-text-fill-color: #0D0D0D !important;
  }
  .hero-name.glow { filter: none; }
  .stack-photo {
    --tilt-x: 0deg !important;
    --tilt-y: 0deg !important;
  }
}
