*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background-color: #1c0a06;
  background-image: url('images/bg.jpg');
  background-repeat: repeat;
  background-size: 600px 600px;
  padding: 64px 48px 80px;
  font-family: Helvetica, Arial, sans-serif;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.bio {
  position: relative;
  background-color: transparent;
  background-image: url('images/bio.webp');
  width: 530px;
  min-height: 765px;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 160px 40px 52px 100px;
  transform: rotate(-3deg);
  transform-origin: top center;
}

.bio h1 {
  font-family: 'rl-horizon', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.8vw, 1.8rem);
  color: #5E004C;
  line-height: 1.2;
  margin-bottom: 22px;
}

.bio h1 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bio h1 a:hover { opacity: 0.65; }

.bio p {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 400;
  color: #5E004C;
  line-height: 1.3;
  margin-bottom: 14px;
}
.bio p:last-child { margin-bottom: 0; }

.drop {
  font-family: 'rl-horizon', serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: #5E004C;
  line-height: 1;
}

.right {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 64px;
  min-width: 0;
}

.card {
  border-radius: 4px;
  position: relative;
  box-shadow: 3px 6px 20px rgba(0,0,0,0.5);
}

.card h2 {
  font-family: 'rl-horizon', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  color: #5E004C;
  margin-bottom: 18px;
  line-height: 1;
}

.writing {
  width: 100%;
  max-width: 560px;
  min-height: 380px;
  transform: rotate(2deg);
  margin-top: 60px;
  background: #ffa800;
  padding: 56px 32px 32px;
}
.writing ul { list-style: disc; display: flex; flex-direction: column; gap: 16px; padding-left: 16px; }
.writing li::marker { color: #5E004C; }
.writing a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 400;
  color: #5E004C;
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.4;
}
.writing a:hover { opacity: 0.65; }

.angel {
  position: absolute;
  pointer-events: none;
  top: -40%; left: 40%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: url('images/angel.png') center/cover;
}

a.contact-link { text-decoration: none; display: block; transform: rotate(-1.5deg); width: fit-content; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 36px;
}

.polaroid {
  width: 250px;
  display: block;
  transform: rotate(-2deg);
}

.contact {
  width: 190px;
  min-height: 136px;
  background: #ed5e73;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
a.contact-link:hover .contact {
  transform: rotate(-3deg);
  transition: transform 0.2s ease;
}

.contact h2 {
  font-family: 'rl-horizon', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  color: #5E004C;
  text-align: center;
  margin: 0;
}

.ladybug {
  position: absolute;
  pointer-events: none;
  top: -30%;
  width: 75px; height: 75px;
  background: url('images/bug.png') center/contain no-repeat;
}

.awards {
  width: 100%;
  max-width: 460px;
  min-height: 450px;
  transform: rotate(-2.5deg);
  background: #D1A3B5;
  padding: 28px 24px 28px;
  margin-left: 80px;
}
.awards ul { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.awards li {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: #5E004C;
  line-height: 1.45;
}
.awards li strong { font-weight: 700; }

.pan {
  position: absolute;
  right: -10%; top: -20%;
  width: 200px; height: 200px;
  background: url('images/pan.png') center/contain no-repeat;
}

.projects {
  margin-top: 60px;
  width: 100%;
  max-width: 400px;
  min-height: 275px;
  transform: rotate(1.5deg);
  background: #ff8b4c;
  padding: 56px 28px 32px;
}
.projects ul { list-style: disc; display: flex; flex-direction: column; gap: 16px; padding-left: 16px; }
.projects li::marker { color: #5E004C; }
.projects li {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 400;
  color: #5E004C;
  line-height: 1.45;
}
.projects li s { text-decoration: line-through; }
.projects a { color: #5E004C; text-decoration: underline; text-underline-offset: 2px; }

.muni {
  position: absolute;
  pointer-events: none;
  top: -48%; left: 30%;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  background: url('images/muni.png') center/cover;
}

/* ── STICKER SHEET ── */
.sticker-sheet {
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
  background: #2F0D14;
  border-radius: 6px;
  box-shadow: inset 0 2px 18px rgba(0,0,0,0.6);
}

.sticker-sheet-info {
  flex-shrink: 0;
  max-width: 220px;
}

.sticker-sheet-heading {
  font-family: 'rl-horizon', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1;
}

.sticker-sheet-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  margin-bottom: 10px;
}

.sticker-sheet-info p strong { color: #fff; }

.sticker-tray {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: space-around;
}

.tray-sticker {
  max-height: 120px;
  width: auto;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.tray-sticker:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.55));
}

/* Floating sticker that follows the cursor */
.cursor-sticker {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  max-height: 150px;
  width: auto;
  transform: translate(-50%, -50%) rotate(var(--rot, -6deg));
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.6));
  transition: none;
}

/* Placed stickers */
.placed-sticker {
  position: absolute;
  pointer-events: auto;
  z-index: 500;
  max-height: 150px;
  width: auto;
}

/* ── RESPONSIVE ── */

