/* ==========================================================
   lottiesaahko.com: playful extras on top of lottasaahko.com's style.css
   (same paper, fonts, colours, tape and pins)
   ========================================================== */

/* handwritten notes */
.hand-note { font-family: var(--f-hand); font-size: 1.45rem; line-height: 1.15; color: var(--lingon); margin: 10px 0 0; position: relative; max-width: 15em; }
.hand-note.on-wood { position: absolute; left: -14%; bottom: -46px; color: #fbf2dc; transform: rotate(-4deg); text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.portrait { position: relative; }
.hand-note.under { margin: 18px auto 0; text-align: center; transform: rotate(-2deg); }
.hand-note.left { transform: rotate(-2deg); }
.hand-note.under-cover { margin: 16px auto 0; text-align: center; font-size: 1.25rem; color: var(--ink-soft); }
.hand-note.vote-hand { margin-top: 14px; }
.hand-note.dyk-hand { margin: 10px auto 0; }
.snap-with-note { display: grid; justify-items: center; }
.board-hand { font-family: var(--f-hand); font-size: 1.6rem; color: var(--lingon); margin: -.4em 0 0; }
.big-hand { font-size: 1.8rem; color: var(--lingon); margin: 0 0 28px; }
.note-line { font-family: var(--f-hand); font-size: 1.6rem; color: var(--lingon); margin: -.2em 0 .8em; }
.btn.ghost.on-dark { color: #f6f2e8; border-color: #f6f2e8; }
.btn.ghost.on-dark:hover { background: #f6f2e8; color: var(--night); }
.night blockquote cite { display: block; }

/* the review call: a torn note with five gold stars + pinned index cards */
.review-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.review-note { padding: 40px clamp(24px, 4vw, 46px) 34px; }
.review-note h2 { margin-top: 6px; }
.review-note .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2em; }
.five-stars { display: flex; gap: 6px; color: var(--cloudberry); }
.five-stars svg { width: 30px; height: 30px; }
.five-stars svg:nth-child(odd) { transform: rotate(-8deg); } .five-stars svg:nth-child(even) { transform: rotate(10deg) translateY(-3px); }
.review-hand { font-size: 1.5rem; color: var(--lingon); margin: 18px 0 0; }
@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

/* index cards (lined, pinned) */
.index-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 22px; }
.index-card { position: relative; background-color: #fffdf8;
  background-image: linear-gradient(transparent 46px, rgba(158, 51, 40, .5) 46px 48px, transparent 48px), repeating-linear-gradient(transparent 0 27px, rgba(31, 47, 77, .14) 27px 28px);
  background-position: 0 0, 0 20px;
  padding: 14px 20px 18px; box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .55); transform: rotate(var(--r, -1deg)); }
.index-card .pin { top: -8px; }
.index-card b { display: block; font-family: var(--f-hand); font-weight: 600; font-size: 1.45rem; color: var(--lingon); line-height: 1.15; min-height: 34px; margin-bottom: 8px; }
.index-card p { margin: 0; font-size: 1.04rem; line-height: 26px; }

/* school visit story as a strip of numbered polaroids */
.filmstrip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 2vw, 24px); }
.filmstrip li { transform: rotate(var(--r)); }
.filmstrip .polaroid { margin: 0; max-width: none; padding: 9px 9px 46px; }
.filmstrip .polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.filmstrip .polaroid figcaption { font-size: 1.25rem; bottom: 9px; }
@media (max-width: 960px) { .filmstrip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .filmstrip { grid-template-columns: 1fr 1fr; } }

