/* ============================================================
   ERRANDISTA — editorial market cinema
   Fraunces (display) · Instrument Sans (UI) · Spline Sans Mono (receipt)
   ============================================================ */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 900; src: url('/fonts/fraunces-v38-latin-900.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; src: url('/fonts/fraunces-v38-latin-600.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; src: url('/fonts/fraunces-v38-latin-italic.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; src: url('/fonts/fraunces-v38-latin-500italic.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; src: url('/fonts/instrument-sans-v4-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; src: url('/fonts/instrument-sans-v4-latin-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 700; src: url('/fonts/instrument-sans-v4-latin-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400; src: url('/fonts/spline-sans-mono-v13-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 500; src: url('/fonts/spline-sans-mono-v13-latin-500.woff2') format('woff2'); font-display: swap; }

:root {
  --paper: #F6F0E4;
  --paper-2: #EFE7D4;
  --line: #D9CDB4;
  --ink: #181610;
  --ink-soft: #4C4738;
  --green: #1C5B38;
  --green-deep: #0D3A22;
  --tomato: #E8532C;
  --butter: #EEC64B;
  --cream: #F8F3E7;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  --mono: 'Spline Sans Mono', ui-monospace, monospace;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--tomato); color: var(--cream); }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* film grain over everything */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  color: var(--cream);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-head.scrolled, .site-head.solid {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  font-family: var(--display); font-weight: 900;
  font-size: 1.35rem; letter-spacing: .04em;
  text-decoration: none; text-transform: uppercase;
}
.brand em { font-style: italic; font-weight: 500; color: var(--tomato); }
.site-nav { display: flex; gap: 1.75rem; align-items: center; }
.site-nav a {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; opacity: .85;
}
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  border: 1.5px solid currentColor; padding: .5rem 1rem;
  opacity: 1 !important; transition: background .25s, color .25s;
}
.site-head.scrolled .nav-cta:hover, .site-head.solid .nav-cta:hover { background: var(--ink); color: var(--cream); }
.site-head:not(.scrolled):not(.solid) .nav-cta:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 640px) { .site-nav a:not(.nav-cta) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--mono); font-size: .85rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 2.1rem; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--cream);
  transition: transform .18s ease, box-shadow .18s ease, background .2s, color .2s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--tomato); }
.btn:active { transform: translate(0,0); box-shadow: none; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.tomato { background: var(--tomato); border-color: var(--tomato); color: var(--cream); }
.btn.tomato:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn.small { padding: .6rem 1.1rem; font-size: .72rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream); overflow: hidden;
}
.hero video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
  filter: saturate(1.08) contrast(1.04);
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(13,20,12,0) 30%, rgba(10,14,9,.55) 100%),
    linear-gradient(180deg, rgba(12,16,10,.42) 0%, rgba(12,16,10,.12) 40%, rgba(10,13,8,.78) 100%);
}
.hero-body { padding: 0 var(--gutter) 1rem; }
.kicker {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .22em;
  text-transform: uppercase; opacity: 0; color: var(--butter);
  text-shadow: 0 1px 14px rgba(10,13,8,.85), 0 0 2px rgba(10,13,8,.6);
  animation: rise .8s .2s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero h1, .hero-sub { text-shadow: 0 2px 28px rgba(10,13,8,.35); }
.hero h1 {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(3.2rem, 10vw, 9.8rem);
  line-height: .92; letter-spacing: .01em; text-transform: uppercase;
  margin: .5rem 0 1.25rem; white-space: nowrap;
}
@media (max-width: 560px) { .hero h1 { white-space: normal; } }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero h1 .word > span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 .word:nth-child(2) > span { animation-delay: .12s; }
.hero-sub {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.8rem);
  max-width: 34ch; opacity: 0; animation: rise .8s .5s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-sub strong { font-style: normal; font-weight: 600; color: var(--butter); }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 3rem; opacity: 0; animation: rise .8s .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero .btn.ghost { color: var(--cream); backdrop-filter: blur(6px); background: rgba(248,243,231,.08); }
.hero .btn.ghost:hover { box-shadow: 4px 4px 0 var(--butter); }

/* ticker */
.ticker {
  border-top: 1.5px solid rgba(248,243,231,.35);
  background: rgba(10,13,8,.4); backdrop-filter: blur(8px);
  overflow: hidden; white-space: nowrap;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .8rem 0;
}
.ticker-track { display: inline-block; animation: marquee 36s linear infinite; }
.ticker span { margin: 0 1.6rem; }
.ticker b { color: var(--butter); font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.paper-ticker { background: var(--ink); color: var(--cream); border: 0; }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 8rem) var(--gutter); position: relative; }
.folio {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tomato); display: flex; align-items: center; gap: .9rem; margin-bottom: 2rem;
}
.folio::after { content: ''; height: 1.5px; width: 72px; background: var(--tomato); }
.display {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  line-height: 1.02; letter-spacing: .005em;
}
.display em { font-style: italic; font-weight: 500; color: var(--green); }

