/* ==========================================================================
   YOLANDA IHSAN — HANDWRITTEN PAPER SKETCHBOOK CREATIVE PROFILE
   Tactile paper aesthetic, full-width editorial spread, embedded notebook
   ========================================================================== */

:root {
  /* Paper Palette */
  --bg-paper: #f9f6f0;               /* Warm cream sketchbook paper */
  --bg-paper-sheet: #fffdf9;         /* Crisp sketchbook page */
  --bg-paper-card: rgba(255, 255, 255, 0.7);
  --bg-paper-dock: rgba(249, 246, 240, 0.85);
  
  /* Ink Palette */
  --ink-primary: #1c1917;            /* Charcoal / fountain pen black */
  --ink-secondary: #44403c;          /* Deep graphite */
  --ink-muted: #78716c;              /* Pencil graphite */
  --ink-faint: #a8a29e;              /* Faint sketch lines */
  --ink-border: #d6d3d1;             /* Sketchbook border */
  
  /* Washi Tape & Accent Inks */
  --tape-blue: #0284c7;
  --tape-blue-soft: #e0f2fe;
  --tape-terracotta: #c2410c;
  --tape-terracotta-soft: #ffedd5;
  --tape-stone: #292524;
  --tape-stone-soft: #f5f5f4;
  --tape-sage: #4d7c0f;
  --tape-sage-soft: #ecfccb;
  --highlighter-yellow: #fef08a;
  
  /* Typography */
  --font-bubble: 'Gaegu', cursive, sans-serif;
  --font-hand: 'Caveat', cursive, sans-serif;
  --font-clean-hand: 'Patrick Hand', cursive, sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-paper);
  background-image: 
    radial-gradient(#d6cfc2 0.75px, transparent 0.75px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(244, 239, 230, 0.8));
  background-size: 22px 22px, 100% 100%;
  color: var(--ink-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 1. Tactile Paper Fiber & Texture Overlay */
.paper-texture-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}



/* ==========================================================================
   4. MAIN HERO SECTION: EXPANDED WIDESCREEN EDITORIAL SPREAD
   ========================================================================== */
.hero-canvas-spread {
  position: relative;
  width: 100%;
  padding: 48px 28px 60px;
  z-index: 2;
}

.hero-spread-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ==========================================================================
   4.1 LEFT COLUMN: TITLE, BIO CARD, WASHI TAPE BADGES
   ========================================================================== */
.spread-col-left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.ink-burst-rays {
  width: 80px;
  height: 32px;
  color: var(--ink-primary);
  margin-bottom: -16px;
  animation: burst-glow 3s ease-in-out infinite alternate;
}

.hero-title-wrap {
  position: relative;
  display: inline-block;
}

.hero-title-name {
  font-family: var(--font-bubble);
  font-size: 78px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--ink-primary);
  text-shadow: 2px 2px 0px rgba(214, 207, 194, 0.8);
  transform: rotate(-2deg);
  transition: transform 0.2s var(--ease-elastic);
}

.hero-title-name:hover {
  transform: rotate(0deg) scale(1.02);
}

.name-first {
  display: block;
}

.name-last {
  display: block;
  font-size: 72px;
  margin-top: 4px;
}

.hero-underline-doodle {
  width: 220px;
  height: 20px;
  color: var(--tape-terracotta);
  margin-top: -6px;
  margin-left: 4px;
}

.hero-role-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(28, 25, 23, 0.06);
  border: 1px dashed var(--ink-secondary);
  padding: 5px 12px;
  border-radius: 9999px;
  align-self: flex-start;
  color: var(--ink-primary);
}

.role-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tape-terracotta);
}

/* Handwritten Bio Card (Paper Note Pinned) */
.handwritten-bio-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--ink-border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transform: rotate(-1deg);
  transition: transform 0.2s var(--ease-elastic);
  max-width: 440px;
}

.handwritten-bio-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.tape-strip {
  position: absolute;
  top: -10px;
  left: 30px;
  width: 90px;
  height: 20px;
  background: rgba(254, 240, 138, 0.7);
  border: 1px dashed rgba(202, 138, 4, 0.5);
  transform: rotate(-3deg);
}

.bio-handwritten-text {
  font-family: var(--font-clean-hand);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.bio-location-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-muted);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--ink-border);
}

