/* Ailyse Designs -- page layouts (look 3A "Pinboard Hero"). Composition only; parts come from components.css. */

main { display: block; }
.section { padding: var(--s-7) 0 0; }
.section:first-child { padding-top: var(--s-6); }

/* ---------- home: one framed corkboard panel ---------- */
.hero-board { --cork-img: var(--img-cork-hero); }
.cork-strip { --cork-img: var(--img-cork-strip); }
.hero { padding: var(--s-4) 0 var(--s-2); }
.hero > .wrap { padding: 0; }
.hero-board { border-width: var(--el-frame-sm); border-left: 0; border-right: 0; border-radius: 0; padding: var(--s-6) var(--gutter) var(--s-6); display: grid; gap: var(--s-6); }
.hero-card { padding: 46px var(--s-5) var(--s-5); transform: rotate(-.6deg); }
.hero-card > .pin { top: 6px; width: var(--el-pin-lg); margin-left: calc(var(--el-pin-lg) / -2); }
.hero-card .washi { top: -14px; left: -18px; transform: rotate(-9deg); width: 120px; }
.hero-card .hand { margin: 0 0 var(--s-1); color: var(--c-rose-dark); }
.hero-card h1 { font-size: clamp(29px, 7.4vw, 44px); }
.hero-card .lede { color: var(--c-muted); font-size: 18px; }
.hero-card .btn.ghost { background: var(--c-card); }

/* r5: a FULL board -- the spin + 5 random pieces + the post-it + 2 random paper stickers, re-dealt on every visit
   (craft.js). Grid, not a hand-placed collage, so any deal fits; each item gets a random tilt + nudge (--r, --x, --y). */
.pinned { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); align-items: center; padding: 0 4px; }
.pinned > * { transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg)); transition: transform .2s; }
.pinned .polaroid { width: 100%; }
.pinned .polaroid > .pin { top: 3px; width: var(--el-pin-lg); margin-left: calc(var(--el-pin-lg) / -2); }
.pinned .hero-photo:hover { transform: rotate(0); }
.pinned .sticker { position: relative; justify-self: center; width: 78%; max-width: 140px; }
.pinned .desk { display: none; }   /* phones: spin + 3 pieces + post-it + 1 sticker */
.hero-video .cover { position: absolute; inset: 0; z-index: 4; }
.vid-btn {
  position: absolute; z-index: 6; right: 4%; top: 60%; min-width: 64px; min-height: var(--el-tap); padding: 0 12px;
  border: 0; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-white); font: 700 14px/1 var(--f-sans); cursor: pointer;
  box-shadow: 0 2px 6px rgba(43, 38, 34, .35);
}
.vid-btn:hover { background: var(--c-rose-dark); }
.hero-note { width: 100%; max-width: 170px; aspect-ratio: 1; align-self: center; justify-self: center; margin: 0; display: grid; place-items: center; padding: 14% 12%; }  /* r5: always square, text centred */
.hero-note .t { display: block; width: 100%; font: 700 26px/1.05 var(--f-hand); text-align: center; }
.hero-note .heart { position: absolute; width: 26px; right: 10%; bottom: 9%; }
.hero-arrow { display: none; }