/* upcoming events as ticket stubs */
.stubs { display: grid; gap: 18px; }
.stub { display: grid; grid-template-columns: 96px 1fr; background: var(--birch); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  -webkit-mask: radial-gradient(circle 9px at 96px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 96px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 9px at 96px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at 96px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  transition: transform .25s; }
.stub:nth-child(odd) { transform: rotate(-.5deg); } .stub:nth-child(even) { transform: rotate(.5deg); }
a.stub:hover { transform: rotate(0) translateY(-3px); }
.stub-date { display: grid; place-content: center; text-align: center; background: var(--forest); color: #fbf7ee; border-right: 2px dashed rgba(251, 247, 238, .55); }
.stub-date b { font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.stub-date small { font-family: var(--f-sc); letter-spacing: .1em; }
.stub:nth-child(3n+2) .stub-date { background: var(--lingon); } .stub:nth-child(3n) .stub-date { background: #8a5a2b; }
.stub-body { padding: 16px 22px 18px; }
.stub-body .when { display: block; font-family: var(--f-sc); letter-spacing: .04em; color: var(--moss); }
.stub-body b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; margin: 2px 0; }
.stub-body .what { display: block; color: var(--ink-soft); }
.next-box { background: var(--birch); box-shadow: var(--shadow); padding: 26px 28px 22px; }
.next-box .section-head { margin-bottom: 10px; }
.next-box ul { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 6px; }
.next-box li { padding-left: 1.3em; position: relative; }
.next-box li::before { content: "✦"; position: absolute; left: 0; color: var(--lingon); }
@media (max-width: 560px) { .next-box { padding: 20px 18px 16px; } }
.stub-body p { margin: 6px 0 0; font-size: 1rem; }
.stub-body .more { display: inline-block; margin-top: 8px; font-family: var(--f-hand); font-size: 1.25rem; color: var(--lingon); }
.stub.past { opacity: .62; filter: saturate(.4); }

/* sticky note: "Perfect for…" on book lists */
.sticky-note { display: inline-block; background: #f6e7a6; padding: 12px 16px 14px; margin: 14px 0 6px; max-width: 32em; font-family: var(--f-hand); font-size: 1.3rem; line-height: 1.25;
  box-shadow: 0 8px 16px -10px rgba(0, 0, 0, .45); transform: rotate(var(--r, -1deg)); }
.sticky-note b { color: var(--lingon); font-weight: 600; }
.list-shelf { grid-template-columns: repeat(auto-fit, minmax(110px, 160px)); justify-content: center; }
.book-row .cover img { width: 100%; }

/* the speaker prize */
.prize { display: flex; align-items: center; gap: 22px; background: var(--birch); padding: 22px 28px; box-shadow: var(--shadow); transform: rotate(-.8deg); }
.prize .rosette-hand { width: 84px; flex: none; }
.prize .hand { display: block; font-size: 1.4rem; color: var(--lingon); }
.prize b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.prize small { font-family: var(--f-sc); letter-spacing: .05em; color: var(--moss); }

/* little country stamps on the About page */
.stamp-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mini-stamp { font-family: var(--f-sc); font-size: .85rem; letter-spacing: .06em; color: var(--lingon); border: 1.5px dashed currentColor; padding: 3px 10px; border-radius: 3px; transform: rotate(-3deg); }
.mini-stamp:nth-child(even) { color: var(--forest); transform: rotate(2deg); }

/* torn notes: a tag line + five-theme grid */
.tag-hand { display: block; font-family: var(--f-hand); font-size: 1.2rem; color: var(--lingon); margin-bottom: 2px; }
.talks.five { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.clips.many { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.clips.many .clip:nth-child(n) { transform: rotate(calc((var(--i, 1) * 1deg) - 1deg)); }
.clips.many .clip:nth-child(3n+1) { transform: rotate(-1.2deg); } .clips.many .clip:nth-child(3n+2) { transform: rotate(1deg) translateY(14px); } .clips.many .clip:nth-child(3n) { transform: rotate(-.5deg); }

/* book-list hub: a little fan of covers on each card */
.fan { display: flex; justify-content: center; margin: 4px 0 14px; height: 110px; }
.fan img { width: 74px; height: 106px; object-fit: cover; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5); margin: 0 -14px; }
.fan img:nth-child(1) { transform: rotate(-9deg); } .fan img:nth-child(2) { transform: translateY(-6px); z-index: 1; } .fan img:nth-child(3) { transform: rotate(9deg); }

/* blog */
.featured-post .polaroid { max-width: 440px; }
.snap-link { display: block; justify-self: center; text-decoration: none; }
.date-hand { font-size: 1.5rem; color: var(--lingon); margin: 0 0 .2em; }
.featured-post h2 a { color: inherit; text-decoration: none; }
.post-hero .talk-photo .polaroid { max-width: 360px; }
.post-body h2 { margin-top: 1.4em; }
.post-body .in-post { max-width: 520px; margin: 28px auto; }
.post-snaps { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 28px 0; }
.post-snaps .polaroid { padding: 8px 8px 12px; margin: 0; max-width: none; }
.post-snaps .polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pullquote.small { font-size: 1.5rem; }
.sign-off { font-size: 2rem; color: var(--lingon); text-align: right; transform: rotate(-3deg); }

/* event kit photos */
.kit-snaps { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.kit-snaps .polaroid { padding: 10px; margin: 0; max-width: none; }
.kit-snaps .polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.videos.many { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.legal h4, .legal h2 { margin-top: 1.4em; }
.book-me { padding-top: clamp(40px, 6vw, 70px); }

.list-intro { margin-bottom: 30px; }
.list-intro p:last-child { font-size: .95rem; color: var(--ink-soft); font-style: italic; }


/* ---- review call: sticky notes for readers, parents and teachers */
.review-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.review-cards .index-card { background: #f6e7a6; background-image: none; padding: 26px 26px 22px; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .5); }
.review-cards .index-card:nth-child(2) { background: #dfe9f2; margin-left: 40px; }
.review-cards .index-card:nth-child(3) { background: #f3d9d2; margin-left: 12px; }
.review-cards .index-card b { font-size: 1.7rem; min-height: 0; margin-bottom: 4px; }
.review-cards .index-card p { font-size: 1.12rem; line-height: 1.5; }
.review-note .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.review-note .actions .btn { justify-content: center; }
@media (max-width: 860px) { .review-cards .index-card:nth-child(n) { margin-left: 0; } }

/* ---- the blog: photos pinned to a wooden board */
.wood-board { position: relative; background: #5b4532 url("/img/textures/wood-boards-seamless.jpg") center top / 100% auto repeat-y; /* mirrored tile: no seams */ box-shadow: inset 0 14px 24px -14px rgba(0, 0, 0, .55), inset 0 -14px 24px -14px rgba(0, 0, 0, .55); }
.board-label { display: table; margin: 0 auto 44px; background: var(--birch); padding: 12px 30px 8px; box-shadow: var(--shadow); transform: rotate(-1.2deg); position: relative; }
.board-label h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.board-label .pin { top: -10px; }
.pin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 46px) clamp(20px, 3vw, 38px); align-items: start; }
.pin-card { position: relative; display: block; background: var(--birch); padding: 14px 14px 20px; text-decoration: none; color: var(--ink);
  transform: rotate(var(--r)); box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .7); transition: transform .3s; }
.pin-card:hover { transform: rotate(0) translateY(-6px); }
.pin-card .pin { z-index: 2; top: -9px; }
.pc-photo { display: block; overflow: hidden; }
.pc-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pc-date { display: block; font-family: var(--f-hand); font-size: 1.25rem; color: var(--lingon); margin: 12px 2px 0; }
.pin-card b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; margin: 2px 2px 6px; }
.pin-card p { margin: 0 2px; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.pin-card .more { display: inline-block; margin: 10px 2px 0; font-family: var(--f-hand); font-size: 1.2rem; color: var(--forest); }
.pin-card.big { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 22px; align-items: center; }
.pin-card.big .pc-photo { grid-row: span 5; }
.pin-card.big .pc-photo img { aspect-ratio: 4 / 3.2; }
.pin-card.big b { font-size: 1.8rem; }
@media (max-width: 1000px) { .pin-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pin-grid { grid-template-columns: 1fr; } .pin-card.big { grid-column: auto; display: block; } }

/* ---- school visits */
.filmstrip li p { margin: 14px 4px 0; font-size: 1rem; line-height: 1.45; text-align: center; color: var(--ink-soft); }
.forest-split { align-items: end; margin-bottom: 36px; }
.big-note { font-size: 1.9rem; max-width: none; }
.drawings { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2.4vw, 30px); align-items: start; }
.drawing { position: relative; margin: 0; background: #fff; padding: 8px; box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .5); transform: rotate(var(--r)); }
.drawing img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.drawing:nth-child(even) { margin-top: 26px; }
@media (max-width: 900px) { .drawings { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .drawings { grid-template-columns: 1fr 1fr; } }
.photo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 34px); align-items: start; }
.photo-wall .polaroid { margin: 0; max-width: none; padding: 10px 10px 50px; }
.photo-wall .polaroid img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.photo-wall .polaroid figcaption { font-size: 1.3rem; bottom: 10px; padding: 0 8px; line-height: 1.1; }
.photo-wall .polaroid:nth-child(4n+1) { transform: rotate(-2deg); } .photo-wall .polaroid:nth-child(4n+2) { transform: rotate(1.5deg) translateY(14px); }
.photo-wall .polaroid:nth-child(4n+3) { transform: rotate(-1deg); } .photo-wall .polaroid:nth-child(4n) { transform: rotate(2deg) translateY(8px); }
@media (max-width: 960px) { .photo-wall { grid-template-columns: repeat(2, 1fr); } }
.prize-row { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; max-width: 820px; }
.prize-snap { width: 230px; margin: 0; }
@media (max-width: 640px) { .prize-row { grid-template-columns: 1fr; justify-items: center; } }

/* ---- videos page */
.talks.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.videos.two { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 640px) { .videos.two { grid-template-columns: 1fr; } }
.video .vtag { display: block; font-family: var(--f-hand); font-size: 1.15rem; color: var(--lingon); margin: 10px 2px 0; }
.hero-video { display: block; max-width: 420px; transform: rotate(2deg); text-decoration: none; color: var(--ink); }
.videos-hero .talk-photo { display: grid; justify-items: center; }

/* ---- book page: the book's first line */
.first-line { font-family: var(--f-hand); font-size: 1.55rem; line-height: 1.3; color: var(--lingon); margin: 6px 0 18px; transform: rotate(-1deg); max-width: 30em; }

/* "Get to know me": a mix of index cards and sticky notes */
.index-cards .index-card:nth-child(3n+2) { background: #f6e7a6; background-image: none; }
.index-cards .index-card:nth-child(5n+4) { background: #dfe9f2; background-image: none; }
.index-cards .index-card p { font-size: 1.08rem; line-height: 28px; }
.index-cards { gap: 34px 26px; }

/* ---- Lumi and the Wolf: a wintry page with snowy photos and the northern lights */
@keyframes snowfall { to { background-position: 60px 660px, -40px 440px, 20px 300px; } }
.snowfall { position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: radial-gradient(2.4px 2.4px at 20px 30px, #fff, transparent), radial-gradient(1.6px 1.6px at 120px 140px, rgba(255, 255, 255, .9), transparent), radial-gradient(2px 2px at 220px 80px, rgba(255, 255, 255, .85), transparent);
  background-size: 300px 220px, 260px 260px, 340px 200px; animation: snowfall 26s linear infinite; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .snowfall { animation: none; } }
.snow-scene { position: relative; overflow: hidden; background: #cfe0ea var(--bg) center / cover no-repeat; padding-bottom: clamp(50px, 7vw, 90px); }
.snow-scene::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(238, 228, 207, .35) 85%, var(--paper)); }
.snow-scene .wrap { position: relative; z-index: 2; }
.snow-scene .crumbs, .snow-scene .crumbs a { color: #1f2f4d; }
.paper-card { position: relative; background: var(--birch); padding: clamp(24px, 3.4vw, 42px); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .55); transform: rotate(.4deg); }
.hand-note.on-snow { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.photo-band { position: relative; overflow: hidden; padding: clamp(70px, 10vw, 140px) 0; background: #cfe0ea var(--bg) center 60% / cover no-repeat; }
.photo-band .narrow { position: relative; z-index: 2; }
.first-note { text-align: center; padding: 34px clamp(24px, 4vw, 48px) 26px; }
.first-note .first-line { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.25; color: var(--ink); margin: 0; transform: none; }
.first-by { margin: 14px 0 0; font-family: var(--f-sc); letter-spacing: .05em; color: var(--lingon); }
.aurora-board { position: relative; overflow: hidden; background: var(--night) var(--bg) center / cover no-repeat; }
.aurora-board::before { content: ""; position: absolute; inset: 0; background: rgba(14, 22, 40, .35); }
.aurora-board .wrap { position: relative; z-index: 2; }
.aurora-board .section-head h2 { color: #f6f2e8; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.aurora-board .board-hand { color: #f6d27a; }
.frost { background: linear-gradient(180deg, #e9f1f4, var(--paper)); }
.short-split { align-items: center; max-width: 980px; }
.short-split .polaroid { max-width: 360px; justify-self: center; }

/* home: a short welcome note under the hero */
.welcome { padding-bottom: clamp(20px, 3vw, 40px); }
.welcome-note { position: relative; background: var(--birch); padding: 30px clamp(26px, 4vw, 48px) 22px; box-shadow: var(--shadow); transform: rotate(-.6deg); text-align: center; }
.welcome-note h2 { font-size: 2.2rem; color: var(--lingon); margin: 0 0 .2em; }
.welcome-note p { font-size: 1.15rem; line-height: 1.65; }
/* about: the pull quote sits below the collage, with room to breathe */
.about .photo-quote { margin-top: clamp(20px, 3vw, 40px); }
/* the photo collage travels along beside the long story text, so no empty space opens up under it */
.about .split { align-items: start; }
.about .collage.big { position: sticky; top: 110px; }
@media (max-width: 860px) { .about .collage.big { position: relative; top: 0; } }

/* ---- "Leave a review": rustic – kraft paper on a wooden table, luggage-tag buttons, taped notes */
.wood-table { position: relative; background: #6b4f36 url("/img/textures/planks.jpg") center / cover; }
.wood-table::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 40%, rgba(255, 230, 190, .18), transparent 60%), rgba(40, 24, 12, .18); }
.wood-table .wrap { position: relative; }
.kraft-card { position: relative; background-color: var(--kraft); background-image: var(--tex); background-size: 300px 300px, 300px 300px, 240px 240px, auto;
  padding: 42px clamp(24px, 4vw, 48px) 30px; box-shadow: 0 26px 40px -20px rgba(0, 0, 0, .7); transform: rotate(-1deg);
  clip-path: polygon(0 1%, 4% 0, 12% 1.2%, 30% .3%, 52% 1%, 70% 0, 88% 1.1%, 100% .4%, 99.4% 30%, 100% 62%, 99.2% 100%, 70% 99.2%, 40% 100%, 12% 99.1%, 0 100%, .6% 60%); }
.kraft-card h2 { margin: 6px 0 .4em; color: #2c1d10; }
.kraft-card p { color: #3a2a1a; }
.kraft-card .five-stars { color: #8a3a1c; }
.rubber-stamp { position: absolute; top: 26px; right: 26px; width: 92px; height: 92px; border-radius: 50%; border: 3px double rgba(158, 51, 40, .8); color: rgba(158, 51, 40, .85);
  display: grid; place-content: center; text-align: center; transform: rotate(14deg); font-family: var(--f-sc); letter-spacing: .08em; mix-blend-mode: multiply; }
.rubber-stamp b { font-weight: 400; font-size: 1.15rem; } .rubber-stamp small { font-size: .85rem; }
.twine { height: 2px; margin: 26px -10px -2px; background: repeating-linear-gradient(90deg, #e9d9b8 0 6px, #cdb68c 6px 12px); transform: rotate(-.8deg); box-shadow: 0 1px 1px rgba(0, 0, 0, .25); }
.tag-buttons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-around; }
.tag-buttons li { position: relative; padding-top: 26px; transform: rotate(var(--r)); transform-origin: top center; }
.tag-buttons li::before { content: ""; position: absolute; left: 50%; top: 0; width: 1.6px; height: 32px; background: #cdb68c; }
.tag-btn { position: relative; display: block; min-width: 150px; background: #fbf7ee; color: var(--ink); text-decoration: none; text-align: center; padding: 26px 18px 14px;
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%, 0 18%); filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .3)); transition: transform .25s; }
.tag-btn:hover { transform: translateY(-3px) rotate(2deg); }
.tag-btn .hole { position: absolute; left: 50%; top: 8px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--kraft); box-shadow: 0 0 0 3px #e7dcc4; }
.tag-btn small { display: block; font-family: var(--f-hand); font-size: 1.1rem; color: var(--lingon); line-height: 1; }
.tag-btn b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
.tag-buttons li:first-child .tag-btn { background: #f3d9d2; }
.kraft-card .review-hand { color: #8a3a1c; margin-top: 22px; }
.review-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.taped-note { position: relative; background: #fbf7ee; padding: 26px 26px 22px; box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .7); transform: rotate(var(--r));
  clip-path: polygon(0 2%, 30% 0, 60% 1.5%, 100% 0, 99% 50%, 100% 98%, 70% 100%, 35% 98.5%, 0 100%, 1% 50%); }
.taped-note:nth-child(2) { margin-left: 34px; background: #f1e6cf; } .taped-note:nth-child(3) { margin-left: 10px; }
.taped-note b { display: block; font-family: var(--f-hand); font-weight: 600; font-size: 1.7rem; color: var(--lingon); margin-bottom: 2px; }
.taped-note p { margin: 0; font-size: 1.1rem; line-height: 1.5; }
@media (max-width: 860px) { .taped-note:nth-child(n) { margin-left: 0; } .rubber-stamp { width: 74px; height: 74px; top: 16px; right: 16px; } }

.small-print { margin-top: 40px; font-size: .95rem; font-style: italic; color: var(--ink-soft); text-align: center; }

.clips.many { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.clips.many + .section-head { margin-top: clamp(50px, 6vw, 80px); }

/* review section on the cork pinboard: tapes on the corners */
.review-sec .kraft-card { clip-path: none; border-radius: 2px; }
.washi.tape-tl { left: 6%; top: -10px; transform: rotate(-28deg); }
.washi.tape-tr { left: auto; right: -22px; top: 12px; transform: rotate(34deg); }
.taped-note { clip-path: none; }
.washi.tape-l { left: -14px; top: -6px; transform: rotate(-32deg); width: 74px; }
.washi.tape-r { left: auto; right: -16px; top: auto; bottom: -8px; transform: rotate(-30deg); width: 74px; }

.fi-title { font-size: 1.35rem; color: var(--lingon); margin: -2px 0 4px; }

/* prizes in "My books in Finnish" */
.prize-wall { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px 22px; }
.prize-wall li { display: flex; gap: 14px; align-items: flex-start; background: var(--birch); padding: 16px 18px; box-shadow: var(--shadow); }
.prize-wall li:nth-child(odd) { transform: rotate(-.6deg); } .prize-wall li:nth-child(even) { transform: rotate(.6deg); }
.prize-wall .rosette { width: 38px; flex: none; }
.prize-wall .year { display: block; font-family: var(--f-sc); letter-spacing: .06em; color: var(--moss); }
.prize-wall b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; line-height: 1.2; }
.prize-wall span { display: block; color: var(--ink-soft); font-size: 1rem; }
.prize-wall .status { color: var(--lingon); font-size: 1.3rem; }
.fi-wrap .fi-intro { max-width: 760px; margin: 0 0 10px; }
.fi-wrap .fi-intro p { font-size: 1.18rem; }
.fi-wrap .series-head { margin-top: clamp(28px, 4vw, 44px); }

.review-sec { overflow-x: clip; }

/* the first line: a calm note on the snowy photo, Lumi and the wolf peeking up beside it */
.photo-band { padding: clamp(60px, 8vw, 110px) 0 0; }
.photo-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(14, 22, 40, .55)); z-index: 1; }
.first-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; }
.first-note { position: relative; margin: 0 0 clamp(60px, 8vw, 110px); max-width: 620px; justify-self: center; background: var(--birch); padding: 34px 38px 26px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); transform: rotate(-1deg); text-align: center; }
.first-note blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--ink); }
.first-note figcaption { margin-top: 14px; font-family: var(--f-hand); font-size: 1.3rem; color: var(--lingon); }
.lumi-peek { width: clamp(180px, 24vw, 320px); height: auto; display: block; margin-bottom: -2px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35)); }
@media (max-width: 760px) { .first-wrap { grid-template-columns: 1fr; justify-items: center; } .first-note { margin-bottom: 20px; } .lumi-peek { width: 200px; } }

/* the illustration is cut straight on its left side: it sits flush against the left edge of the screen */
.first-wrap { grid-template-columns: auto 1fr; width: 100%; max-width: none; padding-right: max(16px, calc((100vw - var(--wrap)) / 2)); }
.lumi-peek { margin-left: 0; }
@media (max-width: 760px) { .first-wrap { grid-template-columns: 1fr; padding: 0 16px; } .lumi-peek { justify-self: start; margin-left: -16px; } }

.clips.many.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .clips.many.three { grid-template-columns: 1fr; } }

/* first line: just the note, centred on the snowy forest */
.photo-band { padding: clamp(70px, 10vw, 140px) 0; }
.first-wrap { display: block; padding: 0 16px; }
.first-note { margin: 0 auto; }

/* My books in Finnish: a compact grid of book cards */
.fi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 28px; margin-top: 26px; }
.fi-grid .book-row { display: block; padding: 0; border: 0; text-align: center; }
/* every cover sits on the same "shelf": a fixed-height box, covers bottom-aligned, so the titles line up */
.fi-grid .book-row .cover { display: flex; align-items: flex-end; justify-content: center; height: 254px; max-width: none; margin: 0 0 16px; }
.fi-grid .book-row .cover .cv { position: relative; display: block; line-height: 0; }
.fi-grid .book-row .cover img { width: auto; height: auto; max-width: min(220px, 100%); max-height: 254px; aspect-ratio: auto; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, .45); }
.fi-grid .book-row .cover .ribbon { line-height: 1.4; }
.fi-grid .book-row h3 { font-size: 1.3rem; margin: 0; }
.fi-grid .fi-title { font-size: 1.15rem; margin: 2px 0 2px; }
.fi-grid .meta { font-size: .85rem; margin-bottom: 6px; }
.fi-grid .book-row p { font-size: 1rem; line-height: 1.5; }
.drawings-head { display: flex; flex-direction: column; gap: 18px; }
.forest-more p { margin-top: 0; }
.photo-wall .polaroid img[src*="events-gallery-b5d217"] { object-position: 50% 0; }
.books > section.first-band { padding: clamp(70px, 10vw, 140px) 0; }
.first-band .first-note .washi { display: none; }
.talk-photo .hero-video .thumb img { aspect-ratio: 16 / 9; object-fit: cover; }
.videos.many.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .videos.many.three { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.themes-video { padding-bottom: 0; }
.teach-split { grid-template-columns: 1.3fr 1fr; align-items: center; }
.short-video { display: block; max-width: 300px; justify-self: center; transform: rotate(2deg); text-decoration: none; color: var(--ink); }
.short-video .thumb img { aspect-ratio: 9 / 16; object-fit: cover; transform: none; }
@media (max-width: 860px) { .teach-split { grid-template-columns: 1fr; } }
.teach-split .short-video { width: min(270px, 100%); }
@media (max-width: 860px) { .teach-split .short-video { width: min(240px, 100%); } }
/* the book-stack photo: a proper-sized snapshot beside the intro, shown whole (not cropped) */
.fi-intro-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: clamp(28px, 5vw, 64px); align-items: center; margin: 0 0 10px; }
.fi-intro-row .fi-intro { margin: 0; }
.fi-intro-row .fi-intro p:last-child { margin-bottom: 0; }
.polaroid.fi-stack { margin: 0; padding: 10px; max-width: none; width: 100%; justify-self: end; transform: rotate(1.5deg); }
.polaroid.fi-stack img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1074; object-fit: cover; }
@media (max-width: 800px) {
  .fi-intro-row { grid-template-columns: 1fr; }
  .polaroid.fi-stack { width: min(420px, 100%); justify-self: center; }
}

/* home: the welcome note as a train ticket with a tear-off stub */
.ticket-wrap { width: min(900px, 100% - 32px); margin-inline: auto; }
.ticket-note { position: relative; transform: rotate(-.6deg); filter: drop-shadow(0 14px 18px rgba(40, 28, 14, .22)) drop-shadow(0 2px 3px rgba(40, 28, 14, .15)); }
.ticket-note .washi { z-index: 2; }
.wtk { --stub: 230px; --notch: 14px; display: grid; grid-template-columns: 1fr var(--stub); background: var(--birch);
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.tk-main { padding: 0 clamp(22px, 3.4vw, 42px) 26px; text-align: center; }
.tk-head { display: flex; justify-content: space-between; gap: 12px; margin: 0 calc(-1 * clamp(22px, 3.4vw, 42px)) 18px; padding: 9px clamp(22px, 3.4vw, 42px) 7px;
  background: var(--forest); color: #fbf7ee; font-family: var(--f-sc); letter-spacing: .14em; font-size: .9rem; text-transform: lowercase; }
.tk-main h2 { font-size: 2.2rem; color: var(--lingon); margin: 0 0 .2em; }
.tk-main p:not(.tk-head) { font-size: 1.12rem; line-height: 1.65; margin: 0; }
.tk-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 20px 16px;
  background: #f3ead7; border-left: 2px dashed rgba(74, 44, 20, .35); text-align: center; }
.tk-admit { margin: 0; font-family: var(--f-sc); letter-spacing: .14em; text-transform: lowercase; color: var(--lingon); font-size: 1rem;
  border: 1.5px solid currentColor; padding: 3px 10px 1px; transform: rotate(-3deg); }
.tk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 4px 0 0; text-align: left; }
.tk-fields dt { font-family: var(--f-sc); letter-spacing: .1em; text-transform: lowercase; font-size: .8rem; color: var(--ink-soft, #6b5a48); }
.tk-fields dd { margin: 0; font-family: var(--f-display); font-size: 1.05rem; line-height: 1.2; }
.ticket-note .signature { margin: 2px 0 0; line-height: 0; transform: rotate(-3deg); }
.ticket-note .signature img { display: block; width: 130px; height: auto; margin: 0 auto; }
@media (max-width: 700px) {
  .wtk { grid-template-columns: 1fr;
    -webkit-mask: none; mask: none; }
  .tk-stub { border-left: 0; border-top: 2px dashed rgba(74, 44, 20, .35); flex-direction: row; flex-wrap: wrap; }
  .tk-fields { grid-template-columns: repeat(2, auto); }
}
.ticket-wrap.on-wood { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.ticket-wrap.on-wood .ticket-note { filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .4)) drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.tk-main .signature { margin: 8px 0 -4px; }
.tk-main { padding-bottom: 34px; } .tk-stub { padding: 26px 20px 20px; }
.tk-stub { gap: 8px; padding: 28px 20px 22px; } .tk-fields { gap: 4px 14px; } .tk-stub .signature img { width: 112px; }

/* home hero photo as a polaroid with a handwritten caption on the border */
.hero.wood .portrait .frame { background: #fbf8f1; padding: 14px 14px 0; }
.hero.wood .portrait .frame figcaption { display: block; padding: 14px 6px 16px; text-align: center; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.25; color: #2b211a; }

/* home welcome as a postcard, with picture postcards scattered behind it */
.pc-wrap { position: relative; width: min(1000px, 100% - 32px); margin: clamp(48px, 6vw, 80px) auto 0; padding: 20px 0 10px; }
.pc-pic { position: absolute; margin: 0; background: #fbf8f1; padding: 10px; box-shadow: 0 16px 24px -10px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .3); }
.pc-pic img { display: block; width: 100%; height: auto; }
.pc-snow { left: 0; top: 48px; width: 300px; transform: rotate(-8deg); z-index: 1; }
.pc-greet { position: absolute; left: 22px; bottom: 18px; color: #fff; font-size: 1.5rem; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); transform: rotate(-4deg); }
.pc-deer { right: 0; top: -14px; width: 262px; transform: rotate(6deg); z-index: 1; }
.pc-card { position: relative; z-index: 2; margin-left: 170px; width: 620px; max-width: 100%; display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  background: #fbf8f1; padding: 26px 26px 22px; transform: rotate(-1.2deg);
  box-shadow: 0 22px 32px -14px rgba(0, 0, 0, .6), 0 2px 4px rgba(0, 0, 0, .3); }
.pc-msg { padding-right: 22px; border-right: 1.5px solid rgba(74, 44, 20, .28); }
.pc-msg h2 { font-size: 2rem; color: var(--lingon); margin: 0 0 .15em; }
.pc-msg p { font-size: 1.02rem; line-height: 1.55; margin: 0; }
.pc-msg .signature { margin: 6px 0 -6px; text-align: right; line-height: 0; }
.pc-msg .signature img { display: inline-block; width: 112px; height: auto; transform: rotate(-4deg); }
.pc-addr { position: relative; padding-left: 22px; min-height: 260px; }
.pc-stamp { position: absolute; top: 0; right: 0; width: 74px; padding: 5px; background: #fff;
  -webkit-mask: radial-gradient(circle 3px, #0000 96%, #000) -4px -4px / 8px 8px; mask: radial-gradient(circle 3px, #0000 96%, #000) -4px -4px / 8px 8px; }
.pc-stamp img { display: block; width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; }
.pc-postmark { position: absolute; top: 18px; right: 34px; width: 128px; color: rgba(60, 40, 30, .55); transform: rotate(-10deg); font-family: var(--f-sc); }
.pc-lines { position: absolute; left: 22px; right: 0; bottom: 6px; margin: 0; display: grid; gap: 4px; font-size: 1.25rem; color: #2b3f63; }
.pc-lines span { display: block; border-bottom: 1.5px solid rgba(74, 44, 20, .3); padding: 0 2px 2px; }
@media (max-width: 1000px) {
  .pc-snow { display: none; }
  .pc-card { margin-left: 0; }
}
@media (max-width: 760px) {
  .pc-wrap { padding-top: 0; }
  .pc-deer { position: relative; display: block; width: 58%; margin: 0 auto -40px; top: 0; right: auto; transform: rotate(5deg); }
  .pc-card { width: 100%; grid-template-columns: 1fr; padding: 22px 20px 18px; }
  .pc-msg { padding: 0 0 16px; border-right: 0; border-bottom: 1.5px solid rgba(74, 44, 20, .28); }
  .pc-addr { padding: 16px 0 0; min-height: 150px; }
  .pc-lines { left: 0; right: 96px; }
}
.pc-stamp { width: 80px; height: 90px; padding: 6px; -webkit-mask: none; mask: none; background: radial-gradient(circle at 5px 5px, #0000 2.6px, #fff 3px) -5px -5px / 10px 10px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.pc-stamp img { height: 100%; aspect-ratio: auto; }
.pc-greet { top: 20px; bottom: auto; left: 20px; font-size: 1.35rem; line-height: 1.05; }
.pc-card { margin-left: 205px; }
@media (max-width: 1000px) { .pc-card { margin-left: 0; } }

/* A6 proportions (148 × 105 mm) for all postcards, full-bleed picture sides */
.pc-card { aspect-ratio: 148 / 105; align-content: stretch; }
.pc-pic { padding: 0; overflow: hidden; }
.pc-pic img { height: 100%; object-fit: cover; }
.pc-snow { aspect-ratio: 148 / 105; width: 310px; }
.pc-deer { aspect-ratio: 105 / 148; width: 250px; }
.pc-deer img { object-position: 50% 62%; }
.pc-addr { min-height: 0; }
/* the stamp: white perforated edge, a printed picture with a value and country */
.pc-stamp { top: 0; right: 0; width: 82px; height: 98px; padding: 5px;
  background: radial-gradient(circle at 4px 4px, #0000 2.3px, #fff 2.7px) -4px -4px / 8px 8px; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .3)); }
.pc-stamp-in { position: relative; display: block; height: 100%; overflow: hidden; outline: 1px solid rgba(0, 0, 0, .08); }
.pc-stamp-in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pc-stamp-in b { position: absolute; top: 2px; left: 4px; font: 700 .95rem/1 var(--f-display); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.pc-stamp-in i { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0 1px; text-align: center; font: normal .5rem/1.1 var(--f-sc); letter-spacing: .08em; text-transform: uppercase; color: #3a2a20; background: rgba(255, 255, 255, .82); }
.pc-postmark { top: 46px; right: 50px; width: 116px; z-index: 1; }
@media (max-width: 760px) {
  .pc-card { aspect-ratio: 105 / 148; grid-template-rows: auto 1fr; }
  .pc-deer { width: 52%; aspect-ratio: 105 / 148; }
  .pc-addr { min-height: 150px; }
  .pc-postmark { top: 40px; right: 46px; width: 100px; }
}
.pc-card { width: 600px; margin-left: 190px; padding: 30px 28px 26px; }
.pc-deer { right: -18px; }
.pc-msg h2 { font-size: 2.3rem; }
.pc-msg p { font-size: 1.1rem; line-height: 1.62; }
.pc-msg .signature img { width: 124px; }
.pc-stamp-in i { white-space: nowrap; font-size: .46rem; letter-spacing: .05em; padding: 2px 0; }
.pc-stamp-in b { font-size: 1.05rem; }
@media (max-width: 1000px) { .pc-card { margin-left: 0; } .pc-deer { right: 0; } }
@media (max-width: 760px) { .pc-card { width: 100%; padding: 22px 20px 18px; } .pc-msg p { font-size: 1.02rem; } }
/* Lumi page: the teachers' info sits on a paper card, like the Short chapters note */
.teach-box { position: relative; background: var(--birch); box-shadow: var(--shadow); padding: clamp(26px, 3.4vw, 40px) clamp(24px, 3.6vw, 44px); transform: rotate(-.6deg); }
.teach-box h2 { margin-top: 0; }
.teach-box ul { margin-bottom: 0; }
.teach-box li { margin: .15em 0; }

/* home: review request as a postcard on the cork board; the stamps are the shop links */
.review-pc .board-label { margin-bottom: clamp(30px, 4vw, 50px); }
.pc-review { width: min(1060px, 100%); margin-top: 0; padding: 10px 0 20px; }
.pc-review .pc-card { width: 720px; margin-left: 170px; grid-template-columns: 1.1fr 1fr; padding: 30px 30px 26px; transform: rotate(.8deg); }
.pc-aurora { left: 0; top: 30px; width: 250px; aspect-ratio: 105 / 148; transform: rotate(-7deg); z-index: 1; }
.pc-cabin { right: 0; top: 150px; width: 300px; aspect-ratio: 148 / 105; transform: rotate(6deg); z-index: 1; }
.pc-cabin .pc-greet { top: 14px; left: 16px; }
.pc-dear { margin: 0 0 .25em; font-size: 1.9rem; color: var(--lingon); }
.pc-review .pc-msg p { font-size: 1.04rem; line-height: 1.55; }
.pc-prompts { list-style: none; margin: .7em 0 0; padding: 0; font-size: .98rem; line-height: 1.45; }
.pc-prompts li { margin: .3em 0; }
.pc-prompts b { font-weight: 600; color: var(--forest); }
.pc-review .pc-msg p.pc-thanks { margin-top: .7em; font-size: 1.3rem; color: var(--lingon); }
.pc-review .pc-msg .signature { margin-top: -4px; }
.pc-review .pc-addr { display: flex; flex-direction: column; }
.stamp-row { display: flex; justify-content: flex-end; gap: 10px; }
.stamp-link.pc-stamp { position: relative; top: auto; right: auto; flex: none; width: 84px; height: 100px; transform: rotate(var(--r)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.stamp-link:hover, .stamp-link:focus-visible { transform: rotate(0) translateY(-5px) scale(1.06); }
.stamp-link .pc-stamp-in i { font-size: .52rem; }
.review-mark { position: absolute; top: 76px; right: 150px; width: 96px; color: rgba(150, 40, 30, .55); transform: rotate(-14deg); pointer-events: none; }
.stamp-hint { margin: 18px 0 0; text-align: right; font-size: 1.15rem; line-height: 1.15; color: var(--lingon); }
.pc-review .pc-lines { position: static; margin-top: auto; }
@media (max-width: 1100px) { .pc-cabin { display: none; } .pc-review .pc-card { margin-left: auto; margin-right: 0; } }
@media (max-width: 960px) { .pc-aurora { display: none; } .pc-review .pc-card { margin: 0 auto; } }
@media (max-width: 760px) {
  .pc-review .pc-card { width: 100%; grid-template-columns: 1fr; aspect-ratio: auto; transform: rotate(.5deg); }
  .pc-review .pc-addr { padding: 18px 0 0; }
  .stamp-row { justify-content: center; }
  .review-mark { top: 70px; right: auto; left: 0; width: 80px; }
  .stamp-hint { text-align: center; }
  .pc-review .pc-lines { position: static; margin-top: 14px; }
}
.pc-review .pc-msg p.pc-dear { font-size: 2rem; margin-bottom: .3em; }
.pc-review .pc-msg { display: flex; flex-direction: column; justify-content: center; }
.pc-review .pc-msg p:not(.pc-dear):not(.pc-thanks):not(.signature) { font-size: 1.12rem; line-height: 1.62; }
.pc-review .pc-msg p.pc-thanks { font-size: 1.45rem; }
.pc-review .pc-msg .signature img { width: 130px; }
.stamp-hint { margin-top: 22px; font-size: 1.3rem; }
.stamp-link.pc-stamp { width: 92px; height: 110px; }
.stamp-row { gap: 12px; }
.review-mark { top: 84px; right: 164px; }
@media (max-width: 760px) { .stamp-link.pc-stamp { width: 84px; height: 100px; } .review-mark { top: auto; bottom: 64px; left: auto; right: -6px; width: 84px; } }
/* review postcard v2: on the wooden board, bigger picture postcards, address higher, signature centred */
.review-pc { padding-bottom: clamp(20px, 3vw, 40px); }
.review-pc + .wood-board { padding-top: clamp(30px, 4vw, 50px); }
.pc-review { width: min(1200px, 100%); }
.pc-review .pc-card { margin-left: auto; margin-right: auto; }
.pc-aurora { left: 0; top: 0; width: 340px; transform: rotate(-6deg); }
.pc-cabin { right: 0; top: 120px; width: 420px; transform: rotate(5deg); }
.pc-cabin .pc-greet { font-size: 1.6rem; }
.pc-review .pc-addr { justify-content: flex-start; }
.pc-review .pc-lines { margin-top: 34px; }
.pc-review .pc-msg .signature { text-align: center; margin-top: 4px; }
.pc-review .pc-msg p.pc-thanks { text-align: center; }
@media (max-width: 1240px) { .pc-aurora { width: 290px; left: -10px; } .pc-cabin { width: 340px; right: -10px; } }
/* review board flows straight into the forest diary board: tile anchored at the bottom so the planks line up, no shadow at the join */
.wood-board.review-pc { background-position: center bottom; box-shadow: inset 0 14px 24px -14px rgba(0, 0, 0, .55); }
.review-pc + .wood-board { box-shadow: inset 0 -14px 24px -14px rgba(0, 0, 0, .55); }
.pc-review .stamp-row { flex-wrap: nowrap; margin-top: 0; }
.pc-cabin .pc-greet { left: auto; right: 16px; top: 14px; text-align: right; color: #fff; text-shadow: 0 1px 6px rgba(120, 50, 60, .6); }

/* guestbook: the form is a postcard to Lottie on the wooden board, with picture postcards behind it */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gb-board { padding-top: clamp(50px, 6vw, 80px); }
.gb-pc { width: min(1200px, 100%); margin: 0 auto clamp(60px, 8vw, 100px); padding: 0; }
.gb-left { left: 0; top: 40px; width: 330px; aspect-ratio: 105 / 148; transform: rotate(-6deg); z-index: 1; }
.gb-left img { object-position: 50% 40%; }
.gb-right { right: 0; top: 150px; width: 400px; aspect-ratio: 148 / 105; transform: rotate(5deg); z-index: 1; }
.gb-right .pc-greet { left: auto; right: 16px; top: 14px; bottom: auto; text-align: right; font-size: 1.6rem; color: #fff; text-shadow: 0 1px 6px rgba(20, 40, 70, .6); }
.letter-form.gb-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; width: 820px; max-width: 100%; margin: 0 auto; aspect-ratio: 148 / 105;
  padding: 34px 34px 28px; background: #fbf8f1; background-image: none; transform: rotate(-.8deg); }
.letter-form.gb-card::before { display: none; }
.gb-card .pc-msg { display: flex; flex-direction: column; padding-right: 26px; }
.gb-card h2 { font-size: 2.3rem; color: var(--lingon); margin: 0 0 .2em; }
.gb-card .gb-msg { flex: 1; display: flex; }
.letter-form.gb-card textarea { flex: 1; width: 100%; min-height: 230px; resize: none; padding: 0 2px; border: 0; border-radius: 0;
  background: repeating-linear-gradient(transparent 0 33px, rgba(74, 44, 20, .2) 33px 34px); background-attachment: local;
  font-family: var(--f-hand); font-size: 1.35rem; line-height: 34px; color: #2b3f63; }
.letter-form.gb-card textarea::placeholder { color: rgba(43, 63, 99, .45); }
.gb-card .word-count { margin: 6px 0 8px; }
.gb-card .vk-photo { transform: none; }
.gb-card .pc-addr { position: relative; display: flex; flex-direction: column; gap: 10px; padding-left: 26px; min-height: 0; }
.gb-card .pc-stamp { position: absolute; top: 0; right: 0; }
.gb-card .pc-postmark { top: 46px; right: 58px; width: 104px; }
.gb-from { margin: 118px 0 0; font-size: 1.5rem; color: #2b3f63; line-height: 1; }
.gb-lines { display: grid; gap: 8px; }
.gb-lines label { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 8px; font-family: var(--f-sc); font-size: .8rem; letter-spacing: .06em; color: var(--ink-soft); }
.letter-form.gb-card .gb-lines input { width: 100%; min-width: 0; padding: 2px 4px; background: transparent; border: 0; border-bottom: 1.5px solid rgba(74, 44, 20, .3);
  font-family: var(--f-hand); font-size: 1.35rem; color: #2b3f63; }
.gb-lines label:last-child input { max-width: 90px; }
.gb-card .cf-turnstile { margin-top: 6px; }
.gb-card button[type=submit] { justify-self: start; align-self: flex-start; }
.gb-card .vk-note { font-size: 1.1rem; margin: 0; }
.gb-board > .wrap > .section-head { margin-top: 0; }
@media (max-width: 1240px) { .gb-left { width: 270px; left: -20px; } .gb-right { width: 330px; right: -20px; } }
@media (max-width: 1080px) { .gb-left, .gb-right { display: none; } }
@media (max-width: 760px) {
  .letter-form.gb-card { grid-template-columns: 1fr; aspect-ratio: auto; padding: 26px 20px 22px; transform: none; }
  .gb-card .pc-msg { padding: 0 0 18px; border-right: 0; border-bottom: 1.5px solid rgba(74, 44, 20, .28); }
  .gb-card .pc-addr { padding: 18px 0 0; }
  .gb-card .pc-stamp { top: 18px; }
  .gb-card .pc-postmark { top: 50px; right: 60px; width: 90px; }
  .gb-from { margin-top: 110px; }
  .letter-form.gb-card textarea { min-height: 204px; }
}
.gb-card h2 { max-width: none !important; white-space: nowrap; }
.gb-card .pc-stamp-in i { font-size: .42rem; letter-spacing: .03em; }
/* guestbook intro: a pinned label and a taped paper note on the same wooden board */
.gb-board { padding-top: clamp(36px, 5vw, 64px); }
.gb-intro { display: grid; justify-items: center; gap: clamp(26px, 3vw, 36px); margin-bottom: clamp(50px, 6vw, 80px); }
.gb-intro .board-label { margin: 0; }
.gb-intro .board-label h1 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.4rem); color: var(--ink); text-shadow: none; }
.gb-note { position: relative; width: min(640px, 100%); background: #fbf8f1; padding: 26px clamp(22px, 3.4vw, 40px) 22px; transform: rotate(-1deg);
  box-shadow: 0 16px 24px -12px rgba(0, 0, 0, .55), 0 2px 4px rgba(0, 0, 0, .25);
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(106, 167, 216, .22) 31px 32px); background-position: 0 18px; }
.gb-note p { margin: 0; font-size: 1.12rem; line-height: 32px; text-align: center; color: var(--ink); }
.letter-form.gb-card { width: 720px; padding: 28px 28px 24px; }
.gb-card h2 { font-size: 2rem; }
.letter-form.gb-card textarea { min-height: 190px; font-size: 1.25rem; line-height: 30px; background: repeating-linear-gradient(transparent 0 29px, rgba(74, 44, 20, .2) 29px 30px); }
.gb-card .pc-stamp { width: 76px; height: 92px; }
.gb-card .pc-postmark { top: 40px; right: 52px; width: 92px; }
.gb-from { margin-top: 100px; font-size: 1.35rem; }
.letter-form.gb-card .gb-lines input { font-size: 1.2rem; }
.gb-card .vk-note { font-size: 1rem; }
.gb-left { top: 20px; width: 300px; } .gb-right { top: 120px; width: 370px; }
.gb-note { padding-top: 34px; }
@media (max-width: 1240px) { .gb-left { width: 250px; } .gb-right { width: 300px; } }
@media (max-width: 1000px) { .gb-left, .gb-right { display: none; } }
/* guestbook postcard v3: full-width address lines, three picture postcards */
.gb-lines { gap: 4px; }
.gb-lines label { display: block; }
.letter-form.gb-card .gb-lines input { display: block; width: 100%; max-width: none !important; height: auto; padding: 8px 2px 3px; box-shadow: none !important; outline-offset: 2px;
  background: transparent !important; border: 0; border-bottom: 1.5px solid rgba(74, 44, 20, .32); border-radius: 0; -moz-appearance: textfield; }
.letter-form.gb-card .gb-lines input::-webkit-outer-spin-button, .letter-form.gb-card .gb-lines input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.letter-form.gb-card .gb-lines input::placeholder { font-family: var(--f-hand); color: rgba(43, 63, 99, .42); }
.letter-form.gb-card .gb-lines input:focus { outline: 0; border-bottom-color: var(--lingon); }
.gb-from { margin-top: 96px; margin-bottom: -2px; }
.gb-left { left: 0; top: -10px; width: 380px; aspect-ratio: 148 / 105; transform: rotate(-5deg); z-index: 1; }
.gb-left img { object-position: 0 0; }
.gb-swim { left: 60px; top: 250px; width: 230px; aspect-ratio: 105 / 148; transform: rotate(4deg); z-index: 0; }
.gb-swim .pc-greet { left: 14px; top: auto; bottom: 14px; font-size: 1.7rem; color: #fff; text-shadow: 0 1px 6px rgba(0, 30, 60, .6); }
@media (max-width: 1240px) { .gb-left { width: 320px; left: -20px; } .gb-swim { left: 10px; width: 200px; } }
@media (max-width: 1000px) { .gb-swim { display: none; } }
.gb-swim { left: auto; right: 70px; top: 300px; width: 220px; transform: rotate(-4deg); z-index: 0; }
.gb-right { z-index: 1; }
.gb-left { top: 30px; }
@media (max-width: 1240px) { .gb-swim { right: 10px; left: auto; width: 190px; } }
.gb-pc { margin-bottom: clamp(110px, 12vw, 160px); } @media (max-width: 1000px) { .gb-pc { margin-bottom: 60px; } }
/* guestbook: the two photos of Lottie as polaroids among the postcards */
.pc-pic.gb-polaroid { aspect-ratio: auto; overflow: visible; background: #fbf8f1; padding: 12px 12px 0; }
.gb-polaroid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.gb-polaroid figcaption { padding: 10px 4px 12px; text-align: center; font-size: 1.3rem; line-height: 1.2; color: #2b211a; }
.gb-left.gb-polaroid { width: 330px; top: 10px; }
.gb-left.gb-polaroid img { object-position: 20% 50%; }
.gb-swim.gb-polaroid { width: 230px; top: 290px; }
.gb-swim.gb-polaroid img { object-position: 50% 60%; }
@media (max-width: 1240px) { .gb-left.gb-polaroid { width: 280px; } .gb-swim.gb-polaroid { width: 200px; } }
.gb-left.gb-polaroid { left: -50px; top: 20px; width: 300px; transform: rotate(-6deg); }
.gb-swim.gb-polaroid { right: 0; top: 330px; width: 220px; transform: rotate(5deg); z-index: 3; }
.gb-right { top: 40px; }
@media (max-width: 1240px) { .gb-left.gb-polaroid { left: -30px; width: 260px; } .gb-swim.gb-polaroid { right: -10px; width: 190px; } }
/* guestbook v4: tall cabin postcard with the greeting in the sky, softer swim photo, reindeer polaroid further out */
.gb-right { top: 0; right: 40px; width: 270px; aspect-ratio: 105 / 148; transform: rotate(5deg); }
.gb-right .pc-greet { left: 0; right: 0; top: 34px; text-align: center; font-size: 2.3rem; line-height: 1.05; color: #fff; text-shadow: 0 2px 8px rgba(20, 40, 80, .45); transform: rotate(-5deg); }
.gb-swim.gb-polaroid { top: 330px; right: -10px; }
.gb-swim img { filter: saturate(.72) contrast(.94) brightness(1.02); }
.gb-left.gb-polaroid { left: -70px; width: 300px; top: 30px; }
.gb-left.gb-polaroid img { object-position: 50% 50%; }
@media (max-width: 1240px) { .gb-right { width: 230px; right: 0; } .gb-left.gb-polaroid { left: -40px; width: 260px; } }
.gb-right { right: -30px; top: -10px; }
.gb-swim.gb-polaroid { top: 400px; right: 30px; width: 210px; transform: rotate(-4deg); }
.gb-pc { margin-bottom: clamp(170px, 16vw, 220px); }
@media (max-width: 1240px) { .gb-right { right: -20px; } .gb-swim.gb-polaroid { right: 0; width: 190px; } }
@media (max-width: 1000px) { .gb-pc { margin-bottom: 60px; } }
.gb-right .pc-greet { left: auto; right: 16px; top: 16px; text-align: right; font-size: 1.9rem; transform: rotate(-3deg); color: #fff; text-shadow: 0 1px 6px rgba(40, 70, 120, .55); }
/* snowy-trees postcard: bigger, tucked partly under the main postcard */
.gb-right { width: 330px; right: -20px; top: -20px; z-index: 1; }
.gb-card { z-index: 2; }
@media (max-width: 1240px) { .gb-right { width: 280px; right: -30px; } }

/* blog: pinned label and taped note at the top, like the guestbook */
.wood-board.blog-board { padding-top: clamp(50px, 6vw, 80px); }

/* guestbook postcard: keep the postcard shape but let it grow when the thank-you message appears */
.letter-form.gb-card { aspect-ratio: auto; min-height: 511px; }
.gb-card .lf-status { font-size: 1.2rem; line-height: 1.2; }
@media (max-width: 760px) { .letter-form.gb-card { min-height: 0; } }
