#vsl.vsl-section {
  padding-bottom: clamp(24px, 2.5vw, 38px);
}

.founder-note {
  padding: clamp(24px, 4.5vw, 64px) clamp(12px, 3vw, 40px);
  background:
    radial-gradient(ellipse at 50% 100%, rgb(153 100 74 / 9%), transparent 64%),
    radial-gradient(ellipse at 46% 0, #f2dfd4, #f2ece8 76%);
  color: var(--ink-2);
  text-align: left;
}

.founder-note-inner {
  --letter-inset: clamp(20px, 5vw, 60px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  max-width: calc(50ch + 2 * var(--letter-inset));
  margin-inline: auto;
  padding: clamp(52px, 6vw, 76px) var(--letter-inset) clamp(25px, 4vw, 48px);
  border: 1px solid #dfcdc2;
  border-radius: clamp(12px, 1.5vw, 20px);
  background: linear-gradient(150deg, #fffaf6, #fcf8f5 56%, #f8eee8);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 90%),
    0 4px 0 -2px #f5e9e1,
    0 5px 0 -2px #deccc0,
    0 9px 0 -4px #f0e1d8,
    0 10px 0 -4px #deccc0,
    0 22px 48px -12px rgb(77 45 31 / 22%);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

.founder-note-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12%;
  background:
    radial-gradient(ellipse 52% 30% at 18% 14%, rgb(244 186 147 / 42%), transparent 90%),
    radial-gradient(ellipse 58% 33% at 86% 84%, rgb(231 173 152 / 25%), transparent 92%);
  opacity: .62;
  pointer-events: none;
}

.founder-note-quote {
  position: absolute;
  z-index: -1;
  inset-block-start: 5px;
  inset-inline-start: calc(var(--letter-inset) - 12px);
  color: #edcdbb;
  font: 400 clamp(105px, 11vw, 152px) / 1 var(--number-font), Georgia, serif;
  pointer-events: none;
}

.founder-note h2 {
  margin: 0 0 20px;
  color: #30221d;
  font-family: var(--number-font), Georgia, serif !important;
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
}

.founder-note-copy p {
  margin: 0 0 1.05em;
  line-height: 1.64;
}

.founder-note-opening {
  font-weight: 500;
  color: var(--ink);
}

.founder-note-emphasis {
  padding-bottom: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background: linear-gradient(179.8deg, transparent 23%, #ca4c24 39%, var(--vx-orange) 70%, transparent 85%) left bottom / 100% 0.24em no-repeat;
}

.founder-note-signoff {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.founder-note-byline {
  min-width: 0;
}

.founder-note-signature {
  position: relative;
  width: clamp(96px, 8vw, 115px);
  max-width: 100%;
  margin-bottom: 5px;
  aspect-ratio: 1.44;
  overflow: hidden;
  opacity: .85;
}

.founder-note-signature img {
  position: absolute;
  top: 50%;
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.founder-note-portrait {
  flex: none;
  width: 64px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #d5b5a4;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fffaf7, 0 5px 15px rgb(75 40 23 / 16%);
}

.founder-note-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.35);
  transform-origin: 51% 15%;
}

.founder-note-signoff p,
.founder-note-tools p {
  margin: 0;
  color: #5c5552;
  font-size: 0.875rem;
  line-height: 1.55;
}

.founder-note-tools strong {
  color: var(--ink-2);
}

.founder-note-byline p {
  line-height: 1.38;
}

.founder-note-byline strong {
  color: #30221d;
  font-size: 1rem;
}

.founder-note-role {
  display: block;
  margin-top: 2px;
}

.founder-note-tools {
  margin-top: 22px;
  padding-top: 13px;
  border-top: 1px solid #77605830;
}

.founder-note-tools p + p {
  margin-top: 3px;
}

/* Leave space to read while retaining the mini player's return and close controls. */
#vsl-player-shell.is-floating.is-reading-note {
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
}

.vsl-player-shell.is-floating.is-reading-note :is(#virgox-vsl, .vsl-transport, .vsl-gesture-feedback) {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .founder-note-inner::before {
    animation: founder-note-light 18s ease-in-out infinite alternate paused;
  }

  .founder-note.is-note-visible .founder-note-inner::before {
    animation-play-state: running;
  }

  .founder-note-inner.is-entered {
    animation: founder-note-rise 400ms ease-out;
  }

  .founder-note-inner.is-entered .founder-note-quote {
    animation: founder-note-quote-settle 620ms 80ms ease-out backwards;
  }

  .founder-note.has-entry-motion .founder-note-emphasis {
    background-size: 0 0.24em;
  }

  .founder-note.has-entry-motion .founder-note-emphasis.is-entered {
    animation: founder-note-underline 550ms 400ms ease-out forwards;
  }

  .founder-note.has-entry-motion .founder-note-signature {
    clip-path: inset(0 100% 0 0);
  }

  .founder-note.has-entry-motion .founder-note-signature.is-entered {
    animation: founder-note-sign 1.05s 150ms cubic-bezier(.45, .12, .28, 1) forwards;
  }
}

@keyframes founder-note-rise {
  from { transform: translateY(6px); }
  to { transform: translateY(0); }
}

@keyframes founder-note-quote-settle {
  from { opacity: .55; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes founder-note-light {
  from { opacity: .55; transform: translate(-4%, -2%); }
  to { opacity: .95; transform: translate(6%, 3%); }
}

@keyframes founder-note-underline {
  to { background-size: 100% 0.24em; }
}

@keyframes founder-note-sign {
  to { clip-path: inset(0); }
}

@media (forced-colors: active) {
  .founder-note-emphasis {
    text-decoration: underline;
  }
}
