/* Shared editorial treatment for all four screens. */
:root {
  --bg: #f7f7f7;
  --panel: #fff;
  --panel2: #efefef;
  --ink: #1a1a1a;
  --muted: #646464;
  --gold: #1a1a1a;
  --line: #e3e3e3;
  --olive: #4c5950;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --media-radius: 6px;
  --surface-radius: 12px;
}
body { background: var(--bg); color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(36px, 3.6vw, 54px); letter-spacing: -1.8px; line-height: 1.18; }
h1 em { font-style: normal; color: var(--ink); font-weight: 400; }
h2 { font-size: 31px; letter-spacing: -.9px; }
.eyebrow { color: #666; font-weight: 500; letter-spacing: 1.3px; font-size: 9px; }
.subcopy { font-size: 13px; line-height: 1.85; max-width: 680px; margin: 15px auto 0; }
.app-header {
  height: 100px;
  display: grid;
  grid-template-columns: auto minmax(215px, 1fr) auto auto;
  gap: 30px;
  background: rgba(247,247,247,.97);
  border-bottom: 1px solid #dedede;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
  backdrop-filter: blur(12px);
}
.wordmark { font-family: var(--serif); font-size: 40px; font-weight: 500; letter-spacing: -2.8px; line-height: 1; }
.header-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(0,0,0,.05);
  color: #737373;
  font-size: 11px;
  text-align: left;
  min-width: 0;
  max-width: 460px;
  width: 100%;
  justify-self: center;
}
.header-search>span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-search [data-icon] { color: #282828; }
.header-search:hover { box-shadow: 0 8px 26px rgba(0,0,0,.09); }
.main-nav { gap: 24px; }
.main-nav a { font-size: 12px; color: #333; }
.main-nav a [data-icon] { display: none; }
.main-nav a[aria-current=page] { color: #111; }
.main-nav a[aria-current=page]:after { background: #111; height: 1px; bottom: 22px; }
.header-right { gap: 0; }
.header-motto { display: none; }
.header-right>.icon-button { display: none; }
.profile-avatar { border: 1px solid #dedede; background: #fff; color: #111; width: 35px; height: 35px; font-family: var(--sans); font-size: 10px; }
#screen { padding-top: 43px; max-width: 1500px; }
.page-head { display: block; text-align: center; margin: 0 auto 36px; }
.page-head>div:first-child { margin: auto; max-width: 830px; }
.page-head .eyebrow { margin-bottom: 13px; }
.page-number { display: none; }
.app-footer { color: #666; font-size: 9px; border-color: #e1e1e1; }
.button { border-radius: 999px; border-color: #d8d8d8; font-size: 11px; padding: 11px 19px; }
.button.primary, .button.light { background: #111; color: #fff; border-color: #111; }
.button:hover { filter: none; background: #ececec; }
.button.primary:hover, .button.light:hover { background: #333; border-color: #333; }
.text-link { color: #222; }
.text-link:hover { border-color: #222; }
.icon-button { border-radius: 50%; border-color: #dedede; background: #fff; }
.chip { border-radius: 999px; background: #fff; color: #555; border-color: #dfdfdf; min-height: 35px; padding: 7px 15px; }
.chip.active { background: #111; color: #fff; border-color: #111; }
.chip:hover { border-color: #777; }
.badge { color: #666; letter-spacing: .7px; font-weight: 500; }
.tag { background: #ededeb; color: #4f534d; border-radius: 999px; padding: 5px 11px; }
.section { margin-top: 46px; }
.section-heading { margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.save-button { border-radius: 50%; background: rgba(255,255,255,.96); color: #222; border-color: #e3e3e3; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.save-button.saved { background: #111; color: #fff; border-color: #111; }
.empty { border-color: #d7d7d7; border-radius: var(--surface-radius); background: #fff; }
.empty h3 { font-family: var(--serif); }

/* Map: a quiet, light directory and a neutral illustrated base map. */
.geo-bar { border-radius: var(--surface-radius); background: #fff; border-color: #e1e1e1; overflow: hidden; }
.geo-field { padding-top: 13px; padding-bottom: 13px; }
.geo-field label { color: #737373; font-size: 8px; letter-spacing: 1.1px; }
.geo-field select { font-size: 11px; color: #222; }
.geo-field option { background: #fff; color: #222; }
.category-line { margin: 19px 0; }
.map-workspace { border-radius: var(--surface-radius); border-color: #dedede; grid-template-columns: 342px minmax(0,1fr); height: 570px; }
.map-results { background: #fff; scrollbar-color: #c8c8c8 #fff; }
.results-head { background: #fff; padding: 20px 22px; }
.results-head h3 { font-size: 25px; }
.result-card { border-color: #ededed; padding: 18px 22px; }
.result-card:hover { background: #fafafa; }
.result-card.selected { background: #f6f6f6; box-shadow: inset 2px 0 #111; }
.result-card img { border-radius: var(--media-radius); }
.result-card h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.5; margin: 10px 0 7px; }
.result-card p { font-size: 9px; line-height: 1.8; }
.result-card .badge { font-size: 8px; }
.result-card .text-link { font-size: 10px; }
.result-card .save-button { background: transparent; color: #666; box-shadow: none; }
.result-card .save-button.saved { color: #111; }
.result-card .save-button.saved svg { fill: #111; }
.map-canvas { background: #edeeea; }
.map-region-pill { background: rgba(255,255,255,.96); color: #222; border-color: #ddd; border-radius: 999px; box-shadow: 0 3px 14px rgba(0,0,0,.04); }
.map-pin { background: #222; color: #fff; border-color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.map-pin:hover, .map-pin.selected { background: #111; color: #fff; border-color: #fff; }
.map-controls { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,.05); }
.map-controls button { color: #333; }
.map-legend { background: rgba(255,255,255,.85); color: #666; border-radius: 999px; }
.map-shop-preview { background: rgba(255,255,255,.98); color: #222; border-color: #e2e2e2; border-radius: var(--surface-radius); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.map-shop-preview img { border-radius: var(--media-radius); }
.map-shop-preview h3 { font-family: var(--serif); font-size: 24px; }
.map-shop-preview p { color: #666; }
.grid-list .result-card { background: #fff; border-radius: var(--surface-radius); }

/* Discover: image first, captions below, open spacing. */
.discover-toolbar { justify-content: center; margin-bottom: 30px; }
.editorial-hero { grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
.hero-main, .hero-side { background: transparent; min-height: 0; overflow: visible; }
.hero-main img { position: static; height: 310px; border-radius: var(--media-radius); }
.hero-main:after { display: none; }
.hero-content { position: static; max-width: none; padding: 23px 0 0; }
.hero-content .eyebrow { color: #666; }
.hero-content h2 { font-size: 35px; margin: 10px 0 13px; letter-spacing: -.8px; line-height: 1.2; }
.hero-content p { color: #555; font-size: 12px; max-width: 510px; margin-bottom: 20px; line-height: 1.8; }
.hero-corner { color: #222; background: rgba(255,255,255,.94); border: 0; border-radius: 999px; top: 17px; right: 17px; font-size: 8px; padding: 8px 12px; }
.hero-side img { height: 310px; border-radius: var(--media-radius); object-position: center 50%; }
.hero-side-content { padding: 23px 0 0; }
.hero-side h2 { font-size: 30px; line-height: 1.25; margin: 10px 0 13px; }
.hero-side p { font-size: 12px; line-height: 1.8; margin-bottom: 18px; }
.category-grid { gap: 12px; }
.category-tile { background: #fff; border: 1px solid #e7e7e7; border-radius: var(--media-radius); padding: 23px 8px; font-size: 9px; }
.category-tile svg { color: #333; }
.category-tile:hover { background: #fff; border-color: #aaa; box-shadow: 0 5px 15px rgba(0,0,0,.04); }
.shop-grid { gap: 26px 20px; }
.shop-card .shop-image { height: 292px; background: #eeece9; border-radius: var(--media-radius); }
.shop-info { padding-top: 14px; }
.shop-info h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.5; margin: 6px 0 5px; }
.shop-info p { font-size: 10px; line-height: 1.7; color: #737373; }
.shop-info .badge { font-size: 8px; text-transform: none; }
.city-grid { gap: 20px; }
.city-card { height: auto; background: transparent; border: 0; overflow: visible; }
.city-card img { height: 250px; border-radius: var(--media-radius); }
.city-card:after { display: none; }
.city-card div { position: static; padding: 15px 0 0; }
.city-card h3 { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.city-card p { color: #777; font-size: 8px; letter-spacing: .6px; line-height: 1.8; }
.route-card { background: #fff; border-color: #e5e5e5; border-radius: var(--surface-radius); padding: 22px; }
.route-card img { border-radius: var(--media-radius); }
.route-card h3 { font-size: 22px; line-height: 1.3; }
.route-card p { font-size: 10px; line-height: 1.8; }
.experience-banner { background: #efefed; border: 0; border-radius: var(--surface-radius); padding: 30px; }
.experience-banner h2 { font-size: 29px; margin: 9px 0; }
.experience-banner .stamp { color: #333; border-color: #aaa; }

/* Haul: uncluttered curator posts and a separate expert edit. */
.curator-pill { border-color: #e4e4e4; border-radius: 999px; background: #fff; padding: 12px 17px; min-width: 240px; }
.curator-avatar, .curator-avatar.olive, .curator-avatar.plum { color: #333; border-color: #dedede; background: #eeece8; font-family: var(--sans); font-size: 10px; }
.curator-pill h3 { font-size: 11px; }
.curator-pill p { font-size: 8px; }
.follow-button { border-color: #d8d8d8; border-radius: 999px; color: #222; padding: 6px 11px; font-size: 9px; }
.follow-button.followed { background: #222; color: #fff; border-color: #222; }
.haul-tabs { border-color: #e1e1e1; padding-bottom: 18px; }
.haul-layout { gap: 32px; }
.feed-grid { gap: 35px 25px; }
.story-card { border: 0; background: transparent; overflow: visible; }
.story-top { padding: 0 0 14px; }
.curator-mini b { font-size: 11px; font-weight: 500; }
.curator-mini small { font-size: 8px; line-height: 1.6; margin-top: 2px; }
.story-media { height: 305px; border-radius: var(--media-radius); overflow: hidden; }
.story-media .media-label { color: #222; background: rgba(255,255,255,.94); border-radius: 999px; padding: 7px 11px; font-size: 8px; }
.story-copy { padding: 19px 0 0; }
.story-copy h3 { font-family: var(--serif); font-size: 26px; line-height: 1.3; letter-spacing: -.45px; }
.story-copy p { color: #666; font-size: 11px; line-height: 1.9; }
.story-bottom { border-color: #ddd; margin-top: 18px; padding-top: 13px; }
.story-bottom .save-button { box-shadow: none; }
.story-bottom .save-button.saved { background: transparent; color: #111; }
.story-bottom .save-button.saved svg { fill: #111; }
.expert-rail { background: #fff; border-color: #e5e5e5; border-radius: var(--surface-radius); top: 122px; }
.expert-rail h2 { font-size: 30px; }
.expert-guide .guide-image { border-radius: var(--media-radius); }
.expert-guide h3 { font-size: 21px; line-height: 1.4; }
.haul-invite { background: #f3f3f1; border: 0; border-radius: var(--surface-radius); }
.haul-invite h3 { font-size: 25px; }

/* For you: a restrained personal profile and visual saved collections. */
.profile-head { margin-bottom: 32px; }
.profile-large-avatar { background: #eae8e3; border-color: #ddd; color: #222; font-family: var(--serif); }
.profile-intro h1 { font-size: 48px; letter-spacing: -1.8px; }
.profile-intro p { font-size: 10px; line-height: 1.8; }
.passport { background: #fff; border: 1px solid #e2e2e2; border-radius: var(--surface-radius); box-shadow: 0 7px 22px rgba(0,0,0,.025); }
.passport:after { content: 'Z'; color: #f0f0ef; font-family: var(--serif); right: 8px; bottom: -22px; }
.passport .eyebrow { color: #666; font-size: 8px; }
.passport h2 { color: #222; font-size: 29px; position: relative; z-index: 1; line-height: 1.25; }
.passport p, .passport-code { color: #666; }
.passport-code { font-size: 8px; letter-spacing: 1.2px; }
.stats-row { background: transparent; border: 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.stat { border-color: #ddd; padding-top: 20px; padding-bottom: 20px; }
.stat strong { color: #222; font-family: var(--serif); font-size: 33px; }
.stat span { color: #666; font-size: 9px; }
.profile-tabs button { color: #777; font-size: 11px; }
.profile-tabs button.active { color: #111; }
.profile-tabs button.active:after { background: #111; height: 1px; }
.profile-tabs small { background: #ebebeb; border-radius: 999px; }
.profile-grid .shop-image { height: 265px; }
.profile-grid .shop-info h3 { font-family: var(--sans); font-size: 13px; }
.profile-aside h3 { font-size: 22px; line-height: 1.4; }
.profile-aside p { font-size: 10px; line-height: 1.9; }
.collection-card { background: transparent; border: 0; }
.collection-images { border-radius: var(--media-radius); height: 240px; overflow: hidden; background: #eae8e3; }
.collection-info { padding: 16px 0 0; }
.collection-info h3 { font-size: 23px; line-height: 1.4; }
.create-collection { color: #333; background: #fff; border-color: #ccc; border-radius: var(--surface-radius); }
.visit-note { color: #4c5950; }

/* Shared overlays and forms. */
dialog { background: #fff; border-color: #e2e2e2; border-radius: var(--surface-radius); box-shadow: 0 20px 90px rgba(0,0,0,.22); }
dialog::backdrop { background: rgba(0,0,0,.42); }
.modal-close { background: rgba(255,255,255,.97); color: #222; }
.modal-hero { border-radius: var(--surface-radius) var(--surface-radius) 0 0; }
.modal-body h2 { font-size: 33px; letter-spacing: -.8px; }
.modal-body>p { font-size: 12px; line-height: 1.95; }
.modal-shop-row img { border-radius: var(--media-radius); }
.modal-shop-row h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; }
.modal-form input, .modal-form select, .search-input { border-radius: 10px; color: #222; background: #fafafa; border-color: #ddd; }
.search-input { border-radius: 999px; padding: 15px 20px; font-size: 12px; }
.checkbox-row { color: #555; background: #f5f5f5; border-radius: 10px; }
.modal-form .checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { border-radius: 3px; accent-color: #111; }
.toast { color: #222; background: #fff; border-color: #ddd; border-radius: 999px; box-shadow: 0 7px 30px rgba(0,0,0,.12); }

@media (max-width: 1180px) {
  .app-header { gap: 20px; }
  .main-nav { gap: 18px; }
  .wordmark { font-size: 35px; }
  .header-search { padding: 13px 17px; font-size: 10px; }
  .map-workspace { grid-template-columns: 307px minmax(0,1fr); }
  .category-tile { padding: 17px 10px; }
  .shop-card .shop-image { height: 255px; }
  .hero-main img, .hero-side img { height: 285px; }
  .hero-content h2 { font-size: 31px; }
}
@media (max-width: 1000px) {
  .app-header { display: flex; height: 88px; }
  .header-search { display: none; }
  .header-right { gap: 13px; }
  .header-right>.icon-button { display: inline-flex; border: 0; background: transparent; }
  .main-nav a[aria-current=page]:after { bottom: 17px; }
  #screen { padding-top: 34px; }
  .map-workspace { grid-template-columns: 278px minmax(0,1fr); }
  .editorial-hero { gap: 23px; }
  .hero-main img, .hero-side img { height: 280px; }
  .hero-content h2, .hero-side h2 { font-size: 28px; }
  .shop-card .shop-image { height: 300px; }
  .profile-grid .shop-image { height: 250px; }
  .city-card img { height: 225px; }
}
@media (max-width: 680px) {
  .app-header { height: 76px; }
  .wordmark { font-size: 35px; }
  .header-right { gap: 10px; }
  .profile-avatar { width: 31px; height: 31px; font-size: 9px; }
  .main-nav { background: rgba(255,255,255,.97); border-top-color: #ddd; box-shadow: 0 -5px 15px rgba(0,0,0,.025); gap: 0; }
  .main-nav a { color: #777; font-size: 9px; }
  .main-nav a [data-icon] { display: inline-flex; }
  .main-nav a[aria-current=page] { color: #111; }
  .main-nav a[aria-current=page]:after { top: 0; bottom: auto; }
  #screen { padding-top: 28px; }
  .page-head { margin-bottom: 27px; }
  .page-head .eyebrow { font-size: 8px; letter-spacing: 1.1px; margin-bottom: 12px; }
  h1 { font-size: 34px; letter-spacing: -1.2px; line-height: 1.22; }
  .subcopy { font-size: 11px; max-width: 330px; line-height: 1.85; margin-top: 13px; }
  .geo-field { padding: 11px 12px; }
  .geo-field select { font-size: 10px; }
  .chip { min-height: 32px; padding: 7px 13px; font-size: 9px; }
  .category-line { margin: 14px 0; }
  .map-workspace { height: auto; border: 0; border-radius: 0; }
  .map-canvas { border-radius: var(--surface-radius); border-color: #ddd; }
  .map-results { background: transparent; }
  .results-head { padding: 0; background: transparent; }
  .results-head h3 { font-size: 21px; }
  .result-card { padding: 13px; border-color: #e4e4e4; border-radius: var(--surface-radius); }
  .result-card h3 { font-size: 12px; margin: 8px 0 7px; }
  .result-card .badge { font-size: 7px; }
  .map-shop-preview { left: 14px; bottom: 20px; }
  .map-shop-preview h3 { font-size: 20px; }
  .grid-list .map-results { background: transparent; }
  .discover-toolbar { margin-bottom: 22px; }
  .discover-toolbar>.eyebrow { text-align: center; margin-bottom: 12px; }
  .editorial-hero { display: block; }
  .hero-main img { height: 255px; }
  .hero-content { padding: 19px 0 0; }
  .hero-content h2 { font-size: 31px; max-width: none; margin: 9px 0 12px; }
  .hero-content p { font-size: 11px; max-width: none; }
  .hero-side { display: grid; grid-template-columns: 100px 1fr; gap: 18px; margin-top: 25px; padding-top: 23px; border-top: 1px solid #dedede; }
  .hero-side img { height: 195px; min-height: 0; }
  .hero-side-content { padding: 1px 0 0; }
  .hero-side h2 { font-size: 25px; margin: 8px 0 10px; }
  .hero-side p { font-size: 10px; margin-bottom: 12px; }
  .section { margin-top: 33px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading .eyebrow { font-size: 7px; }
  .section-heading .text-link { font-size: 9px; }
  .category-grid { gap: 8px; }
  .category-tile { padding: 17px 4px; font-size: 8px; gap: 11px; }
  .category-tile svg { width: 20px; height: 20px; }
  .shop-grid { gap: 24px 13px; }
  .shop-card .shop-image, .profile-grid .shop-image { height: 220px; }
  .shop-info h3, .profile-grid .shop-info h3 { font-size: 12px; font-family: var(--sans); }
  .shop-info p { font-size: 8px; }
  .shop-info .badge { font-size: 7px; }
  .shop-card .save-button { width: 29px; height: 29px; }
  .city-grid { gap: 14px; }
  .city-card img { height: 220px; }
  .city-card div { padding-top: 12px; }
  .city-card h3 { font-size: 23px; }
  .city-card p { font-size: 7px; }
  .route-card { padding: 18px; }
  .route-card h3 { font-size: 22px; }
  .experience-banner { padding: 24px; }
  .experience-banner h2 { font-size: 26px; }
  .curator-pill { min-width: 240px; padding: 12px 14px; }
  .haul-tabs { padding-bottom: 14px; }
  .feed-grid { gap: 34px; }
  .story-top { padding-bottom: 13px; }
  .story-media { height: 305px; }
  .story-copy { padding-top: 18px; }
  .story-copy h3 { font-size: 27px; }
  .story-copy p { font-size: 11px; }
  .expert-rail { margin-top: 4px; }
  .expert-guide h3 { font-size: 24px; }
  .profile-head { margin-bottom: 25px; }
  .profile-intro h1 { font-size: 40px; }
  .profile-intro p { font-size: 9px; }
  .passport h2 { font-size: 27px; }
  .stat { padding: 15px 8px; }
  .stat strong { font-size: 27px; }
  .stat span { font-size: 7px; }
  .profile-tabs button { font-size: 10px; }
  .collection-images { height: 220px; }
  .collection-info h3 { font-size: 24px; }
  .modal-body h2 { font-size: 29px; }
  .toast { border-radius: 12px; }
}
