/* Herd Around the World: colours, fonts and pieces from the Page 3 designs. */
:root {
  --cream: #FDF8F3; --beige: #F6EFE7; --field: #F1EAE3; --sage-bg: #E7ECE5;
  --sage: #6E8B7D; --sage-dark: #5B7869; --ink: #3F5A4C; --heading: #4F6B5D; --body: #566E62;
  --mint: #A8DCC9; --mint-soft: #DDF0E8; --mint-ink: #2F4A3D;
  --pink: #F6D3D3; --pink-soft: #FBE4E2; --pink-ink: #6B3F3A;
  --butter: #F9EBB5; --butter-ink: #5A4C1E; --wish-ink: #4F4320;
  --rose: #D98C86; --gold: #E0B94A; --line: #EDE6DC; --border: #E3DCD2; --blush: #F2B4B0; --step-dot: #8FAA9B;
  --error: #B3261E; --error-field: #FDECEC;
  --script: 'Shadows Into Light Two', cursive;
  --chunky: 'Baloo 2', 'Fira Sans', sans-serif;
  --sans: 'Fira Sans', system-ui, sans-serif;
  --focus: 0 0 0 3px #FDF8F3, 0 0 0 5px #3F5A4C;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--body); background: var(--cream); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--sage-dark); }
a:hover { color: var(--ink); }
h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 10px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.ic { width: 18px; height: 18px; flex: none; }
.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 600px; margin: 0 auto; padding: 0 20px; }

/* Type */
.script { font-family: var(--script); font-weight: 400; color: var(--heading); line-height: 1.25; }
.chunky { font-family: var(--chunky); font-weight: 700; color: var(--ink); line-height: 1.2; }
.eyebrow { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--sage-dark); }
.eyebrow.big { font-size: 20px; letter-spacing: 1.2px; }
.muted { font-size: 13px; color: var(--body); }
.lead { font-size: 17px; }
.h-xl { font-size: clamp(56px, 6.4vw, 92px); line-height: 1.34; padding-bottom: 0.1em; }
.h-lg { font-size: clamp(44px, 6vw, 76px); line-height: 1.3; padding-bottom: 0.12em; }
.h-md { font-size: clamp(36px, 4.5vw, 56px); }
.h-sm { font-size: 40px; }

