/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  background: #ffffff;
  color: #ffffff;
  font-family: "JetBrains Mono", monospace;
}

/* ===================== */
/* HEADER */
/* ===================== */
.page-header {
  padding: 40px 60px 0;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #000000;
}

.subtitle {
  color: #3a3a3a;
  margin-top: 8px;
  font-size: 1rem;
}

/* ===================== */
/* BACK TO HOME – CARD STYLE */
/* ===================== */
.back-wrapper {
  padding: 0 60px 50px; /* more bottom space */
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;

  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
  color: #ffffff;
  text-decoration: none;

  background: #0d0d0d;
  border: 1px solid #1f1f1f;
  border-radius: 8px;

  /* bevel effect (same language as cards) */
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.12),
    inset -1px -1px 0 rgba(0, 0, 0, 0.7);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

/* Arrow */
.back-link .arrow {
  font-size: 1.2rem;
  color: #ffffff;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

/* Hover = SAME FEEL AS PROJECT CARDS */
.back-link:hover {
  background: #0f0f0f;
  transform: translateY(-1px);

  box-shadow:
    0 0 0 1px #00ff9c,
    inset 1px 1px 0 rgba(255, 255, 255, 0.12),
    inset -1px -1px 0 rgba(0, 0, 0, 0.7);
}

.back-link:hover .arrow {
  transform: translateX(-4px); /* move LEFT only */
}

/* Pressed state */
.back-link:active {
  transform: translateY(0);
  box-shadow:
    0 0 0 1px #00ff9c,
    inset -1px -1px 0 rgba(255, 255, 255, 0.12),
    inset 1px 1px 0 rgba(0, 0, 0, 0.7);
}

/* ===================== */
/* IMAGE CANVAS */
/* ===================== */
.sheet-canvas {
  width: 100%;
  padding: 40px 0 120px; /* 👈 MORE bottom gap */
  display: flex;
  justify-content: center;
  background: #000;
}

/* DRAWING SHEET */
.sheet-image {
  max-width: 92vw;
  height: auto;
  display: block;
}
@media (max-width: 768px) {

  .page-header h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .subtitle {
    font-size: 0.85rem;
    text-align: center;
  }

  .back-wrapper {
    margin: 24px 16px;
  }

  .back-link {
    font-size: 0.95rem;
  }

  .sheet-canvas {
    padding: 0 12px 40px;
  }

  .sheet-image {
    width: 100%;
    height: auto;
  }
}
.pdf-viewer {
  width: 100%;
  height: 90vh;
  border: none;
  border-radius: 12px;
  background: #111;
}
/* ===================== */
/* ARTBOARD-LIKE IMAGE GAP (DESKTOP) */
/* ===================== */

.sheet-canvas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;              /* space between multiple sheets if needed */
  padding: 60px 0;          /* 👈 BIG GAP around JPEG */
  background: #ffffff;
}

.sheet-image {
  max-width: 1200px;       /* keeps it artboard-sized */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;     /* optional, looks clean */
  box-shadow: 0 10px 40px rgba(0,0,0,0.12); /* floating feel */
}
/* ===================== */
/* MOBILE: NO GAP */
/* ===================== */

@media (max-width: 768px) {
  .sheet-canvas {
    padding: 16px;        /* minimal padding */
  }

  .sheet-image {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}
