@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 380 700;
  font-style: normal;
  font-display: swap;
}
/* Georgia stretched to Fraunces' width and height, so headings do not jump when the font arrives */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold");
  font-weight: 500 900;
  size-adjust: 91%;
  ascent-override: 107%;
  descent-override: 28%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  font-weight: 100 499;
  size-adjust: 100%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

:root {
  --paper: #f5efe3;
  --paper-2: #ede5d5;
  --paper-3: #e4d9c4;
  --card: #fffbf3;
  --ink: #261f19;
  --ink-2: #5c4f43;
  --rule: #d8cab3;
  --line: #b9a98f;
  --accent: #22604f;
  --accent-deep: #1a4c3f;
  --accent-ink: #ffffff;
  --accent-soft: #dcebe2;
  --amber: #c27a1e;
  --warn: #85470c;
  --warn-bg: #f6e4c8;
  --bad: #9b2c1f;
  --print: #fffdf8;
  --print-back: #f1e9da;
  --print-ink: #4d4136;
  --screen: #14110e;
  --shadow-print: 0 1px 1px rgba(70, 48, 22, 0.12), 0 14px 30px -18px rgba(70, 48, 22, 0.55);
  --shadow-small: 0 1px 2px rgba(70, 48, 22, 0.2);
  --display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  --gutter: 20px;
  color-scheme: light;
}

/* Dark is a black album page: warm near-black paper, prints with aged edges, a paler green */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16120e;
    --paper-2: #1e1813;
    --paper-3: #2a221b;
    --card: #211b15;
    --ink: #f2e9da;
    --ink-2: #c5b7a3;
    --rule: #3d3329;
    --line: #6a5b4b;
    --accent: #8fcfb6;
    --accent-deep: #b0e0cc;
    --accent-ink: #0d1f19;
    --accent-soft: #1c352d;
    --amber: #e0a24c;
    --warn: #f0c27e;
    --warn-bg: #3a2c17;
    --bad: #f3a193;
    --print: #e6dccb;
    --print-back: #cfc3ae;
    --print-ink: #c5b7a3;
    --screen: #0b0907;
    --shadow-print: 0 1px 1px rgba(0, 0, 0, 0.45), 0 18px 36px -16px rgba(0, 0, 0, 0.9);
    --shadow-small: 0 1px 2px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  overflow-wrap: break-word;
}
img, svg, canvas, picture { max-width: 100%; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 400px) { :root { --gutter: 16px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 10px; background: var(--card); color: var(--ink); padding: 10px 14px; z-index: 20; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */

h1, h2, h3, .display {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; letter-spacing: -0.022em; margin: 0 0 18px; max-width: 18ch; }
h2 { font-size: clamp(25px, 3.2vw, 32px); margin: 48px 0 12px; }
h3 { font-size: 20px; margin: 28px 0 6px; letter-spacing: -0.005em; }
p { margin: 0 0 16px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.prose { max-width: 68ch; }
.prose li { margin-bottom: 8px; }
.prose ul { padding-left: 22px; }
.small { font-size: 15px; color: var(--ink-2); }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
code { background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }

/* ---------- header ---------- */

header.site { position: relative; z-index: 5; border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 68px; }
.brand { font: 600 25px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand svg { width: 30px; height: 30px; flex: none; }
nav.top { display: flex; gap: 2px 22px; font-size: 15px; }
nav.top a, .menu nav a { color: var(--ink-2); text-decoration: none; }
nav.top a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; padding-top: 2px; }
nav.top a:hover { color: var(--ink); border-bottom-color: var(--line); }
nav.top a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.menu { display: none; }
.menu summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.menu[open] summary svg { transform: rotate(180deg); }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  padding: 6px var(--gutter) 14px;
  box-shadow: 0 18px 24px -20px rgba(0, 0, 0, 0.35);
}
.menu nav a { display: flex; align-items: center; min-height: 50px; font-size: 17px; border-bottom: 1px solid var(--rule); }
.menu nav a:last-child { border-bottom: 0; }
.menu nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 759px) {
  nav.top { display: none; }
  .menu { display: block; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px;
  font: 600 17px/1.2 var(--sans);
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); text-decoration: none; }
.btn.quiet { background: transparent; color: var(--accent); }
.btn.quiet:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--paper-2); border-color: var(--rule); color: var(--ink-2); cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- home: hero ---------- */

