/* Home: the scrapbook layout (Option A, approved 2026-10-21). Hand-drawn pink
   doodles and canvases hung on the wall. */
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.doodle { fill: none; stroke: var(--lilac); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hand { font-family: var(--f-script); color: var(--aubergine); line-height: 1.02; }
.ico { width: 34px; height: 34px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.sec-head h2 { font-size: var(--fs-h2); line-height: 1.05; }
.sec-head p { max-width: 52ch; margin-top: .4rem; color: var(--aubergine-2); }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--violet); text-decoration: none; }
.more:hover { color: var(--violet-ink); text-decoration: none; }
.more svg { width: 34px; height: 16px; }

/* ---------- Hero: pick a photo on the phone, it hangs on the wall ---------- */
.home-hero { position: relative; padding-block: 0; background: linear-gradient(180deg, #fff 0%, #FDEEF6 100%); }
.home-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: 1.75rem 2.75rem; }
.home-hero__text { display: grid; gap: 1.25rem; justify-items: start; }
.home-hero h1 { font-size: var(--fs-h1); line-height: 1.02; }
.home-hero h1 .script { display: inline-block; font-size: 1.18em; transform: rotate(-2deg); }
.home-hero__sub { max-width: 40ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--aubergine-2); }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; width: 100%; margin: .6rem 0 0; padding: 0; list-style: none; }
.trust li { display: grid; justify-items: center; gap: .4rem; text-align: center; font-size: .84rem; font-weight: 600; line-height: 1.2; }
.trust .ico { width: 30px; height: 30px; }

.pick { position: relative; min-height: 520px; }
.pick__wall { position: absolute; inset: 0 0 0 8%; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #F6EFF2 0%, #F1E8EC 76%, #E3D6CE 76%, #DCCDC3 100%); }
.pick__wall::after { content: ""; position: absolute; left: 0; right: 0; top: 76%; height: 7px; background: #fff; box-shadow: 0 1px 0 rgba(20, 16, 20, .08); }
.pick__canvas { position: absolute; right: 9%; top: 9%; z-index: 1; width: 54%; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-canvas); background: #ddd; box-shadow: var(--hung); }
.pick__canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform .9s ease; }
.pick__canvas img.is-out { opacity: 0; transform: scale(1.04); }
.pick__canvas::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset -6px 0 8px -6px rgba(0, 0, 0, .35), inset 0 -6px 8px -6px rgba(0, 0, 0, .25); }
.pick__phone { position: absolute; left: 12%; bottom: -6px; z-index: 3; width: 31%; min-width: 170px; aspect-ratio: 9 / 17;
  padding: 8px; border-radius: 30px; background: var(--edge-black); box-shadow: var(--hung); transform: rotate(-6deg); }