.bio-location-tag .material-symbols-rounded {
  font-size: 15px;
  color: var(--tape-terracotta);
}

/* Washi Tape Badges (Links) */
.washi-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 460px;
}

.washi-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-clean-hand);
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid var(--ink-border);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s var(--ease-elastic);
  transform: rotate(-1deg);
}

.washi-badge:nth-child(2) { transform: rotate(1.5deg); }
.washi-badge:nth-child(3) { transform: rotate(-1.5deg); }
.washi-badge:nth-child(4) { transform: rotate(1deg); }

.washi-badge .material-symbols-rounded {
  font-size: 18px;
}

.washi-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.washi-blue {
  background: var(--tape-blue);
  color: #ffffff;
  border-color: var(--tape-blue);
}

.washi-blue:hover {
  background: #0369a1;
  color: #ffffff;
}

.washi-stone {
  background: var(--tape-stone);
  color: #ffffff;
  border-color: var(--tape-stone);
}

.washi-stone:hover {
  background: #1c1917;
  color: #ffffff;
}

.washi-terracotta {
  background: var(--tape-terracotta);
  color: #ffffff;
  border-color: var(--tape-terracotta);
}

.washi-terracotta:hover {
  background: #9a3412;
  color: #ffffff;
}

.washi-sage {
  background: #ffffff;
  color: var(--ink-primary);
  border-color: var(--ink-primary);
}

.washi-sage:hover {
  background: #f5f5f4;
}

/* Saturn Planet Doodle (Left) */
.doodle-saturn-wrap {
  width: 95px;
  color: var(--ink-primary);
  cursor: pointer;
  position: relative;
  margin-top: 10px;
  animation: saturn-wobble 6s ease-in-out infinite alternate;
  transition: transform 0.3s var(--ease-elastic);
}

.doodle-saturn-wrap:hover {
  transform: scale(1.15) rotate(12deg);
}

.saturn-sparkle {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 14px;
  color: var(--tape-terracotta);
  animation: sparkle-pulse 2s infinite;
}


/* ==========================================================================
   4.2 CENTER COLUMN: TAPED PRINTED PHOTOGRAPH ON SKETCHBOOK PAPER
   ========================================================================== */
.spread-col-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 15;
}

.character-portrait-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ink Crown Doodle 👑 above head, overlapping photo frame */
.ink-crown-wrap {
  position: absolute;
  top: -46px;
  left: 49%;
  transform: translateX(-50%);
  width: 92px;
  height: 60px;
  color: var(--ink-primary);
  z-index: 25;
  cursor: pointer;
  animation: crown-float 3s ease-in-out infinite alternate;
}

.ink-crown-wrap:hover {
  animation: crown-spin 0.6s var(--ease-elastic);
}

.crown-sparkles {
  position: absolute;
  top: -10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.sparkle {
  font-size: 15px;
  color: var(--tape-terracotta);
  animation: sparkle-pulse 1.8s ease-in-out infinite alternate;
}

.sp-2 { animation-delay: 0.9s; }

/* Taped Printed Photograph Frame (Mounted onto paper) */
.taped-photo-frame {
  position: relative;
  background: #ffffff;
  padding: 10px 10px 24px 10px;
  border-radius: 4px;
  box-shadow: 
    0 16px 36px rgba(44, 34, 20, 0.14),
    0 3px 8px rgba(44, 34, 20, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transform: rotate(-1.5deg);
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s ease;
  max-width: 380px;
  width: 100%;
  margin-top: 14px;
}

.taped-photo-frame:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 
    0 22px 48px rgba(44, 34, 20, 0.18),
    0 6px 14px rgba(44, 34, 20, 0.1);
}

/* Realistic Washi Tape Strips Pinning the Photo */
.photo-washi-tape {
  position: absolute;
  width: 85px;
  height: 24px;
  background: rgba(254, 240, 138, 0.88); /* Warm yellow washi tape */
  border: 1px dashed rgba(202, 138, 4, 0.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 10;
  pointer-events: none;
}

.tape-top-left {
  top: -12px;
  left: -20px;
  transform: rotate(-38deg);
}

.tape-top-right {
  top: -12px;
  right: -20px;
  transform: rotate(35deg);
  background: rgba(224, 242, 254, 0.88); /* Soft blue washi tape */
  border-color: rgba(2, 132, 199, 0.45);
}

.tape-bottom-left {
  bottom: -10px;
  left: -16px;
  transform: rotate(18deg);
  background: rgba(255, 237, 213, 0.88); /* Warm terracotta washi tape */
  border-color: rgba(194, 65, 12, 0.45);
}

.photo-print-inner {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1024 / 1300;
  background: #18181b;
}

.printed-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.98);
}

