
/* ARTPEEK site — phone-first reading column under a sticky site bar; brand palette from the ARTPEEK logo sheet */
:root {
  --paper: #F3F0E8; --card: #FFFFFF; --ink: #10241B; --green: #0F5A3C; --lime: #C6F432;
  --muted: #4A5A51; --line: #E2DCCD; --lake: #CDE2DA; --river: #A9D3C6; --park: #DCE7CC; --sold: #5E6B64;
  --f-ui: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --f-hand: 'Caveat', 'Comic Sans MS', cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { background: var(--paper); color: var(--ink); font-family: var(--f-ui); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--card); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 560px; margin: 0 auto; }

/* site bar */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--card); border-bottom: 1px solid var(--line); }
.bar .wrap { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 960px; }
.logo { display: flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; font-size: 16px; letter-spacing: 0.08em; }
.bar-right { display: flex; align-items: center; gap: 14px; }
.pill { display: flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; background: var(--card); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.slots { display: flex; gap: 3px; }
.slots i { width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid var(--green); }
.slots i.on { background: var(--green); }
.burger { background: none; border: 0; padding: 4px; display: flex; }
.desk-nav { display: none; gap: 20px; font-size: 14px; font-weight: 500; }
.desk-nav button { background: none; border: 0; padding: 4px 0; }
.desk-nav button:hover { color: var(--green); }
@media (min-width: 820px) { .desk-nav { display: flex; } .burger { display: none; } }

/* menu */
.menu { position: fixed; inset: 0; z-index: 20; background: var(--card); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.menu .head { height: 56px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu nav { display: flex; flex-direction: column; padding-block: 8px; }
.menu nav button { background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 16px 0; font-size: 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.menu nav button span { font-size: 14px; color: var(--green); }
.menu .foot { margin-top: auto; padding-block: 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--muted); }

/* page */
main .wrap { display: flex; flex-direction: column; gap: 16px; padding-block: 20px 32px; }
.crumb { background: none; border: 0; padding: 0; font-size: 13px; font-weight: 700; color: var(--green); align-self: flex-start; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--green); text-transform: uppercase; }
h1 { margin: 0; font-size: 34px; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
h1.brand { color: var(--green); font-size: 38px; }
.hl { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); }
h2 { margin: 8px 0 0; font-size: 18px; }
.lede { color: var(--muted); max-width: 62ch; margin: 0; }
.small { font-size: 12px; color: var(--muted); }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { border: 0; border-radius: 10px; padding: 13px 16px; font-weight: 700; font-size: 15px; text-align: center; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.btn.primary { background: var(--green); color: #FFFFFF; }
.btn.primary:hover { background: #0B4A31; }
.btn.ghost { background: var(--card); border: 1.5px solid var(--ink); }
.btn.dark { background: var(--ink); color: var(--lime); }
.btn.sm { padding: 7px 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps .card { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.steps b { color: var(--green); font-size: 12px; }
.steps strong { font-size: 13px; line-height: 1.2; }
.steps span { font-size: 11px; color: var(--muted); line-height: 1.3; }

/* map */
.map { position: relative; border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: #F6F0E2; }
.map svg { display: block; width: 100%; height: auto; }
.map .pin { cursor: pointer; }
.map .pin:focus-visible circle.ring { stroke: var(--lime); stroke-width: 4; }
.map-hint { position: absolute; right: 8px; top: 8px; background: var(--card); border: 1px solid var(--ink); border-radius: 8px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.pop { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--card); padding: 10px; }
.thumb { width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0; }

/* stops */
.list { display: flex; flex-direction: column; gap: 8px; }
.stop { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-align: left; width: 100%; }
.stop:hover { border-color: var(--ink); }
.stop .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.stop .txt strong { font-size: 14px; }
.stop .txt span { font-size: 12px; color: var(--muted); }
.num { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; background: var(--lime); border: 1.5px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--ink); }
.num.final { background: var(--green); color: #FFFFFF; }
.num.s { width: 18px; height: 18px; font-size: 10px; border-width: 1px; }
.got { font-size: 12px; font-weight: 700; color: var(--green); white-space: nowrap; }

/* banners */
.banner { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 10px 12px; }
.banner.win { background: var(--lime); border: 1.5px solid var(--ink); animation: pop 0.5s ease-out; }
.banner.todo { background: var(--card); border: 1.5px dashed var(--muted); }
.banner .t { display: flex; flex-direction: column; min-width: 0; }
.banner .t strong { font-size: 16px; }
.banner .t span { font-size: 12px; }
@keyframes pop { 0% { transform: scale(0.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .banner.win { animation: none; } }

/* artwork */
.art { position: relative; border-radius: 12px; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; }
.art .tag { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,0.92); border-radius: 6px; padding: 2px 8px; font-size: 11px; font-weight: 700; color: var(--ink); }
.art .stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); border: 3px solid #FFFFFF; color: #FFFFFF; font-size: 34px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 18px; border-radius: 8px; }
.price { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.split > div { min-width: 0; }
.next { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px dashed var(--green); border-radius: 12px; }

/* prize */
.prize { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); padding: 14px; }
.prize svg { flex-shrink: 0; }

/* artists */
.scroller { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.scroller button { flex: 0 0 116px; background: none; border: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; }
.scroller .sq { width: 116px; height: 116px; border-radius: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta { background: var(--lime); border: 1.5px solid var(--ink); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }

/* forms */
form { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; }
input:not([type]), input[type=text], input[type=email], input[type=number], input[type=password], textarea, select { font: inherit; font-weight: 400; font-size: 15px; border: 1.5px solid #CFC8B8; border-radius: 10px; padding: 11px 12px; background: var(--card); color: var(--ink); width: 100%; }
textarea { min-height: 90px; resize: vertical; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.drop { border: 2px dashed #B9B19F; border-radius: 12px; background: var(--card); padding: 18px; text-align: center; font-weight: 700; cursor: pointer; }
.err { color: #B3261E; font-size: 12px; font-weight: 500; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio { display: flex; gap: 10px; align-items: center; border: 1.5px solid #CFC8B8; border-radius: 10px; padding: 12px; font-weight: 500; flex-direction: row; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--green); background: #EAF2E6; }
.radio input { accent-color: var(--green); margin: 0; }

/* stripe mock */
.stripe { background: #FFFFFF; border: 1px solid #DCDFE6; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif; }
.stripe .testmode { align-self: flex-start; background: #FFE8C2; color: #8A4B00; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 2px 6px; }

/* claim */
.code { background: var(--ink); color: var(--paper); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.code .val { font-size: 32px; font-weight: 700; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.qr { display: grid; grid-template-columns: repeat(11, 11px); gap: 2px; padding: 10px; background: #FFFFFF; border-radius: 8px; }
.qr i { width: 11px; height: 11px; }
.status { align-self: center; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.status.done { background: var(--green); color: #FFFFFF; border-color: var(--green); }
.done-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; margin: 8px auto 0; }
.center { text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.progress { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress div { height: 100%; background: var(--green); transition: width 0.4s; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; }
details[open] summary::after { content: "−"; }
details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

footer { background: var(--ink); color: var(--paper); }
footer .wrap { padding-block: 24px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 14px; }
footer .links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
footer .links button { background: none; border: 0; padding: 0; text-align: left; color: #C9D6CF; font-size: 13px; }
footer .links button:hover { color: var(--lime); }
footer .fine { font-size: 12px; color: #8FA79B; }

/* additions for the live site */
.notice { background: var(--card); border: 1.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.notice.warn { border-color: #B3261E; color: #7A1C16; }
.loading { color: var(--muted); padding: 40px 0; text-align: center; }
.empty-art { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 12px; border: 2px dashed #B9B19F; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face { background: var(--line) center / cover no-repeat; }
.ship-choice { display: flex; flex-direction: column; gap: 8px; }
.code .val { word-break: break-all; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
a.logo, a.pill { text-decoration: none; color: var(--ink); }
footer .logo { color: var(--paper); }
.desk-nav a { text-decoration: none; padding: 4px 0; }
.desk-nav a:hover, .desk-nav a[aria-current="page"] { color: var(--green); }
.menu nav a { text-decoration: none; border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.menu nav a span { font-size: 14px; color: var(--green); }
footer .links a { color: #C9D6CF; font-size: 13px; text-decoration: none; }
footer .links a:hover { color: var(--lime); }
a.crumb, a.stop, a.btn { text-decoration: none; color: inherit; }
a.btn.primary { color: #FFFFFF; }
a.stop { color: var(--ink); }

/* approved hand-drawn trail map */
.bigmap { position: relative; width: 100%; border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: #F6F0E2; }
.bigmap-inner { position: relative; width: 1000px; height: 860px; transform-origin: 0 0; font-family: var(--f-hand); color: var(--ink); }
.bigmap.full { border: 0; border-radius: 0; overflow: visible; }
.map-badge { cursor: pointer; transition: transform .15s; }
.map-badge:hover, .map-badge:focus-visible { transform: scale(1.15); outline: none; }
.map-badge.sel { box-shadow: 0 0 0 6px #F6F0E2, 0 0 0 9px #10241B; }
.map-badge.got::after { content: "✓"; position: absolute; right: -14px; top: -14px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #FFFFFF; border: 2px solid #FFFFFF; font: 700 14px/18px var(--f-ui); text-align: center; }
.map-zoom { position: absolute; right: 8px; bottom: 8px; background: var(--card); border: 1px solid var(--ink); border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.fullmap { position: fixed; inset: 0; z-index: 30; background: #F6F0E2; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.fullmap-bar { display: flex; align-items: center; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); background: var(--card); border-bottom: 1px solid var(--line); }
.fullmap-bar .small { margin-right: auto; }
.fullmap-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }
