@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/BarlowCondensed-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/BarlowCondensed-Bold.woff2) format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-weight: 500; font-display: swap; src: url(fonts/DarkerGrotesque-Medium.woff2) format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-weight: 600; font-display: swap; src: url(fonts/DarkerGrotesque-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Darker Grotesque"; font-weight: 700; font-display: swap; src: url(fonts/DarkerGrotesque-Bold.woff2) format("woff2"); }

/* Mcava brand palette only (as Final changes and the stickers page) */
:root {
  --egg: #FCEBD9; --iron: #191919; --barn: #D9132A; --rooster: #FF4258; --butter: #FFED8F; --hen: #FE9597;
  --leaf: #BBB53C; --yolk: #FF6907; --indigo: #3E3EAB; --sunny: #FFDF33;
  --line: rgba(25, 25, 25, .14); --soft: rgba(25, 25, 25, .66);
  --bar: 76px;                 /* the bottom bar's height, safe area aside */
  --col: 680px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior-x: none; }
/* a sideways swipe moves between steps (flow.js), never the browser's history; the pictures still scroll sideways */
body { overscroll-behavior-x: none; }
#steps { touch-action: pan-y pinch-zoom; }
body { margin: 0; background: var(--egg); color: var(--iron); font: 500 19px/1.3 "Darker Grotesque", system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; margin: 0; letter-spacing: .005em; }
button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* ---------- the top bar: where she is ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--egg); padding-top: env(safe-area-inset-top); box-shadow: 0 1px 0 var(--line); }
.at-start .topbar { display: none; }
.topbar__in { max-width: var(--col); margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.tb-btn { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--iron); background: transparent; font-weight: 700; font-size: 17px; }
.tb-count { flex: 1; margin: 0; text-align: center; font: 700 20px/1 "Barlow Condensed", sans-serif; letter-spacing: .02em; }
.tb-gap { width: 84px; }
.tb-progress { height: 5px; background: rgba(25, 25, 25, .08); }
.tb-progress span { display: block; height: 100%; width: 0; background: var(--barn); transition: width .25s ease; }

/* ---------- the steps ---------- */
main { max-width: var(--col); margin: 0 auto; padding: 14px 18px calc(var(--bar) + 40px + env(safe-area-inset-bottom)); }
.changing main { padding-bottom: calc(var(--bar) + 230px + env(safe-area-inset-bottom)); }
.step { outline: none; }
.step.in-next { animation: in-next .26s cubic-bezier(.2, .8, .2, 1); }
.step.in-prev { animation: in-prev .26s cubic-bezier(.2, .8, .2, 1); }
@keyframes in-next { from { transform: translateX(36px); opacity: 0; } }
@keyframes in-prev { from { transform: translateX(-36px); opacity: 0; } }

.kicker { margin: 0 0 6px; font: 600 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--barn); }
.tag { display: inline-block; margin-left: 8px; padding: 3px 9px 4px; border-radius: 999px; font: 700 14px/1 "Darker Grotesque", sans-serif; letter-spacing: 0; text-transform: none; vertical-align: 1px; }
.tag--up { background: var(--leaf); color: var(--iron); }
.tag--new { background: var(--yolk); color: var(--iron); }
.tag--kept { border: 2px solid var(--iron); padding: 1px 7px 2px; }
.tag--first { background: var(--barn); color: var(--egg); }

/* start */
.step--start { padding: 8vh 4px 0; }
.step--start h1 { font-size: clamp(46px, 13vw, 76px); line-height: .92; text-transform: uppercase; }
.lede { margin: 14px 0 0; font-size: 22px; line-height: 1.28; }
.meta { margin: 14px 0 0; font-weight: 700; font-size: 19px; }
.big { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; margin-top: 22px; padding: 0 22px; border: 0; border-radius: 18px;
  background: var(--barn); color: var(--egg); font: 700 22px/1 "Darker Grotesque", sans-serif; transition: transform .15s ease; }
.big:active { transform: scale(.98); }
.linkish { display: block; margin: 12px auto 0; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--barn); font-weight: 700; font-size: 18px; text-decoration: underline; }
.start__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 28px 0 0; font-size: 17px; }
.start__links a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--barn); text-decoration: none; }

/* a screen */
.sh__n { margin: 0; font: 600 15px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .07em; text-transform: uppercase; color: var(--barn); }
.sh h2 { margin-top: 2px; font-size: 32px; line-height: 1; text-transform: uppercase; }
.saved { margin: 8px 0 0; font-size: 16px; font-weight: 600; color: var(--soft); min-height: 0; }
.saved:empty { display: none; }
.saved.good, .saved.change { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 5px; border-radius: 999px; color: var(--iron); }
.saved.good { background: rgba(187, 181, 60, .3); }
.saved.change { background: rgba(255, 105, 7, .16); }

.shots { touch-action: pan-x pan-y pinch-zoom; display: flex; gap: 12px; overflow-x: auto; margin: 14px -18px 0; padding: 2px 18px 8px; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: none; width: min(56vw, 220px); margin: 0; padding: 0; border: 0; background: none; text-align: left; scroll-snap-align: start; }
.shot img { display: block; width: 100%; height: auto; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 22px -14px rgba(25, 25, 25, .45); }
.shot span { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.15; }
.summary { margin: 12px 0 0; font-size: 20px; line-height: 1.3; }
.who { margin: 12px 0 0; display: grid; gap: 8px; }
.who div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; }
.who dt { font: 700 14px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--barn); }
.who dd { margin: 0; }
.pick { display: inline-block; margin: 0 5px 5px 0; padding: 1px 9px 3px; border: 1.5px solid var(--hen); border-radius: 999px; font-size: 16px; line-height: 1.2; }
.who q { display: block; padding: 6px 10px 7px; border-left: 3px solid var(--hen); background: rgba(254, 149, 151, .16); border-radius: 0 10px 10px 0; white-space: pre-line; quotes: none; font-size: 17px; }
.theirs { margin: 10px 0 0; padding: 7px 11px 8px; border-left: 3px solid var(--indigo); background: rgba(62, 62, 171, .08); border-radius: 0 10px 10px 0; font-size: 16px; white-space: pre-line; }

