:root {
    --bg: #fbfaf7;
    --text: #1f2933;
    --muted: #667085;
    --card: #ffffff;
    --border: #e7e2d8;
    --accent: #2f6f5e;
    --accent-dark: #24574a;
    --soft: #eef5f1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    font-weight: 800;
    font-size: 1.1rem;
}

.top-nav {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
    color: var(--muted);
}

.hero {
    padding: 72px 0 44px;
    background:
        radial-gradient(circle at top left, #e2f0ea 0, transparent 34%),
        linear-gradient(180deg, #fffdf7 0%, var(--bg) 100%);
}

.eyebrow {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.95;
    margin: 10px 0 18px;
    max-width: 900px;
}

.hero-text {
    color: var(--muted);
    max-width: 680px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.search-panel {
    margin-top: 34px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(31, 41, 51, 0.08);
    border-radius: 24px;
    padding: 18px;
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 7px;
    color: var(--muted);
}

input,
select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 12px;
    font: inherit;
    background: #fff;
    color: var(--text);
}

.search-button {
    height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.search-button:hover {
    background: var(--accent-dark);
}

.results-section {
    padding: 42px 0 72px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: 2rem;
    margin: 0;
}

.section-heading p {
    color: var(--muted);
    margin: 0;
    max-width: 520px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.result-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(31, 41, 51, 0.05);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.card-tags span {
    background: var(--soft);
    color: var(--accent-dark);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 800;
}

.result-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.meta {
    color: var(--muted);
    font-weight: 700;
}

.result-card p {
    line-height: 1.55;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    color: var(--muted);
    background: #fff;
}

@media (max-width: 980px) {
    .search-panel {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-button {
        grid-column: 1 / -1;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }
}

@media (max-width: 640px) {
    .top-nav {
        display: none;
    }

    .search-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 48px;
    }
}

/* deploy test */

.city-hero {
    padding: 64px 0 34px;
    background:
        radial-gradient(circle at top left, #e2f0ea 0, transparent 34%),
        linear-gradient(180deg, #fffdf7 0%, var(--bg) 100%);
}

.quick-filters {
    padding: 0 0 20px;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-pills a,
.text-link {
    color: var(--accent-dark);
    font-weight: 800;
}

.filter-pills a {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
}

.city-link-wrap {
    margin-top: 24px;
}

.source-group {
    margin-bottom: 34px;
}

.source-group h2 {
    margin: 0 0 14px;
    font-size: 1.6rem;
}

.source-list {
    display: grid;
    gap: 14px;
}

.source-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 28px rgba(31, 41, 51, 0.05);
}

.source-card h3 {
    margin: 0 0 8px;
}

.source-card p {
    color: var(--muted);
    line-height: 1.5;
}

.source-card a {
    color: var(--accent-dark);
    font-weight: 800;
}

.source-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    min-width: 110px;
}

.source-meta span {
    background: var(--soft);
    color: var(--accent-dark);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 800;
}

@media (max-width: 720px) {
    .source-card {
        display: block;
    }

    .source-meta {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 12px;
    }
}

.imported-section {
    padding-top: 10px;
}

.filter-pills a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.scrapbook-page {
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 220, 120, 0.28), transparent 28%),
        radial-gradient(circle at 90% 20%, rgba(217, 186, 255, 0.22), transparent 26%),
        #fbf5e8;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.scrapbook-hero {
    padding: 42px 0 18px;
}

.scrapbook-hero-inner {
    position: relative;
    min-height: 170px;
    display: grid;
    place-items: center;
}

.hero-title-stack {
    text-align: center;
}

.doodle-stars {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.4rem;
}

.hero-title-stack h1 {
    font-size: clamp(3rem, 9vw, 7.5rem);
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    font-weight: 950;
    transform: rotate(-1deg);
}

.tape-location {
    display: inline-block;
    margin-top: 14px;
    background: #f8e682;
    border: 2px solid #322821;
    border-radius: 999px;
    padding: 10px 24px;
    font-family: "Courier New", monospace;
    font-size: clamp(1.1rem, 3vw, 2rem);
    font-weight: 900;
    box-shadow: 5px 5px 0 rgba(50, 40, 33, 0.18);
}

.sticky-note {
    position: absolute;
    background: #fff3bd;
    border: 1px solid rgba(50, 40, 33, 0.25);
    box-shadow: 8px 10px 20px rgba(50, 40, 33, 0.12);
    padding: 18px;
    font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
    line-height: 1.3;
    font-weight: 700;
}

.note-left {
    left: 0;
    top: 4px;
    transform: rotate(-4deg);
}

.note-right {
    right: 0;
    top: 6px;
    background: #e5c4ff;
    transform: rotate(4deg);
}

.heart {
    display: block;
    font-size: 2rem;
    color: #d9597b;
}

.scrapbook-tabs {
    padding: 0 0 12px;
}

.scrapbook-pills {
    justify-content: center;
}

.scrapbook-pills a {
    background: #f7efe0;
    border: 2px solid #322821;
    box-shadow: 3px 3px 0 rgba(50, 40, 33, 0.2);
    color: #1f2933;
    text-transform: uppercase;
}

.scrapbook-pills a.active {
    background: #f29aa8;
    color: #1f2933;
}

.adventure-controls {
    padding: 0 0 22px;
}

.adventure-panel {
    background: rgba(255, 252, 242, 0.92);
    border: 2px solid rgba(50, 40, 33, 0.28);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(50, 40, 33, 0.1);
    padding: 18px;
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 2fr 0.8fr;
    gap: 18px;
    align-items: end;
}

.control-block {
    border-right: 1px solid rgba(50, 40, 33, 0.25);
    padding-right: 18px;
}

.control-block:last-child {
    border-right: 0;
    padding-right: 0;
}

.control-label {
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-family: "Courier New", monospace;
    font-weight: 900;
    font-size: 0.82rem;
}

.location-button,
.ghost-button,
.surprise-button {
    border: 2px solid #322821;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 3px 3px 0 rgba(50, 40, 33, 0.18);
}

.location-button {
    background: #6f52b8;
    color: #fff;
    margin-right: 6px;
}

.ghost-button {
    background: #fff;
}

.surprise-button {
    background: #6f52b8;
    color: #fff;
    text-transform: uppercase;
}

.mood-search input {
    border: 2px solid rgba(50, 40, 33, 0.35);
    border-radius: 10px;
    background: #fffdf7;
}

.surprise-block small {
    display: block;
    margin-top: 8px;
    font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
}

.scrapbook-results {
    padding: 0 0 28px;
}

.adventure-grid {
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) minmax(420px, 1.25fr);
    gap: 18px;
    align-items: stretch;
}

.notebook-list {
    position: relative;
    background:
        repeating-linear-gradient(#fffdf7, #fffdf7 35px, #e8dcc8 36px),
        #fffdf7;
    border: 2px solid rgba(50, 40, 33, 0.3);
    border-radius: 12px;
    padding: 18px 18px 18px 30px;
    box-shadow: 7px 8px 0 rgba(50, 40, 33, 0.12);
}

.notebook-list:before {
    content: "";
    position: absolute;
    left: 8px;
    top: 18px;
    bottom: 18px;
    width: 10px;
    background: repeating-radial-gradient(circle, #d7c6ac 0 4px, transparent 5px 18px);
}

.results-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 3px solid #6f52b8;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.results-topline h2 {
    font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
    margin: 0;
    font-size: 1.45rem;
    text-transform: uppercase;
}

.results-topline select {
    height: 36px;
    border: 2px solid rgba(50, 40, 33, 0.35);
}

.adventure-list {
    display: grid;
    gap: 8px;
}

.adventure-row {
    display: grid;
    grid-template-columns: 44px 1fr 38px;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(50, 40, 33, 0.16);
}

.star-rank {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #f29aa8;
    clip-path: polygon(50% 0%, 61% 32%, 95% 35%, 68% 56%, 78% 90%, 50% 70%, 22% 90%, 32% 56%, 5% 35%, 39% 32%);
    font-weight: 950;
}

.adventure-row:nth-child(2n) .star-rank {
    background: #8fb7ff;
}

.adventure-row:nth-child(3n) .star-rank {
    background: #ffe06f;
}

.row-main h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-family: Georgia, serif;
}

.row-meta {
    margin: 0 0 4px;
    font-family: "Courier New", monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 900;
}

.row-main p {
    margin-top: 0;
    line-height: 1.35;
}

.save-heart {
    font-size: 2rem;
    color: #6f52b8;
    align-self: center;
}

.map-panel {
    position: relative;
    min-height: 620px;
    border: 2px solid rgba(50, 40, 33, 0.32);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 7px 8px 0 rgba(50, 40, 33, 0.12);
    background:
        linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        radial-gradient(circle at 30% 28%, #dfe9c7 0 10%, transparent 11%),
        radial-gradient(circle at 70% 64%, #dfe9c7 0 12%, transparent 13%),
        radial-gradient(circle at 45% 76%, #bfd9e9 0 8%, transparent 9%),
        #efe0bd;
    background-size: 42px 42px, 42px 42px, auto, auto, auto, auto;
}

.map-panel:before {
    content: "Downtown Winston-Salem";
    position: absolute;
    left: 42%;
    top: 46%;
    font-family: Georgia, serif;
    color: rgba(50, 40, 33, 0.62);
}

.map-note {
    position: absolute;
    right: 24px;
    top: 24px;
    max-width: 150px;
    padding: 14px;
    background: #ffe06f;
    box-shadow: 5px 5px 0 rgba(50, 40, 33, 0.16);
    transform: rotate(4deg);
    font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
    font-weight: 800;
}

.you-are-here {
    position: absolute;
    left: 38px;
    top: 42px;
    background: #fffdf7;
    border: 2px solid rgba(50, 40, 33, 0.32);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 950;
    text-transform: uppercase;
    transform: rotate(-2deg);
}

.map-star {
    position: absolute;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #a8de7b;
    color: #111;
    font-weight: 950;
    clip-path: polygon(50% 0%, 61% 32%, 95% 35%, 68% 56%, 78% 90%, 50% 70%, 22% 90%, 32% 56%, 5% 35%, 39% 32%);
}

.star-1 { left: 52%; top: 12%; background: #55d47d; }
.star-2 { left: 42%; top: 25%; background: #8fb7ff; }
.star-3 { left: 36%; top: 72%; background: #85c95f; }
.star-4 { left: 54%; top: 55%; background: #c895ff; }
.star-5 { left: 73%; top: 38%; background: #ffe06f; }
.star-6 { left: 78%; top: 61%; background: #f29aa8; }
.star-7 { left: 24%; top: 34%; background: #ffad5a; }
.star-8 { left: 66%; top: 22%; background: #67d4c3; }

.map-distance-card {
    position: absolute;
    right: 34px;
    bottom: 34px;
    left: 34px;
    background: #fff8df;
    border: 2px solid rgba(50, 40, 33, 0.32);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 5px 5px 0 rgba(50, 40, 33, 0.14);
}

.range-line {
    margin-top: 12px;
    height: 4px;
    background: #6f52b8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-line span {
    background: #fff8df;
    padding-top: 16px;
    font-size: 0.8rem;
    font-weight: 900;
}

.vibe-strip {
    padding: 18px 0 34px;
    background: #9fc8c6;
    border-top: 3px solid rgba(50, 40, 33, 0.28);
}

.vibe-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
}

.vibe-inner span {
    font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.vibe-inner a {
    white-space: nowrap;
    background: #fff8df;
    border: 2px solid rgba(50, 40, 33, 0.35);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
    box-shadow: 3px 3px 0 rgba(50, 40, 33, 0.14);
}

@media (max-width: 1050px) {
    .sticky-note {
        display: none;
    }

    .adventure-panel,
    .adventure-grid {
        grid-template-columns: 1fr;
    }

    .control-block {
        border-right: 0;
        padding-right: 0;
    }

    .map-panel {
        min-height: 430px;
    }
}

@media (max-width: 640px) {
    .hero-title-stack h1 {
        font-size: 3rem;
    }

    .adventure-row {
        grid-template-columns: 38px 1fr;
    }

    .save-heart {
        display: none;
    }

    .results-topline {
        display: block;
    }
}

.sticker-vibes {
    align-items: end;
    gap: 22px;
}

.sticker-vibes .vibe-note {
    background: #f4a8a8;
    border: 2px solid rgba(50, 40, 33, 0.35);
    box-shadow: 4px 4px 0 rgba(50, 40, 33, 0.18);
    padding: 14px 18px;
    transform: rotate(-4deg);
    font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
    font-size: 1.1rem;
    line-height: 1.1;
}

.sticker-vibes a {
    display: grid;
    justify-items: center;
    gap: 4px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    transform: rotate(var(--tilt, 0deg));
}

.sticker-vibes a:nth-child(2n) { --tilt: -3deg; }
.sticker-vibes a:nth-child(3n) { --tilt: 2deg; }
.sticker-vibes a:nth-child(4n) { --tilt: -1deg; }

.sticker-vibes img {
    width: 72px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(3px 5px 0 rgba(50, 40, 33, 0.18));
    background: #fff8df;
    border-radius: 18px;
    padding: 4px;
}

.sticker-vibes strong {
    background: #fff1c7;
    border: 1px solid rgba(50, 40, 33, 0.35);
    border-radius: 5px;
    padding: 4px 7px;
    font-family: "Courier New", monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #1f2933;
    box-shadow: 2px 2px 0 rgba(50, 40, 33, 0.14);
}

.sticker-vibes a:hover img {
    transform: translateY(-3px) scale(1.04);
}
