:root {
  --paper: #f5efe3;
  --paper-light: #fcf9f2;
  --paper-deep: #e9dfce;
  --espresso: #38251d;
  --ink: #2d251f;
  --muted: #786e62;
  --line: #ddd1bf;
  --blue: #293b9b;
  --blue-dark: #1d2b7a;
  --blue-pale: #e4e8fb;
  --sage: #73816a;
  --sage-pale: #e7eadf;
  --terracotta: #b45e3f;
  --terracotta-pale: #f4e4d9;
  --white: #fffdf8;
  --shadow: 0 18px 46px rgba(56, 37, 29, .09);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', 'Avenir Next', sans-serif;
  --hand: 'Kalam', 'Comic Sans MS', cursive;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, select { color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #7586ec; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.site-shell { min-height: 100vh; }
.topbar { height: 82px; display: flex; align-items: center; gap: 48px; padding: 0 clamp(22px, 5.2vw, 84px); background: rgba(252,249,242,.93); border-bottom: 1px solid rgba(90,66,45,.12); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.brand-bean { display: block; flex: 0 0 auto; width: 31px; height: 42px; fill: var(--espresso); }
.brand-word { font-family: var(--serif); font-size: 25px; line-height: .85; letter-spacing: -.8px; color: var(--espresso); }
.brand-period, .footer-brand span { color: inherit; }
.brand-word small { display: block; margin-top: 7px; font: 700 8px/1 var(--sans); letter-spacing: 1.9px; color: var(--muted); }
.primary-nav { display: flex; align-self: stretch; align-items: stretch; gap: 30px; }
.nav-link { position: relative; padding: 3px 0 0; border: 0; background: none; color: #746b60; font-size: 13px; font-weight: 600; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--espresso); }
.nav-link[aria-current="page"]::after { content: ''; height: 2px; background: var(--blue); position: absolute; bottom: 0; left: 0; right: 0; }
.nav-count { display: inline-grid; place-items: center; margin-left: 3px; height: 18px; min-width: 18px; padding: 0 5px; border-radius: 20px; background: #e6e0d5; font-size: 10px; }
.topbar-tools { margin-left: auto; display: flex; align-items: center; gap: 21px; }
.location-control { display: flex; align-items: center; gap: 7px; color: var(--blue); font-size: 16px; }
.location-control select { max-width: 200px; border: 0; background: transparent; font-size: 12px; color: var(--ink); cursor: pointer; }
.profile-button { border: 0; background: transparent; padding: 0; }
.profile-button span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #d8dfcc; color: #394336; font-size: 11px; font-weight: 700; }
#app-main { min-height: calc(100vh - 152px); }
#app-main.home-background { background: var(--espresso); color: #f5ecdc; }
#app-main.discover-background { background: var(--espresso); color: #f5ecdc; }
.page-wrap { max-width: 1320px; padding: 38px clamp(22px, 5.2vw, 84px) 84px; margin: auto; }
.eyebrow { margin: 0 0 12px; color: var(--blue); text-transform: uppercase; letter-spacing: 1.65px; font-size: 10px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.6px; }
h1 { margin-bottom: 14px; font-size: clamp(42px, 5.1vw, 69px); line-height: .99; }
h2 { margin-bottom: 10px; font-size: clamp(29px, 3.1vw, 41px); line-height: 1.05; }
h3 { font-size: 17px; line-height: 1.2; }
.subhead { color: var(--muted); max-width: 580px; font-size: 15px; }
.home-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 3px 0 24px; }
.direction-control { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.direction-control-label { color: #e4d2ba; font-size: 10px; font-weight: 700; letter-spacing: .35px; }
.direction-switcher { display: flex; gap: 5px; padding: 4px; border: 1px solid #8d7059; border-radius: 30px; background: #4a3125; flex: 0 0 auto; }
.direction-switcher button { border: 0; border-radius: 25px; padding: 8px 12px; background: transparent; font-size: 10px; color: #e1d1bd; font-weight: 700; }
.direction-switcher button[aria-pressed="true"] { background: var(--blue); color: white; }
.direction-caption { font: 13px var(--hand); color: var(--blue); margin: 2px 0 18px; }
.hero-field { min-height: 330px; position: relative; display: grid; grid-template-columns: 1.12fr .88fr; border-radius: 28px; overflow: hidden; background: var(--espresso); color: #fff9ed; box-shadow: var(--shadow); }
.hero-copy { padding: clamp(32px, 5vw, 68px); position: relative; z-index: 1; align-self: center; }
.hero-copy .eyebrow { color: #b9c0f0; }
.hero-copy h1 { max-width: 610px; }
.hero-copy h1 em { color: #eab18c; font-weight: 400; }
.hero-copy p { max-width: 475px; color: #dfd1bd; font-size: 14px; }
.hero-art { min-height: 330px; position: relative; overflow: hidden; background: linear-gradient(130deg,rgba(37,25,19,.12),rgba(37,25,19,.2)), url('../_.jpeg') center 42% / cover; }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--espresso),transparent 35%), linear-gradient(0deg,rgba(33,21,15,.38),transparent 75%); }
.hero-art-note { position: absolute; right: 23px; bottom: 21px; max-width: 190px; padding: 11px 14px; background: rgba(248,239,220,.93); color: var(--espresso); transform: rotate(-3deg); font: 13px var(--hand); box-shadow: 0 9px 22px #24170f35; }
.hero-art-note b { display: block; font: 700 8px var(--sans); text-transform: uppercase; letter-spacing: 1px; color: var(--blue); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; margin-top: 24px; max-width: 615px; background: var(--white); border: 1px solid rgba(255,255,255,.52); border-radius: 13px; box-shadow: 0 6px 22px rgba(0,0,0,.1); color: var(--ink); }
.search-box .search-icon { font-size: 20px; color: var(--blue); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.search-box input:focus-visible { outline: none; }
.search-box input::placeholder { color: #8a8176; }
.search-box button { flex: 0 0 auto; border: 0; border-radius: 9px; padding: 11px 16px; background: var(--blue); color: white; font-size: 12px; font-weight: 700; }
.search-box button:hover, .button-primary:hover { background: var(--blue-dark); }
.try-search { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; color: #dfd1bd; font-size: 11px; align-items: center; }
.try-search button { border: 0; border-bottom: 1px dashed #9a8a76; padding: 0 0 1px; background: none; color: #e8d8bd; font-size: 11px; }
.try-search button:hover { color: white; border-color: white; }
.demo-ribbon { display: flex; align-items: center; gap: 10px; margin: 17px 0 0; padding: 9px 12px; color: #665b4f; background: rgba(255,253,248,.72); border: 1px solid var(--line); border-radius: 10px; font-size: 10px; }
.demo-ribbon strong { color: var(--espresso); }
.demo-seal { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: var(--terracotta); color: white; font-size: 9px; }
.section-block { margin-top: 51px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 31px; }
.section-head p { margin: 0; color: var(--muted); font-size: 12px; }
.text-button { border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 700; padding: 7px 0; }
.text-button:hover { text-decoration: underline; }
.activity-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 11px; }
.activity-card { min-height: 142px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 16px; border: 1px solid #d6cab9; border-radius: 16px; background-color: #e7dece; text-align: left; transition: transform .2s, box-shadow .2s; }
.activity-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #533a271b; }
.activity-card:nth-child(1) { background: #e2e4d8; }.activity-card:nth-child(2){background:#eee3d5}.activity-card:nth-child(3){background:#e7e7ef}.activity-card:nth-child(4){background:#eadcd0}.activity-card:nth-child(5){background:#dfe7df}.activity-card:nth-child(6){background:#eee5ca}
.activity-mark { position: absolute; top: 12px; right: 13px; font: 30px var(--hand); color: var(--blue); opacity: .8; transform: rotate(-8deg); }
.activity-card b { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--espresso); }
.activity-card small { margin-top: 4px; color: #71665b; font-size: 10px; }
.editorial-row { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.75fr); gap: 18px; }
.feature-card { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 250px; overflow: hidden; border-radius: 19px; background: var(--blue); color: #fcf8ed; }
.feature-card-copy { padding: 25px 28px; align-self: center; }
.feature-card-copy .eyebrow { color: #c1cafb; }
.feature-card-copy h3 { font: 28px/1.03 var(--serif); margin-bottom: 10px; }
.feature-card-copy p { color: #e1e3fa; font-size: 12px; }
.feature-card-art { background: url('../Brewbase pattern 2 (20260924073433).png') center / cover; min-height: 220px; }
.feature-note { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-light); display: flex; flex-direction: column; justify-content: space-between; }
.feature-note .note-stamp { width: 37px; height: 37px; border: 1px solid var(--terracotta); border-radius: 50%; color: var(--terracotta); display: grid; place-items: center; font: 18px var(--hand); transform: rotate(-12deg); }
.feature-note h3 { margin: 15px 0 7px; font: 24px/1 var(--serif); }
.feature-note p { margin: 0; color: var(--muted); font-size: 12px; }
.feature-note .text-button { align-self: flex-start; }
.home-background .eyebrow { color: #d8ba92; }
.home-background .direction-caption { color: #edc79f; }
.home-background .hero-field { background: #f4ead9; color: var(--espresso); box-shadow: 0 18px 46px rgba(15,8,5,.25); }
.home-background .hero-copy .eyebrow { color: #8a6247; }
.home-background .hero-copy p:not(.eyebrow) { color: #68503e; }
.home-background .hero-copy h1 { color: #38251d; }
.home-background .hero-copy h1 em { color: #a95f3b; }
.home-background .try-search { color: #735b47; }
.home-background .try-search button { color: #74553d; border-color: #ad9478; }
.home-background .hero-location { display: inline-block; margin: 9px 0 0; padding: 3px 0; color: #6d523c; font-size: 10px; }
.home-background .hero-location span { opacity: .72; }
.home-background .hero-art::before { background: linear-gradient(90deg,#f4ead9,transparent 38%),linear-gradient(0deg,rgba(33,21,15,.34),transparent 75%); }
.home-background .hero-art-note { background: rgba(248,239,220,.96); }
.home-background .section-head .eyebrow { color: #d8ba92; }
.home-background .section-head p { color: #ddcdb7; }
.home-background .activity-card { border-color: #b99977; box-shadow: inset 0 0 0 1px rgba(255,249,237,.3); }
.home-background .activity-card:nth-child(1) { background: #f3e7d4; }
.home-background .activity-card:nth-child(2) { background: #e9d7c0; }
.home-background .activity-card:nth-child(3) { background: #f5eadb; }
.home-background .activity-card:nth-child(4) { background: #e3cbb3; }
.home-background .activity-card:nth-child(5) { background: #f2e1cd; }
.home-background .activity-card:nth-child(6) { background: #ead8c2; }
.home-background .feature-card { background: #e8d5bf; color: var(--espresso); }
.home-background .feature-card-copy .eyebrow { color: #79563e; }
.home-background .feature-card-copy h3 { color: #38251d; }
.home-background .feature-card-copy p:not(.eyebrow) { color: #66503e; }
.home-background .feature-note { border-color: #8d7059; }
.home-background .feature-note h3 { color: var(--espresso); }
.home-background .feature-note p { color: #6d5847; }
.home-background .feature-note .text-button { color: var(--blue); }
.home-background .section-head > .text-button,.home-background .section-head .text-button { color: #f0d4ac; }
.home-background .demo-ribbon { border-color: #d8c3a5; background: #f4ead9; color: #665343; }
.home-background .demo-ribbon strong { color: #38251d; }
.prompt-home { min-height: calc(100vh - 152px); display: grid; place-items: center; padding-top: 58px; padding-bottom: 70px; }
.prompt-hero { width: min(100%, 920px); margin: auto; text-align: center; }
.prompt-hero > .eyebrow { margin-bottom: 18px; color: #dfbd93; }
.prompt-hero h1 { margin: 0 0 13px; color: #fff4e4; font-size: clamp(46px,7vw,78px); line-height: .98; }
.prompt-question { margin: 0; color: #edc79f; font: 22px/1.3 var(--hand); }
.prompt-instruction { margin: 12px 0 23px; color: #dbcbb7; font-size: 13px; }
.prompt-options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 780px; margin: 0 auto; }
.prompt-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 15px; border: 1px solid #ddc7aa; border-radius: 999px; background: #f4ead9; color: #38251d; font-size: 13px; font-weight: 600; transition: transform .16s,background .16s; }
.prompt-chip:hover { transform: translateY(-2px); background: #ead7bd; }
.prompt-chip-mark { display: inline-flex; flex: 0 0 20px; align-items: center; justify-content: center; width: 20px; height: 20px; color: #a55c3c; }
.prompt-chip-mark svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.prompt-chip-arrow { color: var(--blue); font-size: 14px; }
.prompt-browse { margin-top: 25px; padding: 8px 0; border: 0; background: transparent; color: #f0d4ac; font-size: 13px; font-weight: 700; }
.prompt-browse:hover { text-decoration: underline; }
.discover-page { padding-top: 31px; }
.discovery-intro { margin: 0 0 22px; }
.discover-background .discovery-intro .eyebrow { margin-bottom: 8px; color: #d8ba92; }
.discovery-intro h1 { margin: 0 0 8px; color: #fff4e4; font-size: clamp(36px,4vw,54px); line-height: 1.02; }
.discovery-intro > p:last-child { margin: 0; color: #ddcdb7; font-size: 13px; }
.discover-background .results-toolbar { border-color: #80614b; background: #4a3125; }
.discover-background .results-toolbar .search-box { background: #fcf9f2; border-color: #ddcdb7; }
.filter-location { min-height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-light); }
.filter-location select { max-width: 185px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 11px; }
.filter-row-label { color: #e8d7c0; font-size: 10px; font-weight: 700; }
.filter-row .active-filters { margin: 0; }
.discover-background .filter-chip { background: #f8f1e6; border-color: #d9cbb8; color: #5d5144; }
.discover-background .filter-chip:hover,.discover-background .filter-chip[aria-pressed="true"] { border-color: #d7bd98; background: #e9d7bf; color: #38251d; }
.selected-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 11px 0 0; color: #e1d1bd; font-size: 10px; }
.selected-filters .active-tag { background: #e6d7c3; }
.selected-filters button { border: 0; background: none; color: #f0d4ac; font-size: 10px; font-weight: 700; }
.match-summary { margin: 11px 0 0; color: #e1d1bd; font-size: 11px; }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 27px 0 15px; }
.results-heading h2 { margin: 0 0 3px; color: #fff4e4; font-size: 29px; }
.results-heading p { margin: 0; color: #ddcdb7; font-size: 11px; }
.discover-background .view-toggle { border-color: #8d7059; background: #f8f1e6; }
.discover-background .empty-state { border-color: #b99977; background: #f4ead9; color: var(--espresso); }
.discover-background .empty-state p { color: #6b5a49; }
.guide-section .section-head h2 { color: #fff4e4; }
.guide-section .section-head .eyebrow { color: #d8ba92; }
.guide-list-card { padding: 23px 25px; border: 1px solid #cbb393; border-radius: 18px; background: #e8d5bf; color: var(--espresso); }
.guide-list-kicker { margin: 0 0 4px; color: #805d43; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.guide-list-intro { margin: 0 0 13px; color: #68503e; font-size: 11px; }
.guide-list-preview { border-top: 1px solid #cbb393; }
.guide-list-preview button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 12px 2px; border: 0; border-bottom: 1px solid #cbb393; background: transparent; color: var(--espresso); text-align: left; }
.guide-list-preview button:hover .guide-list-title { text-decoration: underline; }
.guide-list-number { color: #956748; font: 15px var(--serif); }
.guide-list-title { font-size: 12px; font-weight: 700; }
.guide-list-arrow { color: var(--blue); font-size: 15px; }
.guide-section .feature-note { border-color: #8d7059; }
.guide-section .feature-note h3 { color: var(--espresso); }
.guide-section .feature-note p { color: #6d5847; }
.mini-map-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.map-sim { position: relative; height: 365px; overflow: hidden; border: 1px solid #d7cfbc; border-radius: 19px; background-color: #e8e5d5; background-image: linear-gradient(35deg, transparent 46%, #d2d5c4 47%, #d2d5c4 49%, transparent 50%), linear-gradient(120deg, transparent 48%, #d8d0bd 49%, #d8d0bd 51%, transparent 52%), linear-gradient(0deg, transparent 48%, #d8d0bd 49%, #d8d0bd 50%, transparent 51%); background-size: 180px 140px, 230px 180px, 120px 100px; }
.map-sim::after { content: ''; position: absolute; width: 108px; height: 430px; left: 58%; top: -15px; background: #c2d1b2; opacity: .73; transform: rotate(18deg); border-radius: 50%; }
.map-ribbon { position: absolute; top: 14px; left: 14px; z-index: 3; padding: 7px 10px; background: rgba(255,253,248,.9); border: 1px solid #dbd0be; border-radius: 30px; color: #61594f; font-size: 9px; font-weight: 700; letter-spacing: .3px; }
.map-label { position: absolute; z-index: 1; color: #8c897b; font-size: 9px; letter-spacing: .4px; }
.map-marker { position: absolute; z-index: 4; width: 31px; height: 31px; border: 3px solid var(--paper-light); border-radius: 50% 50% 50% 2px; background: var(--blue); color: white; box-shadow: 0 4px 9px #25205040; transform: translate(-50%,-50%) rotate(-45deg); transition: transform .15s, background .15s; }
.map-marker span { display: block; transform: rotate(45deg); font-size: 10px; font-weight: 700; }
.map-marker.is-selected { z-index: 6; background: var(--terracotta); transform: translate(-50%,-60%) rotate(-45deg) scale(1.23); }
.map-marker:hover { z-index: 7; transform: translate(-50%,-60%) rotate(-45deg) scale(1.2); }
.map-preview { position: absolute; z-index: 8; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(310px, calc(100% - 30px)); padding: 12px; border-radius: 12px; box-shadow: var(--shadow); background: var(--paper-light); }
.map-preview b { display: block; font: 18px var(--serif); }
.map-preview small { color: var(--muted); }
.map-preview .text-button { padding: 3px 0 0; }
.map-preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.map-list { display: flex; flex-direction: column; gap: 10px; }
.map-list-item { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; min-height: 82px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-light); text-align: left; }
.map-list-item:hover,.map-list-item.is-selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.map-list-item .mini-mark { display: grid; place-items: center; height: 42px; border-radius: 10px; background: var(--sage-pale); color: var(--sage); font-size: 19px; }
.map-list-item b { display: block; font: 18px var(--serif); }
.map-list-item small { color: var(--muted); font-size: 10px; }
.map-list-item .arrow { color: var(--blue); }
.list-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 12px 0 20px; }
.list-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.list-heading h2 { margin-bottom: 4px; }
.mode-toggle,.sort-select { display: inline-flex; border: 1px solid var(--line); background: var(--paper-light); border-radius: 10px; padding: 3px; }
.mode-toggle button { border: 0; border-radius: 7px; background: transparent; padding: 8px 11px; color: var(--muted); font-size: 11px; }
.mode-toggle button[aria-pressed="true"] { background: var(--espresso); color: white; }
.view-toggle { gap: 2px; }.view-toggle button { display: grid; place-items: center; width: 36px; height: 34px; padding: 5px; color: #71675c; }
.view-toggle button[aria-pressed="true"] { background: var(--blue); color: white; }
.view-toggle svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.view-toggle [data-list] svg circle { fill: currentColor; stroke: none; }
.sort-select { padding: 0 9px; gap: 6px; align-items: center; color: var(--muted); font-size: 10px; }
.sort-select select { border: 0; background: transparent; font-size: 11px; outline: none; padding: 7px 0; }
.results-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,253,248,.62); }
.results-toolbar .search-box { flex: 1 1 340px; margin: 0; min-height: 48px; padding: 4px 5px 4px 12px; box-shadow: none; border-color: var(--line); }
.results-toolbar .search-box button { padding: 9px 13px; }
.filter-chip { display: inline-flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper-light); color: #5d544a; font-size: 10px; }
.filter-chip:hover,.filter-chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-pale); color: var(--blue-dark); }
.filter-chip .check { display: none; font-weight: 700; }.filter-chip[aria-pressed="true"] .check { display: inline; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.active-tag { padding: 6px 9px; border-radius: 6px; background: var(--sage-pale); color: #43503a; font-size: 10px; }
.intent-explanation { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin: 0 0 18px; border-left: 3px solid var(--blue); border-radius: 0 11px 11px 0; background: #e9e9f4; color: #45425f; font-size: 11px; }
.intent-explanation b { display: block; margin-bottom: 2px; color: var(--blue-dark); }
.cards-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.cafe-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper-light); transition: transform .2s,box-shadow .2s; }
.cafe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cafe-card.is-selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.cafe-cover { height: 158px; position: relative; overflow: hidden; background-color: #dbccb6; background-position: center; background-size: cover; }
.cafe-cover::before { content: ''; position: absolute; z-index: 1; inset: 0; background: rgba(245,239,227,.22); pointer-events: none; }
.cafe-cover::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, #23180fcc, transparent); }
.cafe-cover .cover-title { position: absolute; z-index: 2; left: 15px; bottom: 14px; max-width: calc(100% - 65px); margin: 0; color: #fffaf0; font: 26px/1.05 var(--serif); letter-spacing: -.35px; text-shadow: 0 1px 12px rgba(35,24,17,.58); }
.cafe-cover .save-button { z-index: 2; position: absolute; top: 11px; right: 11px; }
.save-button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,253,248,.93); color: var(--espresso); font-size: 19px; line-height: 1; }
.save-button:hover,.save-button.is-saved { background: var(--blue); color: white; }
.cafe-card-body { padding: 15px; }
.card-overline { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.cafe-card h3 { margin: 5px 0 6px; font: 24px/1 var(--serif); color: var(--espresso); }
.cafe-card-body p { margin: 0 0 11px; min-height: 35px; color: #70675c; font-size: 11px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tag-pill { display: inline-flex; padding: 5px 8px; border-radius: 30px; background: #ebe5d9; color: #65584b; font-size: 9px; }
.tag-pill.blue { background: var(--blue-pale); color: var(--blue-dark); }.tag-pill.green { background: var(--sage-pale); color: #49543e; }.tag-pill.clay { background: var(--terracotta-pale); color: #8d4d34; }
.card-bottom { display: flex; justify-content: space-between; gap: 8px; align-items: center; border-top: 1px solid #e7dfd2; padding-top: 10px; }
.card-bottom small { color: var(--muted); font-size: 9px; }.card-bottom .text-button { font-size: 10px; padding: 2px 0; }
.source-dot { display: inline-flex; align-items: center; gap: 5px; color: #777064; font-size: 9px; }.source-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }
.list-results { display: flex; flex-direction: column; gap: 8px; }
.list-result { display: grid; grid-template-columns: 90px 1.2fr 1.5fr 100px; align-items: center; gap: 14px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper-light); }
.list-result .list-thumb { height: 62px; border-radius: 8px; background-size: cover; background-position: center; }
.list-result h3 { margin: 0 0 3px; font: 21px var(--serif); }
.list-result p { margin: 0; color: var(--muted); font-size: 10px; }
.list-result .tag-row { margin: 0; }.list-result .list-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.map-results-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 14px; }
.map-results-layout .map-sim { position: sticky; top: 100px; height: min(66vh, 560px); }
.map-results-layout .list-results { max-height: 66vh; overflow: auto; padding: 1px 5px 1px 1px; }
.map-results-layout .list-result { grid-template-columns: 60px 1fr auto; }.map-results-layout .list-result .list-thumb { height: 54px; }.map-results-layout .list-result .tag-row { display: none; }
.empty-state { padding: 42px 25px; border: 1px dashed #c8baa6; border-radius: 18px; background: rgba(255,253,248,.55); text-align: center; }
.empty-state .empty-mark { margin: 0 auto 10px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--sage-pale); font: 25px var(--hand); color: var(--sage); }
.empty-state h3 { margin-bottom: 7px; font: 25px var(--serif); }.empty-state p { max-width: 430px; margin: auto auto 15px; color: var(--muted); font-size: 12px; }
.button-primary,.button-secondary,.button-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; padding: 10px 14px; font-size: 11px; font-weight: 700; transition: .15s ease; }
.button-primary { border: 1px solid var(--blue); background: var(--blue); color: white; }.button-secondary { border: 1px solid var(--line); background: var(--paper-light); color: var(--espresso); }.button-secondary:hover { border-color: var(--blue); color: var(--blue); }.button-quiet { border: 0; background: transparent; color: var(--blue); }
.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.page-title-row h1 { font-size: clamp(38px,4vw,55px); margin-bottom: 6px; }.page-title-row p { margin: 0; color: var(--muted); font-size: 12px; }
.collection-bar { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0 0 20px; }
.collection-tab { padding: 8px 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper-light); color: #655c51; font-size: 10px; }.collection-tab[aria-pressed="true"] { color: white; background: var(--espresso); border-color: var(--espresso); }
.collection-tab.add { background: transparent; border-style: dashed; color: var(--blue); }
.collection-info { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,248,.62); }
.collection-info h3 { margin: 0 0 2px; font: 21px var(--serif); }.collection-info p { margin: 0; color: var(--muted); font-size: 10px; }
.collection-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.saved-cafe-wrap { min-width: 0; display: flex; flex-direction: column; }.saved-cafe-wrap .cafe-card { flex: 1; }
.saved-reorder { display: flex; align-items: center; justify-content: flex-end; gap: 3px; padding: 4px 9px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: rgba(255,253,248,.72); }
.saved-reorder span { margin-right: auto; color: var(--muted); font-size: 9px; }.saved-reorder .button-quiet { padding: 5px 7px; font-size: 9px; }
.reorder-button { min-width: 27px; border: 1px solid var(--line); border-radius: 6px; background: white; padding: 3px 5px; line-height: 1; }
button:disabled { opacity: .45; cursor: not-allowed; }
.collection-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper-light); }
.collection-card .collection-decoration { align-self: flex-end; color: var(--terracotta); font: 26px var(--hand); }.collection-card h3 { margin: 0; font: 23px var(--serif); }.collection-card p { margin: 4px 0 12px; color: var(--muted); font-size: 10px; }
.events-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-light); }
.event-art { height: 146px; display: flex; align-items: flex-end; padding: 13px; background: linear-gradient(0deg,#1f293ea6,transparent 68%), url('../Cafe Fall Cover.gif') center / cover; color: white; }
.event-art span { border-radius: 4px; background: var(--paper-light); color: var(--espresso); padding: 6px 8px; font-size: 9px; font-weight: 700; }
.event-content { padding: 15px; }.event-content .eyebrow { margin-bottom: 5px; font-size: 9px; }.event-content h3 { margin: 0 0 6px; font: 22px var(--serif); }.event-content p { margin: 0 0 11px; color: var(--muted); font-size: 11px; }
.event-meta { border-top: 1px solid #e7dfd2; padding-top: 9px; color: var(--muted); font-size: 9px; display: flex; justify-content: space-between; gap: 8px; }
.profile-panel { display: grid; grid-template-columns: .65fr 1.35fr; gap: 19px; }
.profile-card,.settings-card { padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper-light); }
.profile-avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 15px; background: #d8dfcc; color: #394336; font: 23px var(--serif); }
.profile-card h2 { font-size: 29px; }.profile-card p,.settings-card p { color: var(--muted); font-size: 11px; }.settings-card h3 { font: 22px var(--serif); margin: 0 0 6px; }
.setting-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid #e8dfd1; }.setting-row b { font-size: 11px; }.setting-row span { color: var(--muted); font-size: 10px; text-align: right; }
.detail-backdrop,.modal-backdrop { position: fixed; z-index: 40; inset: 0; padding: 26px; background: rgba(37,28,23,.52); backdrop-filter: blur(5px); display: grid; place-items: center; overflow: auto; }
.detail-sheet { width: min(880px,100%); max-height: min(880px, calc(100vh - 52px)); overflow: auto; background: var(--paper-light); border-radius: 20px; box-shadow: 0 30px 90px #1b130f55; }
.detail-cover { min-height: 250px; position: relative; background-position: center; background-size: cover; color: white; }.detail-cover::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(0deg,#24170fe8,transparent); }.detail-cover .close-button { position: absolute; z-index: 3; top: 14px; right: 14px; }.detail-cover-copy { position: absolute; z-index: 2; left: 27px; right: 27px; bottom: 20px; }.detail-cover-copy .eyebrow { color: #e9d3b0; margin-bottom: 5px; }.detail-cover-copy h2 { margin: 0; font-size: 43px; }.detail-cover-copy p { margin: 4px 0 0; color: #eee2ce; font-size: 11px; }
.close-button { width: 35px; height: 35px; border: 0; border-radius: 50%; background: rgba(255,253,248,.94); color: var(--espresso); font-size: 20px; }
.detail-content { padding: 24px 28px 30px; }.detail-lead { display: grid; grid-template-columns: 1.4fr .6fr; gap: 18px; align-items: start; }.detail-lead p { color: #6c6257; font-size: 12px; }.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 20px; }.detail-section { border: 1px solid var(--line); border-radius: 13px; padding: 15px; background: #fffdf8; }.detail-section h3 { margin: 0 0 9px; font: 20px var(--serif); }.detail-section ul { padding: 0; margin: 0; list-style: none; }.detail-section li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #eee6da; padding: 8px 0; font-size: 10px; }.detail-section li:first-child { border-top: 0; }.detail-section li span:last-child { text-align: right; color: var(--muted); }.detail-section .source-note { margin: 9px 0 0; color: #857a6f; font-size: 9px; }
.provenance-banner { padding: 10px 12px; border-radius: 9px; background: #f1e7d8; color: #6e523e; font-size: 10px; }
.modal-card { width: min(490px,100%); padding: 23px; border-radius: 18px; background: var(--paper-light); box-shadow: 0 25px 80px #1b130f44; }.modal-card h2 { margin-bottom: 8px; font-size: 30px; }.modal-card > p { color: var(--muted); font-size: 11px; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }.modal-card input,.modal-card select { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: white; padding: 11px; margin-top: 5px; font-size: 12px; }.modal-card label { color: var(--muted); font-size: 10px; }
.takeout-preview { max-height: 230px; overflow: auto; padding: 13px; border: 1px dashed #c7b9a4; border-radius: 11px; background: white; font: 12px/1.7 ui-monospace,monospace; white-space: pre-wrap; color: #51463d; }
.toast { position: fixed; z-index: 60; right: 23px; bottom: 23px; max-width: min(360px,calc(100% - 32px)); padding: 12px 16px; border-radius: 10px; background: var(--espresso); color: #fff8eb; box-shadow: var(--shadow); font-size: 11px; animation: toast-in .2s ease-out; }.toast button { margin-left: 12px; border: 0; background: none; color: #cbd1ff; font-weight: 700; }
@keyframes toast-in { from{transform:translateY(8px);opacity:0} to{transform:translateY(0);opacity:1} }
.site-footer { display: flex; align-items: center; gap: 20px; padding: 18px clamp(22px,5.2vw,84px); border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }.footer-brand { font: 21px var(--serif); color: var(--espresso); }.footer-note { margin-left: auto; }
.atlas-home .hero-field { grid-template-columns: .8fr 1.2fr; }.atlas-home .hero-copy { padding-right: 15px; }.atlas-home .hero-art { order: -1; }.atlas-home .hero-art::before { background: linear-gradient(90deg,transparent 55%,var(--espresso)),linear-gradient(0deg,rgba(33,21,15,.38),transparent 75%); }.atlas-home .hero-art-note { left: 22px; right: auto; }
.atlas-home .atlas-preview { position: absolute; inset: 22px 18px; border: 1px solid #ffffff70; border-radius: 17px; z-index: 1; background: rgba(238,230,210,.25); backdrop-filter: blur(1px); }.atlas-preview .atlas-dot { position: absolute; display: grid; place-items: center; width: 29px; height: 29px; border: 3px solid var(--paper-light); border-radius: 50% 50% 50% 2px; transform: rotate(-45deg); background: var(--blue); color: white; font-size: 9px; }.atlas-preview .atlas-dot span { transform: rotate(45deg); }.atlas-preview .atlas-area { position: absolute; left: 18px; top: 15px; padding: 6px 9px; border-radius: 20px; background: var(--paper-light); color: var(--espresso); font-size: 9px; }
.board-home .hero-field { min-height: 292px; }.board-home .hero-copy { padding: 36px 48px; }.board-home .hero-copy h1 { font-size: clamp(39px,4.6vw,61px); }.board-home .hero-art { background-image: linear-gradient(130deg,rgba(37,25,19,.08),rgba(37,25,19,.22)),url('../Brewbase pattern 2 (20260924073433).png'); background-position: center; background-size: cover; }.board-home .board-rank { position: absolute; z-index: 2; top: 25px; right: 23px; width: 115px; height: 115px; display: grid; place-items: center; padding: 12px; border-radius: 50%; background: var(--paper-light); color: var(--blue); text-align: center; transform: rotate(8deg); font: 14px/1.1 var(--hand); }
.activity-grid.compact .activity-card { min-height: 110px; }
@media (max-width: 1000px) {
  .topbar { gap: 26px; }.primary-nav { gap: 20px; }.page-wrap { padding-left: 30px; padding-right: 30px; }
  .activity-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.cards-grid,.collection-cards,.events-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .topbar { height: 70px; padding: 0 17px; gap: 11px; }.brand-word { font-size: 20px; }.brand-bean { width: 25px;height: 34px; }.primary-nav { gap: 9px; }.nav-link { font-size: 9px; }.topbar-tools { gap: 7px; }.filter-location select { max-width: 190px; color: var(--ink); }.profile-button { display: none; }
  .page-wrap { padding: 27px 17px 58px; }.prompt-home { min-height: calc(100vh - 135px); padding-top: 40px; padding-bottom: 48px; }.prompt-hero h1 { font-size: clamp(42px,11vw,60px); }.prompt-question { font-size: 19px; }.prompt-options { gap: 8px; }.prompt-chip { min-height: 43px; padding: 9px 12px; font-size: 12px; }.discovery-intro h1 { font-size: 38px; }.results-heading { align-items: flex-start; flex-direction: column; }.results-heading .view-toggle { align-self: flex-end; }.filter-location { flex: 1 1 100%; }.filter-location select { width: 100%; max-width: none; }.home-intro { flex-direction: column; gap: 12px; }.direction-control { align-items: flex-start; }.direction-switcher { align-self: flex-start; }.direction-switcher button { padding: 7px 9px; font-size: 9px; }
  .hero-field,.atlas-home .hero-field,.board-home .hero-field { display: flex; flex-direction: column; }.hero-copy,.atlas-home .hero-copy,.board-home .hero-copy { padding: 28px 22px; }.hero-copy h1,.board-home .hero-copy h1 { font-size: 43px; }.hero-art { min-height: 205px; order: 0; }.atlas-home .hero-art { order: 0; min-height: 225px; }.atlas-home .hero-art::before { background: linear-gradient(0deg,rgba(37,25,19,.2),transparent); }.hero-art-note { right: 12px; bottom: 13px; }.atlas-home .hero-art-note { left: 12px; bottom: 13px; }.atlas-preview { inset: 14px 13px !important; }
  .search-box { flex-wrap: wrap; padding: 9px; }.search-box input { width: calc(100% - 45px); }.search-box button { width: 100%; }.hero-copy .search-box button { width: auto; }
  .section-block { margin-top: 39px; }.section-head { align-items: flex-start; }.section-head h2 { font-size: 26px; }.activity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.activity-card { min-height: 125px; padding: 12px; }.editorial-row,.mini-map-layout,.map-results-layout,.profile-panel { grid-template-columns: 1fr; }.feature-card { grid-template-columns: 1fr .8fr; }.feature-card-copy { padding: 18px; }.feature-card-copy h3 { font-size: 23px; }.feature-card-art { min-height: 180px; }.map-sim { height: 310px; }.map-results-layout .map-sim { position: relative; top: 0; height: 340px; }.map-results-layout .list-results { max-height: none; }.cards-grid,.collection-cards,.events-grid { grid-template-columns: 1fr; }
  .page-title-row,.list-heading { align-items: flex-start; flex-direction: column; }.list-heading .view-controls { width: 100%; display: flex; justify-content: space-between; }.list-result { grid-template-columns: 65px 1fr auto; }.list-result .tag-row { display: none; }.list-result .list-thumb { height: 56px; }.list-result h3 { font-size: 18px; }.results-toolbar { padding: 9px; }.filter-chip { font-size: 9px; }.intent-explanation { font-size: 10px; }
  .detail-backdrop,.modal-backdrop { padding: 10px; }.detail-sheet { max-height: calc(100vh - 20px); }.detail-cover { min-height: 210px; }.detail-cover-copy h2 { font-size: 34px; }.detail-content { padding: 18px; }.detail-lead,.detail-grid { grid-template-columns: 1fr; }.detail-actions { justify-content: flex-start; }.detail-actions button { flex: 1; }.site-footer { flex-wrap: wrap; gap: 9px 15px; padding: 15px 17px; }.footer-note { margin-left: 0; width: 100%; }
}
@media print {
  body { background: white; }.topbar,.site-footer,.modal-actions,.close-button,.button-secondary,.button-primary { display: none !important; }.modal-backdrop { position: static; padding: 0; background: white; display: block; }.modal-card { width: 100%; box-shadow: none; border: 0; }.takeout-preview { max-height: unset; white-space: pre-wrap; }
}
@media (max-width: 700px) {
  input,select,textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