.paths { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.paths a { display: grid; grid-template-columns: var(--el-icon) 1fr; gap: 0 var(--s-4); align-items: start; height: 100%; color: inherit; text-decoration: none; padding-top: var(--s-5); }
.paths .icon { grid-row: span 3; width: var(--el-icon); height: var(--el-icon); }
.paths .icon.tag { transform: rotate(-12deg); }
.paths h3 { margin: 0 0 4px; }
.paths p { margin: 0 0 var(--s-2); color: var(--c-muted); }
.paths .go { color: var(--c-rose); font-weight: 700; }
.paths a:hover .go { text-decoration: underline; }
.more { margin: var(--s-6) 0 0; }

/* ---------- catalog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-3); }
.filter {
  min-height: var(--el-tap); padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--c-ink); background: var(--c-white);
  color: var(--c-ink); font: 700 15px/1 var(--f-sans); cursor: pointer;
}
.filter .n { font-weight: 400; color: var(--c-muted); }
.filter { display: inline-flex; align-items: center; gap: 6px; }
.filter .sk { width: 26px; flex: 0 0 auto; }  /* R4: sketch bag / pincushion on the category chips, tinted by the chip text colour */
.filter[aria-selected="true"] { background: var(--c-ink); color: var(--c-white); }
.filter[aria-selected="true"] .n { color: var(--c-white); }
.shown { margin: 0 0 var(--s-5); color: var(--c-muted); font-size: var(--t-small); }
/* v0.17.0: the count line + the Sort menu share one row; the menu drops under the line on a narrow phone */
.sort-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); margin: 0 0 var(--s-5); }
.sort-row[hidden] { display: none; }
.sort-row .shown { margin: 0; flex: 1 1 16em; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.sort:has(select[hidden]) { display: none; }
.sort select {
  min-height: var(--el-tap); padding: 0 12px 0 14px; border: 1.5px solid var(--c-ink); border-radius: var(--r-pill);
  background: var(--c-white);
  color: var(--c-ink); font: 700 15px/1 var(--f-sans); cursor: pointer;
}
.sort select:focus-visible { outline: 3px solid var(--c-rose); outline-offset: 1px; }
/* v0.12.3 (DB 063): one line under the active category chip. Wraps (never scrolls sideways) on a phone. */
.cat-blurb { margin: 0 0 var(--s-1); max-width: 80ch; color: var(--c-ink); overflow-wrap: break-word; }
.cat-blurb[hidden] { display: none; }
/* release 3 (A8): shop search -- one field above the chips; the clear (x) sits inside it, so showing it moves nothing */
.shop-search { max-width: 560px; margin: 0 0 var(--s-4); }
.shop-search[hidden] { display: none; }   /* outage: nothing to search (.field's display beats [hidden]) */
.shop-search label.lbl { display: block; font-weight: 700; line-height: 1.75em; }
.search-row { position: relative; }
.search-row input { padding-right: 56px; }
.search-row input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-clear {
  position: absolute; top: 0; right: 0; width: 52px; height: 100%; min-height: var(--el-tap); padding: 0; border: 0; background: none;
  border-radius: var(--r-2); color: var(--c-ink); font: 700 28px/1 var(--f-sans); cursor: pointer;
}
.search-clear:hover { color: var(--c-rose-dark); }
.search-clear[hidden] { display: none; }
.no-hits { margin: 0 0 var(--s-6); }
.no-hits h2 { margin-top: 0; }
.no-hits .btn { margin: 0 var(--s-2) var(--s-2) 0; }
.no-hits[hidden] { display: none; }
.price-note { color: var(--c-muted); font-size: var(--t-small); }
.catalog-foot { margin-top: var(--s-7); max-width: 720px; }

/* ---------- product (cleanest view) ---------- */
.crumbs { margin: var(--s-5) 0 var(--s-4); font-size: var(--t-small); }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--el-tap); color: var(--c-rose-dark); font-weight: 700; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.product-grid > * { min-width: 0; }   /* v0.21.1: a grid item never grows the column -- 6+ photos in .thumbs made the page 561px wide on a 412px phone */
/* v0.21.0 Scrapbook gallery (HRB pick 2026-10-23, Gemini look 1): the photo is a big polaroid with washi tape and a
   handwritten counter; extra photos are mini polaroids in one strip that scrolls sideways; the picked one lifts + gets a pin. */
.gallery .main { position: relative; margin: 0; background: var(--c-white); padding: 14px 14px 54px; border-radius: 2px; box-shadow: 0 10px 26px rgba(60, 40, 30, .16); transform: rotate(-1.2deg); }
.gallery .main::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 28px; margin-left: -60px; background: url(/ds/current/img/kit/real/washi-hearts.webp) center / cover; opacity: .92; transform: rotate(2deg); z-index: 4; pointer-events: none; }
.gallery .main #openLb { display: block; width: 100%; padding: 0; border: 0; background: var(--c-line); cursor: zoom-in; }
.gallery .main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery .main figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--f-hand); font-size: 26px; line-height: 1.2; color: var(--c-muted); }
.gx-arrow { position: absolute; top: calc(50% - 20px); transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 253, 248, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); color: var(--c-ink); font-size: 28px; line-height: 44px; text-align: center; cursor: pointer; z-index: 3; }
.gx-prev { left: 22px; } .gx-next { right: 22px; }
.gx-arrow:hover { background: var(--c-white); color: var(--c-rose-dark); }
.gx-arrow:focus-visible, .thumbs button:focus-visible, .gallery .main #openLb:focus-visible { outline: 3px solid var(--c-rose); outline-offset: 3px; }
.thumbs { list-style: none; margin: 6px 0 0; padding: 18px 6px 12px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.thumbs li { flex: 0 0 92px; scroll-snap-align: start; }
.thumbs button { position: relative; display: block; width: 100%; padding: 5px 5px 16px; border: 0; border-radius: 2px; background: var(--c-white); box-shadow: 0 3px 8px rgba(60, 40, 30, .14); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.thumbs li:nth-child(odd) button { transform: rotate(-2deg); }
.thumbs li:nth-child(even) button { transform: rotate(2deg); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs button[aria-current="true"] { transform: translateY(-6px) rotate(0); box-shadow: 0 8px 16px rgba(158, 61, 86, .28); }
.thumbs button[aria-current="true"]::after { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--c-pin-blush), var(--c-pin-berry)); box-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
@media (max-width: 600px) { .gallery .main { padding: 10px 10px 46px; } .gallery .main figcaption { font-size: 22px; } .gx-prev { left: 16px; } .gx-next { right: 16px; } .thumbs li { flex-basis: 76px; } }
@media (prefers-reduced-motion: reduce) { .gallery .main, .thumbs li button, .thumbs button[aria-current="true"] { transform: none !important; transition: none; } }
.spec-head .kicker { display: block; font-size: var(--t-small); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); margin-bottom: var(--s-2); }
.spec-head h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: var(--s-3); }
/* board step 43: the head card (kicker, name, price or "Found a home" + "Ask Tiffany to make one") comes BEFORE the photos */
.spec-head .head-price { margin: 0; font-size: 22px; font-weight: 700; }
.spec-head .nfs-note { margin: 0 0 var(--s-4); font-size: 18px; }
.ask-order { margin: 0; }
.ask-order .btn { width: 100%; min-height: 52px; font-size: 18px; }
.spec .desc { font-size: 18px; }
.nfs-note { background: var(--c-blush); padding: var(--s-3) var(--s-4); border-radius: var(--r-2); }
.nfs-note strong { display: block; }
.nfs-note .nfs-heart { float: right; width: 32px; height: auto; margin: 0 0 4px 10px; }   /* HRB 10-08: the stitched heart, decorative */
.spec .btn-row .btn { flex: 1 1 200px; }
.spec .more-links { margin: var(--s-4) 0 0; font-size: var(--t-small); }
.spin { margin: var(--s-7) 0 0; }
.spin figure { margin: 0; background: var(--c-white); padding: 10px; border-radius: var(--r-1); box-shadow: var(--sh-1); max-width: 520px; }
.spin video { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--c-line); }
.spin figcaption { padding: 10px 2px 2px; font-size: var(--t-small); color: var(--c-muted); }
.similar { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--c-line); }
.similar .label-row .sk { width: 30px; margin-left: 6px; vertical-align: -2px; }
/* "More like this": a short cork strip, each piece pinned; the caption is on the white mat, never on cork */
.cork-strip { margin: 0 calc(var(--gutter) * -1); padding: var(--s-6) var(--gutter) var(--s-5); border-left: 0; border-right: 0; border-radius: 0; }
.cork-strip .cards { gap: var(--s-6) var(--s-4); }
.cork-strip .card > a { background: var(--c-white); padding: 7px 7px 10px; border-radius: 2px; box-shadow: 0 2px 3px rgba(43, 38, 34, .3), 0 6px 14px rgba(43, 38, 34, .18); }
.cork-strip .card .mat { padding: 0; box-shadow: none; transform: none !important; }
.cork-strip .card:nth-child(odd) > a { transform: rotate(-1deg); }
.cork-strip .card:nth-child(even) > a { transform: rotate(.8deg); }
.cork-strip .card > a:hover { transform: rotate(0) translateY(-2px); }
.cork-strip .card .meta { padding: var(--s-2) 4px 0; }
@media (max-width: 899px) {
  /* phones: one short swipeable row of pinned pieces instead of three rows of cork */
  .cork-strip { padding: var(--s-5) 0 var(--s-4); }
  .cork-strip .cards.six { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; gap: var(--s-4); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 18px var(--gutter) var(--s-3); scrollbar-width: thin; }
  .cork-strip .card { scroll-snap-align: start; }
  .cork-strip .cards.six::after { content: ""; width: 1px; }
}
.not-found { max-width: 620px; margin: var(--s-6) auto 0; }

