body { overflow-x: hidden; }

.profile-header {
  padding: 26px 0;
}

.profile-header .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-header .brand {
  font-size: 1.15rem;
  gap: 8px;
}

.profile-header .brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }

/* letter hero */

.letter-hero {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 30px 0 20px;
}

.blob-frame {
  position: relative;
  justify-self: center;
  width: min(360px, 82vw);
}

.blob-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 62% 38% 55% 45% / 48% 45% 55% 52%;
  border: 5px solid var(--paper);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.blob-frame::before {
  content: "";
  position: absolute;
  inset: -16px;
  background: var(--sky);
  opacity: 0.5;
  border-radius: 45% 55% 48% 52% / 55% 45% 55% 45%;
  z-index: 1;
}

.tape {
  position: absolute;
  z-index: 3;
  background: var(--coral);
  opacity: 0.85;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tape.tape-1 {
  width: 90px;
  height: 32px;
  top: -14px;
  left: 18px;
  transform: rotate(-14deg);
}

.tape.tape-2 {
  width: 70px;
  height: 30px;
  bottom: 6px;
  right: -6px;
  background: var(--orange);
  transform: rotate(18deg);
}

.letter-copy .eyebrow { margin-bottom: 18px; }

.letter-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 18px;
}

.signoff {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--orange-dark);
}

.signoff span { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-top: 4px; }

/* pull quote */

.pull-quote {
  position: relative;
  max-width: 760px;
  margin: 10px auto 0;
  padding: 10px 10px 10px 34px;
  border-left: 4px solid var(--orange);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  margin: 0;
  color: var(--ink);
}

.pull-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* goal / narrative text */

.goal-wrap {
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
}

.goal-wrap p {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* reward cards, distinct from the app-card style elsewhere */

.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.reward-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  border-left: 6px solid var(--orange);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}

.reward-card:nth-child(2) { border-left-color: var(--sky-deep); }

.reward-card .reward-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.reward-card .reward-icon svg { width: 22px; height: 22px; color: var(--orange-dark); }

.reward-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.reward-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* why box */

.why-box {
  max-width: 760px;
  margin: 0 auto;
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  background: var(--cream-deep);
}

.why-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.why-box p { margin: 0; color: var(--ink-soft); }

/* postcard support panel */

.postcard {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border: 2px dashed var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  background: var(--paper);
}

.postcard .stamp {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 56px;
  border: 2px dashed var(--orange-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transform: rotate(6deg);
}

.postcard h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 0 0 12px;
}

.postcard p { color: var(--ink-soft); margin: 0 0 26px; }

.postcard-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* footer */

.profile-footer {
  text-align: center;
  padding: 40px 0 50px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.profile-footer .paw-row { font-size: 1.3rem; margin-bottom: 10px; letter-spacing: 6px; }

@media (max-width: 860px) {
  .letter-hero { grid-template-columns: 1fr; text-align: center; }
  .letter-copy .eyebrow { justify-content: center; }
  .reward-grid { grid-template-columns: 1fr; }
  .pull-quote { padding-left: 22px; }
}
