/* ============================================================
   PORTFOLIO — Sand & Hand-drawn Maximalist
   ============================================================ */

:root {
  --sand:       #f2e8d5;
  --sand-dark:  #e8d9be;
  --sand-deep:  #d4c5a5;
  --ink:        #1c1410;
  --ink-soft:   #3d2e20;
  --ink-faded:  #8a7060;
  --cream:      #faf5eb;

  /* Domain accent colors */
  --video:      #c0392b;
  --design:     #1a6b4a;
  --photo:      #1d4e89;
  --film:       #6c3483;

  --string:     #8a6a40;
  --string-opacity: 0.55;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'DM Serif Display', Georgia, serif;
  --font-body:    'Crimson Pro', Georgia, serif;
  --font-scrawl:  'Caveat', cursive;

  --radius-blob: 60% 40% 55% 45% / 45% 55% 45% 55%;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow-x: hidden; }

body {
  background-color: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  /* Hide default cursor on body and all interactables */
  cursor: none !important;
}

a, button, input, select, textarea, .orbit-media, .scatter-item, .node-inner {
  cursor: none !important;
}

/* ── Custom Cursor ── */
#customCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 10000;
  transform-origin: center;
  margin-left: -8px;
  margin-top: -8px;
  transition: width 0.2s, height 0.2s, background-color 0.2s, border-radius 0.2s, margin 0.2s;
  mix-blend-mode: multiply;
  
  /* Text styling for hover state */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--font-scrawl);
  font-size: 0px;
  font-weight: 800;
  letter-spacing: 1px;
}

#customCursor.hover {
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  background: var(--sand);
  border: 2px solid var(--ink);
  mix-blend-mode: normal;
  font-size: 14px; /* Reveal text */
}

#customCursor.active {
  transform: scale(0.8) !important; 
  width: 10px;
  height: 10px;
  margin-left: -5px;
  margin-top: -5px;
  font-size: 0px;
}

/* ── Canvas Background ── */
#artCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0; /* Behind everything */
  pointer-events: none;
}

/* ── Paper texture ── */
.paper-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: multiply;
}

/* ── SVG string lines ── */
.string-svg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}

/* ── Orbit stage ── */
.orbit-stage {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  /* No overflow:hidden — perspective needs to breathe */
  perspective: 900px;
  perspective-origin: 50% 50%;
}

.orbit-media {
  position: absolute;
  opacity: 0;
  transform-origin: center center;
  /* opacity is driven by JS for depth; only transition in on load */
  transition: opacity 0.8s ease;
  pointer-events: auto;
  will-change: transform, opacity;
  cursor: pointer;
}

.orbit-media.loaded { opacity: 1; }
/* hover handled by JS depth value — no flat override */

.media-frame {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--sand-dark);
  border: 2px solid var(--ink-faded);
  box-shadow: 3px 3px 0 rgba(28,20,16,0.2);
}

.video-frame {
  width: 220px;
  height: 138px;
}

.img-frame {
  width: 180px;
  height: 140px;
  display: flex;
  flex-direction: column;
}

/* YouTube placeholder shown until video loads */
.yt-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--sand-dark);
  z-index: 2;
}

.work-card-media .card-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px;
  background: transparent;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s;
  gap: 6px;
}

.yt-icon {
  font-size: 28px;
  color: var(--video);
  line-height: 1;
}

.yt-label {
  font-family: var(--font-scrawl);
  font-size: 12px;
  color: var(--ink-faded);
}

.yt-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.yt-embed.active {
  opacity: 1;
}

