* { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    width: 100vw; height: 100vh;
    overflow: hidden;
    font-family: Georgia, serif;
    background-image: url('../img/home/desk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex; align-items: center; justify-content: center;
  }
  body::before {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none;
  }

  .back {
    position: fixed; top: 20px; left: 24px;
    font-size: 12px; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(60,40,20,0.65);
    text-decoration: none;
    transition: color 0.2s; z-index: 100;
  }
  .back:hover { color: rgba(60,40,20,1); }

  /* ── NOTE PAPER ── */
  .note {
    position: relative;
    width: min(420px, 88vw);
    background: linear-gradient(108deg, #f5f0e4, #ede8d8);
    padding: 52px 52px 60px;
    box-shadow:
      3px 6px 30px rgba(0,0,0,0.3),
      inset 0 1px 0 rgba(255,255,255,0.5);
    transform: rotate(-1.5deg);
  }

  /* ruled lines */
  .note::after {
    content: '';
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
      180deg, transparent, transparent 31px,
      rgba(170,158,136,0.4) 31px, rgba(170,158,136,0.4) 32px
    );
    pointer-events: none;
  }

  /* red margin line */
  .note::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 70px;
    width: 1px;
    background: rgba(210,90,80,0.35);
    pointer-events: none;
  }

  /* pin */
  .pin {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  .pin-head {
    width: 18px; height: 18px;
    background: radial-gradient(circle at 35% 35%, #ee4444, #aa1010);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    margin: 0 auto;
  }
  .pin-needle {
    width: 2px; height: 12px;
    background: linear-gradient(180deg, #999, #666);
    margin: 0 auto;
    border-radius: 0 0 1px 1px;
  }

  .note-content {
    position: relative; z-index: 1;
  }

  .note-label {
    font-size: 10px; letter-spacing: 0.25em;
    text-transform: uppercase; color: #a09070;
    margin-bottom: 20px;
    display: block;
  }

  .note-title {
    font-size: 32px; font-style: italic;
    color: #2a1e10; line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
  }

  .note-divider {
    height: 1px; margin-bottom: 24px;
    background: linear-gradient(90deg, transparent, rgba(140,120,80,0.35), transparent);
  }

  .note-text {
    font-size: 14px; color: #5a4a30;
    line-height: 2.22; /* matches ruled lines */
    font-style: italic;
  }

  .note-home {
    display: inline-block;
    margin-top: 32px;
    font-size: 10px; letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(90,74,48,0.6);
    text-decoration: none;
    border-bottom: 1px solid rgba(90,74,48,0.25);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
    position: relative; z-index: 1;
  }
  .note-home:hover {
    color: rgba(40,28,10,0.9);
    border-color: rgba(40,28,10,0.4);
  }
  .note-home::before { content: '← '; }

  /* tape piece at top */
  .tape {
    position: absolute;
    top: -8px; left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 60px; height: 22px;
    background: rgba(220,210,170,0.55);
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 3;
  }