@media (max-width: 1300px) and (min-width: 1001px) {
  body { zoom: 0.85; }
}
@media (max-width: 1000px) {
  body { padding: 48px 24px 64px; }

  .grid {
  grid-template-columns: minmax(0, 460px) 190px;
  gap: 80px 24px;
  width: 100%;
  justify-content: center;
  justify-items: center;
  }

  .left, .right { display: contents; }

  .bio {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: 530px;
    margin: 0 auto;
    aspect-ratio: 530 / 765;
    min-height: unset;
    background-size: 100% 100%;
    padding: clamp(40px, 11vw, 60px) clamp(20px, 7.5vw, 40px) clamp(28px, 9vw, 52px) clamp(52px, 18.5vw, 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transform: rotate(-1deg);
  }

  .bio h1 { font-size: 1.8rem; margin-bottom: 4%; }
  .bio p  { font-size: 0.95rem; margin-bottom: 3%; }
  .drop   { font-size: 1.6rem; }

  .writing {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 560px;
    min-height: unset;
    margin: 0;
    padding-top: 48px;
    transform: rotate(1deg);
  }

  .angel {
    width: 220px;
    height: 220px;
    top: 0;
    left: 40%;
    transform: translate(-50%, -50%);
  }

  .awards {
    grid-column: 1 / -1;
    grid-row: 4;
    width: 100%;
    max-width: 400px;
    min-height: unset;
    margin-left: 0;
    padding-top: 48px;
    transform: rotate(-1deg);
  }

  .pan {
    width: 160px;
    height: 160px;
    top: 0;
    right: 16px;
    transform: translateY(-50%);
  }

  a.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transform: rotate(1.5deg);
  }

  .contact-row {
    grid-column: 1 / -1;
    grid-row: 3;
    width: fit-content;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .polaroid {
    width: 200px;
  }

  .contact {
    width: 100%;
    min-height: 136px;
    width: 260px;
    max-width: 200px;
  }

  .ladybug {
    width: 65px;
    height: 65px;
    top: 0;
    right: 0;
    transform: translate(-70%, -50%);
  }

  .projects {
    grid-column: 1 / -1;
    grid-row: 5;
    width: 100%;
    max-width: 400px;
    min-height: unset;
    margin-top: 0;
    margin-left: 0;
    padding-top: 48px;
    transform: rotate(0.8deg);
  }

  .muni {
    width: 225px;
    height: 225px;
    left: 30%;
    top: 0;
    transform: translate(-50%, -50%);
  }

  .sticker-sheet {
    gap: 32px;
    padding: 28px 32px;
  }

  .sticker-sheet-info {
    max-width: 200px;
  }

  .sticker-tray {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .tray-sticker {
    max-height: 100px;
  }
}

@media (max-width: 540px) {
  body { padding: 32px 16px 48px; }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px 0;
    justify-items: center;
  }

  /* Bio: tighter padding so text stays inside the PNG */
  .bio {
    max-width: 100%;
    padding: 18vw 8vw 7vw 15vw;
    transform: rotate(-1deg);
  }
  .bio h1 { font-size: clamp(1.2rem, 4vw, 1.2rem); }
  .bio p  { font-size: clamp(0.8rem, 2.9vw, 0.82rem); }
  .drop   { font-size: clamp(0.9rem, 3.5vw, 1.1rem); }

  .writing  { max-width: 100%; padding: 40px 20px 24px; }
  .writing a { font-size: clamp(0.82rem, 3.4vw, 0.95rem); }

  .angel { width: 150px; height: 150px; }

  /* Awards goes full-width, single column */
  .awards {
    grid-column: 1;
    grid-row: 4;
    max-width: 100%;
    padding: 32px 20px 24px;
  }
  .awards li { font-size: clamp(0.82rem, 3.4vw, 0.95rem); }

  .pan { width: 110px; height: 110px; }

  /* Contact drops below awards, centered */
  a.contact-link {
    width: 100%;
    justify-content: center;
    transform: rotate(-1.5deg);
  }

  .contact-row {
    grid-column: 1;
    grid-row: 3;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .polaroid {
    width: 85%;
    max-width: 320px;
    transform: rotate(1deg);
  }

  .ladybug { width: 65px; height: 65px; }

  .projects {
    grid-row: 5;
    max-width: 100%;
    padding: 48px 20px 24px;
  }
  .projects li { font-size: clamp(0.82rem, 3.4vw, 0.95rem); }

  .muni { width: 180px; height: 180px; }
  
  .sticker-sheet {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 16px;
    gap: 16px;
  }

  .sticker-sheet-info {
    max-width: 100%;
  }

  .sticker-tray {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 16px;
  }

  .tray-sticker {
    max-height: 80px;
  }
}

@media (max-width: 375px) {
  .bio {
    padding: 16vw 9vw 8vw 17vw;
  }
  .bio h1 { font-size: clamp(0.82rem, 3.4vw, 1rem); }
  .bio p  { font-size: clamp(0.62rem, 2.5vw, 0.72rem); }
  .drop   { font-size: clamp(0.78rem, 3vw, 0.95rem); }
}