.orbit-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.orbit-img-placeholder {
  background: var(--sand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-label {
  font-family: var(--font-scrawl);
  font-size: 11px;
  color: var(--ink-faded);
  padding: 3px 6px;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero split layout ── */
/* Photo anchors the left side; nameplate floats in the orbit hollow */
.hero { display: none; } /* old wrapper removed */

/* Photo frame — fixed LEFT side */
.photo-frame {
  position: fixed;
  left: 22%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: var(--radius-blob);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow:
    5px 5px 0 var(--ink),
    0 0 0 6px var(--sand),
    0 0 0 8px var(--ink-faded);
  transition: transform 0.3s ease;
  animation: blobMorph 8s ease-in-out infinite;
  z-index: 50;   /* above back-orbit tiles (max z≈48) */
  pointer-events: auto;
  cursor: default;
}

@keyframes blobMorph {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
  33%      { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
  66%      { border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%; }
}

.photo-frame:hover { transform: translate(-50%, -50%) scale(1.04) rotate(-1deg); }

.photo-hint {
  position: fixed;
  left: calc(22% + 70px);
  top: calc(50% + 50px);
  width: 120px;
  z-index: 55;
  pointer-events: none;
  animation: floatHint 3.5s ease-in-out infinite;
}

@keyframes floatHint {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sand-dark), var(--sand-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-scrawl);
  font-size: 14px;
  color: var(--ink-faded);
  text-align: center;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nameplate — floats in the orbit's vertical hollow */
.hero-nameplate {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 38;   /* behind photo (50) but above string-svg (5) */
  pointer-events: none;
  width: 260px;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  position: relative;
}

/* Underline squiggle under name */
.hero-name::after {
  content: '';
  display: block;
  height: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8'%3E%3Cpath d='M0,4 Q25,1 50,4 Q75,7 100,4 Q125,1 150,4 Q175,7 200,4' stroke='%23b07a4a' stroke-width='2.5' fill='none'/%3E%3C/svg%3E") repeat-x center;
  background-size: 200px 8px;
  margin-top: 4px;
  opacity: 0.8;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 10px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}

.tagline-scribble {
  font-family: var(--font-scrawl);
  font-size: 1.15rem;
  font-style: normal;
  color: var(--ink-faded);
  font-weight: 600;
}

.nameplate-arrow {
  display: block;
  width: 120px;
  margin: 12px auto 0;
  opacity: 0.7;
}

/* ── Domain Nodes ── */
.domain-nodes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
}

.node {
  position: absolute;
  pointer-events: auto;
  text-decoration: none;
  color: var(--ink);
  width: 110px;
}

.node-inner {
  position: relative;
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
}

.node-inner::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--cream);
  border-radius: 15px;
  z-index: -1;
}

.node-inner:hover {
  transform: rotate(-2deg) scale(1.06);
}

.node-inner:active {
  transform: rotate(0deg) scale(0.97) translateY(2px);
}

.node-squiggle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
}

.node-icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 2px;
}

.node-text {
  font-family: var(--font-scrawl);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.node-sub {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--ink-faded);
  font-style: italic;
  text-align: center;
}

/* Node accent colors on border/icon */
.node-video  { --node-color: var(--video);  }
.node-design { --node-color: var(--design); }
.node-photo  { --node-color: var(--photo);  }
.node-film   { --node-color: var(--film);   }

.node-video  .node-squiggle rect,
.node-design .node-squiggle rect,
.node-photo  .node-squiggle rect,
.node-film   .node-squiggle rect { stroke: var(--node-color); }

.node-video  .node-icon { color: var(--video);  }
.node-design .node-icon { color: var(--design); }
.node-photo  .node-icon { color: var(--photo);  }
.node-film   .node-icon { color: var(--film);   }

/* ── Annotation ── */
.annotation {
  position: fixed;
  z-index: 25;
  pointer-events: none;
}

.annotation-top {
  top: 20px;
  right: 40px;
  width: 180px;
}

.site-contact-bar {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(250,245,235,0.96);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 4px 4px 0 rgba(28,20,16,0.18);
  backdrop-filter: blur(8px);
}

.contact-cta {
  animation: contactPulse 3.6s ease-in-out infinite;
}

@keyframes contactPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

.contact-email a {
  font-family: var(--font-scrawl);
  color: var(--ink-faded);
  text-decoration: none;
}

.contact-email a:hover {
  color: var(--ink);
}

/* ── Social icon links (Behance / Instagram) ── */
.social-divider {
  width: 1px;
  height: 20px;
  background: var(--ink-faded);
  opacity: 0.35;
  flex-shrink: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  color: var(--ink-faded);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.18s ease;
  flex-shrink: 0;
}

.social-link svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-link:hover {
  color: var(--ink);
  border-color: var(--ink-faded);
  background: rgba(28,20,16,0.06);
  transform: translateY(-1.5px);
}

