/* Front Door Studio: shared look for all three pages (Heritage design).
   index.html = landing page, make.html = make your picture, print.html = order a print. */

:root {
  --bg: #f3ecdf;
  --surface: #fffaf1;
  --white: #ffffff;
  --ink: #1d2420;
  --muted: #4f574f;
  --line: #d9cfbb;
  --line-strong: #cdbf9f;
  --green: #1e3a2f;
  --green-dark: #15291f;
  --brass: #c9a24a;
  --brass-hover: #d6b25e;
  --brass-text: #6b5a2a;
  --cream: #f3ecdf;
  --cream-muted: #d6d0c2;
  --sand: #e9e0cd;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(30,58,47,.05), 0 10px 30px rgba(30,58,47,.09);
  --display: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 16px/1.55 var(--sans); background: var(--bg); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-text); }

/* ---------- Header (all pages) ---------- */
.top { background: var(--green); color: var(--cream); }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.top-home .bar { border-bottom: 1px solid rgba(243,236,223,.18); }
.top-slim .bar { padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font: 400 24px var(--display); letter-spacing: .01em; color: var(--cream); text-decoration: none; }
.top-slim .brand { font-size: 22px; }
.brand svg { width: 1.4em; height: 1.4em; flex: none; }   /* small-size cut of the logo: bold line, no glint */
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { color: var(--cream); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav a.begin { background: var(--brass); color: var(--green); padding: 11px 20px; border-radius: 4px; font-weight: 600; }
.nav a.begin:hover { background: var(--brass-hover); text-decoration: none; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; background: none; border: 1px solid rgba(243,236,223,.35); border-radius: 4px; color: var(--cream); }
.menu-btn svg { width: 20px; height: 20px; }
.back { color: var(--cream); font-size: 15px; }
.progress { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.progress li { color: #a9b5ad; }
.progress li.done { color: var(--brass); }
.progress li.now { color: var(--cream); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn-brass, .btn-ghost, .btn-green { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 4px;
                                     font-weight: 600; font-size: 16px; text-decoration: none; border: 0; }
.btn-brass { background: var(--brass); color: var(--green); }
.btn-brass:hover { background: var(--brass-hover); }
.btn-brass svg { width: 18px; height: 18px; }
.btn-ghost { color: var(--cream); border: 1px solid rgba(243,236,223,.5); font-weight: 500; background: transparent; }
.btn-ghost:hover { border-color: var(--cream); }
.btn-green { background: var(--green); color: var(--cream); padding: 15px 28px; }
.btn-green:hover { background: var(--green-dark); }

/* ---------- Footer (all pages) ---------- */
footer { background: var(--green); color: var(--cream-muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-top: 40px; padding-bottom: 40px; }
footer .links { display: flex; flex-wrap: wrap; gap: 24px; }
footer a { color: var(--cream); }
footer .promise { flex-basis: 100%; font-size: 13px; }

/* ================= Landing page ================= */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "head show" "body show";
        column-gap: 56px; padding-top: 64px; padding-bottom: 88px; align-items: center; }
.hero-head { grid-area: head; align-self: end; }
.hero-body { grid-area: body; align-self: start; }
.showcase { grid-area: show; min-width: 0; }
.hero .eyebrow { color: var(--brass); margin-bottom: 18px; }
h1 { font: 400 clamp(44px, 5.4vw, 72px)/1.04 var(--display); margin: 0 0 22px; }
h1 i { color: var(--brass); }
.lead { color: var(--cream-muted); font-size: 19px; max-width: 30em; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.scene { position: relative; padding: 0 0 40px 40px; }
.scene-inner { padding: 48px 40px; }
.frame { background: #fffdf8; padding: 22px; border: 10px solid #18231d; box-shadow: inset 0 0 0 1px var(--brass), 0 18px 40px rgba(0,0,0,.35); }
.frame img { display: block; width: 100%; aspect-ratio: 720 / 483; object-fit: cover; }
.snapshot { position: absolute; left: 0; bottom: 0; margin: 0; width: 38%; background: #fff; padding: 10px 10px 12px; transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.snapshot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.snapshot figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }
.dress { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 24px 0 0 20px; }
.dress-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-right: 6px; }
.dress button { background: transparent; color: var(--cream); border: 1px solid rgba(243,236,223,.4); border-radius: 999px; padding: 10px 16px; min-height: 44px; font-size: 14px; }
.dress button:hover { border-color: var(--cream); }
.dress button[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: var(--green); font-weight: 600; }

.how { background: var(--surface); border-bottom: 1px solid #e3d9c4; padding: 80px 0; }
.how .eyebrow, .how h2 { text-align: center; }
.how h2 { font: 400 44px/1.1 var(--display); margin: 0 0 48px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.how li { display: flex; flex-direction: column; gap: 10px; }
.how .n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font: 400 20px var(--display); }
.how h3 { margin: 6px 0 0; font: 400 26px var(--display); }
.how p { margin: 0; color: var(--muted); }

.styles-home { padding-top: 80px; padding-bottom: 80px; }
.styles-home h2 { margin: 0 0 12px; font: 400 44px/1.1 var(--display); }
.styles-home .sub { margin: 0 0 36px; color: var(--muted); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card-link { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
             transition: transform .18s, box-shadow .18s; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(30,58,47,.06), 0 18px 40px rgba(30,58,47,.14); }
.card-link img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-link .txt { display: block; padding: 18px 20px 20px; }
.card-link b { display: block; font: 400 24px var(--display); }
.card-link small { color: var(--muted); font-size: 15px; }

.prints { background: var(--sand); padding: 88px 0; }
.prints .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.prints-text { flex: 1 1 360px; min-width: 0; }
.prints h2 { margin: 0 0 16px; font: 400 46px/1.08 var(--display); }
.prints-text p.note { margin: 0 0 26px; color: var(--muted); font-size: 18px; }
.prints ul { flex: 1 1 420px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.prints li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.prints li b { display: block; font: 400 22px var(--display); }
.prints li small { color: var(--muted); font-size: 15px; }
.prints li .from { font-size: 18px; white-space: nowrap; }

/* ================= Make your picture ================= */
.make { padding-top: 56px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 56px; }
.row { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; scroll-margin-top: 20px; }
.row-head { flex: 1 1 260px; }
.row-head .roman { font: 400 32px var(--display); color: var(--brass-text); }
.row-head h2 { margin: 0; font: 400 34px/1.15 var(--display); }
.row-head p { margin: 8px 0 0; color: var(--muted); }
.row-body { flex: 3 1 520px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.panel.roomy { padding: 24px; }
.hint { color: var(--muted); font-size: 14px; margin: 14px 2px 0; }

.drop { display: block; width: 100%; padding: 44px 20px; text-align: center; background: var(--surface);
        border: 1.5px dashed #bfae86; border-radius: 6px; transition: border-color .15s, background .15s, transform .15s; }
.drop:hover, .drop.over { border-color: var(--green); background: #fffdf8; }
.drop:active { transform: scale(.995); }
.drop .icon { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: var(--brass); display: grid; place-items: center; }
.drop .icon svg { width: 24px; height: 24px; }
.drop strong { display: block; font: 400 24px var(--display); }
.drop span { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.photo { display: flex; gap: 18px; align-items: center; }
.photo img, .photo .noview { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; }
.photo .noview { display: grid; place-items: center; background: var(--bg); color: var(--muted); font-size: 12px; text-align: center; }
.photo .info { flex: 1; min-width: 0; }
.photo .name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.photo .info span { color: var(--muted); font-size: 14px; }
.link { background: none; border: 1px solid var(--green); border-radius: 4px; padding: 9px 16px; min-height: 44px; color: var(--green); font-weight: 600; font-size: 15px; }
.link:hover { background: var(--green); color: var(--cream); }
.test-photo { display: block; margin: 12px auto 0; border-style: dashed; }
.rights { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid #e3d9c4; cursor: pointer; }
.rights input { width: 22px; height: 22px; accent-color: var(--green); flex: none; margin: 0; }

.hands { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hand { position: relative; background: none; border: 0; padding: 0; text-align: center; }
.hand img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; padding: 6px; background: #fff; border: 1px solid var(--line-strong);
            transition: border-color .15s, opacity .15s; }
.hand b { display: block; margin-top: 12px; font: 400 22px var(--display); }
.hand small { display: block; color: var(--muted); font-size: 14px; }
.hand:hover:not(:disabled) img { border-color: var(--green); }
.hand:disabled { cursor: default; opacity: .55; }
.hand[aria-pressed="true"] img { border: 3px solid var(--brass); padding: 4px; }
.hand[aria-pressed="true"]::after { content: ""; position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hands.locked .hand[aria-pressed="false"] img { opacity: .75; }

.result { padding: 28px; }
.result-frame { background: #fff; padding: 16px; box-shadow: 0 2px 20px 5px rgba(0,0,0,.1); }
.result-frame img { display: block; width: 100%; }
.working { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg) center / cover no-repeat; display: grid; place-items: center; text-align: center; }
.working::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(14px) saturate(.7); background: rgba(243,236,223,.74); }
.working::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
                  transform: translateX(-100%); animation: sweep 1.8s ease-in-out infinite; }
.working > div { position: relative; z-index: 1; padding: 0 20px; }
.working b { display: block; font: 400 24px var(--display); margin-top: 14px; }
.working small { color: var(--muted); font-size: 14px; }
@keyframes sweep { to { transform: translateX(100%); } }
.spinner { width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 3px solid rgba(30,58,47,.15); border-top-color: var(--green); animation: spin .9s linear infinite; }
.spinner.small { width: 18px; height: 18px; margin: 0; border-width: 2px; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.dl { display: flex; flex-direction: column; gap: 2px; border-radius: 4px; padding: 14px 18px; text-decoration: none; text-align: left; font-size: 16px; }
.dl b { font-weight: 600; }
.dl span { font-size: 14px; }
.dl-free { border: 1px solid var(--green); color: var(--green); background: transparent; }
.dl-free:hover { background: #fffdf8; }
.dl-free span { color: var(--muted); }
.dl-paid { background: var(--green); color: var(--cream); border: 0; }
.dl-paid span { color: var(--cream-muted); }
.dl-paid:disabled { opacity: .7; cursor: default; }

.label { margin: 0 0 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); }
.label.gap { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { background: var(--white); border: 1px solid var(--line-strong); color: var(--ink); border-radius: 999px; padding: 10px 18px; min-height: 44px; font-size: 15px; text-align: left;
       transition: border-color .15s, background .15s, color .15s; }
.opt:hover:not(:disabled) { border-color: var(--green); }
.opt[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); font-weight: 600; }
.opt:disabled { opacity: .5; cursor: default; }
.festive { display: block; margin: 22px 0 6px; font-weight: 600; }
.festive span { color: var(--brass-text); }
#level { width: 100%; accent-color: var(--green); margin: 0; height: 30px; }
#level:disabled { opacity: .45; }
.ticks { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.status { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 14px; }

.cta { background: var(--green); color: var(--cream); border-radius: 6px; padding: 36px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0 0 6px; font: 400 32px var(--display); }
.cta p { margin: 0; color: var(--cream-muted); }
.error { color: #8f1d1d; background: #fdeeee; border: 1px solid #f2c7c7; border-radius: 6px; padding: 14px 16px; font-size: 15px; }

/* ================= Order a print ================= */
.print-page { padding-top: 56px; padding-bottom: 80px; }
.print-page h1 { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.05; margin: 0 0 8px; }
.print-page .intro { margin: 0 0 40px; color: var(--muted); font-size: 18px; }
.print-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.wall-col { flex: 1 1 460px; min-width: 0; }
.wall { background: linear-gradient(#ece4d3, #ddd2bc); border-radius: 6px; min-height: 460px; display: grid; place-items: center; padding: 48px 32px; }
.mock { position: relative; max-width: 100%; margin: 0 auto; transition: all .25s; }
.mock img { display: block; width: 100%; }
.mock.poster { width: 82%; background: #fff; padding: 5%; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.mock.framed { width: 82%; background: #fffdf8; padding: 7%; border: 10px solid #18231d; box-shadow: inset 0 0 0 1px var(--brass), 0 16px 32px rgba(0,0,0,.3); }
.mock.canvas { width: 86%; box-shadow: 6px 8px 0 -1px #c4b89f, 8px 16px 26px rgba(0,0,0,.3); }
.mock.postcards { width: 58%; background: #fff; padding: 3%; transform: rotate(-3deg);
                  box-shadow: 0 1px 4px rgba(0,0,0,.25), 10px 8px 0 -2px #fff, 10px 8px 4px -1px rgba(0,0,0,.2), 20px 16px 0 -4px #fff, 20px 16px 4px -3px rgba(0,0,0,.2); }
.wall-note { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.wall-note a { color: var(--green); font-weight: 600; }
.chooser { flex: 1 1 380px; min-width: 0; }
.chooser h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-text); font-weight: 500; }
.chooser h2.gap { margin-top: 28px; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.product { text-align: left; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; padding: 14px 16px; min-height: 44px; }
.product b { display: block; font: 400 20px var(--display); }
.product span { font-size: 14px; color: var(--muted); }
.product:hover { border-color: var(--green); }
.product[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--cream); }
.product[aria-pressed="true"] span { color: var(--cream-muted); }
.sizes .opt:not([aria-pressed="true"]) { background: var(--surface); }
.total { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.price { font: 400 44px/1 var(--display); }
.summary { color: var(--muted); font-size: 14px; margin-top: 6px; }
.delivery { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin-top: 14px; font-size: 14px; }

/* ================= Tablet ================= */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "show" "body"; padding-top: 40px; padding-bottom: 56px; }
  .hero-head, .hero-body { align-self: auto; }
  .showcase { margin-bottom: 28px; }
  .how ol { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .how li { flex-direction: row; gap: 16px; align-items: flex-start; }
  .how h3 { margin-top: 4px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}

/* ================= Phone (matches "Homepage on a phone") ================= */
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .bar, .top-slim .bar { padding-top: 14px; padding-bottom: 14px; }
  .brand, .top-slim .brand { font-size: 20px; gap: 10px; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 10; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--green); padding: 8px 16px 16px; border-bottom: 1px solid rgba(243,236,223,.18); box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(243,236,223,.12); font-size: 17px; }
  .nav a.begin { margin-top: 12px; text-align: center; border-bottom: 0; }
  .progress { flex-basis: 100%; font-size: 13px; gap: 4px 14px; }

  .hero { padding-top: 28px; padding-bottom: 20px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: .2em; margin-bottom: 12px; }
  h1 { font-size: 42px; margin-bottom: 14px; }
  .showcase { margin-bottom: 20px; }
  .scene { padding: 0 0 30px 22px; }
  .scene-inner { padding: 26px 22px; }
  .frame { padding: 12px; border-width: 7px; box-shadow: inset 0 0 0 1px var(--brass), 0 12px 26px rgba(0,0,0,.35); }
  .snapshot { left: 7px; width: 40%; padding: 6px 6px 8px; }
  .snapshot figcaption { font-size: 11px; margin-top: 4px; }
  .dress { padding: 8px 0 0; }
  .dress-label { flex-basis: 100%; margin-bottom: 2px; }
  .lead { font-size: 17px; margin-bottom: 22px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 8px; }
  .btn-brass { padding: 16px 20px; font-size: 17px; }
  .btn-ghost { padding: 14px 20px; }

  .how { padding: 44px 0; }
  .how .eyebrow { display: none; }
  .how h2 { text-align: left; font-size: 32px; margin-bottom: 28px; }
  .how .n { width: 40px; height: 40px; font-size: 18px; color: var(--brass); }
  .how h3 { font-size: 22px; margin: 4px 0 2px; }

  .styles-home { padding-top: 44px; padding-bottom: 44px; }
  .styles-home h2 { font-size: 32px; margin-bottom: 6px; }
  .styles-home .sub { font-size: 16px; margin-bottom: 22px; }
  .cards { gap: 16px; }
  .card-link { display: flex; align-items: center; border-radius: 14px; }
  .card-link:hover { transform: none; }
  .card-link img { width: 132px; flex: none; }
  .card-link .txt { padding: 14px 16px; }
  .card-link b { font-size: 21px; }
  .card-link small { font-size: 14px; }

  .prints { padding: 44px 0; }
  .prints .wrap { gap: 0; }
  .prints-text { display: contents; }
  .prints .eyebrow { order: 1; flex-basis: 100%; font-size: 12px; letter-spacing: .2em; margin-bottom: 8px; }
  .prints h2 { order: 2; flex-basis: 100%; font-size: 30px; line-height: 1.1; margin-bottom: 18px; }
  .prints-text p.note, .prints li small, .prints .desk-only { display: none; }
  .prints ul { order: 3; flex-basis: 100%; margin-bottom: 22px; }
  .prints li { padding: 12px 0; }
  .prints li b { display: inline; font: inherit; }
  .prints li .from { font-size: inherit; }
  .prints .btn-green { order: 4; flex-basis: 100%; padding: 15px; }

  .make { padding-top: 32px; padding-bottom: 56px; gap: 40px; }
  .row { gap: 14px; }
  .row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .row-head .roman { font-size: 26px; }
  .row-head h2 { font-size: 28px; }
  .row-head p { flex-basis: 100%; margin-top: 0; }
  .panel, .panel.roomy { padding: 16px; }
  .photo { gap: 12px; }
  .photo img, .photo .noview { width: 72px; height: 72px; }
  .hands { gap: 10px; }
  .hand img { border-radius: 12px; padding: 4px; }
  .hand[aria-pressed="true"] img { padding: 2px; }
  .hand b { font-size: 17px; margin-top: 8px; }
  .hand small { display: none; }
  .hand[aria-pressed="true"]::after { top: 8px; right: 8px; width: 24px; height: 24px; background-size: 13px; }
  .result { padding: 0; }
  .result-frame { padding: 10px; }
  .cta { padding: 24px; }
  .cta .btn-brass { width: 100%; }

  .print-page { padding-top: 32px; padding-bottom: 56px; }
  .print-page .intro { margin-bottom: 24px; font-size: 16px; }
  .print-grid { gap: 28px; }
  .wall { min-height: 280px; padding: 32px 20px; }
  .total .btn-brass { width: 100%; }

  footer .wrap { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 28px; padding-bottom: 28px; }
  footer .links { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .working::after { animation: none; } .spinner { animation-duration: 3s; }
  .card-link, .mock, .drop { transition: none; }
}

/* ================= "Save your picture" pop-up (website and app; see save.js) ================= */
.save-dialog { width: calc(100% - 32px); max-width: 460px; max-height: calc(100% - 32px); overflow-y: auto; border: 0; border-radius: 10px; padding: 26px 22px 22px;
               background: var(--bg); color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.save-dialog::backdrop { background: rgba(21,41,31,.6); }
.save-dialog h2 { margin: 0 36px 18px 0; font: 400 28px/1.15 var(--display); }
.save-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); }
.save-option { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px; margin-bottom: 12px; display: flex; flex-direction: column; }
.save-option.best { border: 2px solid var(--brass); background: var(--white); }
.save-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.save-top b { font: 400 22px var(--display); }
.save-price { font-weight: 600; font-size: 17px; color: var(--green); }
.save-dialog p { margin: 0; }
.save-size { font-weight: 600; margin-top: 2px; min-height: 1.55em; }
.save-what { color: var(--muted); font-size: 14px; margin: 2px 0 14px !important; }
.save-small { color: var(--muted); font-size: 13px; margin-top: 10px !important; }
.save-option button { width: 100%; }
.save-option .btn-line, .save-dialog .btn-line { display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 4px; font-weight: 600; font-size: 16px;
                                                 background: transparent; color: var(--green); border: 1px solid var(--green); }
.save-dialog button:disabled { opacity: .55; cursor: default; }
.save-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 14px 6px 6px; }
.save-state b { font: 400 22px/1.2 var(--display); }
.save-state > p { color: var(--muted); font-size: 15px; }
.save-state .save-size { color: var(--ink); }
.save-state button { width: 100%; margin-top: 6px; }
.save-dialog .error { margin: 12px 0 0; }
.save-again { background: none; border: 0; padding: 0; color: inherit; font-weight: 600; text-decoration: underline; }