.hero { display: grid; gap: 34px; padding: 30px 0 44px; }
.hero h1 { margin-bottom: 14px; }
.hero .lede { margin-bottom: 24px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center; padding: 44px 0 72px; }
  .hero .lede { font-size: 19.5px; margin-bottom: 22px; }
  .drop { padding: 24px 24px 18px; }
}

/* the drop zone: the whole box opens the file picker, which is what a phone needs */
.drop {
  position: relative;
  display: grid; justify-items: center; gap: 10px;
  padding: 30px 20px 24px;
  border: 2px dashed var(--line);
  border-radius: 16px;
  background: var(--card);
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.drop:hover, .drop:focus-within { border-color: var(--accent); }
.drop.over { border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
.drop p { margin: 0; }
.drop-icon { width: 54px; height: 44px; color: var(--accent); margin-bottom: 2px; }
.drop .big { font: 600 23px/1.2 var(--display); color: var(--ink); }
.drop .coarse { display: none; }
@media (hover: none) and (pointer: coarse) {
  .drop .fine { display: none; }
  .drop .coarse { display: inline; }
}
.drop > .btn { margin: 6px 0 2px; min-width: 200px; }
.drop > .btn::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.drop .safe { display: inline-flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--ink-2); max-width: 46ch; text-align: left; text-wrap: pretty; }
.drop .safe svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.drop .or { position: relative; z-index: 1; font-size: 15px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--rule); width: 100%; max-width: 360px; }
.drop .or .linkish { display: inline-flex; align-items: center; min-height: 44px; }

.status { min-height: 1.6em; margin: 14px 0 0; color: var(--ink-2); }
.status.error { color: var(--bad); font-weight: 600; }
progress { display: block; width: 100%; height: 8px; margin-top: 8px; border: 0; border-radius: 99px; background: var(--paper-3); accent-color: var(--accent); overflow: hidden; -webkit-appearance: none; appearance: none; }
progress::-webkit-progress-bar { background: var(--paper-3); border-radius: 99px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 99px; transition: width 0.2s linear; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 99px; }