.social-link.behance:hover {
  color: #1769ff;
  border-color: #1769ff;
  background: rgba(23,105,255,0.07);
}

.social-link.instagram:hover {
  color: #c1306e;
  border-color: #c1306e;
  background: rgba(193,48,110,0.07);
}

/* ── 2000s Press Button (used on domain pages) ── */
.btn-retro {
  display: inline-block;
  padding: 10px 22px;
  font-family: var(--font-scrawl);
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  background: var(--accent, var(--ink));
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow:
    3px 3px 0 var(--ink),
    6px 6px 0 rgba(28,20,16,0.15);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease;
  letter-spacing: 0.02em;
  position: relative;
  top: 0;
  left: 0;
}

.btn-retro:hover {
  transform: translate(-1px, -1px);
  box-shadow:
    4px 4px 0 var(--ink),
    7px 7px 0 rgba(28,20,16,0.15);
}

.btn-retro:active {
  transform: translate(3px, 3px);
  box-shadow: none;
  top: 3px;
  left: 3px;
}

/* ============================================================
   DOMAIN PAGE SHARED STYLES
   ============================================================ */

.domain-page {
  min-height: 100vh;
  background: var(--sand);
  padding: 0;
}

/* Top nav bar */
.domain-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sand);
  border-bottom: 2px solid var(--ink);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.domain-nav-back {
  font-family: var(--font-scrawl);
  font-size: 15px;
  color: var(--ink-faded);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.domain-nav-back:hover { color: var(--ink); }

.domain-nav-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  flex: 1;
  text-align: center;
}

.domain-nav-title span {
  color: var(--domain-accent);
}

/* Domain hero header */
.domain-header {
  padding: 60px 40px 40px;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px dashed var(--sand-deep);
}

.domain-header-eyebrow {
  font-family: var(--font-scrawl);
  font-size: 14px;
  color: var(--domain-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.domain-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 16px;
}

.domain-header h1 em {
  color: var(--domain-accent);
  font-style: italic;
}

.domain-header-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  font-style: italic;
  font-weight: 300;
}

/* Skills + tools preview below section intro */
.skill-tool-section {
  padding: 32px 40px 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-tool-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  align-items: start;
}

.skill-group-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--domain-accent);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ink-faded);
  padding-bottom: 8px;
}

.skill-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.skill-card {
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--cream);
  border: 2px solid var(--ink-faded);
  border-radius: 16px;
  overflow: hidden;
  min-height: 140px;
  box-shadow: 3px 3px 0 rgba(28,20,16,0.12);
}

.skill-visual {
  position: relative;
  min-height: 96px;
  background: var(--sand-dark);
  overflow: hidden;
}

.skill-card:not(.tool-card) .skill-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.13), transparent 55%);
  pointer-events: none;
}

.tool-card .skill-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 48%), #121212;
}

.tool-card .skill-visual::before,
.tool-card .skill-visual::after {
  content: none;
}

.skill-logo {
  display: block;
  width: 56px;
  height: auto;
  max-width: 70px;
}

.skill-name {
  padding: 12px 12px 14px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.01em;
  background: var(--cream);
}

.skill-card.skill-animation {
  background: #040404;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 2px 2px 0 rgba(255,255,255,0.06);
}

.skill-card.skill-animation .skill-visual {
  position: relative;
  background: radial-gradient(circle at 16% 16%, rgba(255,255,255,0.06), transparent 14%), #050505;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card.skill-animation .skill-name {
  background: var(--sand);
  color: var(--ink);
  border-top: 1px solid rgba(28,20,16,0.12);
}

.skill-card.skill-animation .skill-visual::before,
.skill-card.skill-animation .skill-visual::after {
  content: '';
  position: absolute;
}

.skill-screenwriting .skill-visual::before {
  left: 12px;
  top: 14px;
  width: calc(100% - 24px);
  height: 64px;
  background: #fff;
  border: 1px solid rgba(28,20,16,0.16);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(28,20,16,0.04);
  background-image: linear-gradient(transparent 0 10px, rgba(28,20,16,0.12) 10px 11px, transparent 11px 22px, rgba(28,20,16,0.12) 22px 23px, transparent 23px 34px, rgba(28,20,16,0.12) 34px 35px, transparent 35px 46px, rgba(28,20,16,0.12) 46px 47px, transparent 47px 58px, rgba(28,20,16,0.12) 58px 59px, transparent 59px 70px);
}

