/* ==========================================================================
   Note from the maker — the light "paper" card that sits, tilted, on the dark
   page, with a cursive signature and a two-column spread that collapses to one.
   ========================================================================== */
/* overflow-x: clip stops the tilted/hover-scaled note from ever nudging a
   horizontal scrollbar; clips only faint side-shadow, never vertical growth. */
.founder {
  padding-block: 0;
  overflow-x: clip;
}

.paper {
  position: relative;
  background: #f6f3ea;
  color: #211d17;
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
  padding: clamp(30px, 5vw, 72px);
  max-width: 1000px;
  margin: 0 auto;
  transform: rotate(-1deg) scale(0.95);
  transition: transform 0.35s ease;
}

/* Lift the note on hover — straighten it and scale up slightly. */
.paper:hover {
  transform: rotate(0deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .paper {
    transition: none;
  }
}

/* Soft page-fold "shine" — a faint ink gradient peaking at the column gutter,
   sitting behind the text (negative z-index within .paper's transform stacking
   context). Only shown as a two-column spread; the media query below adds the
   gradient so it's absent once .paper__cols collapses to one column at 720px. */
.paper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 721px) {
  .paper::before {
    background: linear-gradient(to right, transparent, rgba(33, 29, 23, 0.0875) 98%, transparent);
  }
}

.paper__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}

.paper__col p {
  color: #3c362b;
  font-size: 1.06rem;
  line-height: 1.62;
  margin: 0 0 1.05em;
}

.paper__col p.lead {
  color: #211d17;
  font-weight: 700;
  font-size: 1.22rem;
}

/* Darker amber-brown so the link clears WCAG AA (4.5:1) on the light paper. */
.paper a {
  color: #8a5300;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.paper .paper__sign {
  font-family: "Snell Roundhand", "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  font-size: clamp(2rem, 4vw, 2.375rem);
  line-height: 1;
  color: #211d17;
  margin: 0;
  font-weight: 500;
}

.paper__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0;
}

.paper__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
}

.paper__name {
  font-weight: 700;
  color: #211d17;
}

.paper__role {
  font-style: italic;
  color: #6f6757;
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .paper__cols {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}