/* ---------- about ---------- */
/* R4: Tiffany's real crafting corner as a charcoal sketch (sketch set 2 scene), one per site */
.about-grid { display: grid; gap: var(--s-6); align-items: center; }
.about-photo .polaroid { max-width: 360px; margin: 0 auto; transform: rotate(2deg); }
.about-photo .polaroid > .pin { top: 4px; width: var(--el-pin-lg); margin-left: calc(var(--el-pin-lg) / -2); }
.hand .sk.sparkle { width: 22px; vertical-align: -2px; }
.about-photo .cap { text-align: center; margin: var(--s-2) 0 0; font-size: var(--t-small); }
.about-photo .cap a { display: inline-flex; align-items: center; min-height: var(--el-tap); font-weight: 700; }
/* "Over the years" (HRB 2026-10-04: Tiffany's 2014-2017 crochet, About only -- never products). Step 38 (HRB 10-07): the
   home hero's board, not a grid of 11 -- the same .board + .pinned deal (craft.js): 5 photos + the post-it, phones 3 + it.
   Memories, not shop items: buttons, the year on the mat, photos a touch faded. */
.years-board { --cork-img: var(--img-cork-strip); margin: var(--s-2) calc(var(--gutter) * -1) 0; padding: var(--s-6) var(--gutter) var(--s-5); border-left: 0; border-right: 0; border-radius: 0; }
.years-grid { list-style: none; margin: 0; }
.years-grid > li { min-width: 0; }
.years-grid .polaroid { width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: zoom-in; }
.years-grid .win img { filter: sepia(.18) saturate(.9); }
.years-grid > li:hover, .years-grid > li:focus-within { transform: translateY(-2px) rotate(0); }
.years-grid .polaroid:focus-visible { outline: 3px solid var(--c-rose); outline-offset: 4px; }
.years-note .t { font-size: 24px; }
.years-hint { margin: var(--s-5) 0 0; font-size: var(--t-small); color: var(--c-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); justify-items: center; }
.steps li.postit { width: 100%; max-width: 290px; aspect-ratio: 1; padding: 34px 32px; }  /* r5: centred (was top-heavy 22/10); v0.14.0: px, not % -- % padding follows the ROW width, so a one-column row at 640-899 px made the note tall, not square */
.steps li:nth-child(1) { transform: rotate(-2deg); }
.steps li:nth-child(2) { transform: rotate(1.5deg); }
.steps li:nth-child(3) { transform: rotate(-1deg); }
.steps .num { display: block; margin: 0 0 4px; font: 700 40px/1 var(--f-hand); color: var(--c-rose-dark); }
.steps h3 { margin: 0 0 6px; font-size: 21px; }
.steps p { margin: 0; color: var(--c-ink); font-size: 16px; line-height: 1.5; }
.two-col { display: grid; gap: var(--s-6); }
.menu-list { list-style: none; margin: 0 0 var(--s-5); padding: 0; }
.menu-list li { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.menu-list strong { display: block; }
.menu-list span { color: var(--c-muted); font-size: var(--t-small); }
.shop-list { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.shop-list li { padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.shop-list a { font-weight: 700; display: inline-flex; min-height: var(--el-tap); align-items: center; }
.shop-list .for { display: block; color: var(--c-muted); font-size: var(--t-small); }
.disclaimer { font-size: var(--t-small); color: var(--c-muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: var(--s-6); }
.side-card { padding: 54px var(--s-5) var(--s-5); }
.side-card > .pin { top: 6px; width: var(--el-pin-lg); margin-left: calc(var(--el-pin-lg) / -2); }
.mail-big { font: 400 clamp(21px, 5.4vw, 28px)/1.3 var(--f-serif); word-break: break-word; }
.row, .row3 { display: grid; gap: 0 var(--s-4); }
.row3[hidden] { display: none; }   /* commission-only fields: grid display used to beat [hidden], so orders and questions showed them */

@media (min-width: 640px) {
  .paths { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .row { grid-template-columns: 1fr 1fr; }
  .row3 { grid-template-columns: 1fr 1fr 1fr; }
  .years-board { margin: var(--s-2) 0 0; border-width: var(--el-frame-sm); border-left-style: solid; border-right-style: solid; padding: var(--s-6) var(--s-5) var(--s-5); }
  .hero > .wrap { padding: 0 var(--gutter); }
  .hero-board { border-width: var(--el-frame); border-left-style: solid; border-right-style: solid; padding: var(--s-7) var(--s-6); }
  .pinned { grid-template-columns: repeat(3, 1fr); }
  .pinned .desk { display: block; }
  .cork-strip { margin: 0; border-width: var(--el-frame-sm); border-left-style: solid; border-right-style: solid; padding: var(--s-6) var(--s-5) var(--s-5); }
}
@media (min-width: 900px) {
  .section { padding-top: var(--s-8); }
  .hero { padding: var(--s-6) 0 var(--s-4); }
  .hero-board { grid-template-columns: 5fr 6fr; gap: var(--s-7); align-items: center; padding: var(--s-7) var(--s-7) var(--s-7) var(--s-8); }
  .hero-card { padding: 56px var(--s-6) var(--s-6); }
  .hero-card .washi { width: 170px; top: -18px; left: -30px; }
  .pinned { gap: var(--s-5) var(--s-5); }
  .hero-note .t { font-size: clamp(20px, 1.9vw, 26px); }
  .product-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-7); row-gap: var(--s-4); }
  .product-grid .gallery { grid-column: 1; grid-row: 1 / span 2; }
  .product-grid .spec-head { grid-column: 2; grid-row: 1; }
  .product-grid .spec { grid-column: 2; grid-row: 2; }
  .about-grid { grid-template-columns: 7fr 5fr; gap: var(--s-8); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* v0.14.0: was 3 x 1fr from 640 px -- at 768 the third post-it ran off the page and the text spilled out of all three */
  .years-board { padding: var(--s-6) var(--s-7) var(--s-5); }
  .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-7); }
  .contact-grid { grid-template-columns: 7fr 4fr; gap: var(--s-7); align-items: start; }
  .contact-side .side-card { padding: 54px var(--s-5) var(--s-5); }
.side-card > .pin { top: 6px; width: var(--el-pin-lg); margin-left: calc(var(--el-pin-lg) / -2); }
.mail-big { font-size: 20px; word-break: normal; overflow-wrap: anywhere; }
  .cards.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .years-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .years-note .t { font-size: 21px; } }
@media (min-width: 1200px) { .cards.six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-5); } .cards.six .name { font-size: 15px; } }