.skill-screenwriting .skill-visual::after {
  left: 24px;
  top: 38px;
  width: 2px;
  height: 14px;
  background: #050505;
  box-shadow: 0 0 0 2px #fff;
  animation: blinkCursor 1.2s steps(2,start) infinite;
}

.skill-structure .skill-visual {
  position: relative;
  overflow: hidden;
}

.skill-structure .skill-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.skill-card.visual-wave {
  background: #040404;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 2px 2px 0 rgba(255,255,255,0.06);
}

.skill-card.visual-wave .skill-visual {
  position: relative;
  background: radial-gradient(circle at 16% 16%, rgba(255,255,255,0.06), transparent 14%), #050505;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card.visual-wave .skill-name {
  background: var(--sand);
  color: var(--ink);
  border-top: 1px solid rgba(28,20,16,0.12);
}

.skill-card.visual-book {
  background: #040404;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 2px 2px 0 rgba(255,255,255,0.06);
}

.skill-card.visual-book .skill-visual {
  position: relative;
  background: radial-gradient(circle at 16% 16%, rgba(255,255,255,0.06), transparent 14%), #050505;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card.visual-book .skill-name {
  background: var(--sand);
  color: var(--ink);
  border-top: 1px solid rgba(28,20,16,0.12);
}

.skill-card.visual-stream {
  background: #040404;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 2px 2px 0 rgba(255,255,255,0.06);
}

.skill-card.visual-stream .skill-visual {
  position: relative;
  background: radial-gradient(circle at 16% 16%, rgba(255,255,255,0.06), transparent 14%), #050505;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card.visual-stream .skill-name {
  background: var(--sand);
  color: var(--ink);
  border-top: 1px solid rgba(28,20,16,0.12);
}

.skill-worldbuilding .skill-visual {
  position: relative;
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 36%), #050505;
  overflow: hidden;
}

.skill-worldbuilding .skill-visual::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,0.22);
  z-index: 2;
}

.skill-worldbuilding .world-block {
  position: absolute;
  bottom: 0;
  background: #fff;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  will-change: transform;
  z-index: 1;
}

.skill-worldbuilding .world-block::before {
  content: '';
  position: absolute;
  inset: 14% 8% 14% 8%;
  background-image:
    linear-gradient(rgba(0,0,0,0.18) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, rgba(0,0,0,0.18) 0 1px, transparent 1px 10px);
  background-size: 18px 20px, 18px 20px;
  opacity: 0.7;
}

.skill-worldbuilding .world-block::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: 100%;
  width: 2px;
  height: 8px;
  background: #fff;
  border-radius: 1px;
  opacity: 0.9;
}

.skill-worldbuilding .block-1 {
  left: 6%;
  width: 14%;
  height: 26px;
  animation: worldRise1 1.7s ease-in-out infinite alternate;
}

.skill-worldbuilding .block-2 {
  left: 22%;
  width: 11%;
  height: 34px;
  animation: worldRise2 2.0s ease-in-out infinite alternate;
}

.skill-worldbuilding .block-3 {
  left: 36%;
  width: 16%;
  height: 44px;
  animation: worldRise3 2.3s ease-in-out infinite alternate;
}

.skill-worldbuilding .block-4 {
  left: 56%;
  width: 10%;
  height: 30px;
  animation: worldRise4 2.1s ease-in-out infinite alternate;
}

.skill-worldbuilding .block-5 {
  left: 68%;
  width: 12%;
  height: 38px;
  animation: worldRise5 1.9s ease-in-out infinite alternate;
}

.skill-worldbuilding .block-6 {
  left: 82%;
  width: 9%;
  height: 24px;
  animation: worldRise6 1.8s ease-in-out infinite alternate;
}

.skill-worldbuilding .block-7 {
  left: 92%;
  width: 6%;
  height: 28px;
  animation: worldRise7 2.2s ease-in-out infinite alternate;
}