.pick__screen { display: grid; grid-template-rows: auto auto 1fr auto; width: 100%; height: 100%; overflow: hidden; border-radius: 23px; background: #fff; }
.pick__notch { width: 34%; height: 14px; margin: 0 auto; border-radius: 0 0 10px 10px; background: var(--edge-black); }
.pick__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 6px; font-size: .66rem; font-weight: 600; line-height: 1; }
.pick__bar span:last-child { color: var(--violet); }
.pick__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; align-content: start; padding: 0 3px; }
.pick__grid button, .pick__up { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 2px; background: #eee; cursor: pointer; }
.pick__grid button img { width: 100%; height: 100%; object-fit: cover; }
.pick__grid button:focus-visible, .pick__up:focus-visible { z-index: 1; outline: 3px solid var(--violet); outline-offset: 1px; }
.pick__up { display: grid; place-items: center; align-content: center; gap: 3px; background: var(--lavender); color: var(--violet); font-size: .55rem; font-weight: 600; line-height: 1; text-decoration: none; }
.pick__up:hover { text-decoration: none; background: #EEE2F8; }
.pick__up svg { width: 22px; height: 22px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pick__grid button[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--lilac); }
.pick__grid button[aria-pressed="true"]::before { content: ""; position: absolute; right: 4px; top: 4px; z-index: 1; width: 15px; height: 15px; border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pick__tap { position: absolute; z-index: 2; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(254, 4, 130, .28); opacity: 0; pointer-events: none; }
.pick__tap.go { animation: tap .7s ease-out; }
@keyframes tap { 0% { opacity: 1; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.8); } }
.pick__use { margin: 7px; padding: 9px 0; border-radius: 6px; background: var(--sweep); color: #fff; font-size: .62rem; font-weight: 600; line-height: 1; text-align: center; }
.pick__arrow { position: absolute; left: 39%; top: 58%; z-index: 4; width: 120px; height: 80px; transform: rotate(-32deg); }
.pick__note { position: absolute; right: 2%; top: 74%; z-index: 4; font-size: 1.45rem; text-align: right; transform: rotate(-5deg); }
.pick__note svg { display: inline-block; width: 30px; height: 28px; vertical-align: middle; }

/* ---------- How it works: four taped cards with arrows between ---------- */
.steps { position: relative; overflow: hidden; padding-block: 3.5rem 4rem; background: #FDEEF6; }
.steps__grid { display: grid; gap: .6rem; }
.steps__head { justify-content: center; text-align: center; }
.steps__head > * { width: 100%; }
.steps__head p { margin-inline: auto; }
.steps4 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps4 li { position: relative; display: grid; gap: .4rem; align-content: start; padding: 20px 18px 22px; border-radius: 10px; background: #fff; box-shadow: 0 1px 0 var(--color-border); }
/* Number on the left, icon on the right of the same row. */
.steps4 li { grid-template-columns: minmax(0, 1fr) auto; }
.steps4 li > h3, .steps4 li > p { grid-column: 1 / -1; }
.steps4 .ico { grid-column: 2; grid-row: 1; align-self: center; width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--lavender); }
.steps4 li:nth-child(odd) { rotate: -.8deg; }
.steps4 li:nth-child(even) { rotate: .7deg; }
.steps4 li + li::before { content: ""; position: absolute; left: -31px; top: 46%; width: 34px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 24'%3E%3Cpath d='M2 14c8-5 16 1 27-3' fill='none' stroke='%23FE0482' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M22 4l8 7-9 6' fill='none' stroke='%23FE0482' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.steps4 h3 { font-size: 1.12rem; line-height: 1.2; }
.steps4 p { font-size: .94rem; color: var(--aubergine-2); }
.steps4__num { font: 400 2.1rem/1 var(--f-script); color: var(--pink); }

/* ---------- Shop ready-made canvas art: the category tiles ---------- */
.cats-sec { padding-block: 3.75rem 3.25rem; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem 1rem; margin: 0; padding: 0; list-style: none; }
.cats li { display: grid; gap: .55rem; }
.cats .hung { aspect-ratio: 4 / 5; overflow: hidden; border: 5px solid #fff; background: #ddd; }
.cats .hung picture, .polaroids .hung picture { display: block; height: 100%; }
.cats .hung img { height: 100%; object-fit: cover; }
.cats li:nth-child(3n+1) .hung { rotate: -1.6deg; }
.cats li:nth-child(3n+2) .hung { rotate: 1.2deg; }
.cats a { font-size: .92rem; font-weight: 600; line-height: 1.2; color: var(--aubergine); text-align: center; text-decoration: none; }
.cats a:hover { color: var(--violet); }
.cats li { position: relative; }
.cats a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Create your own gallery (creators) ---------- */
.creators { position: relative; padding-block: 3.5rem; background: linear-gradient(180deg, var(--lavender), #fff); }
.creators__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 2.5rem; align-items: center; }
.creators__text { display: grid; gap: .9rem; justify-items: start; }
.creators__text h2 { font-size: var(--fs-h2); line-height: 1.05; }
.creators__text > p { max-width: 46ch; color: var(--aubergine-2); }
.creators__text > .creators__sub { font-weight: 600; color: var(--aubergine); }
.checks { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: .6rem; align-items: start; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.polaroids { position: relative; padding-top: 164px; }
.polaroids::after { content: ""; display: block; padding-top: 46%; }
.polaroids .hung { position: absolute; width: 46%; aspect-ratio: 1; overflow: hidden; border: 8px solid #fff; border-bottom-width: 28px; background: #ddd; }
.polaroids .hung img { height: 100%; object-fit: cover; border-radius: 0; }
.polaroids .hung:nth-child(1) { left: 2%; top: 10px; rotate: -6deg; }
.polaroids .hung:nth-child(2) { left: 46%; top: 0; rotate: 5deg; }
.polaroids .hung:nth-child(3) { left: 22%; top: 150px; z-index: 2; rotate: -1deg; }
.polaroids .hand { position: absolute; right: -12px; top: 268px; z-index: 3; width: 9.5rem; font-size: 1.5rem; text-align: center; transform: rotate(-4deg); }
.polaroids .hand svg { position: absolute; left: -60px; top: 4px; display: block; width: 56px; height: 50px; transform: rotate(90deg) scaleX(-1); }

/* ---------- Featured canvas prints (only when the store has featured canvases) ---------- */
.featured { padding-block: 3.75rem 1.5rem; }

/* ---------- Common questions ---------- */
.home-faq { padding-block: 3.75rem; }
.home-faq__grid { display: grid; gap: 2rem; }
.home-faq__head h2 { font-size: var(--fs-h2); }
.home-faq__head .text-link { margin-top: .75rem; }
.home-faq__list details { border-bottom: 1px solid var(--rule-strong); }
.home-faq__list details:first-child { border-top: 1px solid var(--rule-strong); }
.home-faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 600; line-height: 1.4;
}
.home-faq__list summary::-webkit-details-marker { display: none; }
.home-faq__list summary::after {
  content: ""; flex: 0 0 auto; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 1.5px solid var(--violet);
  background:
    linear-gradient(var(--violet), var(--violet)) 50% 50% / .8rem 1.5px no-repeat,
    linear-gradient(var(--violet), var(--violet)) 50% 50% / 1.5px .8rem no-repeat;
  transition: transform .25s var(--ease);
}
.home-faq__list details[open] summary::after { transform: rotate(45deg); }
.home-faq__list summary:hover { color: var(--violet); }
.home-faq__list details p { max-width: 44rem; padding: 0 3rem 1.5rem 0; color: var(--aubergine-2); }

/* ---------- Closing CTA ---------- */
.home-cta { padding-block: 1.9rem 0; }
.home-cta__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  min-height: 260px; margin-bottom: 3.5rem; padding: 2.75rem clamp(1.25rem, 4vw, 3.25rem); border-radius: 16px; background: #FDEEF6; }
.home-cta__text { display: grid; gap: .9rem; justify-items: start; }
.home-cta__text h2 { font-size: var(--fs-h2); }
.home-cta__text p { color: var(--aubergine-2); }
.home-cta__canvases { position: relative; width: clamp(240px, 27vw, 330px); aspect-ratio: 330 / 250; margin-right: clamp(0rem, 3vw, 2.5rem); }
.home-cta__canvas { position: absolute; }
.home-cta__canvas picture { display: block; }
.home-cta__canvas img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-canvas); box-shadow: var(--hung); }
.home-cta__canvas::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-canvas); pointer-events: none;
  box-shadow: inset -6px 0 8px -6px rgba(0, 0, 0, .35), inset 0 -6px 8px -6px rgba(0, 0, 0, .25); }
.home-cta__canvas--big { right: 0; top: 0; width: 76%; rotate: 3deg; }
.home-cta__canvas--big img { aspect-ratio: 4 / 3; }
.home-cta__canvas--small { left: 0; bottom: 0; z-index: 1; width: 40%; rotate: -6deg; }
.home-cta__canvas--small img { aspect-ratio: 1; }
.home-cta__heart { position: absolute; right: -14px; bottom: -6px; z-index: 2; width: 44px; height: 40px; transform: rotate(12deg); }
.home-cta__heart--sm { right: auto; bottom: auto; left: 8%; top: 4%; width: 28px; height: 26px; transform: rotate(-14deg); }

/* ---------- Narrower screens ---------- */
@media (max-width: 1099.98px) {
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 959.98px) {
  .has-mobile-bar .home-hero__actions .btn--solid { display: none; }
  .creators__grid { grid-template-columns: minmax(0, 1fr); }
  .polaroids { width: min(100%, 470px); margin-inline: auto; }
}
@media (max-width: 859.98px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pick { min-height: 440px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 li + li::before { display: none; }
}
@media (max-width: 759.98px) {
  .home-cta__card { grid-template-columns: minmax(0, 1fr); }
  .home-cta__canvases { justify-self: center; width: min(84%, 300px); margin: .75rem 0 .5rem; }
}
@media (max-width: 559.98px) {
  .pick { min-height: 380px; }
  .pick__wall { left: 0; }
  .pick__phone { left: 4%; width: 42%; min-width: 0; }
  .pick__canvas { right: 4%; top: 6%; width: 58%; }
  .pick__arrow { left: 43%; top: 52%; width: 80px; height: 56px; transform: rotate(-42deg); }
  .pick__note { right: 3%; top: 70%; width: 44%; font-size: 1.05rem; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: minmax(0, 1fr); }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .polaroids .hand { right: -4px; top: 222px; width: 6.6rem; font-size: 1.15rem; }
  .polaroids .hand svg { left: -46px; width: 44px; height: 40px; }
}
@media (min-width: 960px) {
  .home-faq__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
  .home-faq__head { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
  .home-faq__list { grid-column: 6 / 13; }
}

/* The doodles draw themselves in: the hero arrow on load, the rest as their section scrolls in. */
@media (prefers-reduced-motion: no-preference) {
  .js .draw path { stroke-dasharray: 400; stroke-dashoffset: 400; }
  .js .home-hero .draw path, .js .is-drawn .draw path { animation: draw 1.1s .25s ease-out forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pick__canvas img { transition: none; }
  .pick__tap.go { animation: none; }
}