.photo-sheen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 50%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

.photo-caption-margin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 0 4px;
}

.caption-handwritten {
  font-family: var(--font-clean-hand);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.caption-stamp {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--tape-terracotta);
  border: 1px solid var(--tape-terracotta);
  padding: 1px 6px;
  border-radius: 3px;
  transform: rotate(-3deg);
}

/* Cute Floating Astronaut (Zero Gravity Float) */
.doodle-astronaut-wrap {
  position: absolute;
  left: -20px;
  bottom: 80px;
  width: 72px;
  color: var(--ink-primary);
  cursor: pointer;
  z-index: 20;
  animation: astronaut-drift 4.5s ease-in-out infinite alternate;
  transition: transform 0.3s var(--ease-elastic);
}

.doodle-astronaut-wrap:hover {
  transform: scale(1.2) rotate(-8deg);
}

.doodle-astronaut-wrap:hover .astronaut-waving-arm {
  animation: wave-arm 0.5s ease-in-out infinite alternate;
}

/* Twinkling Sketch Stars */
.twinkle-star {
  position: absolute;
  color: var(--ink-muted);
  font-size: 18px;
  pointer-events: none;
  animation: star-twinkle 3s ease-in-out infinite alternate;
}

.star-1 { top: 40px; right: 10px; font-size: 20px; color: var(--tape-terracotta); }
.star-2 { top: 180px; left: -15px; font-size: 16px; animation-delay: 0.7s; }
.star-3 { bottom: 180px; right: -10px; font-size: 18px; animation-delay: 1.4s; }
.star-4 { bottom: 50px; left: 60px; font-size: 14px; animation-delay: 2.1s; }


/* ==========================================================================
   4.3 RIGHT COLUMN: MANIFESTO POLAROID, ROCKET, STAMP GRID, BARCODE
   ========================================================================== */
.spread-col-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  z-index: 10;
}

/* Pinned Manifesto Polaroid Card */
.manifesto-polaroid-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 1.5px solid var(--ink-border);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transform: rotate(1.5deg);
  transition: transform 0.2s var(--ease-elastic);
}

.manifesto-polaroid-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.washi-tape-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  width: 80px;
  height: 20px;
  background: rgba(224, 242, 254, 0.85);
  border: 1px dashed rgba(2, 132, 199, 0.4);
}

.polaroid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.polaroid-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--tape-blue);
  background: var(--tape-blue-soft);
  padding: 3px 8px;
  border-radius: 4px;
}

.polaroid-date {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-muted);
}

.polaroid-quote {
  font-family: var(--font-clean-hand);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.polaroid-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--ink-border);
}

.polaroid-author {
  font-family: var(--font-hand);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
}

.polaroid-doodle-flower {
  color: var(--tape-terracotta);
}

/* Floating Rocket Doodle */
.doodle-rocket-wrap {
  width: 75px;
  color: var(--ink-primary);
  cursor: pointer;
  transform: rotate(25deg);
  animation: rocket-hover 3s ease-in-out infinite alternate;
  transition: transform 0.3s var(--ease-elastic);
  margin-right: 20px;
}

.doodle-rocket-wrap:hover {
  transform: rotate(15deg) scale(1.18);
}

.doodle-rocket-wrap.is-launching {
  animation: rocket-blast 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rocket-flame {
  color: var(--tape-terracotta);
  animation: flame-flicker 0.25s infinite alternate;
}




/* ==========================================================================
   5. CAREER & NOTEBOOK SECTION: OPEN SPIRAL SKETCHBOOK SPREAD (EMBEDDED)
   ========================================================================== */
.notebook-section {
  position: relative;
  width: 100%;
  padding: 60px 24px 80px;
  z-index: 10;
}

.notebook-spread-canvas {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  background: var(--bg-paper-sheet);
  border: 2px solid var(--ink-border);
  border-radius: 20px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.03);
  padding: 48px 48px 36px;
  overflow: hidden;
}