.skill-worldbuilding .street-light {
  position: absolute;
  bottom: 3px;
  width: 2px;
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 0 4px rgba(255,255,255,0.18);
  transform-origin: bottom center;
  animation: streetRise 2.1s ease-in-out infinite alternate;
}

.skill-worldbuilding .street-light::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 6px;
  background: rgba(255,255,255,0.95);
  border-radius: 50% 50% 30% 30%;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.skill-worldbuilding .light-1 {
  left: 26%;
  height: 20px;
}

.skill-worldbuilding .light-2 {
  left: 76%;
  height: 24px;
}

@keyframes worldRise1 {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes worldRise2 {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes worldRise3 {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes worldRise4 {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes worldRise5 {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes worldRise6 {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes worldRise7 {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

@keyframes streetRise {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}

.skill-cinematography .skill-visual {
  position: relative;
  background: transparent;
}

.skill-cinematography .skill-visual svg {
  display: block;
  width: auto;
  height: 76%;
  max-height: 76%;
  max-width: 76%;
}

.skill-cinematography .skill-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.skill-pacing .skill-visual {
  position: relative;
  overflow: hidden;
}

.skill-pacing .skill-visual::before,
.skill-pacing .skill-visual::after {
  content: none;
}

.skill-pacing .skill-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

.skill-composition .skill-visual::before {
  content: '';
  position: absolute;
  inset: 14px;
  background-image:
    linear-gradient(90deg, transparent 33.33%, rgba(255,255,255,0.8) 33.33%, rgba(255,255,255,0.8) 34%, transparent 34%),
    linear-gradient(90deg, transparent 66.66%, rgba(255,255,255,0.8) 66.66%, rgba(255,255,255,0.8) 67%, transparent 67%),
    linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 33.33%, 100% 33.33%;
  background-position: 0 0, 0 0, 0 33.33%, 0 66.66%;
  background-repeat: no-repeat;
  z-index: 2;
}

.skill-composition .skill-visual::after {
  content: none;
}

.skill-composition .skill-visual .comp-block {
  position: absolute;
  border-radius: 5px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
}

.skill-composition .skill-visual .comp-block-1 {
  left: 33.2%;
  top: 33.2%;
  width: 18px;
  height: 36px;
  animation: compLargePulse 1.6s ease-in-out infinite alternate;
}

.skill-composition .skill-visual .comp-block-2 {
  left: 66.8%;
  top: 66.8%;
  width: 14px;
  height: 30px;
  animation: compSmallPulse 1.6s ease-in-out infinite alternate;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes pacingPulse {
  0%, 100% { transform: translateX(0); }
  25% { transform: translate(18px, -10px); }
  50% { transform: translate(38px, 6px); }
  75% { transform: translate(62px, -10px); }
}

@keyframes worldBlocks {
  0% { transform: scaleY(0.14); opacity: 0.85; }
  100% { transform: scaleY(1); opacity: 1; }
}

@keyframes clapperTap {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes compLargePulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.18); }
}

@keyframes compSmallPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(0.78); }
}


.skill-card.visual-grid .skill-visual::after {
  content: '';
  position: absolute;
  top: 18%;
  left: -20%;
  width: 24%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.18) 0,
    rgba(255,255,255,0.18) 2px,
    transparent 2px,
    transparent 10px
  );
  opacity: 0.85;
  animation: gridShift 4s infinite linear;
}

.skill-card.visual-book .skill-visual {
  background: #050505;
  position: relative;
  overflow: hidden;
}

.skill-card.visual-book .skill-visual::before {
  content: '';
  position: absolute;
  inset: 14px 12px 14px 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px),
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.18) 0,
      rgba(255,255,255,0.18) 2px,
      transparent 2px,
      transparent 16px
    );
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat, repeat;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.skill-card.visual-book .skill-visual::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 10px;
  height: 26px;
  background: rgba(255,255,255,0.18);
  border-radius: 0 4px 4px 0;
}

.skill-card.visual-ripple {
  background: #040404;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 2px 2px 0 rgba(255,255,255,0.06);
}

.skill-card.visual-ripple .skill-visual {
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.08), transparent 20%), #020202;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card.visual-ripple .skill-name {
  background: var(--sand);
  color: var(--ink);
  border-top: 1px solid rgba(28,20,16,0.12);
}