/* manifesto */
.manifesto { background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.manifesto p.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 54ch; margin-top: 1.5rem;
}
.defcard {
  border: 1.5px solid var(--ink); background: var(--cream); padding: 2rem;
  box-shadow: 8px 8px 0 var(--butter);
  transform: rotate(1.2deg);
}
.defcard .word { font-family: var(--display); font-weight: 900; font-size: 1.9rem; }
.defcard .say { font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); margin: .2rem 0 1rem; }
.defcard .mean { font-size: .98rem; }
.defcard .mean em { font-family: var(--display); font-style: italic; }
@media (max-width: 860px) { .manifesto-grid { grid-template-columns: 1fr; } .defcard { transform: rotate(0); } }

/* how it works */
.how { background: var(--green-deep); color: var(--cream); }
.how .display em { color: var(--butter); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.step {
  position: relative; border: 1.5px solid rgba(248,243,231,.28);
  background: #10331E; overflow: hidden;
  opacity: 0; transform: translateY(34px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.step.in { opacity: 1; transform: none; }
.step:nth-child(2) { transition-delay: .12s; }
.step:nth-child(3) { transition-delay: .24s; }
.step .media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.step .media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); transition: transform .8s ease; }
.step:hover .media video { transform: scale(1.05); }
.step .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,26,16,.75)); }
.step .num {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .18em;
  background: var(--butter); color: var(--ink); padding: .35rem .6rem;
}
.step-body { padding: 1.5rem; }
.step-body h3 { font-family: var(--display); font-weight: 900; font-size: 1.5rem; margin-bottom: .5rem; }
.step-body p { font-size: .95rem; opacity: .85; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* world band */
.world { position: relative; color: var(--cream); overflow: hidden; padding: clamp(6rem, 14vw, 11rem) var(--gutter); }
.world video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.05); }
.world::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,9,.72), rgba(10,12,9,.35) 45%, rgba(10,12,9,.78)); }
.world .display { max-width: 18ch; }
.world .display em { color: var(--butter); }
.world p { font-family: var(--display); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.45rem); margin-top: 1.25rem; max-width: 40ch; }

/* earn */
.earn-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.earn-media { position: relative; border: 1.5px solid var(--ink); box-shadow: 10px 10px 0 var(--green); overflow: hidden; }
.earn-media video { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.earn ul { list-style: none; margin: 1.75rem 0 2.25rem; }
.earn li { display: flex; gap: .9rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.earn li::before { content: '→'; color: var(--tomato); font-family: var(--mono); }
@media (max-width: 860px) { .earn-grid { grid-template-columns: 1fr; } }

/* footer */
.site-foot { background: var(--ink); color: var(--cream); padding: 4rem var(--gutter) 2.5rem; }
.foot-word {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 10vw, 8.5rem); line-height: .9; letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(248,243,231,.5);
  transition: color .5s ease;
}
.foot-word:hover { color: var(--tomato); -webkit-text-stroke-color: var(--tomato); }
.foot-row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248,243,231,.2);
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.foot-row a { text-decoration: none; opacity: .8; } .foot-row a:hover { opacity: 1; text-decoration: underline; }

