/* palsontrek.co.uk - THE LOOK LAYER for the front page and members area (Owner: Whitefly).
   Trip Album look, ruled FOR NOW by Gareth 13 Nov 2026 (decisions/log.md 2026-11-13-palsontrek-look-trip-album-for-now):
   a shared photo album; photos as prints with white borders and handwritten captions; one hand-drawn trail line.
   He will come back to the look, so ALL colour, type and spacing lives in this one file; pages only use the class
   names below. A restyle replaces this file, not the pages. The photo maps keep their own look (web/inca/app.css).
   Text sizes follow Gareth's rule: labels 15 px and up, small print about 13.5 px and up. */
@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@500;700&family=Source+Sans+3:wght@400;600&family=Caveat:wght@500;600&display=swap");
:root {
  --bg: #f3eee5; --card: #fffdf8; --ink: #2a2521; --muted: #5f574f; --line: #d9d0c2;
  --accent: #2d5a7b; --accent-ink: #ffffff; --danger: #a33a2b; --ok: #2f6f4e; --pencil: #4c5560;
  --band: #23201c; --band-ink: #d8d0c4; --band-link: #e8e0d4;
  --radius: 4px; --gap: 16px;
  --font-body: "Source Sans 3", system-ui, sans-serif; --font-head: "Bitter", Georgia, serif; --font-hand: "Caveat", cursive;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1b1916; --card: #2a2622; --ink: #eee7dc; --muted: #b3a99c; --line: #3a352f; --accent: #8fb7d6; --accent-ink: #10202d; --danger: #e48a7c; --ok: #8fd0ab; --pencil: #c9c1b4; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--font-body); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 6vw, 48px); letter-spacing: -.01em; } h2 { font-size: 27px; } h3 { font-size: 20px; }
a { color: var(--accent); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.small { font-size: 15px; color: var(--muted); }
.muted { color: var(--muted); }
.lede { color: var(--muted); max-width: 38em; }
.hand { font: 500 22px/1.25 var(--font-hand); color: var(--pencil); }

/* a print: a photo with a white border and a handwritten caption */
.print { background: var(--card); padding: 10px 10px 14px; margin: 0; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 6px 18px rgba(60,40,20,.10); }
.print img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.print figcaption { font: 500 21px/1.2 var(--font-hand); color: var(--pencil); padding-top: 8px; }
.tilt-l { transform: rotate(-1.2deg); } .tilt-r { transform: rotate(.9deg); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 var(--gap); }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.btn { display: inline-block; font: inherit; font-size: 16px; font-weight: 600; padding: 10px 16px; min-height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.danger { color: var(--danger); }
.btn.small { font-size: 15px; padding: 6px 12px; min-height: 36px; font-weight: 400; }
.btn[disabled] { opacity: .5; cursor: default; }
input, textarea, select { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 11px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
label.fld { display: block; margin: 0 0 12px; } label.fld > span { display: block; font-size: 15px; margin-bottom: 4px; }
label.tick { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 16px; } label.tick input { width: auto; margin-top: 5px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.err { color: var(--danger); }
.prose h3 { margin-top: 1.2em; } .prose ul { padding-left: 1.2em; }
.list-rule { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.list-rule > * { padding: 12px 0; border-bottom: 1px solid var(--line); }
.big-number { font: 700 40px/1 var(--font-head); }

footer.site { background: var(--band); color: var(--band-ink); margin-top: 40px; padding: 30px 0 40px; font-size: 15px; }
footer.site a { color: var(--band-link); }
footer.site .made { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin: 6px 0 14px; }
footer.site .made img.wf { height: 52px; width: auto; } footer.site .made img.lb { height: 30px; width: auto; }