.skill-card.visual-ripple .skill-visual::before,
.skill-card.visual-ripple .skill-visual::after {
  content: none;
}

@keyframes soundPulseA {
  0%, 100% { transform: translateY(0) scaleY(0.84); }
  20% { transform: translateY(-10px) scaleY(1.05); }
  40% { transform: translateY(6px) scaleY(0.7); }
  60% { transform: translateY(-4px) scaleY(0.92); }
  80% { transform: translateY(3px) scaleY(0.78); }
}

@keyframes soundPulseB {
  0%, 100% { transform: translateY(0) scaleY(0.72); }
  20% { transform: translateY(5px) scaleY(0.84); }
  40% { transform: translateY(-8px) scaleY(1.0); }
  60% { transform: translateY(4px) scaleY(0.65); }
  80% { transform: translateY(-3px) scaleY(0.9); }
}

@keyframes streamSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(220%); }
}

@keyframes waveMove {
  0% { transform: translateX(-50px); }
  100% { transform: translateX(120px); }
}

@keyframes soundWave {
  0% { background-position: 0 0; }
  100% { background-position: -120px 0; }
}

@keyframes gridShift {
  0% { transform: translateX(0); }
  100% { transform: translateX(120px); }
}

@keyframes ripplePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.85); box-shadow: 0 0 0 0 rgba(255,255,255,0.28); }
  50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 40px rgba(255,255,255,0); }
}

@media (max-width: 920px) {
  .skill-tool-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .skill-card {
    min-height: 120px;
  }
}

/* Curated section */
.curated-section {
  padding: 50px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-scrawl);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--domain-accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sand-deep);
}

/* Curated grid — 2-3 columns */
.curated-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* Work card */
.work-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.work-card:hover {
  transform: translate(-2px, -2px) rotate(0.5deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.work-card:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.work-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--sand-dark);
  overflow: hidden;
}

.work-card[data-vertical="true"] .work-card-media {
  aspect-ratio: 9/16;
}

.work-card-media img,
.work-card-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.work-card-media .yt-placeholder {
  font-size: 22px;
}

/* Tape strip decoration */
.work-card::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 30px;
  width: 50px;
  height: 18px;
  background: rgba(255,255,220,0.75);
  border: 1px solid rgba(180,160,100,0.4);
  transform: rotate(-1.5deg);
  z-index: 3;
  border-radius: 2px;
}

.work-card:nth-child(even)::before {
  left: auto;
  right: 30px;
  transform: rotate(1.5deg);
}

.work-card-info {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--sand-deep);
}

.work-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}

.work-card-meta {
  font-family: var(--font-scrawl);
  font-size: 13px;
  color: var(--ink-faded);
  font-weight: 400;
}

/* ── Graphic Design Page Specific Tweaks ── */
.design-page .yt-placeholder {
  background: transparent !important;
}
.design-page .yt-placeholder * {
  display: none !important;
}

/* See-everything divider */
.see-all-divider {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.see-all-divider::before {
  content: '';
  position: absolute;
  left: 40px;
  right: 40px;
  top: 50%;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--ink-faded) 0,
    var(--ink-faded) 6px,
    transparent 6px,
    transparent 14px
  );
}

.see-all-divider .btn-retro {
  position: relative;
  z-index: 1;
  --accent: var(--domain-accent);
}

/* Everything section — mood board scatter */
.everything-section {
  display: none;
  padding: 20px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.everything-section.visible { display: block; }

.moodboard {
  position: relative;
  min-height: 1400px;
}

/* Each scatter item is absolutely positioned by JS */
.scatter-item {
  position: absolute;
  background: var(--cream);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0s;
  cursor: pointer;
  z-index: 1;
}

.scatter-item:hover {
  transform: scale(1.05) rotate(var(--base-rot, 0deg));
  box-shadow: 5px 5px 0 var(--ink);
  z-index: 10;
}

.scatter-item img,
.scatter-item iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* Pin dot on each scatter item */
.scatter-item::after {
  content: '●';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--domain-accent);
  z-index: 5;
}

