:root{
  /* Minimal editorial palette */
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b76;
  --stroke: #e6e6eb;
  
  /* Accent colors */
  --magenta: #ff00ff;
  --lavender: #e6d5ff;
  --magenta-soft: rgba(255, 0, 255, 0.15);
  --lavender-soft: rgba(230, 213, 255, 0.3);
  
  --radius: 0px; /* Sharp edges for editorial */
}

/* Dark mode */
[data-theme="dark"]{
  --bg: #0a0a0a;
  --card: #1a1a1a;
  --text: #e6e6eb;
  --muted: #9a9aa5;
  --stroke: #2a2a2e;
  
  /* Accent colors - slightly adjusted for dark mode */
  --magenta: #ff66ff;
  --lavender: #c4a5ff;
  --magenta-soft: rgba(255, 102, 255, 0.2);
  --lavender-soft: rgba(196, 165, 255, 0.15);
  }
  
  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x:hidden;
  line-height: 1.6;
  font-size: 14px; /* Compact body */
}

h1,h2,h3,h4{ 
  font-family: "Space Grotesk", sans-serif; 
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1.1;
  }
  
  a{ color: inherit; text-decoration: none; }
a.link{ 
  text-decoration: underline; 
  text-underline-offset: 3px;
  text-decoration-color: var(--magenta-soft);
}
a.link:hover{ text-decoration-color: var(--magenta); }

.mono{ 
  font-family: "JetBrains Mono", ui-monospace, monospace; 
  font-size: 0.85em;
  letter-spacing: 0.02em;
}
  .muted{ color: var(--muted); }
.small{ font-size: 0.85rem; }
.tiny{ font-size: 0.75rem; }

/* Oversized background typography */
.section{
  position: relative;
  padding: 80px 0;
  overflow: visible;
}

.section::before{
  content: attr(data-bg-text);
  position: absolute;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(180px, 25vw, 320px);
  font-weight: 700;
  color: var(--text);
  opacity: 0.03;
  line-height: 1;
  letter-spacing: -0.02em;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}

#about::before{ 
  content: "ABOUT"; 
  top: 60px;
  left: -8%;
  transform: rotate(-2deg);
}
#work::before{ 
  content: "WORK"; 
  top: 40px;
  right: -8%;
  transform: rotate(1.5deg);
}
#references::before{ 
  content: "PEOPLE"; 
  top: 80px;
  left: -3%;
  transform: rotate(-1deg);
}
#skills::before{ 
  content: "SKILLS"; 
  top: 50px;
  right: -6%;
  transform: rotate(2deg);
}
#contact::before{ 
  content: "TALK"; 
  top: 70px;
  left: -4%;
  transform: rotate(-1.5deg);
}

/* Hand-drawn sketch elements */
.sketch-arrow{
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}
.sketch-arrow svg{
  width: 100%;
  height: 100%;
  stroke: var(--magenta);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sketch-circle{
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
  border: 3px solid var(--magenta);
    border-radius: 50%;
  transform: rotate(-5deg);
}

.sketch-underline{
  position: relative;
  display: inline-block;
}
.sketch-underline::after{
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--magenta);
  opacity: 0.6;
  transform: skewX(-2deg) scaleX(1.05);
  border-radius: 2px;
}

.sketch-star{
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}
.sketch-star svg{
  width: 100%;
  height: 100%;
  fill: var(--magenta);
}

/* More sketch annotations throughout */
.heroCopy::after{
  content: "";
  position: absolute;
  bottom: -30px;
  right: 20%;
  width: 100px;
  height: 4px;
  background: var(--magenta);
  opacity: 0.3;
  transform: rotate(8deg) skewX(-5deg);
  z-index: 1;
}

.heroPanel::before{
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 50px;
  height: 50px;
  border: 3px solid var(--lavender);
  border-radius: 50%;
  opacity: 0.3;
  transform: rotate(-12deg);
  z-index: 1;
}