/* the stickers on a screen */
.stks { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.stks__head { display: flex; align-items: center; gap: 8px; }
.stks__head h3 { font-size: 22px; text-transform: uppercase; }
.stks__n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--iron); color: var(--egg); font: 700 15px/1 "Barlow Condensed", sans-serif; }
.allfine { display: inline-flex; align-items: center; min-height: 40px; margin-top: 10px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--leaf); background: rgba(187, 181, 60, .18); font-weight: 700; font-size: 16px; }
.stk { display: grid; grid-template-columns: 68px 1fr; gap: 12px; margin-top: 12px; padding: 12px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.stk--first { box-shadow: 0 0 0 3px var(--barn); }
.stk.is-done { box-shadow: 0 0 0 1px var(--line), inset 5px 0 0 var(--leaf); }
.stk--first.is-done { box-shadow: 0 0 0 3px var(--barn); }
.stk__img { padding: 0; border: 0; background: none; align-self: start; }
.stk__img img { display: block; width: 68px; height: 68px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.stk__body { min-width: 0; }
.stk__t { margin: 0; font-size: 18px; line-height: 1.15; }
.stk__t .tag { margin-left: 6px; }
.stk__pose { margin: 2px 0 0; font-size: 15px; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--iron); background: #fff; font-weight: 700; font-size: 16px; line-height: 1; transition: transform .12s ease; }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"][data-choice="fine"] { background: var(--iron); color: var(--egg); }
.chip[aria-pressed="true"][data-choice="custom"] { background: var(--barn); border-color: var(--barn); color: var(--egg); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.stk__links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.more-btn, .chip--note { min-height: 40px; padding: 0; border: 0; background: none; font-weight: 700; font-size: 16px; line-height: 1.12; }
.more-btn { flex: 0 1 auto; min-width: 0; color: var(--barn); text-align: left; }
.chip--note { flex: none; }
.more-btn::after { content: "\00a0+"; }
.more-btn[aria-expanded="true"]::after { content: "\00a0\2212"; }
.chip--note { color: var(--soft); }
.chip--note.has-note { color: var(--indigo); }
.stk__note { margin-top: 8px; }
.stk__note textarea, .change textarea, #done-note { display: block; width: 100%; padding: 9px 12px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-size: 17px; line-height: 1.25; resize: vertical; }
.stk__note textarea:focus, .change textarea:focus, #done-note:focus { outline: none; border-color: var(--indigo); }
.stk__save { min-height: 40px; margin-top: 6px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--iron); color: var(--egg); font-weight: 700; font-size: 16px; }
.stk__status { margin: 6px 0 0; font-size: 15px; font-weight: 600; color: var(--soft); }
.stk__status:empty { display: none; }
.stk__status.err { color: var(--barn); }
.more { display: grid; gap: 10px; margin-top: 6px; padding: 10px 12px 12px; background: var(--egg); border-radius: 14px; font-size: 16px; line-height: 1.25; }
.more p { margin: 0; }
.more__art { width: 116px; height: 96px; display: grid; place-items: center; padding: 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.more__art img { max-width: 100%; max-height: 100%; }
.more__words { display: grid; gap: 7px; }
.lbl { display: block; font: 700 13px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .07em; color: var(--barn); }
.more__note { color: var(--soft); }
.clash { padding: 6px 10px 8px; border-radius: 10px; background: rgba(255, 105, 7, .14); }
.clash b { display: block; color: var(--barn); font: 700 13px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.more dl { margin: 0; display: grid; gap: 5px; }
.more dl div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; align-items: baseline; }
.more dt { font: 700 13px/1.2 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--barn); }
.more dd { margin: 0; }
.more__same { font-weight: 600; }
.sw { display: inline-block; width: 13px; height: 13px; margin: 0 5px -1px 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(25, 25, 25, .3); }
.tile--butter { background: var(--butter); }
.tile--egg { background: var(--egg); }
.tile--white { background: #fff; }
.tile--rooster { background: var(--rooster); }
.tile--iron { background: var(--iron); }

/* also in the app */
.also { margin-top: 18px; }
.also__h { font-size: 24px; text-transform: uppercase; }
.also__h span { display: block; font: 500 16px/1.2 "Darker Grotesque", sans-serif; text-transform: none; color: var(--soft); }
.also .stks { margin-top: 8px; padding-top: 0; border-top: 0; }
.also .stks__head { display: none; }

/* done */
.tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.tally p { margin: 0; padding: 12px 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: center; }
.tally b { display: block; font: 700 36px/1 "Barlow Condensed", sans-serif; }
.tally span { font-size: 15px; font-weight: 600; }
.tally p:first-child b { color: var(--iron); }
.tally p:nth-child(2) b { color: var(--barn); }
.tally-stk { margin: 10px 0 0; font-size: 17px; }
.dlist { margin-top: 18px; }
.dlist h3 { font-size: 22px; text-transform: uppercase; }
.dlist ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.dlist li button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: left; }
.dlist li b { display: block; font-size: 18px; }
.dlist li span { display: block; font-size: 16px; color: var(--soft); white-space: pre-line; }
.note-lbl { display: block; margin-top: 22px; font-weight: 700; font-size: 18px; }
.note-lbl span { font-weight: 500; color: var(--soft); }
#done-note { margin-top: 6px; }
.sent { margin: 12px 0 0; font-size: 18px; font-weight: 600; }
.sent:empty { display: none; }
.sent.ok { padding: 10px 14px 12px; border-radius: 14px; background: rgba(187, 181, 60, .3); }

/* ---------- the bottom bar, in thumb reach ---------- */
.bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--egg); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -18px rgba(25, 25, 25, .5);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.at-start .bottombar { display: none; }
.bb, .change { max-width: calc(var(--col) - 8px); margin: 0 auto; }
.bb { display: flex; gap: 8px; }
.bb button { min-height: 56px; border-radius: 16px; font-weight: 700; font-size: 18px; line-height: 1.05; transition: transform .12s ease; }
.bb button:active { transform: scale(.97); }
.bb-back { flex: none; width: 56px; border: 2px solid var(--iron); background: transparent; font-size: 28px !important; }
.bb-change { flex: 1.12; padding: 0 6px; border: 2px solid var(--iron); background: #fff; font-size: 17px !important; white-space: nowrap; }
.bb-change.on { background: var(--yolk); border-color: var(--yolk); }
.bb-good { flex: 1.5; padding: 0 8px; border: 0; background: var(--barn); color: var(--egg); white-space: nowrap; }
.bb-good.on { background: var(--iron); }
.change { padding-bottom: 10px; }
.change label { display: block; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.change__row { display: flex; gap: 8px; margin-top: 8px; }
.change__row button { min-height: 48px; border-radius: 14px; font-weight: 700; font-size: 17px; }
.ghost { flex: none; padding: 0 16px; border: 2px solid var(--iron); background: transparent; }
.go { flex: 1; border: 0; background: var(--barn); color: var(--egg); }

/* ---------- the screens drawer and the larger picture ---------- */
dialog { padding: 0; border: 0; color: var(--iron); }
dialog::backdrop { background: rgba(25, 25, 25, .55); }
.drawer { margin: 0 auto 0 0; width: min(92vw, 420px); max-width: none; height: 100%; max-height: none; background: var(--egg); }
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in .22s ease-out; }
@keyframes drawer-in { from { transform: translateX(-24px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: calc(12px + env(safe-area-inset-top)) 16px 10px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 26px; text-transform: uppercase; }
.x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(25, 25, 25, .08); font-size: 26px; line-height: 1; }
.drawer__list { list-style: none; margin: 0; padding: 8px 10px; overflow-y: auto; flex: 1; }
.drawer__list button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 8px; border: 0; border-radius: 12px; background: none; text-align: left; font-size: 17px; }
.drawer__list button.here { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.dn { flex: none; width: 24px; font: 700 17px/1 "Barlow Condensed", sans-serif; text-align: right; }
.dname { flex: 1; min-width: 0; font-weight: 600; line-height: 1.15; }
.dk { flex: none; font-size: 13px; color: var(--soft); }
.dot { flex: none; display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(25, 25, 25, .25); }
.dot--seen { border-color: var(--iron); }
.dot--good { border-color: var(--leaf); background: var(--leaf); }
.dot--change { border-color: var(--yolk); background: var(--yolk); }
.dot--send { border-color: var(--barn); }
.drawer__key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.drawer__key .dot { margin-left: 6px; }
.zoom { width: 100vw; height: 100%; max-width: none; max-height: none; background: transparent; }
.zoom[open] { display: grid; place-items: center; }
.zoom::backdrop { background: rgba(25, 25, 25, .9); }
.zoom img { max-width: 94vw; max-height: 92vh; border-radius: 22px; }
.zoom .x { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; background: var(--egg); }

.toast { position: fixed; left: 12px; right: 12px; bottom: calc(var(--bar) + 18px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 10px;
  max-width: 560px; margin: 0 auto; padding: 12px 16px; border-radius: 14px; background: var(--iron); color: var(--egg); font-weight: 600; }
.at-start .toast { bottom: 16px; }
.toast span { flex: 1; }
.toast button { flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--egg); color: var(--iron); font-weight: 700; }

@media (min-width: 900px) {
  .shot { width: 210px; }
  .step--start { padding-top: 12vh; }
}
@media (prefers-reduced-motion: reduce) {
  .step.in-next, .step.in-prev, .drawer[open] { animation: none; }
  .tb-progress span, .big, .chip, .bb button { transition: none; }
}