.contact-main {
  padding: 0 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-panel {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 6px 6px 0 rgba(28,20,16,0.1);
}

.contact-form .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field span {
  font-family: var(--font-scrawl);
  letter-spacing: 0.04em;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--sand);
  color: var(--ink);
  font: inherit;
  padding: 14px 16px;
  min-height: 48px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sand-dark);
  border: 1px solid var(--ink-faded);
  border-radius: 6px;
  padding: 12px 14px;
  cursor: pointer;
}

.radio-option input {
  accent-color: var(--domain-accent);
}

.business-row.hidden {
  display: none;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.form-message {
  margin-top: 16px;
  font-family: var(--font-scrawl);
  color: var(--ink);
}

.contact-fallback {
  font-size: 0.95rem;
  color: var(--ink-faded);
}

.contact-fallback a {
  color: var(--ink);
  text-decoration: underline;
}

.full-width {
  grid-column: 1 / -1;
}

/* ================================================================
   MOBILE RESPONSIVE — Complete Override
   ================================================================ */
@media (max-width: 768px) {

  /* ── GLOBAL: Kill desktop-only chrome ── */
  #customCursor,
  #artCanvas,            /* graph paper grid is distracting on mobile */
  .string-svg,           /* SVG connector lines go off-screen */
  .photo-hint,           /* "more about me" hint is redundant on mobile */
  .nameplate-arrow       /* "explore the nodes" label is redundant */
    { display: none !important; }

  * { cursor: auto !important; }

  /* ── GLOBAL: Contact bar ── */
  .site-contact-bar {
    position: static !important;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--sand-deep);
  }
  .contact-email { display: none; } /* Hide long email, keep button + socials */

  /* ── HOME PAGE ─────────────────────────────────────────────── */

  /* Turn body into a scrollable flex column */
  body.home-page {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 40px;
  }

  /* Orbit canvas: keep it but pin it, let content scroll over it */
  body.home-page #orbitStage {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  /* Photo: pull out of fixed positioning */
  body.home-page .photo-frame {
    position: relative !important;
    left: auto !important; top: auto !important;
    transform: none !important;
    width: 120px !important; height: 120px !important;
    margin-top: 30px;
    z-index: 10;
    animation: blobMorph 8s ease-in-out infinite; /* keep the cool morph */
  }
  body.home-page .photo-frame:hover {
    transform: scale(1.04) rotate(-1deg) !important;
  }

  /* Nameplate: pull out of fixed/absolute positioning */
  body.home-page .hero-nameplate {
    position: relative !important;
    left: auto !important; top: auto !important;
    transform: none !important;
    width: 90% !important;
    text-align: center;
    z-index: 10;
    margin-top: 16px;
    pointer-events: auto;
  }
  body.home-page .hero-nameplate h1,
  body.home-page .hero-name { font-size: 2.2rem; }

  /* Domain nav: pull out of fixed inset, become a 2×2 grid */
  body.home-page .domain-nodes {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: calc(100% - 40px);
    max-width: 360px;
    margin-top: 24px;
    z-index: 10;
    pointer-events: auto;
  }
  body.home-page .node {
    position: relative !important;
    left: auto !important; top: auto !important;
    width: 100% !important;
  }

  /* ── DOMAIN PAGES (shared) ───────────────────────────────── */
  .domain-nav {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .domain-header {
    padding: 30px 20px 20px;
  }
  .domain-header h1 { font-size: 2rem; }
  .domain-header .subtitle { font-size: 1rem; }

  .curated-section,
  .everything-section { padding: 20px 16px 40px; }

  .curated-grid { grid-template-columns: 1fr; }
  .skill-tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .skill-card, .tool-card { padding: 14px 12px; }

  /* ── ABOUT PAGE ──────────────────────────────────────────── */
  .about-hero {
    flex-direction: column;
    align-items: center;
    height: auto !important;
    min-height: auto;
    padding: 80px 20px 40px;
    gap: 0;
  }
  .about-photo { width: 140px; height: 140px; }
  .about-name { font-size: 2rem; margin-top: 16px; }
  
  .sticky-note {
    position: relative !important;
    top: auto !important; left: auto !important; right: auto !important;
    transform: rotate(-1deg) !important;
    width: calc(100% - 40px) !important;
    max-width: 340px;
    margin: 16px auto 0;
  }
  .sticky-note:nth-child(even) { transform: rotate(1deg) !important; }
  .sticky-note .note-desc { max-height: 200px; opacity: 1; }

  .scroll-prompt { display: none; } /* hidden because scroll is natural */

  .about-details { padding: 30px 20px; }
  .manifesto-block h2 { font-size: 1.6rem; }
  .timeline-container { padding-left: 20px; }
  .skills-education-block {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  /* ── CONTACT PAGE ────────────────────────────────────────── */
  .contact-main { padding: 0 16px 60px; }
  .contact-form .contact-grid { grid-template-columns: 1fr; }

  /* ── NODE size override ── */
  .node-text { font-size: 12px; }
  .node-sub  { font-size: 10px; }
}


/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */

.about-page {
  background: var(--cream);
}

.about-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 2px dashed var(--sand-deep);
}

.about-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.about-photo {
  width: 220px;
  height: 220px;
  border-radius: var(--radius-blob);
  overflow: hidden;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink), 0 0 0 8px var(--sand), 0 0 0 10px var(--ink-faded);
  margin-bottom: 20px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-name {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--ink);
  background: var(--sand);
  padding: 0 16px;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--ink);
  border: 2px solid var(--ink);
}