.card::before{
  content: "";
  position: absolute;
  top: 16px;
  left: -8px;
  width: 20px;
  height: 20px;
  border-left: 3px solid var(--magenta);
  border-top: 3px solid var(--magenta);
  opacity: 0.25;
  transform: rotate(-5deg);
  z-index: 1;
}

.sectionHead h2::after{
  content: "→";
  position: absolute;
  right: -50px;
  top: 0.2em;
  font-size: 0.4em;
  color: var(--magenta);
  opacity: 0.4;
  transform: rotate(15deg);
  font-family: "Space Grotesk", sans-serif;
}

.quoteCard::after{
  content: "★";
  position: absolute;
  bottom: -15px;
  right: 30px;
  font-size: 1.5rem;
  color: var(--magenta);
  opacity: 0.25;
  transform: rotate(-10deg);
  z-index: 1;
}

.tile::before{
  content: "";
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 30px;
  height: 2px;
  background: var(--lavender);
  opacity: 0.4;
  transform: rotate(5deg);
  z-index: 1;
}

.projTitle::after{
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--magenta);
  opacity: 0.4;
  transform: skewX(-8deg);
}

.btn::after{
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after{
  opacity: 0.4;
}

/* Rough stroke annotations */
.stat::before{
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 40px;
  height: 2px;
  background: var(--magenta);
  opacity: 0.3;
  transform: translateX(-50%) rotate(-3deg);
}

.aboutPortrait::after{
  content: "";
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  border: 3px solid var(--lavender);
  border-radius: 50%;
  opacity: 0.25;
  transform: rotate(12deg);
  z-index: -1;
}

.iconTip::before{
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
  opacity: 0.4;
  transform: rotate(-8deg);
}

.credLink::before{
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--magenta);
  opacity: 0.5;
  transition: width 0.3s;
}
.credLink:hover::before{
  width: 100%;
}

/* Topbar - minimal */
  .topbar{
    position: sticky;
    top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stroke);
    display:flex;
    align-items:center;
    justify-content: space-between;
  padding: 20px 24px;
  gap: 20px;
  }

[data-theme="dark"] .topbar{
  background: rgba(10,10,10,0.95);
  }
  .logo{
  display:flex; 
  align-items:center; 
  gap:12px;
    font-weight: 700;
  font-size: 1.1rem;
  font-family: "Space Grotesk", sans-serif;
  }
  .logoDot{
  width: 8px; 
  height: 8px; 
  border-radius: 50%;
  background: var(--magenta);
  }
  .nav{
    display:flex;
  gap: 24px;
    flex-wrap: wrap;
  }
  .nav a{
  padding: 6px 0;
    color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  transition: color 0.2s;
  }
  .nav a:hover{
    color: var(--text);
}
.nav a::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--magenta);
  transition: width 0.3s;
}
.nav a:hover::after{ width: 100%; }