/* v0.13.0 (DB 059): approved crop boxes. The frame takes the preset's shape; craft.js places the photo inside with %. */
.cropbox { display: block; position: relative; overflow: hidden; background: var(--c-line); }
.gallery .main .cropbox { width: 100%; }

/* v0.14.0 note centring (HRB 2026-10-08): the text sits in the middle of the PAPER, measured on the ink.
   - craft.js inkCentre() moves each note's text by its measured ink offset (.ink-c, position:relative = layout, not a transform).
   - no-JS fallback: the polaroid caption box IS the white strip under the photo (window bottom 78.54% to the photo's edge
     98.99%), with its line box filling it, so the line is centred in the strip (was top:80%, bottom:3%, padding-top: text high). */
.ink-c { position: relative; left: var(--ink-x, 0px); top: var(--ink-y, 0px); }
div.ink-c { display: block; width: 100%; }
.polaroid .cap { top: 78.54%; bottom: 1.01%; padding-top: 0; line-height: 23.4cqw; }

/* polish (release 2, 2026-10-08) */
/* item 5: the shop grid keeps its space while the list loads -- skeleton cards + a reserved height, so the footer never
   paints on screen and then jumps away (CLS). craft.js drops .loading when the real cards are in. */
#grid.loading { min-height: 70vh; }
main:has(#grid) { min-height: 100vh; }   /* the shop page is always at least one screen tall: the footer starts below the fold, in every data state */
.card.skel .mat { box-shadow: none; }
.card.skel .ph { display: block; aspect-ratio: 1; background: var(--c-line); }
.card.skel .name, .card.skel .sub { background: var(--c-line); border-radius: 3px; width: 70%; }
.card.skel .sub { width: 45%; margin-top: 4px; }
@media (prefers-reduced-motion: no-preference) { .card.skel .ph { animation: skel-pulse 1.4s ease-in-out infinite alternate; } }
@keyframes skel-pulse { from { opacity: 1; } to { opacity: .55; } }
/* item 4: the outage note on the home page sits above "Fresh off the table" */
.section .outage { margin: 0 auto var(--s-6); }
/* item 6: the category link in a product's facts table is a 44 px tap target on phones */
@media (max-width: 759px) { #product table.data td a { display: inline-flex; align-items: center; min-height: 44px; margin: -11px 0; } }   /* -11px: the text stays level with its label; the extra height is tap area only */

/* v0.13.0 hearts (HRB RULED 2026-10-09 21:59, card 1): Studio v0.8.5's stitched-hearts burst (owner/app.css .cheer, e24dce6),
   in the site's colours: rose / stitched ink outline / sage. craft.js cheer() adds it on a class="hearts" button
   (small, from the tap) and when a note is sent (big, mid-screen). Reduced motion = no burst. */
.cheer { position: fixed; width: 0; height: 0; pointer-events: none; z-index: 60; }
.cheer i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; color: var(--c-rose); opacity: 0;
  animation: cheer-pop var(--d, 900ms) cubic-bezier(.15, .75, .3, 1) forwards; }
.cheer.big i { left: -12px; top: -12px; width: 24px; height: 24px; }
.cheer i svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.cheer i.o svg { fill: none; stroke: var(--c-ink); stroke-width: 1.8; stroke-dasharray: 2.2 1.8; stroke-linecap: round; }
.cheer i.s { color: var(--c-sage); }
.cheer i.s svg { stroke: var(--c-ink); stroke-width: .8; }
@keyframes cheer-pop { 0% { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0); }
  18% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) { .cheer { display: none; } }