/* Sticky Notes */
.sticky-note {
  position: absolute;
  background: #fdfae6; /* Pale yellow paper */
  border: 1px solid var(--ink-faded);
  padding: 16px;
  box-shadow: 4px 4px 0 rgba(28,20,16,0.12);
  width: 240px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.sticky-note:hover {
  transform: scale(1.05) rotate(0deg) !important;
  box-shadow: 8px 8px 0 rgba(28,20,16,0.15);
  z-index: 20;
}

.note-title {
  font-family: var(--font-scrawl);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
}

.note-desc {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-top: 12px;
  border-top: 1px dashed var(--ink-faded);
  padding-top: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.sticky-note:hover .note-desc {
  max-height: 250px;
  opacity: 1;
}

/* Tape effect */
.sticky-note::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 16px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.note-1 { top: 15%; left: 10%; transform: rotate(-6deg); }
.note-2 { top: 60%; left: 12%; transform: rotate(4deg); }
.note-3 { top: 18%; right: 10%; transform: rotate(7deg); }
.note-4 { top: 58%; right: 12%; transform: rotate(-4deg); }

.scroll-prompt {
  position: absolute;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-scrawl);
  color: var(--ink-faded);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

.scroll-prompt svg { width: 24px; height: 24px; }

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

/* About Details */
.about-details {
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.manifesto-block {
  text-align: center;
  margin-bottom: 80px;
}

.manifesto-block h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 24px;
}

.manifesto-block p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

/* Timeline */
.timeline-container {
  border-left: 2px dashed var(--ink-faded);
  padding-left: 30px;
  margin-bottom: 80px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.timeline-item.primary::before {
  background: var(--ink);
  box-shadow: 0 0 0 4px var(--sand-dark);
}

.timeline-date {
  font-family: var(--font-scrawl);
  font-size: 1.2rem;
  color: var(--ink-faded);
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-item.primary .timeline-date {
  color: var(--video);
  font-size: 1.4rem;
}

.timeline-content {
  background: var(--sand);
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 4px 4px 0 rgba(28,20,16,0.1);
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 4px;
  line-height: 1.2;
}

.timeline-content h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 12px;
}

.timeline-content p {
  margin-bottom: 12px;
}

.timeline-content ul {
  list-style-type: none;
  padding-left: 0;
}

.timeline-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}

.timeline-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--ink-faded);
  font-family: var(--font-scrawl);
}

.skills-education-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--sand-dark);
  padding: 40px;
  border: 2px solid var(--ink);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.05);
}

.skills-education-block h3 {
  font-family: var(--font-scrawl);
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ink-faded);
}

.skills-education-block p {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    height: auto;
    padding: 60px 20px;
    gap: 40px;
  }
  .sticky-note {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 10px auto;
    transform: rotate(0) !important;
    width: 100%;
    max-width: 300px;
  }
  .sticky-note .note-desc {
    max-height: 250px;
    opacity: 1;
  }
  .about-details {
    padding: 40px 20px;
  }
  .manifesto-block h2 {
    font-size: 2rem;
  }
  .skills-education-block {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