.actions{ display:flex; gap:12px; }
  .chipBtn{
    border: 1px solid var(--stroke);
  background: transparent;
    color: var(--text);
  padding: 8px 14px;
    cursor:pointer;
  transition: all 0.2s;
  display:flex; 
  align-items:center; 
  gap:6px;
  font-size: 0.85rem;
}
.chipBtn:hover{ 
  background: var(--lavender-soft);
  border-color: var(--magenta-soft);
}
  
  /* Layout */
  .wrap{
  width:min(1200px, calc(100% - 48px));
    margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

/* Hero - oversized typography */
.hero{
  position:relative;
  padding: 80px 0 120px;
  margin-bottom: 40px;
}
.hero::before{
  content: "PRODUCT";
  position: absolute;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(200px, 30vw, 400px);
  font-weight: 700;
  color: var(--text);
  opacity: 0.025;
  line-height: 1;
    letter-spacing: -0.02em;
  top: 20px;
  left: -10%;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-3deg);
}
.heroInner{
  position:relative;
  z-index: 2;
    display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: start;
}
.heroCopy{
  padding: 0;
  }
  .kicker{
    color: var(--muted);
  letter-spacing: 0.15em;
  font-size: 0.7rem;
    text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.heroCopy h1{
  margin: 0 0 32px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  position: relative;
}
.script{
  display:block;
  font-family: "Space Grotesk", sans-serif;
  color: var(--magenta);
  margin-top: 8px;
  font-size: 0.6em;
}
.lead{
  margin: 0 0 32px;
    color: var(--muted);
  font-size: 1rem;
  max-width: 65ch;
  line-height: 1.7;
}
.heroMeta{
  display:flex;
  flex-wrap: wrap;
    gap: 12px;
  margin: 32px 0;
  }
.badge{
  padding: 6px 14px;
    border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
}
  .ctaRow{
    display:flex;
  gap: 16px;
  margin-top: 40px;
    flex-wrap: wrap;
  }
  .btn{
  padding: 12px 24px;
  border: 2px solid var(--text);
  background: transparent;
    color: var(--text);
  transition: all 0.2s;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: -1;
}
.btn:hover{
  color: var(--bg);
}
.btn:hover::before{
  transform: scaleX(1);
}
  .btn.primary{
  background: var(--text);
  color: var(--bg);
}
.btn.primary::before{
  background: var(--magenta);
}
.btn.primary:hover{
  background: var(--magenta);
  border-color: var(--magenta);
}
.btn.ghost{ 
  border-color: var(--stroke);
}
.btn.ghost:hover{
  border-color: var(--magenta);
  color: var(--magenta);
}

.heroPanel{
  padding: 32px;
  border: 1px solid var(--stroke);
  background: var(--card);
  position: relative;
}
.heroPanel::after{
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  border: 3px solid var(--magenta);
  border-radius: 50%;
  opacity: 0.4;
  transform: rotate(-10deg);
}
.panelTop{
  display:flex;
  gap: 16px;
  align-items:center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--stroke);
  }
  .avatar{
  width: 56px; 
  height: 56px;
  display:grid; 
  place-items:center;
  background: var(--lavender-soft);
  border: 2px solid var(--magenta-soft);
    font-weight: 800;
  font-size: 1.2rem;
}
.panelTitle{ 
  margin:0; 
  font-weight: 700;
  font-size: 1rem;
}
.tiny{ font-size: 0.75rem; }
.statGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat{
  padding: 0;
  border: none;
  background: transparent;
}
.statNum{
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.statLbl{
    color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
  }
.pillRow{
    display:flex;
    flex-wrap: wrap;
    gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
  }
.pill{
  padding: 6px 12px;
    border: 1px solid var(--stroke);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Section heads - very large */
.sectionHead{
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
.sectionHead h2{
  margin:0 0 16px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.sectionHead p{ 
  margin: 0;
  font-size: 0.95rem;
}
.handwritten{
  font-family: "Caveat", cursive;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin: 50px auto 0;
  max-width: 1000px;
  line-height: 1.4;
  transform: rotate(-0.5deg);
}

.section.soft{
  background: var(--lavender-soft);
  padding: 100px 0;
  margin: 60px -60px;
  position: relative;
}

/* About layout */
.aboutLayout{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2px;
  align-items:start;
  position: relative;
  z-index: 2;
}
.aboutPortrait{
  margin:0;
  position: relative;
}
.aboutPortrait::before{
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--magenta);
  border-radius: 50%;
  opacity: 0.3;
  transform: rotate(-15deg);
  z-index: -1;
}
.aboutPortrait img{
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  border: 4px solid var(--text);
  display: block;
}

/* Cards - minimal borders */
.card{
  padding: 32px;
  border: 1px solid var(--stroke);
  background: var(--card);
  position: relative;
  z-index: 2;
  overflow: visible;
}
.card::after{
  content: "";
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--magenta);
  border-bottom: 2px solid var(--magenta);
  opacity: 0.4;
}

  .grid2{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: stretch;
  }
  .grid3{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

  .tag{
  display:inline-block;
  padding: 4px 10px;
    border: 1px solid var(--stroke);
    color: var(--muted);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.softTag{ 
  border-color: var(--magenta-soft);
  color: var(--magenta);
}

  .bullets{
  margin: 20px 0 0;
  padding-left: 20px;
    color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.bullets li{ 
  margin: 12px 0;
  position: relative;
}
.bullets li::marker{
  color: var(--magenta);
  opacity: 0.6;
}

.chipRow, .chips{
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
  margin-top: 20px;
  }
.chip{
  padding: 6px 12px;
    border: 1px solid var(--stroke);
  background: transparent;
  font-size: 0.8rem;
  color: var(--muted);
}
.cardActions{ 
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
}
.workMore{ 
  margin-top: 40px;
  text-align: center;
}

/* Credentials */
.credList{ 
  list-style: none; 
  padding:0; 
  margin:12px 0 0; 
    display:grid;
  gap:10px; 
}
.credItem{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 6px 0;
  position: relative;
}
.credItem::before{
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 0;
  background: var(--magenta);
  opacity: 0.4;
  transition: height 0.3s;
  transform: translateY(-50%);
}
.credItem:hover::before{
  height: 60%;
}
.credInline{
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.iconTip{
  width: 44px; 
  height: 44px;
  display:grid; 
  place-items:center;
  background: var(--lavender-soft);
  border: 2px solid var(--magenta-soft);
  position:relative;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.iconTip::after{
  content: attr(data-tip);
  position:absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  border: 1px solid var(--text);
  width: 280px;
  max-width: calc(100vw - 80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 400;
  white-space: normal;
  word-wrap: break-word;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.iconTip:hover::after{
  opacity: 1;
}
.logoText{
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.logoText img{
  height: 18px;
  width: auto;
  display:block;
  margin-left: 4px;
}
.panelTitle .logoText img{
  height: 16px;
}
.credLink{
  position: relative;
  text-decoration: underline;
  text-decoration-color: var(--lavender);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  cursor: help;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  line-height: 1.4;
}
.credLink::after{
  content: attr(data-tip);
  position:absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 12px 16px;
  border: 1px solid var(--text);
  min-width: 260px;
  max-width: 320px;
  width: max-content;
  max-width: calc(100vw - 80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 400;
  white-space: normal;
  word-wrap: break-word;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.credLink:hover::after{
  opacity: 1;
}
.at{
  margin: 0 4px;
    color: var(--muted);
  }

/* Quotes */
.quoteCard{
  padding: 32px;
    border: 1px solid var(--stroke);
  background: var(--card);
  position: relative;
}
.quoteCard::before{
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  color: var(--magenta);
  opacity: 0.2;
  line-height: 1;
}
.quote{
  font-size: 1.1rem;
  line-height: 1.7;
  margin:0 0 16px;
  position: relative;
  z-index: 1;
}

/* Skills */
.skillTiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tile{
  padding: 24px;
    border: 1px solid var(--stroke);
  background: var(--card);
  transition: all 0.2s;
  position: relative;
}
.tile::after{
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
.tile:hover{ 
  border-color: var(--magenta-soft);
  transform: translateY(-2px);
}
.tile:hover::after{
  opacity: 0.4;
}
.tile h4{ 
  margin: 0 0 12px;
  font-size: 1.1rem;
}
  
  /* Contact highlights */
.contactRow{ 
  display:flex; 
  gap:12px; 
  flex-wrap: wrap; 
}
.highlights{ 
  display:grid; 
  gap: 16px; 
}
.hi{
  display:flex; 
  gap: 16px; 
  align-items:center;
  padding: 20px;
    border: 1px solid var(--stroke);
  background: transparent;
  }
  .hiNum{
  width: 56px; 
  height: 56px;
  display:grid; 
  place-items:center;
  border: 2px solid var(--text);
  background: transparent;
    font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  }
.hiTitle{ 
  font-weight: 700;
  margin-bottom: 4px;
}
  
  /* Footer */
  .footer{
    display:flex;
    justify-content: space-between;
  gap: 20px;
  padding-top: 40px;
    border-top: 1px solid var(--stroke);
  margin-top: 60px;
  font-size: 0.85rem;
  }
  
  /* Reveal animation */
  .reveal{
    opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.show{
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Toast */
  .toast{
    position: fixed;
    left: 50%;
  bottom: 32px;
    transform: translateX(-50%);
  padding: 12px 20px;
  border: 2px solid var(--text);
  background: var(--text);
  color: var(--bg);
    opacity: 0;
    pointer-events: none;
  transition: opacity 0.25s;
  z-index: 1000;
  font-size: 0.85rem;
  font-weight: 600;
}
  .toast.show{ opacity: 1; }

/* Work page specific */
.pageTitle{
  font-size: clamp(3.5rem, 7vw, 6rem);
  margin: 0 0 16px;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.workFilters{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--stroke);
}
.filter{
  padding: 8px 16px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  cursor:pointer;
  transition: all 0.2s;
  font-weight: 600;
  font-size: 0.85rem;
}
.filter:hover{
  border-color: var(--magenta);
  color: var(--magenta);
}
.filter.active{
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.workGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.projTop{
  display:flex;
  justify-content: space-between;
  gap: 16px;
  align-items:center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stroke);
}
.projMeta{ 
  color: var(--muted); 
  font-size: 0.8rem; 
}
.projTitle{ 
  margin: 16px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.projLinks{ 
  margin-top: 20px;
}
.projDetails{ 
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
}
.projSummary{
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--lavender);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  font-size: 0.9rem;
}
.projSummary:hover{
  text-decoration-color: var(--magenta);
}
details[open] .projSummary{ 
  text-decoration-color: var(--magenta);
}

/* Video styling */
.proj video{
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg);
}
.proj > div[style*="margin"]{
  margin: 24px 0 !important;
  border: 2px solid var(--stroke) !important;
  border-radius: 0 !important;
  overflow: hidden;
  position: relative;
}
.proj > div[style*="margin"]::after{
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-right: 2px solid var(--magenta);
  border-top: 2px solid var(--magenta);
  opacity: 0.4;
}

/* Add sketch elements to sections */
#about .sectionHead::after{
  content: "";
  position: absolute;
  top: 20px;
  right: -40px;
  width: 60px;
  height: 60px;
  border: 3px solid var(--magenta);
  border-radius: 50%;
  opacity: 0.25;
  transform: rotate(-10deg);
}
#work .sectionHead::before{
  content: "→";
  position: absolute;
  top: 10px;
  left: -60px;
  font-size: 3rem;
  color: var(--magenta);
  opacity: 0.3;
  transform: rotate(-15deg);
  font-family: "Space Grotesk", sans-serif;
}
  
  /* Responsive */
  @media (max-width: 980px){
  .heroInner{ 
    grid-template-columns: 1fr; 
    gap: 40px;
  }
  .hero::before{
    font-size: clamp(120px, 25vw, 200px);
    top: 40px;
  }
  .skillTiles{ 
    grid-template-columns: repeat(2, 1fr); 
  }
  .grid3{ 
    grid-template-columns: 1fr; 
  }
  .grid2{ 
    grid-template-columns: 1fr; 
  }
  .statGrid{ 
    grid-template-columns: repeat(2, 1fr); 
  }
  .aboutLayout{ 
    grid-template-columns: 1fr; 
    gap: 40px;
  }
  .workGrid{ 
    grid-template-columns: 1fr; 
  }
  .nav{ 
    display:none; 
  }
  .section{
    padding: 80px 0;
  }
  .section::before{
    font-size: clamp(100px, 20vw, 180px);
  }
}
@media (max-width: 640px){
  .skillTiles{ 
    grid-template-columns: 1fr; 
  }
  .statGrid{ 
    grid-template-columns: 1fr; 
  }
  .sectionHead h2{
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  .heroCopy h1{
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  }
  