/* Header */
.site-header { background: var(--cream); position: relative; z-index: 50; }
.site-header nav { display: flex; align-items: center; gap: 14px 20px; padding: 18px 24px; max-width: 1248px; margin: 0 auto; }
.home-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; color: var(--sage-dark); }
.wordmark { font-family: var(--chunky); font-weight: 800; font-size: 24px; color: var(--sage-dark); letter-spacing: 0.5px; }
.home-link .back-hint { font-size: 14px; color: var(--body); display: inline-flex; align-items: center; gap: 4px; }
.menu-pill { background: var(--mint-soft); border-radius: 16px; padding: 4px 18px; display: flex; align-items: center; gap: 0 22px; }
.menu-pill > a, .hatw > a { color: var(--sage-dark); text-decoration: none; padding: 12px 0; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.hatw { position: relative; display: flex; align-items: center; }
.hatw > a { font-weight: 600; color: var(--ink); }
.hatw > a span { border-bottom: 1.5px solid currentColor; }
.hatw-toggle { background: none; border: 0; width: 32px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; border-radius: 10px; }
.hatw-drop { display: none; position: absolute; top: calc(100% + 4px); left: -12px; min-width: 260px; background: var(--cream); border-radius: 16px; padding: 8px; box-shadow: 0 10px 30px rgba(63, 90, 76, 0.18); flex-direction: column; z-index: 60; }
.hatw.open .hatw-drop, .hatw:hover .hatw-drop, .hatw:focus-within .hatw-drop { display: flex; }
.hatw-drop a { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.hatw-drop a:hover, .hatw-drop a:focus, .hatw-drop a[aria-current="page"] { background: var(--mint-soft); }
.lang { position: relative; }
.lang-btn { background: var(--field); border: 0; border-radius: 999px; padding: 0 16px; height: 44px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--mint-ink); font-size: 15px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); background: var(--cream); border-radius: 14px; box-shadow: 0 10px 30px rgba(63, 90, 76, 0.18); padding: 6px; list-style: none; margin: 0; min-width: 170px; z-index: 70; }
.lang-list button { width: 100%; text-align: left; background: none; border: 0; padding: 12px 14px; border-radius: 10px; cursor: pointer; min-height: 44px; color: var(--ink); }
.lang-list button:hover, .lang-list button[aria-checked="true"] { background: var(--mint-soft); }
.menu-btn.circle-btn { display: none; }
h1:focus, main:focus, [tabindex="-1"]:focus { box-shadow: none; outline: none; }
.preview-banner { background: var(--butter); color: var(--butter-ink); font-size: 14px; text-align: center; padding: 8px 16px; display: flex; gap: 6px 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.preview-banner button { background: none; border: 0; color: var(--butter-ink); text-decoration: underline; cursor: pointer; min-height: 32px; font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; min-height: 52px; padding: 12px 28px; font-size: 15px; font-weight: 500; letter-spacing: 0.7px; text-transform: uppercase; text-decoration: none; cursor: pointer; background: var(--sage-dark); color: #fff; text-align: center; line-height: 1.2; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.soft { background: var(--mint); color: var(--mint-ink); }
.btn.soft:hover { background: #97d3bd; color: var(--mint-ink); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--sage-dark); }
.btn.outline:hover { background: var(--mint-soft); }
.btn.block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.btn .ic { width: 16px; height: 16px; }
.link-btn { background: none; border: 0; color: var(--sage-dark); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 8px 4px; font-size: 15px; display: inline-flex; align-items: center; }
.text-link { color: var(--sage-dark); font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--sage-dark); padding: 10px 4px 6px; display: inline-block; }
.circle-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint-soft); color: var(--mint-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; flex: none; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 14px; font-size: 15px; background: var(--cream); color: var(--ink); }
.pill.beige { background: var(--beige); } .pill.mint { background: var(--mint-soft); color: var(--mint-ink); }
.pill.butter { background: var(--butter); color: var(--butter-ink); } .pill.pink { background: var(--pink-soft); color: var(--pink-ink); }
.pill.white { background: #fff; } .pill.small { font-size: 12px; padding: 3px 10px; }
.pill.retired { background: #F8DCC8; color: #6B4430; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }

/* Blobs and badges */
.blob { position: absolute; border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; z-index: 0; pointer-events: none; }
.badge { display: inline-flex; align-items: flex-end; justify-content: center; border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; flex: none; overflow: hidden; padding-bottom: 6%; }
.badge-photo { width: 100%; height: 100%; object-fit: cover; }
.figure { display: block; height: auto; }

/* Cards */
.card { background: var(--beige); border-radius: 20px; padding: 18px; }
.card.white { background: #fff; } .card.cream { background: var(--cream); }
.card.mint { background: var(--mint-soft); color: var(--mint-ink); }
.card.pink { background: var(--pink-soft); color: var(--pink-ink); }
.card.butter { background: var(--butter); color: var(--butter-ink); }
.card > * + * { margin-top: 8px; }
.frame { border: 2px solid var(--sage); background: #fff; }
.numbered { display: flex; gap: 12px; align-items: flex-start; }
.numbered .n { width: 28px; height: 28px; border-radius: 50%; background: var(--step-dot); color: #fff; font-family: var(--chunky); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 14px; }
.numbered p { color: var(--ink); }

/* Forms */
.form-hero { background: var(--beige); position: relative; overflow: hidden; padding: 28px 0 26px; }
.form-hero .narrow { position: relative; z-index: 1; display: flex; gap: 18px; align-items: center; }
.form-hero .script { font-size: clamp(40px, 6vw, 52px); }
.form-body { padding: 26px 0 60px; }
.form-body .narrow > * + * { margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label:not(.photo-box), .field-label { font-weight: 600; color: var(--sage-dark); font-size: 16px; }
.help { font-size: 13px; color: var(--body); }
.input, textarea.input { width: 100%; border: 2px solid transparent; background: var(--field); border-radius: 12px; padding: 12px 14px; font-size: 16px; color: var(--ink); min-height: 50px; }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.45; }
.input::placeholder { color: rgba(86, 110, 98, 0.7); }
.input:focus { outline: none; border-color: var(--sage-dark); box-shadow: none; }
.has-error .input, .input.has-error { border-color: var(--error); background: var(--error-field); }
.counter { font-size: 12px; text-align: right; color: var(--body); }
.counter.over { color: var(--error); font-weight: 600; }
.error-note { display: flex; gap: 6px; align-items: flex-start; color: var(--error); font-size: 14px; font-weight: 500; }
.error-note .ic { width: 18px; height: 18px; margin-top: 1px; }
.fix-list { background: var(--error-field); border: 2px solid var(--error); border-radius: 14px; padding: 14px; }
.fix-list:focus { outline: none; }
.fix-title { display: flex; gap: 8px; align-items: center; font-family: var(--chunky); font-weight: 700; color: var(--error); font-size: 17px; }
.fix-title .ic { width: 22px; height: 22px; }
.fix-list ul { margin: 8px 0 0; padding-left: 22px; color: var(--ink); font-size: 14px; }
.fix-list li + li { margin-top: 6px; }
.fix-list li::marker { color: var(--error); }
.choice { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 2px solid var(--border); border-radius: 16px; padding: 14px 16px; cursor: pointer; color: var(--body); min-height: 56px; }
.choice[aria-checked="true"] { border-color: var(--ink); }
.choice .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sage); flex: none; margin-top: 3px; position: relative; }
.choice[aria-checked="true"] .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--sage-dark); }
.choice .title { font-weight: 500; color: var(--ink); display: block; }
.choice .detail { font-size: 14px; display: block; margin-top: 2px; }
.choice .pill { margin-top: 4px; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.photo-box { width: 100%; min-height: 120px; border: 2px dashed var(--step-dot); background: var(--beige); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; cursor: pointer; color: var(--ink); text-align: center; font-size: 14px; position: relative; overflow: hidden; }
.photo-box.gold { border-color: var(--gold); background: #fffaf0; }
.photo-box.filled { border-style: solid; padding: 0; min-height: 200px; }
.photo-box.filled img { width: 100%; height: 220px; object-fit: cover; }
.photo-box .change { position: absolute; bottom: 10px; left: 10px; }
.has-error .photo-box { border-color: var(--error); background: var(--error-field); }
.photo-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photo-box:focus-within { box-shadow: var(--focus); }
.lock-note { display: flex; gap: 8px; font-size: 13px; align-items: flex-start; }
.lock-note .ic { width: 16px; height: 16px; color: var(--sage-dark); margin-top: 2px; }
.code-row { display: flex; align-items: center; gap: 8px; background: var(--field); border-radius: 14px; padding: 0 16px; border: 2px solid transparent; }
.code-row .no { font-family: var(--chunky); font-weight: 800; font-size: 24px; color: var(--sage-dark); }
.code-row input { border: 0; background: transparent; font-family: var(--chunky); font-weight: 700; font-size: 24px; color: var(--ink); min-height: 56px; width: 100%; }
.code-row input:focus { outline: none; }
.code-row:focus-within { border-color: var(--sage-dark); }
.has-error .code-row { border-color: var(--error); background: var(--error-field); }

/* Where are you (location card) */
.here { background: var(--field); border: 2px solid transparent; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.has-error .here { border-color: var(--error); background: var(--error-field); }
.here-row { display: flex; align-items: center; gap: 10px; }
.here-city { font-family: var(--chunky); font-weight: 700; font-size: 19px; color: var(--sage-dark); flex: 1; }
.here .ic { color: var(--sage-dark); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--mint); border-top-color: var(--sage-dark); border-radius: 50%; animation: spin 0.8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--mint-soft); color: var(--mint-ink); border: 0; border-radius: 999px; padding: 0 14px; min-height: 40px; cursor: pointer; font-size: 14px; }
.chip.on { background: var(--sage-dark); color: #fff; }
.test-locations { border-top: 1px dashed var(--border); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }

/* Footer */
.site-footer { background: var(--beige); padding: 44px 0; margin-top: 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-end; }
.site-footer .script { font-size: 40px; color: var(--sage); line-height: 1.25; margin-bottom: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* Home */
.hero { background: var(--beige); position: relative; overflow: hidden; padding: 72px 0 90px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 470px; justify-self: center; width: 100%; }
.hero-art .blob { inset: 0; }
.hero-art svg.route { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-figs { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; align-items: flex-end; justify-content: center; gap: 4px; z-index: 1; }
/* Same sizes as the Page 3 design (100, 136, 100 px in a 460 px picture), shrinking with the picture on phones. */
.hero-figs > * { width: 21.7% !important; height: auto; flex: none; }
.hero-figs > :nth-child(2) { width: 29.6% !important; }
.hero-figs > * svg, .hero-figs > svg { width: 100%; height: auto; display: block; }
/* The soft pink blob at the end of the path (from the design). */
.hero-pin { position: absolute; right: 6%; top: 8%; width: 26%; height: 22%; background: #F6D3D3; border-radius: 50% 50% 45% 55% / 60% 40% 60% 40%; }
.find-box { display: flex; gap: 10px; flex-wrap: wrap; max-width: 470px; }
.hash-input { display: flex; align-items: center; gap: 10px; background: var(--field); border-radius: 12px; padding: 0 16px; flex: 1; min-width: 200px; border: 2px solid transparent; }
.hash-input:focus-within { border-color: var(--sage-dark); }
.hash-input b { font-family: var(--chunky); color: var(--ink); font-size: 18px; }
.hash-input input { border: 0; background: transparent; min-height: 50px; width: 100%; font-size: 17px; color: var(--ink); }
.hash-input input:focus { outline: none; }
.section { padding: 80px 0; position: relative; }
.section.beige { background: var(--beige); } .section.sage { background: var(--sage-bg); }
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; margin-top: 50px; }
.how .icon { width: 110px; height: 96px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
.how .icon svg { width: 46px; height: 46px; color: var(--ink); }
.how h3 { font-family: var(--chunky); font-size: 26px; color: var(--heading); font-weight: 600; margin-bottom: 8px; }
.how p { font-size: 17px; }
.section-title { font-size: 34px; letter-spacing: 1.5px; text-align: center; color: var(--sage-dark); font-weight: 600; text-transform: uppercase; }
.sightings { display: grid; grid-template-columns: repeat(3, minmax(0, 285px)); gap: 20px; margin-top: 24px; }
.sighting { padding: 14px; text-decoration: none; color: var(--body); display: flex; flex-direction: column; gap: 10px; }
.sighting:hover { box-shadow: 0 6px 18px rgba(63, 90, 76, 0.12); }
.photo-ph { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink); overflow: hidden; position: relative; }
.photo-ph img { width: 100%; height: 100%; object-fit: cover; }
.sighting h3 { font-family: var(--chunky); font-weight: 700; color: var(--sage-dark); font-size: 19px; }
.sighting p { font-size: 15px; }
.stamp-banner { background: var(--pink); border-radius: 30px; padding: 40px 44px; display: flex; gap: 40px; align-items: center; }
.stamp-banner .script { font-size: 44px; }
.stamp-banner p { color: var(--pink-ink); }
.dash-stamp { width: 110px; height: 110px; border-radius: 50%; border: 4px dashed #B5524A; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #B5524A; flex: none; }
.dash-stamp b { font-family: var(--chunky); font-size: 24px; line-height: 1; }
.dash-stamp small { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
.mini-map { height: 480px; border-radius: 30px; overflow: hidden; background: var(--sage-bg); position: relative; margin-top: 26px; }
.map-legend { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 12px; padding: 8px 14px; display: flex; gap: 16px; font-size: 14px; color: var(--ink); z-index: 500; flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.originals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 40px; }
.original { padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--cream); }
.original .art { height: 230px; display: flex; align-items: center; justify-content: center; }
.original h3 { font-family: var(--chunky); font-size: 24px; color: var(--sage-dark); margin-top: 10px; }
.original .meta { font-size: 15px; }
.original .wish { font-size: 15px; color: var(--butter-ink); display: flex; gap: 6px; align-items: center; }
.original .wish .ic { width: 14px; height: 14px; }
.pass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.pass-grid .card { padding: 30px 36px; border-radius: 30px; }
.pass-grid ul { padding-left: 20px; margin: 14px 0 0; font-size: 17px; }
.pass-grid li + li { margin-top: 8px; }
.best { display: flex; gap: 28px; align-items: center; border-radius: 30px; padding: 28px 36px; margin-top: 38px; }
.best .script { font-size: 44px; flex: none; }

/* Map page */
.map-head > div:first-child { flex: 1 1 560px; min-width: 0; }
.map-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.lookup { display: flex; flex-direction: column; gap: 8px; }
.lookup label { font-weight: 600; color: var(--sage-dark); font-size: 15px; }
.lookup .row { display: flex; gap: 10px; }
.lookup .hash-input { min-width: 150px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; }
.filter { display: inline-flex; align-items: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 0 18px; min-height: 44px; font-size: 16px; cursor: pointer; white-space: nowrap; }
.filter[aria-pressed="true"] { background: var(--ink) !important; color: #fff !important; }
.filter[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px #fff; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: auto 660px; gap: 0 24px; }
.map-overlay { grid-column: 1 / -1; }
.phone-only { display: none; }
.leaflet-tile-pane { filter: saturate(0.55) sepia(0.12) brightness(1.04); }
.map-box { position: relative; border-radius: 30px; overflow: hidden; background: var(--sage-bg); }
.map-el { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; color: var(--body); }
.list-panel { background: var(--beige); border-radius: 30px; display: flex; flex-direction: column; overflow: hidden; }
.list-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px 8px; width: 100%; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; }
.list-head .script { font-size: 32px; }
.list-head .count { font-size: 13px; }
.list-head .chev { margin-left: auto; color: var(--sage-dark); transition: transform 0.2s; }
.list-panel.closed .list-head .chev { transform: rotate(180deg); }
.grabber { display: none; width: 40px; height: 5px; border-radius: 999px; background: #DCDDD6; margin: 8px auto 0; }
.list-body { overflow-y: auto; padding: 0 12px 12px; flex: 1; }
.list-panel.closed .list-body { display: none; }
.list-row { display: flex; align-items: center; gap: 12px; width: 100%; background: none; border: 0; border-radius: 16px; padding: 10px 10px; cursor: pointer; text-align: left; min-height: 56px; color: inherit; }
.list-row:hover, .list-row[aria-current="true"] { background: var(--cream); }
.list-row .num { width: 44px; height: 44px; border-radius: 50%; font-family: var(--chunky); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); font-size: 15px; flex: none; }
.list-row .city { font-family: var(--chunky); font-weight: 600; color: var(--ink); font-size: 17px; display: block; line-height: 1.25; }
.list-row .note { font-size: 13px; display: block; }
.list-row .rank { font-family: var(--chunky); color: var(--sage); font-size: 13px; width: 18px; flex: none; }
.list-empty { padding: 14px 10px; font-size: 14px; }
.dot-card { position: absolute; top: 20px; right: 20px; width: min(320px, calc(100% - 40px)); background: var(--cream); border: 2px solid var(--sage); padding: 16px; z-index: 600; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 6px 18px rgba(63, 90, 76, 0.15); }
.dot-card .top { display: flex; gap: 12px; align-items: center; }
.dot-card h3 { font-family: var(--chunky); font-size: 20px; color: var(--sage-dark); }
.dot-card .meta { font-size: 14px; }
.dot-card .hint { font-size: 14px; color: var(--ink); font-weight: 500; }
.dot-card .wish { font-size: 14px; color: var(--butter-ink); }
.dot-card .close { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; background: var(--field); }
.map-tools { position: absolute; left: 16px; top: 16px; z-index: 550; display: flex; gap: 8px; }
.map-tools .pill { box-shadow: 0 2px 8px rgba(63, 90, 76, 0.15); border: 0; cursor: pointer; min-height: 40px; }
.leaflet-container { background: #D5E6E2; font-family: var(--sans); } /* the sea */
.herd-dot { border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.herd-dot.faded { border: 0; box-shadow: none; opacity: 0.35; background: var(--step-dot) !important; }
.herd-dot.sel { box-shadow: 0 0 0 3px var(--ink); }
.me-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ink); }
.journey-label { background: transparent; border: 0; box-shadow: none; font-size: 15px; color: var(--ink); font-family: var(--sans); padding: 0 0 0 4px; }
.journey-label::before { display: none; }

/* Companion page */
.guy-hero { background: var(--beige); position: relative; overflow: hidden; padding: 60px 0 70px; }
.guy-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.guy-art { position: relative; aspect-ratio: 1; max-width: 400px; width: 100%; justify-self: center; display: flex; align-items: center; justify-content: center; }
.guy-art .blob { inset: 0; }
.guy-art .figure, .guy-art img { position: relative; z-index: 1; }
.guy-art img { width: 70%; height: 70%; object-fit: cover; border-radius: 50%; }
.guy-name { font-size: clamp(56px, 7vw, 96px); line-height: 1.15; margin: 6px 0 18px; }
.wish-card { background: var(--butter); border-radius: 22px; padding: 18px 22px; display: flex; gap: 16px; align-items: center; color: var(--butter-ink); }
.wish-card .ic { width: 30px; height: 30px; }
.wish-card .script { font-size: 32px; color: var(--wish-ink); }
.wish-card .eyebrow { color: var(--butter-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.follow-card { background: #fff; border-radius: 20px; padding: 16px 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; min-height: 44px; background: none; border: 0; color: var(--ink); text-align: left; padding: 0; }
.switch .track { width: 46px; height: 28px; border-radius: 999px; background: var(--border); position: relative; flex: none; transition: background 0.15s; }
.switch .track::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left 0.15s; }
.switch[aria-checked="true"] .track { background: var(--sage-dark); }
.switch[aria-checked="true"] .track::after { left: 21px; }
.journey-map { height: 440px; border-radius: 30px; overflow: hidden; background: var(--sage-bg); position: relative; margin-top: 24px; }
.stops { list-style: none; margin: 24px 0 0; padding: 0; columns: 3 280px; column-gap: 28px; }
.stops .stop { break-inside: avoid; }
.stop { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.stop .n { width: 30px; height: 30px; border-radius: 50%; background: var(--mint-soft); font-family: var(--chunky); font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 14px; }
.stop.now .n { background: var(--rose); color: #fff; }
.stop .city { font-weight: 500; color: var(--ink); }
.stop .meta { font-size: 13px; }
.chapters { display: flex; flex-direction: column; gap: 22px; margin-top: 26px; }
.origin { background: var(--pink); border-radius: 26px; padding: 26px 36px; color: var(--pink-ink); }
.origin .script { font-size: 30px; color: var(--pink-ink); margin-top: 6px; }
.chapter { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 16px; align-items: start; }
.chapter.no-photo { grid-template-columns: 1fr; }
.chapter .photo-ph { height: 180px; }
.chapter .head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chapter .n { width: 40px; height: 40px; border-radius: 50%; background: var(--step-dot); color: #fff; font-family: var(--chunky); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.chapter h3 { font-family: var(--chunky); font-weight: 700; color: var(--sage-dark); font-size: 24px; }
.chapter .meta { font-size: 14px; margin-top: 6px; }
.chapter .place { color: var(--ink); font-size: 15px; margin-top: 4px; }
.chapter .text { color: var(--body); font-size: 17px; margin-top: 8px; }
.wait-pill { position: absolute; left: 8px; top: 8px; }
.chat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.bubbles { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.bubble-wrap { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.bubble-wrap.mine { align-items: flex-end; }
.bubble { background: var(--cream); border-radius: 18px 18px 18px 6px; padding: 14px 18px; color: var(--ink); max-width: 560px; overflow-wrap: anywhere; }
.bubble.herd { background: var(--mint-soft); color: var(--mint-ink); }
.bubble-wrap.mine .bubble { background: var(--sage-dark); color: #fff; border-radius: 18px 18px 6px 18px; }
.bubble-who { font-size: 13px; }
.join { background: var(--cream); border-radius: 26px; padding: 30px 32px; display: flex; flex-direction: column; gap: 16px; }
.join h3 { font-family: var(--chunky); font-size: 26px; color: var(--sage-dark); }
.hello-overlay { position: fixed; inset: 0; background: rgba(63, 90, 76, 0.35); z-index: 200; overflow-y: auto; padding: 16px; display: flex; justify-content: center; align-items: flex-start; }
.hello { background: var(--cream); border-radius: 30px; padding: 22px; max-width: 420px; width: 100%; position: relative; overflow: hidden; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; margin: auto 0; }
.hello > * { position: relative; z-index: 1; }
.hello > .blob, .wish-hero > .blob { position: absolute; z-index: 0; }
.hello .close { position: absolute; right: 16px; top: 16px; background: var(--field); z-index: 2; }
.hello .script { font-size: 46px; }
.hello .my-wish { background: var(--butter); border-radius: 16px; padding: 12px 16px; width: 100%; text-align: left; display: flex; gap: 10px; align-items: center; }
.hello .my-wish .script { font-size: 26px; color: var(--wish-ink); }
.hello .how-card { background: var(--beige); border-radius: 20px; padding: 16px; text-align: left; width: 100%; display: flex; flex-direction: column; gap: 10px; }

/* Passport */
.page-hero { background: var(--beige); position: relative; overflow: hidden; padding: 56px 0 60px; }
.page-hero .wrap { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { padding: 24px 24px 20px; }
.stat b { font-family: var(--chunky); font-weight: 800; font-size: 40px; color: var(--ink); display: block; line-height: 1.1; }
.stat span { font-size: 17px; color: var(--ink); }
.passport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 40px; align-items: start; }
.stamps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 12px; margin-top: 16px; }
.stamp { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 15px; color: var(--ink); }
.stamp .ring { width: 130px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; border: 3px solid; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stamp .ring b { font-family: var(--chunky); font-weight: 800; font-size: 28px; line-height: 1; }
.stamp .ring small { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.stamp.empty .ring { border-style: dashed; border-color: #B9C9BF; color: #566E62; background: var(--cream); }
.travel { display: flex; gap: 14px; align-items: center; border-radius: 20px; padding: 14px 18px; }
.travel .n { width: 48px; height: 48px; border-radius: 50%; background: var(--cream); font-family: var(--chunky); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); flex: none; font-size: 14px; }
.travel b { font-family: var(--chunky); font-size: 18px; display: block; }
.travel span { font-size: 15px; }
.travel .when { margin-left: auto; font-size: 14px; }
.passport-cover { display: none; }
.tiles { display: none; }

/* Care */
.care-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 30px; }
.care-card { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.care-card .top { display: flex; gap: 14px; align-items: center; }
.care-card h3 { font-family: var(--chunky); font-size: 24px; color: var(--sage-dark); }

/* Sent */
.postcard { background: #fff; border: 2px solid var(--sage); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.postcard .pic { height: 220px; background: var(--sage-bg); position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.postcard .pic img { width: 100%; height: 100%; object-fit: cover; }
.postcard .tag { position: absolute; left: 12px; top: 12px; }
.postcard .mark { position: absolute; right: 12px; top: 12px; width: 60px; height: 68px; border: 2px dashed var(--step-dot); display: flex; align-items: center; justify-content: center; transform: rotate(6deg); font-family: var(--chunky); font-weight: 800; color: var(--sage-dark); font-size: 18px; background: rgba(255, 255, 255, 0.4); }
.postcard .script { font-size: 32px; }
.caption-box { background: #fff; border-radius: 12px; padding: 12px; color: var(--ink); font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.center { text-align: center; }
.wish-hero { background: var(--butter); border-radius: 26px; padding: 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; position: relative; overflow: hidden; }
.wish-hero > * { position: relative; z-index: 1; }
.wish-ideas { display: flex; flex-wrap: wrap; gap: 10px; }
.wish-idea { background: #fff; border: 2px solid var(--border); border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; color: var(--ink); font-size: 15px; }
.wish-idea[aria-pressed="true"] { background: var(--mint-soft); border-color: var(--sage-dark); }
.wish-input { display: flex; align-items: center; gap: 6px; background: var(--field); border-radius: 12px; padding: 0 14px; border: 2px solid transparent; }
.wish-input input { border: 0; background: transparent; min-height: 50px; flex: 1; font-size: 16px; color: var(--ink); min-width: 0; }
.wish-input input:focus { outline: none; }
.wish-input:focus-within { border-color: var(--sage-dark); }
.has-error .wish-input { border-color: var(--error); background: var(--error-field); }
.out-of-order { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 50px 0 70px; }
.out-of-order .script { font-size: 44px; }
.loading { padding: 120px 20px; text-align: center; }

/* Phone */
@media (max-width: 900px) {
  .hero .wrap, .guy-hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; order: -1; }
  .how { grid-template-columns: 1fr 1fr; }
  .sightings, .originals { grid-template-columns: 1fr 1fr; }
  .map-layout { grid-template-columns: 1fr; height: auto; }
  .map-layout { grid-template-rows: auto 520px auto; }
  .list-panel { max-height: 420px; margin-top: 20px; }
  .passport-grid, .chat-grid, .pass-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .narrow { padding: 0 16px; }
  .site-header nav { padding: 10px 16px; position: relative; }
  .menu-pill { display: none; position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; align-items: stretch; padding: 8px; background: var(--cream); box-shadow: 0 10px 30px rgba(63, 90, 76, 0.18); border-radius: 16px; }
  .site-header.menu-open .menu-pill { display: flex; }
  .hatw { flex-direction: column; align-items: stretch; }
  .hatw-toggle { display: none; }
  .hatw-drop { display: flex; position: static; box-shadow: none; padding: 0; min-width: 0; background: transparent; }
  .hatw > a { padding: 12px 14px; }
  .menu-btn.circle-btn { display: inline-flex; }
  .home-link .back-hint { display: none; }
  .wordmark { font-size: 22px; }
  .lang-btn { padding: 0 12px; }
  .hero { padding: 30px 0 50px; }
  .hero-art { max-width: 280px; }
  .h-xl { font-size: 60px; }
  .how, .sightings, .originals, .stats { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .stamp-banner { flex-direction: column; text-align: center; padding: 30px 22px; gap: 18px; }
  .best { flex-direction: column; align-items: flex-start; padding: 22px; gap: 8px; }
  .best .script, .stamp-banner .script { font-size: 36px; }
  .pass-grid .card { padding: 22px; }
  .mini-map { height: 300px; }
  .map-page .page-top { display: none; }
  .map-page { position: relative; }
  .map-layout { display: block; position: relative; height: calc(100svh - 104px); min-height: 540px; margin: 0; }
  .list-panel { margin-top: 0; }
  .map-box { position: absolute; inset: 0; border-radius: 0; height: auto; }
  .map-overlay { position: absolute; left: 12px; right: 12px; top: 10px; z-index: 700; display: flex; flex-direction: column; gap: 10px; }
  .phone-only { display: block; }
  .map-page .page-top { display: none; }
  .map-wrap { padding: 0 !important; }
  .map-overlay .lookup label { display: none; }
  .map-overlay .lookup .hash-input { background: var(--cream); border-radius: 999px; box-shadow: 0 3px 10px rgba(63, 90, 76, 0.25); }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 2px 12px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { background: var(--cream); box-shadow: 0 1px 4px rgba(63, 90, 76, 0.15); font-size: 15px; padding: 0 14px; }
  .list-panel { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 700; background: var(--cream); max-height: 46%; box-shadow: 0 6px 14px rgba(63, 90, 76, 0.18); border-radius: 26px; }
  .grabber { display: block; flex: 0 0 100%; max-width: 40px; margin: 6px calc(50% - 20px) 2px; }
  .list-head { flex-wrap: wrap; row-gap: 2px; }
  .list-head { padding: 4px 16px 6px; }
  .list-head .script { font-size: 26px; }
  .list-row { min-height: 48px; padding: 6px 4px; }
  .list-row .num { width: 36px; height: 36px; font-size: 13px; }
  .list-row .city { font-size: 15px; }
  .dot-card { top: auto; bottom: 10px; left: 12px; right: 12px; width: auto; border-radius: 26px; border: 0; box-shadow: 0 6px 14px rgba(63, 90, 76, 0.22); z-index: 750; }
  .map-tools { top: auto; bottom: calc(46% + 22px); left: 12px; }
  .map-legend { display: none; }
  .map-box .leaflet-control-zoom { display: none; }
  .guy-hero { padding: 26px 0 40px; }
  .guy-art { max-width: 240px; }
  .guy-name { font-size: 56px; margin-bottom: 12px; }
  .actions .btn { flex: 1 1 100%; }
  .journey-map { height: 300px; }
  .chapter { grid-template-columns: 1fr; gap: 12px; }
  .chapter .photo-ph { height: 200px; }
  .origin { padding: 20px; }
  .page-hero { padding: 30px 0 34px; }
  .passport-cover { display: block; background: var(--sage-dark); border-radius: 24px; padding: 18px; color: #fff; position: relative; overflow: hidden; }
  .passport-cover .eyebrow { color: var(--mint-soft); }
  .passport-cover .script { color: #fff; font-size: 40px; }
  .passport-cover .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
  .passport-cover b { font-family: var(--chunky); font-size: 24px; display: block; }
  .passport-cover small { font-size: 12px; color: var(--mint-soft); }
  .passport-wide { display: none; }
  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tiles a { border-radius: 18px; padding: 12px; text-decoration: none; min-height: 60px; }
  .tiles b { font-family: var(--chunky); font-size: 16px; display: block; }
  .tiles span { font-size: 12px; }
  .stamp .ring { width: 96px; }
  .stamp .ring b { font-size: 20px; }
  .stamp .ring small { font-size: 9px; letter-spacing: 1px; }
  .stamp { font-size: 13px; }
  .site-footer .script { font-size: 30px; }
  .form-hero { padding: 18px 0 20px; }
  .form-hero .narrow { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-hero .badge { width: 72px !important; height: 72px !important; }
  .dash-stamp { width: 96px; height: 96px; }
  .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Background blobs, placed like the designs */
.blob.b-left { left: -70px; top: 40px; width: 160px; height: 190px; }
.blob.b-left2 { left: -90px; top: 300px; width: 160px; height: 180px; }
.blob.b-bottom { left: 20px; bottom: -120px; width: 300px; height: 230px; border-radius: 50% 50% 0 0 / 60% 60% 0 0; }
.blob.b-tr { right: -40px; top: -40px; width: 150px; height: 120px; }
.blob.b-tr2 { right: -60px; top: 40px; width: 180px; height: 150px; }
.blob.b-tl { left: -60px; top: 20px; width: 130px; height: 150px; }
.blob.b-br { right: -50px; bottom: -40px; width: 140px; height: 120px; }
.blob.fill { inset: 0; }
@media (max-width: 640px) {
  .blob.b-left, .blob.b-left2 { width: 90px; height: 110px; left: -50px; }
  .blob.b-bottom { display: none; }
}
.map-page h1 { font-size: clamp(44px, 5vw, 68px); }
@media (min-width: 901px) { .map-head { flex-wrap: nowrap; } }

/* "Hi, I'm #07!" card: phone = one column; desktop = two columns side by side. */
.hello-main, .hello-side { display: flex; flex-direction: column; gap: 12px; align-items: center; width: 100%; }
.hello-pills { justify-content: center; }
@media (min-width: 900px) {
  .hello { max-width: 900px; flex-direction: row; align-items: stretch; gap: 36px; padding: 44px 48px; text-align: left; }
  .hello-main { flex: 1 1 0; align-items: flex-start; min-width: 0; }
  .hello-side { flex: 1 1 0; justify-content: center; min-width: 0; }
  .hello-pills { justify-content: flex-start; }
  .hello .script { font-size: 56px; }
}

/* Optional sign-in ("Sign up or sign in") */
.account-btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--sage-dark); background: transparent; color: var(--ink); border-radius: 999px; padding: 0 16px; min-height: 44px; cursor: pointer; font-size: 15px; max-width: 260px; }
.account-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-btn:hover { background: var(--mint-soft); }
.account-btn.in-menu { display: none; }
.sheet-overlay { position: fixed; inset: 0; background: rgba(63, 90, 76, 0.35); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.sheet { background: var(--cream); border-radius: 26px; width: 100%; max-width: 460px; padding: 26px 24px 20px; position: relative; margin: auto 0; box-shadow: 0 16px 40px rgba(63, 90, 76, 0.25); }
.sheet-close { position: absolute; right: 14px; top: 14px; background: var(--field); }
.signin { display: flex; flex-direction: column; gap: 12px; }
.signin-title { font-size: 18px; color: var(--sage-dark); padding-right: 48px; }
.signin-script { font-size: 36px; line-height: 1.2; }
.signin-form { display: flex; flex-direction: column; gap: 12px; }
.signin .field > label { font-weight: 600; color: var(--sage-dark); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink); }
.ticks li, .signed-in, .care-account p { display: flex; gap: 8px; align-items: flex-start; }
.ticks .ic, .signed-in .ic, .care-account .ic { color: var(--sage-dark); margin-top: 2px; }
.signed-in { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.preview-code { background: var(--butter); color: var(--butter-ink); border: 2px dashed var(--gold); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.code-input { font-family: var(--chunky); font-size: 26px; letter-spacing: 6px; }
.signin-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
.signin-slim { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.signin-slim > span { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--mint-ink); }
.small-btn { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.link-btn.danger { color: var(--error); }
.danger-btn { background: var(--error); }
.danger-btn:hover { background: #8C1D17; }
.confirm-box { background: var(--error-field); border: 2px solid var(--error); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.signin-card { border-radius: 24px; padding: 24px 28px; }
.signin-card .signin { max-width: 560px; }
.care-account { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.care-account p { flex: 1 1 320px; margin: 0; }
@media (max-width: 640px) {
  .account-btn.in-bar { display: none; }
  .account-btn.in-menu { display: inline-flex; margin: 4px 6px 8px; max-width: none; justify-content: center; background: var(--mint-soft); }
  .signin-card { padding: 20px; }
  .sheet { padding: 22px 18px 16px; }
}
.signin .col-a, .signin .col-b { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (min-width: 900px) {
  .signin-card .signin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: start; max-width: none; }
  .signin-card .signin-cols .col-b { padding-top: 8px; }
}

/* Phones: the big handwritten headline a little smaller, so "Watch them go." fits one line
   and the letters' tails never touch the line below. */
@media (max-width: 600px) {
  .h-xl { font-size: 46px; line-height: 1.4; }
  .h-lg { font-size: 40px; line-height: 1.36; }
}

/* Embedded in The Herd's Wix site (<herd-around-the-world>): Wix has the header and footer, so
   the element only has a slim bar with the Companions pages, sign-in and language. */
.herd-embedded { min-height: 200px; }
.site-header.embedded { background: transparent; }
.herd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: 1248px; margin: 0 auto; padding: 12px 24px; }
.herd-bar-links { display: flex; flex-wrap: wrap; gap: 2px 4px; background: var(--mint-soft); border-radius: 16px; padding: 4px 10px; margin-right: auto; }
.herd-bar-links a { color: var(--sage-dark); text-decoration: none; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 10px; white-space: nowrap; }
.herd-bar-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.5); }
.herd-bar-links a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.herd-bar-tools { display: flex; align-items: center; gap: 10px; }
.site-header.embedded .account-btn.in-bar { display: inline-flex; }
@media (max-width: 640px) {
  .herd-bar { padding: 8px 12px; gap: 8px; }
  .herd-bar-links { flex-wrap: nowrap; overflow-x: auto; width: 100%; margin-right: 0; scrollbar-width: none; padding: 2px 6px; }
  .herd-bar-links::-webkit-scrollbar { display: none; }
  .herd-bar-tools { width: 100%; justify-content: space-between; }
  .site-header.embedded .account-btn.in-bar { max-width: 220px; }
  .herd-embedded .map-layout { height: calc(100svh - 150px); }
}
