/* About page: personal, tappable keepsakes. Everything reads fine without JavaScript;
   motion is transform/opacity only and switches off for reduced motion. */

/* ---------- Hero hello stickers ---------- */
.about-hello { display: grid; gap: 22px; }
.hello-stickers { display: flex; flex-wrap: wrap; gap: 10px; }
.hello-sticker { min-height: 44px; padding: 0 18px; border: 1px solid #e3cbd6; border-radius: 999px; background: #fff; color: var(--burgundy); font: 600 .875rem/1 var(--font-body); cursor: pointer; box-shadow: 0 2px 0 #f0dfe7, 0 6px 14px #692a420d; transition: transform .35s var(--ease), background-color .3s, box-shadow .3s; }
.hello-stickers li:nth-child(odd) .hello-sticker { transform: rotate(-1.5deg); }
.hello-stickers li:nth-child(even) .hello-sticker { transform: rotate(1.5deg); }
.hello-sticker--wave { background: var(--blush); border-color: var(--rose); }
.hello-sticker__wave { display: inline-block; color: var(--orchid); margin-right: 4px; }
.hello-sticker:hover { background: var(--blush); }
.hello-stickers .hello-sticker:hover { transform: rotate(0) translateY(-3px); }
.hello-sticker.is-pop { animation: sticker-pop .5s var(--ease); }
.hello-sticker--wave.is-pop .hello-sticker__wave { animation: wave .7s var(--ease); }
@keyframes sticker-pop { 40% { transform: scale(1.12) rotate(-4deg); } 70% { transform: scale(.97) rotate(2deg); } }
@keyframes wave { 25% { transform: rotate(-30deg); } 50% { transform: rotate(25deg) scale(1.2); } 75% { transform: rotate(-12deg); } }

/* ---------- Scrapbook flip cards ---------- */
.scrapbook { border-top: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--blush) 140%); }
.scrapbook__head { margin-bottom: clamp(28px, 4vw, 52px); }
.scrapbook__hint { margin: 14px 0 0; }
.scrap-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.scrap { display: grid; width: 100%; min-height: 260px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; perspective: 1000px; transform: rotate(var(--tilt, 0deg)); transition: transform .4s var(--ease); }
.scrap:hover { transform: rotate(0) translateY(-4px); }
.scrap__face { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px 18px 24px; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s var(--ease); }
.scrap__front { position: relative; background: #fff; border: 1px solid #e8dbe1; box-shadow: 0 2px 0 #efe4e9, 0 14px 28px #692a4212; }
.scrap__front img { width: 72px; height: auto; margin-bottom: 6px; transition: transform .6s var(--ease); }
.scrap:hover .scrap__front img { transform: rotate(-8deg) scale(1.08); }
.scrap__tape { position: absolute; top: -10px; left: 50%; width: 70px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: #f4d5e2cc; border-left: 1px dashed #fff; border-right: 1px dashed #fff; }
.scrap__num { font: italic 400 .95rem/1 var(--font-display); color: var(--orchid); }
.scrap__title { font: 900 1.2rem/1.15 var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.scrap__back { background: var(--blush); border: 1px solid var(--rose); color: var(--ink); font: 400 .95rem/1.6 var(--font-body); transform: rotateY(180deg); }
.scrap[aria-pressed="true"] .scrap__front { transform: rotateY(-180deg); }
.scrap[aria-pressed="true"] .scrap__back { transform: rotateY(0); }
/* Without JavaScript nothing flips, so show each card's story below its front. */
html:not(.js) .scrap { min-height: 0; cursor: default; }
html:not(.js) .scrap__face { grid-area: auto; }
html:not(.js) .scrap__back { transform: none; margin-top: 10px; }
html:not(.js) .scrapbook__hint { display: none; }

/* ---------- Things I love + envelope note ---------- */
.about-extras { border-top: 1px solid var(--line); }
.about-extras__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.loves h2 { margin-bottom: 24px; }
.loves__list { display: flex; flex-wrap: wrap; gap: 10px; }
.love-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 .95rem/1 var(--font-body); cursor: pointer; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.love-chip:hover { border-color: var(--rose); transform: translateY(-2px); }
.love-chip__heart { width: 16px; height: 16px; flex: none; background: currentColor; color: #d9c6cf; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.2 0 3.6 1.2 5.3 3.2 1.7-2 3.1-3.2 5.3-3.2 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.2C.9 8.4 3 4.5 6.7 4.5c2.2 0 3.6 1.2 5.3 3.2 1.7-2 3.1-3.2 5.3-3.2 3.7 0 5.8 3.9 4.3 7.3C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat; transition: color .3s, transform .4s var(--ease); }
.love-chip[aria-pressed="true"] { background: var(--blush); border-color: var(--rose); color: var(--burgundy); font-weight: 600; }
.love-chip[aria-pressed="true"] .love-chip__heart { color: var(--orchid); animation: heart-beat .5s var(--ease); }
@keyframes heart-beat { 40% { transform: scale(1.45); } 70% { transform: scale(.9); } }
.loves__status { margin: 22px 0 0; min-height: 3.2em; color: var(--ink-soft); }
.loves__status a { color: var(--burgundy); font-weight: 600; }
html:not(.js) .loves__status { display: none; }

.envelope-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.envelope-wrap .eyebrow { align-self: stretch; justify-content: center; }
.envelope { position: relative; width: min(100%, 340px); aspect-ratio: 3 / 2; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .4s var(--ease), margin-top .6s var(--ease); }
.envelope[aria-expanded="true"] { margin-top: 72px; }
.envelope:hover { transform: translateY(-4px) rotate(-1deg); }
.envelope__back, .envelope__front, .envelope__flap { position: absolute; inset: 0; border-radius: 6px; }
.envelope__back { background: var(--powder); box-shadow: 0 16px 32px #692a421a; }
.envelope__front { background: linear-gradient(to top right, var(--blush) 50%, transparent 50.5%) left / 50.5% 100% no-repeat, linear-gradient(to top left, var(--blush) 50%, transparent 50.5%) right / 50.5% 100% no-repeat; z-index: 2; }
.envelope__flap { z-index: 3; background: linear-gradient(to bottom, #f1cadb, #eebed3); clip-path: polygon(0 0, 100% 0, 50% 58%); transform-origin: 50% 0; transition: transform .6s var(--ease); }
.envelope__seal { position: absolute; z-index: 4; left: 50%; top: 58%; width: 40px; height: 40px; transform: translate(-50%, -50%); filter: drop-shadow(0 3px 4px #692a4230); transition: transform .5s var(--ease); }
.envelope:hover .envelope__seal { transform: translate(-50%, -50%) rotate(45deg) scale(1.1); }
.envelope__label { position: absolute; z-index: 4; left: 0; right: 0; bottom: 14px; font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); }
.envelope[aria-expanded="true"] .envelope__flap { transform: scaleY(-.6); z-index: 1; }
.envelope[aria-expanded="true"] .envelope__seal { opacity: 0; }
.letter { width: min(100%, 380px); margin-top: -40px; position: relative; z-index: 5; padding: 28px 26px 24px; background: #fff; border: 1px solid #ecdfe5; border-radius: 4px; box-shadow: 0 18px 36px #692a4216; text-align: left; background-image: repeating-linear-gradient(transparent 0 31px, #f3e6ec 31px 32px); background-position: 0 14px; }
.letter p { line-height: 32px; margin: 0; color: var(--ink); }
.letter__hi { font: italic 400 1.35rem/32px var(--font-display); color: var(--orchid); }
.letter__sign { display: flex; flex-direction: column; align-items: flex-end; margin-top: 8px !important; }
.letter__sign .script { font-size: 2.4rem; line-height: 1.1; color: var(--burgundy); }
.letter__sign span:last-child { font-size: .8rem; line-height: 1.4; color: var(--ink-soft); }
.js .letter { display: none; }
.js .letter.is-open { display: block; animation: letter-up .6s var(--ease) both; }
@keyframes letter-up { from { opacity: 0; transform: translateY(26px) rotate(-1.5deg); } }

@media (max-width: 1100px) { .scrap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .about-extras__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .scrap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .scrap { min-height: 230px; }
  .scrap__face { padding: 26px 12px 18px; }
  .scrap__front img { width: 56px; }
  .scrap__title { font-size: 1.05rem; }
  .scrap__back { font-size: .875rem; line-height: 1.5; }
  .scrap-grid li:last-child { grid-column: 1 / -1; }
  .scrap-grid li:last-child .scrap { max-width: 260px; margin-inline: auto; min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .hello-sticker, .scrap, .scrap__face, .scrap__front img, .love-chip, .love-chip__heart, .envelope, .envelope__flap, .envelope__seal { transition: none !important; animation: none !important; }
  .js .letter.is-open { animation: none; }
}

/* Scrapbook, refined: real pressed-flower cutouts on warm, textured paper,
   polaroid-style framing and translucent washi tape. */
.scrap__front { justify-content: flex-start; gap: 6px; padding: 12px 12px 18px; border-radius: 2px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .34 0 0 0 0 .28 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), #fdfbf6; box-shadow: 0 1px 1px rgba(60, 40, 30, .12), 0 6px 10px rgba(60, 40, 30, .08), 0 18px 26px -8px rgba(60, 40, 30, .14); }
.scrap__front img { order: -1; width: 100%; height: 150px; margin: 0 0 8px; object-fit: contain; padding: 12px; background: linear-gradient(180deg, #f7f1e8, #f1e9dd); box-shadow: inset 0 0 0 1px rgba(60, 40, 30, .06), inset 0 2px 6px rgba(60, 40, 30, .06); filter: drop-shadow(0 6px 6px rgba(80, 40, 50, .18)); }
.scrap:hover .scrap__front img { transform: none; }
.scrap__tape { top: -9px; width: 78px; height: 24px; background: rgba(242, 214, 224, .62); border: 0; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px)), repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 4px); -webkit-mask-composite: source-over; mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px)), repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 4px); z-index: 2; }
.scrap-grid li:nth-child(even) .scrap__tape { transform: translateX(-50%) rotate(4deg); background: rgba(226, 216, 236, .65); }
.scrap__num { font: 400 1.25rem/1 var(--font-script); color: var(--orchid); }
.scrap__title { font: italic 400 1.15rem/1.2 "Bodoni Moda", Georgia, serif; color: var(--burgundy); }
.scrap__back { justify-content: center; border-radius: 2px; border: 0; background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(165, 67, 121, .14) 25px 26px) 0 14px, #fffdf8; color: #3d3236; font: italic 400 1rem/26px "Bodoni Moda", Georgia, serif; text-align: left; padding: 26px 20px; box-shadow: 0 1px 1px rgba(60, 40, 30, .12), 0 6px 10px rgba(60, 40, 30, .08); }
.scrap { min-height: 290px; }
@media (max-width: 640px) {
  .scrap { min-height: 250px; }
  .scrap__front img { height: 120px; width: 100%; padding: 8px; }
  .scrap__back { font-size: .9rem; line-height: 23px; padding: 20px 14px; background-size: auto; }
  .scrap-grid li:last-child .scrap { min-height: 250px; }
}
.scrap__back { justify-content: flex-start; background-position: 0 25px; }
@media (max-width: 640px) { .scrap__back { background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(165, 67, 121, .14) 22px 23px) 0 19px, #fffdf8; } }
/* Hello stickers: real vinyl stickers with a white die-cut edge and soft gloss. */
.hello-sticker { position: relative; border: 3px solid #fff; background: linear-gradient(180deg, #fff 0%, #fbf3f6 100%); box-shadow: 0 0 0 1px rgba(105, 42, 66, .1), 0 2px 3px rgba(60, 40, 30, .14), 0 8px 14px -6px rgba(60, 40, 30, .18); overflow: hidden; }
.hello-sticker::after { content: ""; position: absolute; inset: 0 0 52% 0; border-radius: 999px 999px 40% 40%; background: linear-gradient(rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); pointer-events: none; }
.hello-sticker--wave { background: linear-gradient(180deg, #fbe6ee, #f4d5e2); }
img.hello-sticker__wave { width: 12px; height: 12px; vertical-align: -1px; }