/* v0.16.1 (HRB 2026-10-13 22:22): "Photo coming soon" card for a live piece with no approved photo (craft.js soon()) */
.soon { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; width: 100%; padding: 12%;
  background: var(--c-line); color: var(--c-muted); text-align: center; font-size: var(--t-small); border: 2px dashed var(--c-muted); }
.soon.big { font-size: 1.25rem; }

/* v0.18.0 fun pass 1 (HRB 2026-10-20, board step 50; picks 1, 3, 6, 8): charcoal doodles from OpenArt, tinted ink
   through their alpha exactly like the ds .sk sketches. Decorative only (aria-hidden), never take a click. */
.doodle { display: block; background-color: var(--c-ink); pointer-events: none;
  -webkit-mask: var(--dd) center / contain no-repeat; mask: var(--dd) center / contain no-repeat; }
.doodle.tote  { --dd: url(../img/doodles/search-tote.webp);   aspect-ratio: 440 / 302; }
.doodle.tag   { --dd: url(../img/doodles/product-tag.webp);   aspect-ratio: 220 / 215; }
.doodle.plane { --dd: url(../img/doodles/contact-plane.webp); aspect-ratio: 440 / 243; }
.doodle.tape  { --dd: url(../img/doodles/product-tape.webp);  aspect-ratio: 320 / 180; }
.no-hits .doodle.tote { width: min(220px, 60%); margin: 0 0 var(--s-3); }
.spec-head { position: relative; }
.spec-head .doodle.tag { position: absolute; right: 14px; bottom: 12px; width: 72px; transform: rotate(10deg); opacity: .9; }
.spec-head .head-price { padding-right: 84px; }
.spec .doodle.tape { width: 150px; margin: var(--s-3) 0 0 auto; transform: rotate(-3deg); }
.side-card .doodle.plane { width: min(220px, 80%); margin: var(--s-4) auto 0; }
/* a head card that carries its own button (found a home / made to order): the tag moves to the top corner, clear of the button */
.spec-head:has(.ask-order, #askMto) .doodle.tag { top: 12px; bottom: auto; width: 60px; }
.spec-head:has(.ask-order, #askMto) h1 { padding-right: 64px; }

/* v0.19.0 fun pass 2 (HRB 2026-10-20): this month's doodle on the About board -- a paper sticker like the home ones */
.years-grid > .month-doodle { justify-self: center; width: 70%; max-width: 150px; }
.years-grid > .month-doodle img { display: block; width: 100%; height: auto; }
.years-grid > .month-doodle > .pin { position: absolute; top: -4px; left: 50%; width: var(--el-pin-lg); margin-left: calc(var(--el-pin-lg) / -2); z-index: 2; }
/* v0.19.0 fun pass 3 (HRB 2026-10-20): (a) a polaroid gives a little wiggle on hover -- the inner card moves, so the
   board's own tilt (--r on the li) is untouched; (b) links get a dashed "stitch" underline on hover / keyboard focus.
   Both off for prefers-reduced-motion (the stitch is not motion, so it stays). Mouse/trackpad only for the wiggle. */
@keyframes ail-wiggle { 0% { transform: rotate(0); } 25% { transform: rotate(-2.4deg); } 55% { transform: rotate(1.8deg); } 80% { transform: rotate(-.8deg); } 100% { transform: rotate(0); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pinned .polaroid:hover, .pinned .month-doodle:hover img, .cork-strip .card > a:hover .polaroid { animation: ail-wiggle .5s ease-in-out 1; }
}
main p a:not(.btn):hover, main p a:not(.btn):focus-visible, main li a:not(.btn):not(.polaroid):hover,
.main-nav a:hover, .main-nav a:focus-visible, footer a:hover, footer a:focus-visible {
  text-decoration-line: underline; text-decoration-style: dashed; text-decoration-color: var(--c-rose, currentColor);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}

/* v0.20.0 (HRB 2026-10-21): the seasonal shower, every home-page load (craft.js rain()). Small, soft, behind every click. */
.rain { position: absolute; top: 0; left: 0; right: 0; overflow: hidden; pointer-events: none; z-index: 55; }
/* v0.20.1 (HRB 2026-10-21 11:40): one smooth fall (a single eased segment -- the old 3-stop keyframes eased in and out
   at every stop, so pieces fell, stopped, fell again). Sway rides the separate translate property; fade is its own track. */
.rain i { position: absolute; top: -40px; font-style: normal; font-size: calc(22px * var(--s, 1)); line-height: 1; opacity: 0;
  animation: ail-fall var(--dur, 3800ms) cubic-bezier(.25, .1, .5, 1) var(--d, 0ms) 1 forwards,
             ail-fade var(--dur, 3800ms) linear var(--d, 0ms) 1 forwards,
             ail-sway var(--swt, 1.8s) ease-in-out var(--d, 0ms) infinite alternate; }
.rain i.h { width: calc(18px * var(--s, 1)); height: calc(18px * var(--s, 1)); color: var(--c-rose); }
.rain i.h svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.rain i.h.s { color: var(--c-sage); }
@keyframes ail-fall { from { transform: translateY(0) rotate(0); } to { transform: translateY(var(--fall, 60vh)) rotate(var(--r)); } }
@keyframes ail-sway { from { translate: calc(var(--sw) * -1) 0; } to { translate: var(--sw) 0; } }
@keyframes ail-fade { 0% { opacity: 0; } 6% { opacity: .85; } 82% { opacity: .8; } 100% { opacity: 0; } }   /* v0.20.2: quicker in and out */
@media (prefers-reduced-motion: reduce) { .rain { display: none; } }