/* reveal helper */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   APP PAGES (request / board / track)
   ============================================================ */
.app-main { max-width: 1080px; margin: 0 auto; padding: 7.5rem var(--gutter) 5rem; min-height: 88svh; }
.page-title { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.02; }
.page-title em { font-style: italic; font-weight: 500; color: var(--tomato); }
.page-sub { color: var(--ink-soft); margin-top: .8rem; max-width: 60ch; }

/* the list (request form) */
.req-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.5rem; align-items: start; }
@media (max-width: 900px) { .req-grid { grid-template-columns: 1fr; } }

.paperlist {
  background: var(--cream); border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--paper-2), 10px 10px 0 1.5px var(--line);
  padding: 2rem clamp(1.25rem, 3vw, 2.25rem);
}
.paperlist h2, .fieldset h2 {
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .75rem;
}
.paperlist h2::after, .fieldset h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.item-row { display: grid; grid-template-columns: 1fr 86px 28px; gap: .6rem; align-items: center; padding: .35rem 0; }
.item-row input {
  border: 0; border-bottom: 1.5px dashed var(--line); background: transparent;
  padding: .55rem .1rem; font-size: 1rem; outline: none;
}
.item-row input:focus { border-bottom-color: var(--tomato); }
.item-row .rm { background: none; border: 0; color: var(--ink-soft); font-size: 1.1rem; line-height: 1; }
.item-row .rm:hover { color: var(--tomato); }
.add-item {
  width: 100%; margin-top: 1rem; padding: .8rem;
  background: transparent; border: 1.5px dashed var(--ink-soft); color: var(--ink-soft);
  font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}
.add-item:hover { border-color: var(--tomato); color: var(--tomato); }

.fieldset { margin-top: 2rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fgrid .wide { grid-column: 1 / -1; }
label.f { display: block; }
label.f span {
  display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem;
}
label.f input, label.f textarea {
  width: 100%; background: var(--cream); border: 1.5px solid var(--line);
  padding: .75rem .85rem; outline: none; transition: border-color .2s;
}
label.f input:focus, label.f textarea:focus { border-color: var(--green); }
label.f textarea { resize: vertical; min-height: 66px; }
@media (max-width: 640px) { .fgrid { grid-template-columns: 1fr; } }

/* receipt */
.receipt {
  position: sticky; top: 6rem;
  background: var(--cream); border: 1.5px solid var(--ink);
  font-family: var(--mono); font-size: .86rem;
  padding: 1.6rem 1.4rem 2.2rem;
}
.receipt::after {
  content: ''; display: block; position: absolute; left: 0; right: 0; bottom: -1px; height: 12px;
  background: linear-gradient(-45deg, transparent 8px, var(--cream) 0) 0 0 / 16px 100% repeat-x,
              linear-gradient(45deg, transparent 8px, var(--ink) 0) 0 0 / 16px 100% repeat-x;
}
.receipt h3 { font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-align: center; margin-bottom: 1.2rem; }
.receipt .rline { display: flex; justify-content: space-between; gap: 1rem; padding: .32rem 0; }
.receipt .rline.muted { color: var(--ink-soft); }
.receipt .dots { border-bottom: 1.5px dotted var(--line); margin: .7rem 0; }
.receipt .total { font-weight: 500; font-size: 1rem; }
.receipt .note { margin-top: 1.1rem; font-size: .72rem; color: var(--ink-soft); line-height: 1.6; }
.receipt .btn { width: 100%; text-align: center; margin-top: 1.4rem; }

/* board */
.board-tools { display: flex; gap: 1rem; margin: 2.25rem 0 1.75rem; flex-wrap: wrap; }
.board-tools input {
  flex: 1; min-width: 220px; background: var(--cream); border: 1.5px solid var(--ink);
  padding: .8rem 1rem; outline: none; font-family: var(--mono); font-size: .9rem;
}
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.25rem; }
.card {
  border: 1.5px solid var(--ink); background: var(--cream);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .9rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 6px 6px 0 var(--butter); }
