@font-face { font-family: "Bricolage Grotesque"; src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url(/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/fonts/caveat-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/fonts/caveat-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --sun: #FFD23F; --moss: #163F1C; --leaf: #2F7A2A; --fresh: #7BC74D; --sky: #CFE9FF;
  --blossom: #FF8FB1; --kraft: #EAD3A6; --paper: #FFFDF6; --white: #FFFFFF; --mint: #E3F5D8; --error: #B3261E;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; scrollbar-gutter: stable; background: var(--sun); }
body { margin: 0; overflow-x: hidden; background: var(--sun); color: var(--moss); font-family: "Atkinson Hyperlegible", Verdana, sans-serif; font-size: 19px; line-height: 1.55; }
h1, h2, h3, .logo, .btn { font-family: "Bricolage Grotesque", "Arial Rounded MT Bold", sans-serif; }
.hand { font-family: "Caveat", cursive; font-weight: 700; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--blossom); outline-offset: 3px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 16px; }
.logo { font-weight: 800; font-size: 28px; letter-spacing: -.5px; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 40px; height: 40px; }
.nav { display: flex; gap: 28px; font-weight: 700; font-size: 17px; align-items: center; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.nav .pill { background: var(--moss); color: var(--sun); padding: 9px 18px; border-radius: 999px; }

.page { padding: 20px 0 90px; }
.page h1 { font-size: clamp(44px, 6.4vw, 76px); line-height: .92; letter-spacing: -2px; font-weight: 800; margin: 10px 0 12px; }
.page .sub { font-size: 22px; max-width: 34ch; margin: 0 0 8px; }
.page .aside { font-size: 32px; color: var(--leaf); transform: rotate(-3deg); display: inline-block; margin: 6px 0 20px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }

.card { background: var(--white); border-radius: 28px; padding: 32px; border: 3px solid var(--moss); box-shadow: 10px 10px 0 var(--moss); }
.field { margin-bottom: 20px; }
.field > label, .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 18px; }
.field input[type=text], .field input[type=email], .field input[type=number], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 19px; padding: 13px 16px; border: 2px solid #9DB59A; border-radius: 14px; background: var(--white); color: var(--moss);
}
.field textarea { min-height: 90px; resize: vertical; }
.hint { font-size: 15px; margin-top: 5px; color: #4A6A4D; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trap { position: absolute; left: -9999px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; padding: 16px 28px; border-radius: 999px; border: 3px solid var(--moss); cursor: pointer; }
.btn.primary { background: var(--moss); color: var(--sun); box-shadow: 5px 5px 0 var(--leaf); }
.btn.ghost { background: var(--white); color: var(--moss); }
.btn.small { font-size: 17px; padding: 10px 18px; box-shadow: none; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

.photo-pick { display: flex; align-items: center; gap: 16px; border: 3px dashed #9DB59A; border-radius: 18px; padding: 16px; cursor: pointer; background: var(--paper); }
.photo-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-pick .ph { width: 84px; height: 84px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; flex: none; overflow: hidden; }
.photo-pick .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick b { font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { border: 2px solid var(--moss); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 17px; background: var(--white); }
.chips input { position: absolute; opacity: 0; }
.chips label:has(input:checked) { background: var(--moss); color: var(--sun); }
.chips label:has(input:focus-visible) { outline: 4px solid var(--blossom); outline-offset: 2px; }

.minimap { height: 260px; border-radius: 18px; border: 2px solid #9DB59A; overflow: hidden; background: #EDF3E6; }
.where-row { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.where-status { font-size: 16px; }

.msg { border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: 17px; display: none; }
.msg.error { display: block; background: #FDECEA; color: var(--error); border: 2px solid var(--error); }

.done { text-align: center; padding: 10px 0; }
.done h2 { font-size: 40px; margin: 6px 0 8px; line-height: 1; }
.done .words { font-family: "Caveat", cursive; font-weight: 700; font-size: 38px; color: var(--leaf); }

.list { list-style: none; padding: 0; margin: 22px 0 0; }
.list li { padding: 8px 0 8px 34px; position: relative; font-size: 19px; }
.list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 1 C17 5 17 13 10 19 C3 13 3 5 10 1Z' fill='%232F7A2A'/><path d='M10 5 V17' stroke='white' stroke-width='1.6'/></svg>"); }

.leaflet-container { font-family: "Atkinson Hyperlegible", sans-serif; }
.pin { width: 30px; height: 30px; border-radius: 50%; background: var(--leaf); border: 3px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,.3); display: grid; place-items: center; }
.pin svg { width: 14px; height: 16px; }
.pin.thirsty { background: #D9932B; } .pin.damaged { background: #C0503A; } .pin.gone { background: #8C8C8C; }
.pin.me { background: var(--sun); border-color: var(--moss); width: 36px; height: 36px; }

footer { background: var(--moss); color: #fff; padding: 30px 0; font-size: 16px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .hand { font-size: 30px; color: var(--sun); }

@media (max-width: 880px) {
  body { font-size: 18px; }
  .nav a:not(.pill) { display: none; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .card { padding: 22px; box-shadow: 6px 6px 0 var(--moss); }
}
@media (max-width: 520px) { .wrap { padding: 0 16px; } .row { grid-template-columns: 1fr; } }
.field > label.photo-pick { display: flex; font-weight: 400; font-size: 17px; margin-bottom: 0; }
@media (max-width: 520px) {
  .logo { font-size: 22px; white-space: nowrap; gap: 6px; }
  .logo svg { width: 32px; height: 32px; }
  .nav .pill { font-size: 15px; padding: 8px 14px; white-space: nowrap; }
}

footer .foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
footer .foot-links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
footer .foot-links a:hover { color: var(--sun); }