/* the photographs: a print on top of two others, crossfading with a slow pan and zoom */
.reel { margin: 0; position: relative; }
.reel .pile { position: relative; padding: 0 6px; }
.reel .pile::before, .reel .pile::after {
  content: ""; position: absolute; inset: 4px 10px 0 10px;
  background: var(--print-back); box-shadow: var(--shadow-print); border-radius: 2px;
}
.reel .pile::before { transform: rotate(-4.2deg) translate(-4px, 6px); }
.reel .pile::after { transform: rotate(3deg) translate(8px, 10px); background: var(--print); }
.reel .print-frame { position: relative; z-index: 1; }
.print-frame { background: var(--print); padding: 10px; box-shadow: var(--shadow-print); border-radius: 2px; }
.frames { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #3a3129; }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease-in-out; }
.shot.on { opacity: 1; z-index: 2; }
.shot.was { opacity: 1; z-index: 1; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.shot:nth-child(1) img { --a: scale(1.04) translate(0, 0); --b: scale(1.14) translate(-2%, -1.5%); }
.shot:nth-child(2) img { --a: scale(1.14) translate(1.5%, 0.5%); --b: scale(1.04) translate(-1%, 0); }
.shot:nth-child(3) img { --a: scale(1.08) translate(2%, 0); --b: scale(1.08) translate(-2.5%, -0.5%); }
.shot:nth-child(4) img { --a: scale(1.05) translate(0, 1.5%); --b: scale(1.13) translate(1%, -1%); }
.shot img { transform: var(--a); }
.reel.run .shot.on img, .reel.run .shot.was img { animation: pan 9s linear forwards; will-change: transform; }
.reel.paused .shot.on img, .reel.paused .shot.was img { animation-play-state: paused; }
@keyframes pan { from { transform: var(--a); } to { transform: var(--b); } }
.reel figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 6px 0; }
.reel .where { font: 500 16px/1.3 var(--display); color: var(--ink-2); transition: opacity 0.6s ease; }
.reel .where.fade { opacity: 0; }
.reel .hold {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; min-width: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  color: var(--ink-2); font: 500 14px/1 var(--sans); cursor: pointer;
}
.reel .hold:hover { color: var(--ink); border-color: var(--line); }
.reel .hold svg { width: 14px; height: 14px; }
.reel .hold .play, .reel .hold[aria-pressed="true"] .pause { display: none; }
.reel .hold[aria-pressed="true"] .play { display: inline; }
@media (prefers-color-scheme: dark) { .shot img { filter: brightness(0.92); } }
@media (max-width: 899px) {
  .has-project .reel { display: none; }
}

/* ---------- home: a loaded project ---------- */

.project { padding-bottom: 20px; }
.project[hidden] { display: none; }
.summary { font-size: 18px; margin: 4px 0 6px; }
.summary b { font: 600 22px/1.3 var(--display); }
details.notes { background: var(--warn-bg); color: var(--ink); border-radius: 10px; padding: 4px 16px; margin: 14px 0; }
details.notes summary { cursor: pointer; font-weight: 600; color: var(--warn); min-height: 44px; display: flex; align-items: center; }
details.notes ul { margin: 4px 0 12px; padding-left: 20px; }

.stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 20px; }
@media (min-width: 900px) { .stage { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; } }

.player { background: var(--screen); border-radius: 12px; padding: 10px; }
.player canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #000; border-radius: 4px; }
.controls { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.controls .btn { min-width: 104px; min-height: 46px; }
.controls input[type="range"] { flex: 1 1 160px; min-width: 0; height: 44px; margin: 0; accent-color: var(--accent); }
.controls .time { font-family: var(--mono); font-size: 15px; color: var(--ink-2); min-width: 96px; text-align: right; }

.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.panel h2 { font-size: 22px; margin: 0 0 8px; }
.panel + .panel { margin-top: 16px; }
.panel p { font-size: 16px; }
.panel .btn { width: 100%; margin-top: 4px; }
.panel.buy { border-top: 4px solid var(--accent); }
fieldset.sizes { border: 0; padding: 0; margin: 0 0 8px; }
fieldset.sizes legend { font-size: 15px; font-weight: 600; padding: 0; margin-bottom: 2px; }
fieldset.sizes label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; cursor: pointer; border-bottom: 1px solid var(--rule); }
fieldset.sizes label:last-of-type { border-bottom: 0; }
fieldset.sizes input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex: none; }
.result { margin-top: 14px; font-size: 16px; }
.result a.btn { margin-top: 8px; }
.result ul { padding-left: 18px; margin: 8px 0 0; }

/* the slide list, laid out like a contact sheet of prints */
.sheet { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px 16px; }
@media (min-width: 700px) { .sheet { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } }
.sheet li { margin: 0; }
.print { display: block; width: 100%; padding: 7px 7px 9px; background: var(--print); box-shadow: var(--shadow-small); border: 0; border-radius: 2px; text-align: left; cursor: pointer; color: #2d261f; font: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.print:hover { transform: translateY(-2px); box-shadow: var(--shadow-print); }
.print.current { outline: 3px solid var(--accent); outline-offset: 2px; }
.print canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: #2a241e; }
.print .meta { display: flex; justify-content: space-between; gap: 6px; font-size: 14px; margin-top: 7px; color: #5a4c40; }
.print .num { font-weight: 700; color: #2d261f; }
.print .cap, .print .flags { display: block; }
.print .cap { font: 500 15px/1.3 var(--display); margin-top: 3px; overflow-wrap: anywhere; }
.print .flags { font-size: 13px; color: #5a4c40; margin-top: 3px; }

/* ---------- a Movie Maker project ---------- */

.player.wide canvas, .sheet.wide .print canvas { aspect-ratio: 16 / 9; }
.panel.relink { margin: 18px 0 6px; }
.relink .pick-row { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 6px 0 12px; }
.relink .pick-row .btn { width: auto; flex: 1 1 220px; margin-top: 0; }
.media-lists h3 { margin: 26px 0 6px; }
ul.media { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
ul.media li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--rule); }
ul.media li > span { grid-column: 1; overflow-wrap: anywhere; }
ul.media .name { font-weight: 600; }
ul.media .old { font: 13px/1.45 var(--mono); color: var(--ink-2); }
ul.media .how { font-size: 15px; color: var(--ink-2); }
ul.media .state { font-size: 15px; font-weight: 600; color: var(--accent); }
ul.media .state.bad { color: var(--bad); }
ul.media .btn { grid-column: 2; grid-row: 1 / span 4; min-height: 44px; padding: 8px 16px; font-size: 15px; }
#m-missing .name { color: var(--bad); }
@media (max-width: 640px) {
  ul.media li { grid-template-columns: minmax(0, 1fr); }
  ul.media .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}

/* ---------- home: below the tool ---------- */

.below { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 18px 0 56px; }
.split { display: grid; gap: 4px 48px; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.split:last-child { border-bottom: 0; }
.split h2 { margin: 0 0 8px; }
.split > div { max-width: 66ch; }
.split p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 300px minmax(0, 1fr); padding: 44px 0; }
  .split h2 { margin: 0; }
}
ul.links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
ul.links li { border-bottom: 1px solid var(--rule); }
ul.links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 10px 2px; color: var(--ink); text-decoration: none; }
ul.links a:hover { color: var(--accent); }
ul.links a span { color: var(--ink-2); font-size: 15px; }
ul.links a svg { width: 18px; height: 18px; flex: none; color: var(--accent); transition: transform 0.2s ease; }
ul.links a:hover svg { transform: translateX(3px); }

/* a few prints laid out like the slide list, to show what opening a project gives you */
.sheet-demo { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 30px; padding: 0; }
.sheet-demo li { background: var(--print); padding: 6px 6px 8px; box-shadow: var(--shadow-small); border-radius: 2px; color: #2d261f; font-size: 13px; line-height: 1.3; }
.sheet-demo li:nth-child(1) { transform: rotate(-1.2deg); }
.sheet-demo li:nth-child(3) { transform: rotate(1deg); }
.sheet-demo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.sheet-demo .meta { display: flex; justify-content: space-between; gap: 4px; margin-top: 6px; color: #5a4c40; }
.sheet-demo b { color: #2d261f; }
.sheet-demo .cap { display: block; font: 500 14px/1.25 var(--display); margin-top: 2px; }
@media (max-width: 480px) { .sheet-demo { gap: 10px; } .sheet-demo .cap { font-size: 13px; } .sheet-demo .meta span:last-child { display: none; } }

/* ---------- content pages ---------- */

main { display: block; }
.page { padding-top: 40px; padding-bottom: 64px; }
@media (min-width: 900px) { .page { padding-top: 64px; padding-bottom: 88px; } }
.page h1 { margin-bottom: 18px; }
.page .lede { margin-bottom: 26px; }
.page h2 { padding-top: 6px; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin: 22px 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); margin: 14px 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
.table-scroll table { margin: 0; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; background: var(--paper-2); }
pre { background: var(--paper-2); border: 1px solid var(--rule); padding: 14px; border-radius: 10px; overflow-x: auto; font: 13px/1.55 var(--mono); }

/* pricing */
.plans { display: grid; gap: 20px; margin: 30px 0 36px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.plan h2 { margin: 0 0 4px; font-size: 26px; }
.plan.paid { border: 2px solid var(--accent); }
.plan ul { list-style: none; padding: 0; margin: 12px 0 20px; }
.plan li { position: relative; padding: 9px 0 9px 28px; border-bottom: 1px solid var(--rule); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.price { font: 600 56px/1 var(--display); letter-spacing: -0.02em; margin: 8px 0 6px; }
.price small { font: 500 16px/1 var(--sans); color: var(--ink-2); letter-spacing: 0; margin-left: 6px; }

form.restore { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px; margin: 18px 0 8px; max-width: 520px; }
form.restore label { display: block; font-size: 15px; font-weight: 600; margin: 14px 0 6px; }
form.restore label:first-child { margin-top: 0; }
form.restore input { width: 100%; min-height: 50px; font: 17px/1.3 var(--sans); padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
form.restore input:focus-visible { border-color: var(--accent); outline-offset: 1px; }
form.restore .btn { margin-top: 18px; }

.callout { border-left: 4px solid var(--accent); padding: 4px 0 4px 16px; margin: 20px 0; }

/* a print beside the opening of the question pages, on screens wide enough to have room for it */
.page { position: relative; }
.aside-print { display: none; }
@media (min-width: 1100px) {
  .aside-print { display: block; position: absolute; top: 96px; right: calc(var(--gutter) + 12px); width: 340px; margin: 0; padding: 0; }
  .aside-print .print-frame { transform: rotate(2.2deg); }
}

/* the closing band on the question pages */
.cta { display: grid; gap: 28px; align-items: center; margin: 56px 0 0; padding: 28px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 18px; }
.cta h2 { margin: 0 0 8px; }
.cta p { color: var(--ink-2); }
.cta .btn { margin-top: 4px; }
.cta-prints { position: relative; width: min(100%, 340px); justify-self: center; margin: 4px 10px 10px; }
.cta-prints .print-frame { padding: 7px; }
.cta-prints .print-frame + .print-frame { position: absolute; width: 62%; right: -10px; bottom: -14px; transform: rotate(3deg); }
.cta-prints .print-frame:first-child { width: 78%; transform: rotate(-2.5deg); }
.cta-prints img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 760px) { .cta { grid-template-columns: 300px minmax(0, 1fr); padding: 36px 40px; gap: 44px; } }

/* thanks and not found */
.single { display: grid; gap: 34px; align-items: center; }
@media (min-width: 860px) { .single { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; } }
.keepsake { margin: 0 auto; width: 100%; max-width: 380px; padding: 0 8px; }
.keepsake .print-frame { transform: rotate(1.6deg); }
.keepsake img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.keepsake figcaption { font: 500 16px/1.3 var(--display); color: var(--ink-2); margin: 16px 4px 0; }
#claim-status { font-size: 19px; margin-bottom: 22px; }
#claim-status.error { font-weight: 500; }
.page > .drop { max-width: 760px; margin-top: 8px; }
/* a print left in the sun until almost nothing is left of it */
.faded picture { display: block; background: #efe6d3; }
.faded img { opacity: 0.18; filter: sepia(1) contrast(0.7); }
@media (prefers-color-scheme: dark) { .faded picture { background: #d6c9b2; } }
@media (max-width: 859px) { .single .keepsake { max-width: 300px; } }

/* ---------- footer ---------- */

footer.site { border-top: 1px solid var(--rule); padding: 34px 0 44px; font-size: 15px; color: var(--ink-2); background: var(--paper); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0 22px; margin-bottom: 14px; }
footer.site nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
footer.site nav a:hover { text-decoration: underline; }
footer.site p { max-width: 80ch; margin-bottom: 10px; }
footer.site p a { color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