/* Spiral Wire Spine on Top */
.spiral-binding-spine {
  position: absolute;
  top: 10px;
  left: 30px;
  right: 30px;
  height: 18px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.spiral-binding-spine span {
  width: 16px;
  height: 10px;
  border: 2px solid #a8a29e;
  border-radius: 9999px;
  background: #e7e5e4;
}

/* Notebook Spread Header */
.notebook-spread-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 24px;
  border-bottom: 2px dashed var(--ink-border);
  margin-bottom: 36px;
  margin-top: 12px;
}

.notebook-page-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--tape-blue);
  margin-bottom: 6px;
}

.notebook-main-heading {
  font-family: var(--font-bubble);
  font-size: 44px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.1;
}

.notebook-sub-heading {
  font-family: var(--font-clean-hand);
  font-size: 17px;
  color: var(--ink-muted);
  margin-top: 4px;
}


/* Two-Page Grid Spread */
.notebook-pages-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
}

.notebook-page {
  position: relative;
}

.page-section-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink-border);
}

.title-sketch-bullet {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--tape-terracotta);
}

.page-section-title h3 {
  font-family: var(--font-bubble);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink-primary);
}

/* Timeline on Page 1 */
.notebook-timeline {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  padding-left: 18px;
  border-left: 2px dashed var(--ink-border);
}

.timeline-entry {
  position: relative;
}

.entry-bullet {
  position: absolute;
  left: -25px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--tape-blue);
}

.entry-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.entry-role {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-primary);
}

.entry-company {
  font-family: var(--font-hand);
  font-size: 19px;
  font-weight: 700;
  color: var(--tape-blue);
}

.entry-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  background: #f5f5f4;
  padding: 2px 8px;
  border-radius: 4px;
}

.entry-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.entry-tags .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f0f9ff;
  color: var(--tape-blue);
  border: 1px solid #bae6fd;
}

/* Projects Cards on Page 2 */
.projects-cards-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sketch-project-card {
  background: #ffffff;
  border: 1.5px solid var(--ink-border);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.sketch-project-card:hover {
  border-color: var(--tape-blue);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.08);
  transform: translateY(-2px);
}

.sketch-project-card.highlight-tengga {
  border-left: 4px solid var(--tape-blue);
}

.sketch-project-card.highlight-geotag {
  border-left: 4px solid #2563eb;
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.project-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f8fafc;
  border: 1.5px solid var(--ink-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sketch-project-card:hover .project-icon-box {
  transform: scale(1.08) rotate(-2deg);
}

.project-brand-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.project-icon-box.icon-box-tfd {
  background: #fdfaf6;
  border-color: #e7e0d8;
}

.project-header-text {
  display: flex;
  flex-direction: column;
}

.project-header-text .project-tag-pill {
  margin-bottom: 2px;
}

.project-header-text .project-title {
  margin-bottom: 0;
  line-height: 1.15;
}

.project-tag-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--tape-blue);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.project-tag-pill.pill-maintenance {
  color: #b45309;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pill-maintenance-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  display: inline-block;
}

.project-title {
  font-family: var(--font-bubble);
  font-size: 26px;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.project-summary {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--ink-border);
}

.project-stack-icons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-stack-icons span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: #f5f5f4;
  color: var(--ink-secondary);
  padding: 2px 7px;
  border-radius: 4px;
}

.project-links {
  display: flex;
  gap: 10px;
}

.link-btn {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tape-blue);
  text-decoration: none;
}

.link-btn:hover {
  text-decoration: underline;
}

.link-btn-disabled {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: #a8a29e;
  cursor: not-allowed;
  user-select: none;
  background: #f5f5f4;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px dashed #d6d3d1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Chalk Loading Project Card */
.chalk-loading-card {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  border: 2px dashed #b7b0a8;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.chalk-loading-card:hover {
  border-color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.chalk-loading-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chalk-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--tape-terracotta);
  background: rgba(194, 65, 12, 0.08);
  border: 1px solid rgba(194, 65, 12, 0.2);
  padding: 3px 9px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.chalk-spin-icon {
  display: inline-flex;
  animation: chalk-spin 2s linear infinite;
}

.chalk-loading-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.5px;
}