.card .top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.card .code { color: var(--tomato); font-weight: 500; }
.card .where { font-family: var(--display); font-weight: 900; font-size: 1.35rem; line-height: 1.1; }
.card ul { list-style: none; font-size: .92rem; color: var(--ink-soft); }
.card li { padding: .18rem 0; }
.card li b { color: var(--ink); font-weight: 500; }
.card .pay {
  font-family: var(--mono); font-size: .8rem; display: flex; justify-content: space-between;
  border-top: 1.5px dotted var(--line); padding-top: .8rem; margin-top: auto;
}
.card .pay strong { color: var(--green); }
.status-chip {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .6rem; border: 1.5px solid currentColor;
}
.st-open { color: var(--green); } .st-claimed, .st-shopping, .st-delivering { color: var(--tomato); } .st-delivered { color: var(--ink-soft); }
.empty {
  border: 1.5px dashed var(--line); padding: 3.5rem 2rem; text-align: center;
  font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ink-soft);
}

/* modal */
.modal-wrap { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-wrap.open { display: flex; }
.modal-wrap .veil { position: absolute; inset: 0; background: rgba(18,16,10,.55); backdrop-filter: blur(3px); }
.modal {
  position: relative; background: var(--cream); border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--tomato); width: min(440px, 100%); padding: 2rem;
  animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.modal h3 { font-family: var(--display); font-weight: 900; font-size: 1.5rem; margin-bottom: .4rem; }
.modal p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.modal .fgrid { grid-template-columns: 1fr; }
.modal .actions { display: flex; gap: .8rem; margin-top: 1.4rem; }
.modal .x { position: absolute; top: .7rem; right: .9rem; background: none; border: 0; font-size: 1.3rem; color: var(--ink-soft); }

/* track */
.track-wrap { max-width: 640px; }
.track-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.big-code { font-family: var(--mono); font-size: 1.1rem; color: var(--tomato); letter-spacing: .1em; }
.timeline { list-style: none; margin: 2.5rem 0; }
.timeline li { position: relative; padding: 0 0 2rem 2.2rem; border-left: 1.5px solid var(--line); margin-left: .5rem; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -8px; top: 2px; width: 13px; height: 13px;
  border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line);
}
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.now::before { background: var(--tomato); border-color: var(--tomato); box-shadow: 0 0 0 5px rgba(232,83,44,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(232,83,44,.08); } }
.timeline h4 { font-family: var(--display); font-weight: 900; font-size: 1.15rem; }
.timeline .at { font-family: var(--mono); font-size: .72rem; color: var(--ink-soft); }
.timeline p { font-size: .9rem; color: var(--ink-soft); margin-top: .2rem; }

.flash {
  border: 1.5px solid var(--green); background: #E7EFE2; color: var(--green-deep);
  padding: 1rem 1.2rem; font-size: .92rem; margin: 1.5rem 0; display: none;
}
.flash.err { border-color: var(--tomato); background: #FBE9E2; color: #8A2E14; }
.flash.show { display: block; }

/* success receipt view */
.done-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.done-wrap .receipt { position: static; text-align: left; margin-top: 2rem; }
.mark {
  width: 74px; height: 74px; margin: 0 auto 1.5rem; border-radius: 50%;
  background: var(--green); color: var(--cream); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; animation: pop .45s cubic-bezier(.2,.9,.3,1.3);
}
