/* Muse & Whisker. Warm paper, a gallery-green wall, terracotta to act on. Phone first. */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #FBF7F1;
  --paper-2: #F4EDE2;
  --ink: #1F1C18;
  --muted: #6E655A;
  --line: #E6DCCD;
  --wall: #1E3B39;
  --wall-2: #27494A;
  --accent: #C2552F;
  --accent-ink: #FFFFFF;
  --accent-deep: #A6431F;
  --wall-top: #E9E0D2; --wall-bottom: #E2D7C6; --ledge: #D3C6B2;   /* the wall a canvas hangs on (reveal, order) */
  --gold: #B88C3E;
  --gold-ink: #8A6629;          /* the same gold, dark enough for small text on paper (4.9:1) */
  --blush: #F6E4D7;
  --ok: #2F6B45;
  --radius: 14px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 650; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 .4em; }
h1 em, h2 em { font-style: italic; font-weight: 520; color: var(--accent); }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(194, 85, 47, .45); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 650 17px/1 var(--sans); padding: 15px 22px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 18px -8px rgba(166,67,31,.7);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-big { font-size: 19px; padding: 19px 30px; min-height: 60px; }
.btn-small { font-size: 15px; padding: 11px 16px; }
.btn-wide { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--paper-2); color: var(--ink); }
.link { background: none; border: 0; color: var(--muted); font: 15px var(--sans); text-decoration: underline; cursor: pointer; padding: 12px 2px; display: inline-block; }   /* a 44 px tap target */
.notice .link { display: inline; padding: 0; }   /* mid-sentence in a notice it stays part of the line */
.file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.micro { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.arrives { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 10px 0 0; }
.arrives + .micro { margin-top: 2px; }
.center { text-align: center; }

/* header */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; padding-top: max(12px, env(safe-area-inset-top)); background: rgba(251, 247, 241, .88);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.bar.scrolled { border-bottom-color: var(--line); }
.logo img { width: 168px; height: auto; }

/* hero */
.hero { display: grid; gap: 18px; padding: 18px 20px 10px; max-width: 1180px; margin: 0 auto; grid-template-areas: "top" "art" "bottom"; }
.hero-top { grid-area: top; }
.hero-bottom { grid-area: bottom; }
.hero-bottom .lede { margin-top: 18px; }
.hero h1 { margin-bottom: 0; }
.eyebrow { font: 650 13px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
@media (max-width: 360px) {
  .eyebrow { font-size: 11.5px; letter-spacing: .07em; }
  .bar .btn-small { white-space: nowrap; padding: 9px 12px; font-size: 14px; }
  .hero { gap: 12px; }
}
.hero h1 { font-size: clamp(42px, 11.5vw, 78px); }
.lede { font-size: 19px; color: #3B352E; max-width: 34em; }
.cta-row { margin-top: 8px; }
.hero-art { grid-area: art; margin: 0; justify-self: center; width: min(100%, 60vh, 470px); }

.canvas { position: relative; background: #fff; padding: 9px; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.08), 0 22px 40px -18px rgba(40, 28, 16, .55); }
.canvas::after { content: ""; position: absolute; inset: 0; border-radius: 3px; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), inset -6px 0 12px -10px rgba(0,0,0,.25); }
.canvas img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
/* The photo beside the painting made from it, in the hero and the gallery: any phone photo works, and both show at
once, with nothing to tap or wait for. The photo is a snapshot, the painting a canvas. */
.pair { display: grid; grid-template-columns: .66fr 20px 1fr; align-items: center; gap: 6px; }
.snap { position: relative; background: #fff; padding: 5px 5px 21px; border-radius: 2px; transform: rotate(-2.5deg);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 14px 26px -14px rgba(40, 28, 16, .55); }
.snap img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.snap-cap { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font: italic 13px/1 var(--serif); color: var(--muted); }
.pair-arrow { width: 20px; height: 15px; color: var(--accent); background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M2 8h17M13 2.5 19 8l-6 5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M2 8h17M13 2.5 19 8l-6 5.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.canvas-hero { transform: rotate(1deg); }
/* Their own painting, once they've chosen one: shown whole, on its own. */
.hero-art.mine .snap, .hero-art.mine .pair-arrow { display: none; }
.hero-art.mine .pair { grid-template-columns: 1fr; justify-items: center; }
.hero-art.mine .canvas-hero { width: min(78%, 46vh, 400px); transform: rotate(-1.2deg); }

/* trust strip */
.trust { list-style: none; margin: 18px auto 0; padding: 14px 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
  max-width: 1180px; font-size: 14.5px; color: var(--muted); }
.trust li { padding-left: 24px; position: relative; }
.trust li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23C2552F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.trust b { color: var(--ink); font-weight: 650; }

/* sections */
section { scroll-margin-top: 70px; }
.how, .gallery, .sizes-sec, .faq, .final-cta, .promise { max-width: 1180px; margin: 0 auto; padding: 56px 20px 8px; }
section > h2 { font-size: clamp(30px, 7vw, 46px); }
.section-sub { color: var(--muted); max-width: 40em; }
.steps3 { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps3 li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px 72px; position: relative; }
.steps3 .n { position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--wall); color: var(--paper);
  font: 600 18px/36px var(--serif); text-align: center; }
.steps3 h3 { font-size: 22px; margin-bottom: 6px; }
.steps3 p { margin: 0; color: #4A433B; }

.gallery { max-width: none; background: var(--wall); color: var(--paper); margin-top: 56px; padding: 56px 20px 60px;
  background-image: radial-gradient(ellipse at 50% -10%, rgba(255, 233, 196, .16), transparent 60%); }
.gallery > h2, .gallery > p { max-width: 1180px; margin-left: auto; margin-right: auto; }
.gallery-grid { max-width: 440px; margin: 26px auto 0; display: grid; grid-template-columns: 1fr; gap: 30px; }
.ex { margin: 0; }
.ex .canvas { padding: 6px; }
.ex .snap { padding-bottom: 5px; }   /* no caption here: the arrow says which is the photo */
@media (max-width: 719px) { .ex:nth-child(n+5) { display: none; } }   /* four on a phone, so the page keeps moving */
.gallery .pair-arrow { color: #E9DFC9; }
.ex figcaption { font-size: 14px; color: #C9D3CF; margin-top: 12px; text-align: center; }
.ex figcaption b { color: var(--paper); font-weight: 600; }

.price-cards { display: grid; gap: 12px; margin: 22px 0 16px; }
.price-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 10px 26px -18px rgba(166,67,31,.8); }
.price-card .mini { background: var(--paper-2); border-radius: 4px; aspect-ratio: 3 / 4; display: grid; place-items: center; }
.price-card .mini span { display: block; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.18); aspect-ratio: 3 / 4; }
.price-card h3 { font-size: 21px; margin: 0; }
.price-card p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.price-card .price { font: 650 26px/1 var(--serif); }
.badge { display: inline-block; background: var(--accent); color: #fff; font: 650 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 3px; }

.moments { max-width: 1180px; margin: 56px auto 0; padding: 0 20px; display: grid; gap: 14px; }
.moment { background: var(--blush); border-radius: 18px; padding: 26px 22px 12px; }
.moment h2 { font-size: clamp(26px, 6vw, 36px); }
.moment p { color: #4A3F35; }

.promise { text-align: center; }
.promise img { margin: 0 auto 10px; }
.promise p { max-width: 36em; margin: 0 auto 1em; color: #4A433B; }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font: 600 18px/1.35 var(--sans); padding: 16px 34px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 26px/1 var(--sans); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #4A433B; padding-right: 8px; }

.final-cta { text-align: center; padding-bottom: 70px; }
.final-cta h2 { max-width: 14em; margin-left: auto; margin-right: auto; }

.foot { border-top: 1px solid var(--line); padding: 30px 20px 50px; text-align: center; color: var(--muted); font-size: 14px; }
.foot img { margin: 0 auto 14px; opacity: .85; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 12px; }
.foot a { color: var(--muted); }

/* studio: a full-screen sheet on phones, a centered card on larger screens */
.studio { position: fixed; inset: 0; z-index: 40; background: rgba(20, 18, 15, .55); display: grid; align-items: end;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.studio[hidden] { display: none; }
.studio-inner { background: var(--paper); border-radius: 22px 22px 0 0; padding: 22px 18px calc(24px + env(safe-area-inset-bottom));
  max-height: 100dvh; overflow-y: auto; position: relative; animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.close { position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.studio-title { font-size: clamp(28px, 7vw, 40px); margin-top: 6px; text-align: center; }
.studio-sub { text-align: center; color: var(--muted); }
.step[hidden] { display: none; }

.painting-stage { display: grid; place-items: center; padding: 8px 0 14px; }
.canvas-wip { width: min(72vw, 300px); overflow: hidden; }
.canvas-wip img { filter: saturate(.85); }
.brush { position: absolute; inset: 9px; background: linear-gradient(100deg, rgba(251,247,241,0) 0%, rgba(251,247,241,.92) 45%, rgba(246,228,215,.95) 55%, rgba(251,247,241,0) 100%);
  background-size: 260% 100%; animation: sweep 2.4s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes sweep { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.progress { height: 6px; background: var(--paper-2); border-radius: 999px; overflow: hidden; max-width: 340px; margin: 8px auto 18px; }
.progress span { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, var(--gold), var(--accent)); border-radius: 999px; transition: width .9s linear; }
.name-ask, .save { max-width: 420px; margin: 0 auto; }
.name-ask label, .save label { display: block; font-weight: 600; margin-bottom: 8px; text-align: center; }
.inline { display: flex; gap: 8px; }
input[type=text], input[type=email], input:not([type]) { flex: 1; min-width: 0; font: 17px var(--sans); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(194,85,47,.18); }

/* The paintings hang on the order step's wall, so the choice already looks like the canvas at home. */
.takes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; max-width: 620px; margin: 4px auto 16px; padding: 22px 16px 30px;
  background: linear-gradient(var(--wall-top), var(--wall-bottom)); border-radius: 16px; position: relative; }
.takes::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--ledge); border-radius: 0 0 16px 16px; }
.takes:empty { display: none; }
@media (max-width: 400px) { .takes { padding: 18px 10px 26px; gap: 12px 10px; } }   /* the paintings stay full size on a phone */
/* Labels on the wall: 5.1:1 and up, the picked one 5.3:1. */
.takes .take:not([aria-pressed="true"]) .label { color: #5E564C; }
.takes .take[aria-pressed="true"] .label { color: #8F3A19; }
.take { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; position: relative; text-align: center; color: var(--ink); }
.take .canvas { padding: 6px; }
.take .label { display: block; font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.take[aria-pressed="true"] .label { color: var(--accent-deep); font-weight: 650; }
.take .canvas { transition: transform .2s var(--ease), box-shadow .2s; }
.take[aria-pressed="true"] .canvas { box-shadow: 0 0 0 3px var(--accent), 0 22px 40px -18px rgba(40, 28, 16, .55); transform: translateY(-2px); }
.take .pick { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 2px 6px rgba(0,0,0,.2); display: grid; place-items: center; }
.take[aria-pressed="true"] .pick { background: var(--accent); }
.take[aria-pressed="true"] .pick::after { content: ""; width: 12px; height: 7px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.take.waiting .canvas { background: var(--paper-2); aspect-ratio: 3 / 4; }
.take.waiting .canvas::before { content: "Painting…"; position: absolute; inset: 6px; display: grid; place-items: center; font: italic 17px var(--serif); color: var(--muted); background: linear-gradient(100deg, #F4EDE2 30%, #FBF7F1 50%, #F4EDE2 70%); background-size: 200% 100%; animation: sweep 1.6s linear infinite; }
.reveal-actions { display: grid; gap: 10px; max-width: 420px; margin: 4px auto 22px; }
/* What they get, right above the order button: one stack at every width, each line's text starting at the same place
after its 19px icon (a check, or the flag for printed in the USA, drawn so it looks the same on every device). */
.promises { list-style: none; margin: 0 0 2px; padding: 0; display: grid; justify-content: center; gap: 3px;
  font-size: 14.5px; color: #4A4238; }
.promises li { display: flex; align-items: center; gap: 8px; }
.promises li::before { content: ""; flex: none; width: 19px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2 4.6 8.2 10.5 1.8' fill='none' stroke='%23A6431F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 10px no-repeat; }
.promises li.usa::before { border-radius: 1.5px; box-shadow: 0 0 0 .5px rgba(31, 28, 24, .3);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 10'%3E%3Crect width='19' height='10' fill='%23fff'/%3E%3Cpath shape-rendering='crispEdges' fill='%23B22234' d='M0 0h19v1.43H0zM0 2.86h19v1.43H0zM0 5.71h19v1.43H0zM0 8.57h19V10H0z'/%3E%3Crect shape-rendering='crispEdges' width='7.6' height='5.71' fill='%233C3B6E'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='1.6' cy='1.5' r='.5'/%3E%3Ccircle cx='3.8' cy='1.5' r='.5'/%3E%3Ccircle cx='6' cy='1.5' r='.5'/%3E%3Ccircle cx='1.6' cy='4.1' r='.5'/%3E%3Ccircle cx='3.8' cy='4.1' r='.5'/%3E%3Ccircle cx='6' cy='4.1' r='.5'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.save { border-top: 1px solid var(--line); padding-top: 18px; }

.order-grid { display: grid; gap: 18px; }
.wall { background: linear-gradient(var(--wall-top), var(--wall-bottom)); border-radius: 16px; padding: 28px 18% 34px; position: relative; }
.wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--ledge); border-radius: 0 0 16px 16px; }
.canvas-order { transition: box-shadow .2s, outline-color .2s; }
.canvas-order.frame-black { outline: 10px solid #1d1d1d; outline-offset: 6px; }
.canvas-order.frame-white { outline: 10px solid #f7f7f5; outline-offset: 6px; }
.canvas-order.frame-brown { outline: 10px solid #6b4a2f; outline-offset: 6px; }
/* The name sits as it prints (render/mw_print.py), measured on the painting itself: 8% of its width, where the
   store's nameSpot puts it on this painting (app.js sets the bottom), over a bottom that thins into the paper when
   the paint reaches the edge (app.js draws .name-fade). */
.canvas-order .art { position: relative; overflow: hidden; container-type: inline-size; }
.name-fade { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.name-line { position: absolute; left: 0; right: 0; bottom: 6.1%; text-align: center; font: italic 500 clamp(18px, 4.6vw, 26px)/1 var(--serif); font-size: 8cqw; color: #3a332b; margin: 0; white-space: nowrap; }
.name-line span { display: inline-block; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
legend { font: 650 14px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 13px 14px; margin-bottom: 8px; cursor: pointer; font-size: 16px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,85,47,.14); }
.opt:has(input:focus-visible) { outline: 3px solid rgba(194, 85, 47, .45); outline-offset: 2px; }
.opt .o-name { font-weight: 600; }
.opt .o-note { color: var(--muted); font-size: 14px; }
.opt .o-price { font: 650 18px var(--serif); white-space: nowrap; }
.frames { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.addons .opt { justify-content: flex-start; }
.addons .o-text { flex: 1; }
.addons .o-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; color: transparent; font: 700 13px/1 var(--sans); }
.addons .opt:has(input:checked) .o-tick { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.frames legend { grid-column: 1 / -1; }
.swatch { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0,0,0,.15); flex: none; }
.add-name { margin: 2px 0 16px; }
.name-note { margin: 6px 0 0; font-size: 14px; color: var(--accent-deep); }
/* The other canvases in this order: a row each, removable. */
.also { margin: 4px 0 6px; }
.also-title { font: 650 14px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.also-list { list-style: none; margin: 0; padding: 0; }
.also-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 8px; }
.also-list img { width: 36px; height: 48px; object-fit: cover; border-radius: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.15); flex: none; }
.also-what { flex: 1; font-size: 15px; }
.also-price { font: 650 16px var(--serif); white-space: nowrap; }
.also-remove { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); padding: 4px 6px; cursor: pointer; border-radius: 8px; }
.also-remove:focus-visible { outline: 3px solid rgba(194, 85, 47, .45); }
.add-canvas { display: block; margin: 2px 0 14px; color: var(--accent-deep); font-weight: 600; }
.switch { display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 500; }
.switch input { width: 22px; height: 22px; accent-color: var(--accent); }
.switch em { color: var(--ok); font-style: normal; font-weight: 650; }
#name-text { margin-top: 10px; width: 100%; }
.summary { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 18px; }
.total b { font: 650 30px var(--serif); }
.notice { background: var(--blush); border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-size: 15.5px; }

.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; z-index: 60; font-size: 15px; max-width: 90vw; }

@media (min-width: 720px) {
  .trust { grid-template-columns: repeat(4, auto); justify-content: center; gap: 10px 34px; }
  .steps3 { grid-template-columns: repeat(3, 1fr); }
  .steps3 li { padding: 76px 22px 20px; }
  .steps3 .n { top: 22px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 38px 40px; max-width: 900px; }
  .price-cards { grid-template-columns: repeat(3, 1fr); }
  .price-card { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .price-card .mini { width: 70px; margin: 0 auto; }
  .moments { grid-template-columns: 1fr 1fr; }
  .studio { align-items: center; justify-items: center; padding: 24px; }
  .studio-inner { border-radius: 24px; width: min(1000px, 100%); max-height: calc(100dvh - 48px); padding: 30px 34px 34px; }
  .order-grid { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 30px; }
  .order-form .studio-title { text-align: left; }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: 1.1fr .9fr; grid-template-areas: "top art" "bottom art"; align-items: end; padding-top: 44px; gap: 18px 50px; }
  .hero-bottom { align-self: start; }
  .hero-art { width: min(100%, 580px); }
  .hero .pair { grid-template-columns: .68fr 20px 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); max-width: 1120px; }
  .dock { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* the button that follows on phones */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(251,247,241,0), rgba(251,247,241,.96) 30%); animation: rise .25s var(--ease); }
.dock[hidden] { display: none; }
.reveal-actions .link { text-align: center; display: block; }

/* the way back to a painting once the studio is closed */
.resume { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  background: #fff; color: var(--ink); border: 1.5px solid var(--accent); border-radius: 16px; text-align: left; cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(40, 28, 16, .55); animation: rise .3s var(--ease); font: inherit; }
.resume-thumb { width: 54px; height: 72px; border-radius: 4px; overflow: hidden; background: var(--paper-2); display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.resume-thumb img { width: 100%; height: 100%; object-fit: cover; }
.resume-text { display: grid; gap: 2px; font-size: 14.5px; color: var(--muted); }
.resume-text b { font: 600 17px/1.2 var(--serif); color: var(--ink); }
.resume-go { font: 400 34px/1 var(--sans); color: var(--accent); }
.resume.painting .resume-thumb { animation: sweep 1.6s linear infinite; background: linear-gradient(100deg, #F4EDE2 30%, #FBF7F1 50%, #F4EDE2 70%); background-size: 200% 100%; }
@media (min-width: 720px) { .resume { left: auto; right: 22px; bottom: 22px; width: 340px; } }

/* this device's other paintings, inside the studio */
.mine { max-width: 620px; margin: 0 auto 18px; }
.mine-title { font: 650 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; text-align: center; }
.mine-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.mine-row button { appearance: none; border: 1.5px solid var(--line); background: #fff; padding: 3px; border-radius: 8px; cursor: pointer; width: 54px; }
.mine-row button[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(194,85,47,.18); }
.mine-row img, .mine-row .blank { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px; display: block; background: var(--paper-2); }

/* "Biscuit from Charlotte, NC was just painted": real events, gently */
.note { position: fixed; z-index: 34; left: 12px; right: 12px; top: calc(66px + env(safe-area-inset-top)); display: grid;
  grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; background: rgba(255,255,255,.97); border: 1px solid var(--line);
  border-radius: 14px; padding: 9px 8px 9px 10px; box-shadow: 0 12px 28px -14px rgba(40,28,16,.45); animation: drop .35s var(--ease); }
.note p { margin: 0; font-size: 14.5px; line-height: 1.35; }
.note-ago { display: block; color: var(--muted); font-size: 12.5px; }
.note img { border-radius: 8px; background: var(--paper); }
.note-x { border: 0; background: none; color: var(--muted); font-size: 22px; width: 36px; height: 36px; cursor: pointer; border-radius: 50%; }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 720px) { .note { top: auto; right: auto; bottom: 22px; left: 22px; width: 360px; } }

.tip { margin-top: 4px; }
.wip-refs { display: flex; gap: 8px; justify-content: center; margin-bottom: 10px; }
.wip-refs img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }

.upclose { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; margin-top: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.upclose img { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; }
.upclose p { margin: 0; font-size: 14.5px; color: #4A433B; }
.upclose b { color: var(--ok); }

.express { margin-bottom: 10px; }
.express .or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; margin: 12px 0 10px; }
.express .or::before, .express .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