.chalk-message-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chalk-loading-title {
  font-family: var(--font-bubble);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.2;
}

.chalk-dots span {
  display: inline-block;
  animation: chalk-dot-bounce 1.4s infinite ease-in-out;
}
.chalk-dots span:nth-child(1) { animation-delay: 0s; }
.chalk-dots span:nth-child(2) { animation-delay: 0.2s; }
.chalk-dots span:nth-child(3) { animation-delay: 0.4s; }

.chalk-loading-sub {
  font-family: var(--font-clean-hand);
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.4;
}

/* Hand-Drawn Chalk Progress Bar */
.chalk-bar-outer {
  width: 100%;
  height: 16px;
  border: 2px solid var(--ink-primary);
  border-radius: 9999px;
  padding: 2px;
  background: #faf8f5;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
  box-sizing: border-box;
}

.chalk-bar-track {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(28, 25, 23, 0.05);
  position: relative;
}

.chalk-bar-fill {
  height: 100%;
  width: 76%;
  border-radius: 9999px;
  background: repeating-linear-gradient(
    -45deg,
    #1c1917 0,
    #1c1917 7px,
    #d6d3d1 7px,
    #d6d3d1 14px
  );
  background-size: 28px 100%;
  animation: chalk-stripes-move 1.1s linear infinite, chalk-bar-pulse 4s ease-in-out infinite alternate;
}


/* Notebook Footer Spread */
.notebook-spread-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1.5px dashed var(--ink-border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.foot-connect-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.foot-connect-links a {
  color: var(--tape-blue);
  text-decoration: none;
  font-weight: 700;
}

.foot-connect-links a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   6. KEYFRAME ANIMATIONS (MICRO-INTERACTIONS)
   ========================================================================== */
@keyframes burst-glow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1; }
}

@keyframes crown-float {
  0% { transform: translate(-50%, 0) rotate(0deg); }
  100% { transform: translate(-50%, -10px) rotate(3deg); }
}

@keyframes crown-spin {
  0% { transform: translate(-50%, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -15px) rotate(180deg) scale(1.2); }
  100% { transform: translate(-50%, 0) rotate(360deg) scale(1); }
}

@keyframes sparkle-pulse {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

@keyframes saturn-wobble {
  0% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-8px); }
  100% { transform: rotate(-4deg) translateY(6px); }
}

@keyframes rocket-hover {
  0% { transform: rotate(25deg) translateY(0); }
  100% { transform: rotate(28deg) translateY(-8px); }
}

@keyframes flame-flicker {
  0% { transform: scaleY(0.85); opacity: 0.8; }
  100% { transform: scaleY(1.25); opacity: 1; }
}

@keyframes rocket-blast {
  0% { transform: rotate(25deg) scale(1); }
  30% { transform: rotate(20deg) scale(0.9) translate(-10px, 10px); }
  100% { transform: rotate(35deg) scale(0.2) translate(800px, -900px); opacity: 0; }
}

@keyframes astronaut-drift {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
  100% { transform: translateY(4px) rotate(-4deg); }
}

@keyframes wave-arm {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-25deg); }
}

@keyframes star-twinkle {
  0% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.5; transform: scale(0.9); }
}

@keyframes chalk-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes chalk-stripes-move {
  0% { background-position: 0 0; }
  100% { background-position: 28px 0; }
}

@keyframes chalk-bar-pulse {
  0% { width: 68%; }
  50% { width: 88%; }
  100% { width: 75%; }
}

@keyframes chalk-dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40% { transform: translateY(-3px); opacity: 1; }
}



/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-spread-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .spread-col-left {
    align-items: center;
  }

  .hero-role-pill {
    align-self: center;
  }

  .ink-burst-rays {
    margin: 0 auto -16px;
  }

  .washi-links-grid {
    justify-content: center;
  }

  .spread-col-right {
    align-items: center;
  }

  .manifesto-polaroid-card {
    max-width: 440px;
  }

  .notebook-pages-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .hero-title-name {
    font-size: 58px;
  }

  .name-last {
    font-size: 52px;
  }

  .portrait-img-box {
    width: 320px;
  }

  .notebook-spread-canvas {
    padding: 32px 20px;
  }

  .notebook-main-heading {
    font-size: 32px;
  }

  .notebook-spread-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .notebook-spread-foot {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
