/* Hound it: shared styles. Colors from the approved design brief. */
:root {
  --cream: #FBF6EA;
  --card: #FFFDF8;
  --line: #EADFC8;
  --navy: #1F2A4A;
  --navy-soft: #4A5372;
  --coral: #E8553A;
  --coral-dark: #C9432B;
  --green: #2E7D4F;
  --mint: #DCEFE2;
  --pink: #F8DADA;
  --butter: #FBEBB5;
  --sky: #DCE9F5;
  --ad: #F3EAD6;
  --radius: 16px;
  --heading: "Newsreader", Georgia, serif;
  --body: "Manrope", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--body); font-size: 17px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--heading); line-height: 1.1; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: 2.3rem; font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 .8em; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Header and logo */
/* Top bar: back link left, logo centered, menu right. Slides away while you scroll down, back on any scroll up. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); transition: box-shadow .2s, transform .25s ease; }
.site-header.tucked { transform: translateY(-100%); box-shadow: none; }
.site-header.compact { box-shadow: 0 1px 0 var(--line), 0 4px 12px rgba(31, 42, 74, .06); }
.hdr-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 720px; margin: 0 auto; padding: 12px 16px 8px; transition: padding .2s; }
.site-header.compact .hdr-inner { padding: 6px 16px; }
.hdr-inner > :first-child { justify-self: start; }
.hdr-right { justify-self: end; }
.site-header .logo-img { transition: height .2s; }
.site-header.compact .logo-img { height: 32px; }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; display: grid; place-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.menu-btn:hover, .menu-btn:focus-visible { background: var(--card); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.site-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(31, 42, 74, .12); max-height: calc(100vh - 60px); overflow-y: auto; }
.menu-inner { max-width: 720px; margin: 0 auto; padding: 12px 16px 18px; }
/* Feature cards: chat, plan, guides */
.mcards { display: grid; gap: 8px; }
.mcard { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; }
.mcard img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; }
.mcard strong { display: block; font-family: var(--heading); font-size: 1.2rem; line-height: 1.15; }
.mcard small { display: block; color: var(--navy-soft); font-size: .85rem; line-height: 1.3; }
.mcard.star { position: relative; border-color: var(--coral); box-shadow: inset 5px 0 0 var(--coral), 0 4px 12px rgba(232, 85, 58, .14); }
.mtag { margin-left: auto; align-self: flex-start; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; flex: none; }
/* Live beach line */
.menu-live { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; padding: 10px 12px; border-radius: 12px; background: var(--mint); text-decoration: none; font-weight: 700; font-size: .92rem; line-height: 1.35; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 0 rgba(46, 125, 79, .5); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 8px rgba(46, 125, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 125, 79, 0); } }
.menu-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-dark); margin: 14px 0 6px; }
/* Section chips with round thumbnails */
.mchips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mchip { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .92rem; line-height: 1.2; }
.mchip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
/* Getting around and Local events */
.mblocks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.mblock { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; text-decoration: none; }
.mblock.sky { background: var(--sky); } .mblock.butter { background: var(--butter); }
.mblock img { width: 100%; height: 64px; object-fit: cover; border-radius: 10px; }
.mblock strong { display: block; font-family: var(--heading); font-size: 1.05rem; line-height: 1.15; }
.mblock small { display: block; color: var(--navy-soft); font-size: .8rem; }
.menu-small { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.menu-small a { font-size: .9rem; color: var(--navy-soft); }
.mcard:hover, .mchip:hover, .mblock:hover { filter: brightness(.97); }
/* Ripple in when the menu opens */
.site-menu:not([hidden]) .menu-inner > * { animation: menuin .28s ease both; }
.site-menu:not([hidden]) .menu-inner > :nth-child(2) { animation-delay: .04s; }
.site-menu:not([hidden]) .menu-inner > :nth-child(3) { animation-delay: .08s; }
.site-menu:not([hidden]) .menu-inner > :nth-child(4) { animation-delay: .1s; }
.site-menu:not([hidden]) .menu-inner > :nth-child(5) { animation-delay: .14s; }
.site-menu:not([hidden]) .menu-inner > :nth-child(6) { animation-delay: .18s; }
@keyframes menuin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-menu .menu-inner > *, .live-dot { animation: none !important; } }
body.menu-open { overflow: hidden; }
.back { font-weight: 700; text-decoration: none; font-size: .95rem; display: inline-flex; align-items: center; min-height: 44px; }
.back-arrow { font-size: 1.6rem; line-height: 1; padding: 0 6px 3px 0; }
@media (max-width: 559px) { .back-text { display: none; } .back-arrow { font-size: 2rem; padding: 0 12px 4px 4px; } }
.logo { text-decoration: none; display: inline-block; line-height: 0; }
.logo-img { height: 46px; width: auto; }
.logo-word { font-family: var(--heading); font-weight: 800; font-size: 1.6rem; display: inline-flex; align-items: flex-end; color: var(--navy); }
.logo-bang { display: inline-block; width: .42em; height: 1em; margin-left: .04em; }
.logo-city { font-family: var(--body); font-weight: 700; font-size: .62rem; letter-spacing: .35em; margin-top: 3px; padding-left: .35em; }

/* Hero: headline, line, and chat box fit above the first picture on a phone */
.hero { padding-top: 4px; }
.hero h1 { margin-top: 8px; }
.home-h1 { font-size: 1.85rem; text-wrap: balance; }
.hero .lede { margin-bottom: 12px; }
.hero-art { margin-top: 14px !important; }
.hero-art { width: 100%; height: 210px; object-fit: cover; object-position: center 72%; margin: 18px 0 0; }
.lede { font-size: 1.05rem; }

/* Ask box */
.ask { background: var(--card); border: 2px solid var(--navy); border-radius: var(--radius); padding: 12px 12px 12px 16px; box-shadow: 0 3px 0 rgba(31,42,74,.12); }
.ask label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 4px; }
.ask-row { display: flex; gap: 10px; align-items: center; }
.ask input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--navy); min-width: 0; padding: 6px 0; }
.ask input:focus { outline: none; }
.ask:focus-within { box-shadow: 0 0 0 3px rgba(232,85,58,.25); }
.send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--coral); color: #fff; font-size: 1.3rem; cursor: pointer; flex: none; }
.send:hover { background: var(--coral-dark); }
.try { font-weight: 700; font-size: .85rem; margin: 14px 0 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-block; border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--navy); cursor: pointer; font-family: var(--body); }
.pill:hover, .pill.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Section tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.tile { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 10px; text-decoration: none; color: var(--navy); }
.tile-art { display: block; overflow: hidden; border-radius: 10px; margin-bottom: 10px; }
.tile-art img { transform: scale(1.8); transform-origin: var(--focus, center); margin: 0 !important; border-radius: 0 !important; }
.tile img { width: 100%; height: 104px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.tile strong { display: block; font-family: var(--heading); font-size: 1.1rem; }
.tile span { font-size: .85rem; }

.promo { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; margin-top: 22px; }
.promo img { width: 88px; height: 70px; object-fit: cover; border-radius: 10px; flex: none; }
.promo h3 { margin-bottom: .2em; }
.promo p { font-size: .92rem; margin-bottom: .3em; }
.promo a { font-weight: 700; }

/* Ad slots (placeholders until AdSense approval) */
.ad { margin: 26px 0; }
.ad-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-soft); margin-bottom: 6px; }
.ad-box { background: var(--ad); border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--navy-soft); font-size: .85rem; }

/* Cards */
.cards { display: grid; gap: 12px; }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: var(--navy); display: block; }
a.card:hover { border-color: var(--navy-soft); }
.card h3 { margin: 6px 0 4px; }
.meta { font-size: .88rem; color: var(--navy-soft); margin-bottom: 8px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--pink); }
.tag.beach { background: var(--sky); } .tag.park { background: var(--mint); } .tag.cafe, .tag.bar { background: var(--butter); }
.tag.vet { background: var(--pink); } .tag.no { background: #F4D2CC; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.chip { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint); }
.chip.limit { background: var(--butter); }
.chip.limit::before { content: "! "; color: #9A6B00; }
.verified { font-size: .8rem; color: var(--navy-soft); margin-top: 6px; }
.verified::before { content: "✓ "; color: var(--green); font-weight: 700; }
.rule { background: var(--sky); border-radius: 10px; padding: 8px 12px; margin: 8px 0; font-size: .92rem; }
.rule b { display: block; font-size: .7rem; letter-spacing: .1em; }
.rule.now-off { background: var(--mint); } .rule.now-no { background: #F4D2CC; }

/* List page */
.list-hero img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 8px; }
.filters select { font: inherit; font-weight: 700; font-size: .9rem; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px; background: var(--card); color: var(--navy); }
.count { font-size: .85rem; color: var(--navy-soft); margin-bottom: 10px; }
.group-title { margin: 26px 0 10px; }
.no-dogs li { margin-bottom: 6px; }

/* Place page */
.about { background: var(--sky); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 14px; }
.about-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 4px; }
.about p { font-size: 1.08rem; line-height: 1.55; margin: 0; }
.addr { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.addr:hover { border-color: var(--coral); }
.addr .pin { flex: none; }
.addr-text { flex: 1; min-width: 0; }
.addr-hood { display: block; font-size: .85rem; color: var(--navy-soft); margin-top: 2px; }
.map-label { font-weight: 700; font-size: .85rem; color: var(--coral-dark); }
.place-art { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius); margin-top: 6px; }
.box { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 14px 0; }
.rows div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.rows div:last-child { border-bottom: 0; }
.rows dt { font-weight: 700; font-size: .82rem; }
.rows dd { margin: 0; }
.limits-box { background: var(--butter); border-radius: 12px; padding: 10px 14px; margin-top: 10px; }
.limits-box ul { margin: 4px 0 0; padding-left: 18px; }
.call { display: inline-block; background: var(--coral); color: #fff; font-weight: 700; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-size: 1.1rem; }
.warn { background: #F4D2CC; border-radius: 12px; padding: 10px 14px; font-weight: 700; }
.small { font-size: .85rem; color: var(--navy-soft); }
table.season { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.season th, table.season td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Chat */
.chat-page { display: flex; flex-direction: column; min-height: 100vh; }
.chat-log { flex: 1; padding: 8px 16px 120px; max-width: 720px; width: 100%; margin: 0 auto; }
.msg-user { align-self: flex-end; background: var(--navy); color: #fff; border-radius: 18px 18px 4px 18px; padding: 10px 14px; margin: 10px 0 10px auto; max-width: 85%; width: fit-content; }
.msg-bot { display: flex; gap: 10px; margin: 12px 0; }
.msg-bot .avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.msg-bot .body { flex: 1; min-width: 0; }
.msg-bot .pills { margin: 8px 0; }
.chat-bar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--cream); border-top: 1px solid var(--line); padding: 10px 16px 14px; }
.chat-bar form { max-width: 720px; margin: 0 auto; display: flex; gap: 10px; background: var(--card); border: 2px solid var(--navy); border-radius: 999px; padding: 4px 4px 4px 18px; }
.chat-bar input { flex: 1; border: 0; background: transparent; font: inherit; min-width: 0; color: var(--navy); }
.chat-bar input:focus { outline: none; }
.btn { display: inline-block; border-radius: 999px; padding: 10px 16px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 1.5px solid var(--line); background: var(--card); color: var(--navy); cursor: pointer; font-family: var(--body); }
.btn.primary { background: var(--coral); color: #fff; border-color: var(--coral); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.practice-note { font-size: .78rem; color: var(--navy-soft); text-align: center; margin: 6px 0 0; }

/* Plan My Day */
.plan-link { margin: 10px 0 0; font-weight: 700; font-size: .95rem; }
.plan-link a { color: var(--coral-dark); text-decoration: none; }
.plan-link a:hover { text-decoration: underline; }
.plan-cta { display: flex; gap: 14px; align-items: center; background: var(--card); border: 2px solid var(--coral); border-radius: var(--radius); padding: 14px; margin-top: 26px; }
.plan-cta img { width: 96px; height: 78px; object-fit: cover; border-radius: 10px; flex: none; }
.plan-cta h2 { margin-bottom: .2em; }
.plan-cta p { font-size: .95rem; margin-bottom: .6em; }

/* Day guides */
.slot { margin-top: 26px; }
.slot-time { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-dark); margin: 0 0 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 36px; padding: 22px 0 40px; }
.site-footer .brand { font-family: var(--heading); font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-bottom: 14px; }
.disclaimer { font-size: .85rem; }

@media (min-width: 720px) {
  h1 { font-size: 2.8rem; }
  .home-h1 { font-size: 2.15rem; white-space: nowrap; }
  .phone-br { display: none; }
  .tiles { grid-template-columns: 1fr 1fr 1fr; }
  .hero-art { height: 280px; }
}

/* Day guide: route to Google Maps */
.route-box { display: flex; gap: 14px; align-items: flex-start; }
.route-box .pin { flex: none; margin-top: 4px; }
.route-box h3 { margin: 0 0 4px; }
.route-box p { margin: 0 0 10px; }
.route-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ride-cta { margin-top: 14px; }
.ride-cta img { object-position: 74% 78%; }
.box.ride h2 { margin: 6px 0 2px; }

/* Live line: fade between facts; coral when it is a weather alert */
.menu-live { transition: opacity .25s; }
.menu-live.fading { opacity: 0; }
.menu-live.warn { background: var(--pink); }
.menu-live.warn .live-dot { background: var(--coral); animation: none; }
/* Weather strip (National Weather Service) */
.wx { margin: 8px 0 0; }
.wx-now { margin: 0; font-size: .88rem; color: var(--navy-soft); }
.wx-text { font-weight: 700; color: var(--navy); }
.wx-src { font-size: .78rem; }
.wx-src::before { content: "· "; }
.wx-alert { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--pink); color: var(--coral-dark); font-weight: 700; text-decoration: none; font-size: .88rem; }
.wx-inline { font-weight: 700; }

[hidden] { display: none !important; }

/* Home: the picture opens the page, with the logo layered over its open sky */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; }
.home .site-header.compact { background: var(--cream); }
.home .site-header:not(.compact) .logo-img { height: 52px; }
.home .site-header:not(.compact) .hdr-inner { padding-top: 8px; padding-bottom: 0; }
.home .hero-art { display: block; width: 100%; height: 200px; margin: 0 !important; object-fit: cover; object-position: center 100%; }
.home .hero { padding-top: 14px; }
.home .home-h1 { font-size: 1.75rem; white-space: normal; margin-top: 0; }
.h1-tag { display: block; margin-top: 6px; font-family: var(--body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; color: var(--coral-dark); }
@media (min-width: 720px) {
  .home .hero-art { height: 340px; object-position: center 70%; }
  .home .home-h1 { font-size: 2.2rem; }
}

/* Book button on stay pages */
.btn.book { display: block; text-align: center; margin: 12px 0 4px; }

/* Featured stay: always labeled */
.featured { background: var(--card); border: 2px solid var(--coral); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
.feat-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; }
.pill-feat { background: var(--coral); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.featured img { width: 100%; height: 210px; object-fit: cover; }
.feat-body { padding: 12px 14px 16px; }
.feat-body h3 { margin: 6px 0 2px; }

/* Footer trust line */
.trust { font-size: .9rem; margin-bottom: 6px; }

/* Plan my day: same card as the others; the button and a small tag carry the emphasis */
.plan-cta { position: relative; }
.cta-badge { position: absolute; top: -10px; right: 14px; background: var(--coral); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.btn.pop { box-shadow: 0 6px 14px rgba(232, 85, 58, .35); animation: popin .9s ease .4s 1 both; }
@keyframes popin { 0% { transform: scale(1); } 40% { transform: scale(1.07); } 100% { transform: scale(1); } }
.mcard.star { animation: popin .9s ease .25s 1 both; }
@media (prefers-reduced-motion: reduce) { .btn.pop, .mcard.star { animation: none; } }

/* One-tap share */
.share { margin: 10px 0 14px; }
.share-btn { width: 100%; text-align: center; }
.share-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.share-row .btn { text-align: center; padding: 8px 6px; font-size: .9rem; }
@media (min-width: 720px) { .share-btn { width: auto; } }

/* ===== Uniform taps and polish (one press style for everything tappable) ===== */
* { -webkit-tap-highlight-color: transparent; }
a.card, .tile, .btn, .pill, .mcard, .mchip, .mblock, .addr, .gcard, .send, .menu-btn, .menu-live, .wx-alert {
  transition: transform .12s ease, box-shadow .2s ease, filter .12s ease, border-color .2s ease, background-color .2s ease;
}
a.card:active, .tile:active, .btn:active, .pill:active, .mcard:active, .mchip:active, .mblock:active, .addr:active, .gcard:active, .send:active, .menu-live:active, .coll:active, .mlist:active {
  transform: scale(.98); filter: brightness(.96);
}
@media (hover: hover) {
  a.card:hover, .tile:hover, .mcard:hover, .mblock:hover, .gcard:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 42, 74, .10); }
  .btn:hover { box-shadow: 0 4px 10px rgba(31, 42, 74, .10); }
  .tile-art img, .gcard img { transition: transform .35s ease; }
  .tile:hover .tile-art img, .gcard:hover img { transform: scale(1.04); }
}
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 8px; }

/* Pictures fade in softly instead of popping */
img.fade { opacity: 0; transition: opacity .45s ease; }
img.fade.in { opacity: 1; }

/* Smooth page changes where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

/* Back to top on long pages */
.to-top { position: fixed; right: 16px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--navy); font-size: 1.3rem; font-weight: 700; box-shadow: 0 6px 16px rgba(31, 42, 74, .14); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  a.card:active, .tile:active, .btn:active, .mcard:active { transform: none; }
  img.fade { opacity: 1; }
}

/* ===== Picture cards: day guides ===== */
.gcards { display: grid; gap: 14px; }
@media (min-width: 720px) { .gcards { grid-template-columns: 1fr 1fr; } }
.gcard { display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--navy); }
.gcard-art { position: relative; display: block; height: 150px; overflow: hidden; }
.gcard-art img { width: 100%; height: 100%; object-fit: cover; }
.gcard-tag { position: absolute; left: 10px; top: 10px; background: var(--card); border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.gcard-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.gcard-body strong { font-family: var(--heading); font-size: 1.3rem; line-height: 1.15; }
.gcard-teaser { color: var(--navy-soft); font-size: .92rem; line-height: 1.35; }
.gcard-facts { font-size: .8rem; font-weight: 700; color: var(--coral-dark); margin-top: 2px; }
/* Home: a sideways swipe row */
.gscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.gscroll::-webkit-scrollbar { display: none; }
.gscroll .gcard { scroll-snap-align: start; }
@media (min-width: 720px) { .gscroll { grid-auto-columns: 42%; } }

/* ===== Lists: area groups, jump buttons, top picks, fact icons, tip cards ===== */
.jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 6px; margin: 8px -16px 0; scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump .pill { white-space: nowrap; flex: none; }
.jump .pill span { color: var(--coral-dark); font-weight: 700; margin-left: 2px; }
.area-title { display: flex; align-items: center; gap: 10px; margin-top: 26px; scroll-margin-top: 70px; }
.area-title img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.area-title small { font-family: var(--body); font-size: .85rem; color: var(--navy-soft); font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 2px; }
.fact { font-size: .82rem; font-weight: 700; color: var(--navy-soft); white-space: nowrap; }
.picks { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; scrollbar-width: none; }
.picks::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .picks { grid-auto-columns: 30%; } }
.pick { scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--radius); background: var(--card); border: 1.5px solid var(--coral); text-decoration: none; color: var(--navy); box-shadow: 0 4px 12px rgba(232, 85, 58, .08); }
.pick strong { font-family: var(--heading); font-size: 1.15rem; line-height: 1.15; }
.pick-why { align-self: flex-start; background: var(--butter); border-radius: 999px; padding: 2px 9px; font-size: .74rem; font-weight: 700; }
.tip { display: flex; gap: 12px; align-items: center; margin: 18px 0 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--sky); text-decoration: none; color: var(--navy); line-height: 1.4; }
.tip-icon { font-size: 1.5rem; flex: none; }
.tip strong { color: var(--coral-dark); white-space: nowrap; }
.pick, .tip { transition: transform .12s ease, box-shadow .2s ease; }
.pick:active, .tip:active { transform: scale(.98); }
@media (hover: hover) { .pick:hover, .tip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 42, 74, .10); } }

/* ===== Place cards: icon tile, heart, when line, arrow ===== */
.cardbox { position: relative; }
.card.has-tile { position: relative; padding-right: 84px; min-height: 118px; }
.ptile { position: absolute; right: 14px; top: 54px; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.75rem; }
.ptile.butter { background: var(--butter); } .ptile.mint { background: var(--mint); } .ptile.sky { background: var(--sky); } .ptile.pink { background: var(--pink); }
.chev { position: absolute; right: 14px; bottom: 10px; font-size: 1.4rem; line-height: 1; color: var(--navy-soft); }
.when { font-size: .85rem; font-weight: 700; color: var(--coral-dark); margin: 4px 0 2px; }
.heart { position: absolute; right: 18px; top: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; font-size: 1.45rem; line-height: 1; color: var(--coral); cursor: pointer; display: grid; place-items: center; transition: transform .15s ease; }
.heart:hover { background: var(--pink); }
.heart[aria-pressed="true"] { color: var(--coral); }
.heart.pop { animation: heartpop .35s ease; }
@keyframes heartpop { 50% { transform: scale(1.3); } }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; z-index: 60; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Pair it with (place pages) ===== */
.pairbox { margin: 22px 0 8px; }
.pairbox h2 { margin-bottom: 10px; }
.pairs { display: grid; gap: 8px; }
.pair { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 34px 10px 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--navy); transition: transform .12s ease, box-shadow .2s ease; }
.pair .ptile { position: static; width: 48px; height: 48px; font-size: 1.5rem; flex: none; }
.pair small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-dark); }
.pair strong { display: block; font-family: var(--heading); font-size: 1.1rem; line-height: 1.2; }
.pair .chev { top: 50%; bottom: auto; transform: translateY(-50%); }
.pair:active { transform: scale(.98); }
@media (hover: hover) { .pair:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 42, 74, .10); } }
.pair-line { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sky); text-decoration: none; color: var(--navy); font-size: .95rem; }
.pair-line + .pair-line { background: var(--mint); }

/* Chat follow-up buttons */
.next { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.next-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 4px; }

/* ===== My trip ===== */
.mcount { margin-left: auto; align-self: center; background: var(--coral); color: #fff; font-size: .8rem; font-weight: 700; border-radius: 999px; min-width: 24px; padding: 2px 8px; text-align: center; flex: none; }
.trip-dates .date-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trip-dates label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 700; gap: 4px; }
.trip-dates input { font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); color: var(--navy); }
.countdown { margin: 10px 0 0; font-weight: 700; color: var(--coral-dark); }
.trip-share { display: grid; gap: 8px; margin: 14px 0 4px; }
.trip-share .btn { text-align: center; }
.trip-card { padding-right: 60px; }
.tag.updated { background: var(--coral); color: #fff; }
.trip-in { border: 2px solid var(--coral); }
.make-day ol { padding-left: 20px; }
.make-day li { margin: 4px 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { margin: 8px 0; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.checklist input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--coral); flex: none; }
.cardbox .book { margin-top: 6px; }
.saved-count { margin: 4px 0 0; font-weight: 700; color: var(--coral-dark); font-size: 1.05rem; }
#trip > .group-title:first-of-type { margin-top: 8px; }

/* Collections (themed lists) */
.colls { display: grid; gap: 10px; }
@media (min-width: 720px) { .colls { grid-template-columns: repeat(3, 1fr); } }
.coll { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 34px 12px 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.coll:hover { box-shadow: 0 6px 18px rgba(31,42,74,.10); transform: translateY(-1px); }
.coll strong { display: block; font-family: var(--heading); font-size: 1.08rem; line-height: 1.2; }
.coll small { color: var(--navy-soft); }
.coll .chev { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.coll-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: var(--butter); }
.coll:nth-child(2) .coll-icon { background: var(--pink); }
.coll:nth-child(3) .coll-icon { background: var(--mint); }
.coll-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 18px; }
.coll-pill { font-size: .86rem; padding: 6px 12px; }
.mlists { display: grid; gap: 6px; margin-bottom: 12px; }
.mlist { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .95rem; }

/* This weekend (home) */
.weekend { margin-top: 26px; background: var(--card); border: 2px solid var(--coral); border-radius: var(--radius); padding: 16px; }
.weekend h2 { margin-bottom: 8px; }
.wk-dates { font-family: var(--body); font-size: .9rem; font-weight: 700; color: var(--coral-dark); margin-left: 6px; }
.wk-list { list-style: none; margin: 0; padding: 0; }
.wk-list li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.wk-list li:first-child { border-top: 0; }
.wk-day { font-weight: 800; font-size: .92rem; }
.wk-items { display: grid; gap: 4px; }
.wk-items a { text-decoration: none; line-height: 1.35; }
.wk-items a:hover strong { text-decoration: underline; }
.wk-wx { color: var(--navy-soft); font-size: .88rem; }
.wk-more { display: inline-block; margin-top: 8px; font-weight: 800; text-decoration: none; color: var(--coral-dark); }

/* Next and previous in this area (place pages) */
.sibs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.sib { display: block; padding: 10px 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; min-width: 0; }
.sib small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--coral-dark); }
.sib strong { display: block; font-family: var(--heading); font-size: 1rem; line-height: 1.2; overflow-wrap: anywhere; }
.sib.prev small::before { content: "‹ "; }
.sib.next { text-align: right; grid-column: 2; }
.sib.next small::after { content: " ›"; }
.sib:active { transform: scale(.98); }
@media (hover: hover) { .sib:hover { box-shadow: 0 6px 16px rgba(31,42,74,.10); } }

/* Recently viewed (home) */
.recent-box { margin-top: 18px; }
.recent-head { display: flex; align-items: baseline; justify-content: space-between; }
.recent-head h2 { margin-bottom: 8px; }
.recent-clear { background: none; border: 0; color: var(--navy-soft); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 4px; }
.recent-row { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.recent { flex: 0 0 auto; width: 220px; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; }
.recent .ptile { position: static; width: 40px; height: 40px; font-size: 1.25rem; flex: none; }
.recent strong { display: block; font-size: .92rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.recent small { color: var(--navy-soft); font-size: .78rem; }
.recent:active { transform: scale(.98); }

/* Questions people ask (list pages) */
.faq { margin: 26px 0 10px; }
.faq-q { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 8px; }
.faq-q summary { cursor: pointer; padding: 12px 40px 12px 14px; font-weight: 700; list-style: none; position: relative; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--coral-dark); }
.faq-q[open] summary::after { content: "–"; }
.faq-q p { margin: 0; padding: 0 14px 14px; }

/* Save to My trip (place pages) */
.save-btn { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--coral); background: var(--card); color: var(--coral-dark); font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; transition: transform .12s ease, background .15s ease; }
.save-btn .save-icon { font-size: 1.25rem; line-height: 1; }
.save-btn[aria-pressed="true"] { background: var(--coral); color: #fff; }
.save-btn:active { transform: scale(.97); }
.save-btn.pop .save-icon { display: inline-block; animation: heartpop .35s ease; }
@media (hover: hover) { .save-btn:hover { background: var(--pink); } .save-btn[aria-pressed="true"]:hover { background: var(--coral-dark); } }

/* Build my trip: questions */
.tcta { border: 2px solid var(--coral); position: relative; }
.tplan-kicker { display: inline-block; background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.wiz { border: 2px solid var(--coral); margin-top: 8px; }
.wiz-step { font-size: .8rem; font-weight: 700; color: var(--navy-soft); margin: 0 0 6px; }
.wiz-bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.wiz-bar span { display: block; height: 100%; background: var(--coral); border-radius: 999px; transition: width .25s ease; }
.wiz h2 { font-size: 1.5rem; }
.wiz-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.wiz-pills .pill { padding: 11px 16px; font-size: .98rem; }
.wiz-name { display: flex; gap: 8px; }
.wiz-name input { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); }
.wiz-name input:focus { border-color: var(--coral); outline: none; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.wiz-skip { background: none; border: 0; font: inherit; color: var(--navy-soft); text-decoration: underline; cursor: pointer; padding: 6px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--coral-dark); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Build my trip: the plan */
.tplan { margin: 22px 0; scroll-margin-top: 80px; }
.tplan-head h2 { font-size: 1.8rem; margin-bottom: 4px; }
.tstay { border-left: 4px solid var(--coral); }
.tstay-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.tstay-row a:first-child { grid-column: 1; text-decoration: none; }
.tstay-row .small { grid-column: 1; }
.tstay-row .book-sm { grid-column: 2; grid-row: 1 / span 2; padding: 6px 14px; font-size: .88rem; }
.tday { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 12px 0; }
.tday-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tday-head h3 { margin: 0; font-size: 1.3rem; }
.tday-num { background: var(--navy); color: #fff; font-weight: 800; font-size: .78rem; border-radius: 999px; padding: 3px 10px; }
.tday-wx { margin: 6px 0 0; }
.tday-mk { background: var(--butter); border-radius: 10px; padding: 8px 10px; font-size: .92rem; margin: 10px 0 0; }
.tstops { list-style: none; margin: 10px 0; padding: 0; counter-reset: none; }
.tstops li { display: grid; grid-template-columns: 96px 1fr; gap: 0 10px; padding: 8px 0; border-top: 1px dashed var(--line); }
.tstops li:first-child { border-top: 0; }
.tslot { grid-row: span 2; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--coral-dark); padding-top: 3px; }
.tstops a { text-decoration: none; }
.tstops a strong { font-family: var(--heading); font-size: 1.08rem; }
.tnote { grid-column: 2; font-size: .88rem; color: var(--navy-soft); }
.saved-head { margin-top: 26px; }
.trip-clear { margin: 6px 0 18px; font-size: .9rem; }
.linkish[data-armed] { color: #fff; background: var(--coral); text-decoration: none; border-radius: 999px; padding: 2px 10px; }
.filters select { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F2A4A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; max-width: 100%; }
.wk-line { font-weight: 700; font-size: .92rem; background: var(--butter); border-radius: 10px; padding: 6px 10px; margin: 6px 0 10px; }
.recent-box { margin-top: 30px; }
.filters { flex-wrap: nowrap; }
.filters select { flex: 1 1 0; min-width: 0; text-overflow: ellipsis; }
@media (min-width: 720px) { .filters select { flex: 0 1 auto; } }

/* Place cards without the icon tile (Matt, 2026-11-02): text runs full width, heart top right, chevron bottom right */
.card.has-tile { padding: 12px 52px 12px 16px; min-height: 0; }
.card.has-tile h3 { margin-top: 4px; }
.card.has-tile .verified { margin-top: 6px; }
.rentals .rental { padding: 10px 0; border-top: 1px solid var(--line); }
.rentals .rental h3 { font-size: 1.1rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rentals .rental p { margin: 0; }

/* Area swipe rows (long lists): phones swipe sideways within an area, the page scrolls down through areas.
   Filtering (area or feature) switches back to the full grid. */
.area-title { display: flex; align-items: center; gap: 8px; }
.area-title .see-all { margin-left: auto; background: none; border: 0; font: inherit; font-family: var(--body); font-size: .88rem; font-weight: 800; color: var(--coral-dark); cursor: pointer; padding: 6px 0 6px 8px; white-space: nowrap; }
body.filtering .see-all { display: none; }
@media (max-width: 719px) {
  body:not(.filtering) .arow { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  body:not(.filtering) .arow::-webkit-scrollbar { display: none; }
  body:not(.filtering) .arow > .cardbox { flex: 0 0 66%; scroll-snap-align: start; display: flex; }
  body:not(.filtering) .arow > .cardbox > .card { flex: 1; }
}
@media (min-width: 720px) {
  body:not(.filtering) .arow { grid-template-columns: repeat(3, 1fr); }
  body:not(.filtering) .arow > .cardbox:nth-child(n+7) { display: none; }
  body:not(.filtering) .arow > .cardbox { display: flex; }
  body:not(.filtering) .arow > .cardbox > .card { flex: 1; }
}
/* Compact cards in the rows: name, area, meals, two features, today's rule. Full details on the place page. */
body:not(.filtering) .arow .chips, body:not(.filtering) .arow .verified { display: none; }
body:not(.filtering) .arow .facts .fact:nth-child(n+3) { display: none; }
body:not(.filtering) .arow .card h3 { font-size: 1.12rem; }
.book-out { white-space: nowrap; }
.rentals .actions { margin-top: 8px; }
@media (max-width: 719px) { .area-title { font-size: 1.4rem; } }
.area-title > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.area-title small { flex: none; }
.beta-tag { display: inline-block; background: var(--navy); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 1px 7px; margin-right: 4px; vertical-align: 1px; }

/* Type: Newsreader headlines, Manrope for reading (Matt picked R3b, 2026-11-02) */
h1, h2, h3, .mcard strong, .mblock strong, .tile strong, .gcard-body strong, .pick strong, .pair strong, .coll strong, .sib strong, .tstops a strong { font-weight: 600; letter-spacing: -0.012em; }
h1 { font-weight: 600; letter-spacing: -0.018em; }
.site-footer .brand { font-weight: 600; }
.site-footer .brand-city { font-family: var(--body); font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--coral-dark); margin-left: 6px; vertical-align: 2px; }

/* Wordmark: "Hound it" over the city spelled out */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; color: var(--navy); }
.wm-name { font-family: var(--heading); font-weight: 600; font-size: 1.8rem; letter-spacing: -0.015em; transition: font-size .2s; }
.wm-city { font-family: var(--body); font-weight: 700; font-size: .62rem; letter-spacing: .34em; padding-left: .34em; margin-top: 3px; color: var(--coral-dark); transition: font-size .2s; }
.site-header.compact .wm-name { font-size: 1.35rem; }
.site-header.compact .wm-city { font-size: .52rem; margin-top: 2px; }
.home .site-header:not(.compact) .logo { background: rgba(251, 246, 234, .94); border-radius: 14px; padding: 7px 16px 6px; }
.home .site-header:not(.compact) .menu-btn { background: rgba(251, 246, 234, .94); border-radius: 50%; }
.h1-tag { font-family: var(--heading); font-style: italic; font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; }

/* Home headline stays on 2 lines on any phone; wordmark sits lower, on the picture (Matt, 2026-11-02) */
.home .home-h1 { font-size: clamp(1.4rem, 6.3vw, 1.75rem); text-wrap: balance; }
.home .site-header:not(.compact) .hdr-inner { padding-top: 18px; }
@media (min-width: 720px) {
  .home .home-h1 { font-size: 2.2rem; }
  .home .site-header:not(.compact) .hdr-inner { padding-top: 34px; }
}

/* Maps (list pages): a "Show map" button, the map, and a legend */
.map-wrap { margin: 4px 0 14px; }
.map-toggle { display: inline-flex; align-items: center; gap: 6px; }
.placemap { height: 62vh; min-height: 340px; max-height: 560px; margin-top: 10px; border-radius: 16px; border: 1.5px solid var(--line); overflow: hidden; background: #EDE6D6; z-index: 0; }
.placemap .leaflet-tile-pane { filter: saturate(.55) sepia(.12) brightness(1.02); }   /* calmer map colors so our pins stand out */
.hpin { background: none; border: 0; }
.hpin svg { filter: drop-shadow(0 2px 3px rgba(31, 42, 74, .35)); }
.leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; box-shadow: 0 10px 24px rgba(31, 42, 74, .18); }
.leaflet-popup-content { margin: 0; }
.mpop { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; text-decoration: none; color: var(--navy); font-family: var(--body); }
.mpop strong { font-family: var(--heading); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.mpop span { font-size: .82rem; color: var(--navy-soft); }
.mpop .mpop-go { color: var(--coral-dark); font-weight: 700; margin-top: 4px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 8px; font-size: .85rem; }
.map-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.map-legend .small { flex-basis: 100%; }
.rentals > img { display: block; width: calc(100% + 32px); margin: -16px -16px 12px; height: 170px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.rental-also { margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .92rem; }

/* Newsletter signup: a card in the page, or a compact line in the footer. No pop-ups. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup.feature { margin: 26px 0 8px; padding: 18px; background: var(--card); border: 2px solid var(--coral); border-radius: var(--radius); }
.signup.feature h2 { margin-bottom: 4px; }
.signup.feature > p { margin: 0 0 12px; color: var(--navy-soft); }
.signup-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 620px) { .signup-row { grid-template-columns: 1.4fr 1fr auto; } }
.signup input, .signup select { font: inherit; font-size: 1rem; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); width: 100%; box-sizing: border-box; }
.signup input:focus, .signup select:focus { outline: none; border-color: var(--navy); }
.signup button { min-height: 46px; }
.signup-fine { margin: 8px 0 0; font-size: .82rem; color: var(--navy-soft); }
.signup-done { margin: 8px 0 0; font-weight: 700; color: var(--green); }
.signup.compact { margin: 14px 0 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signup-title { margin: 0 0 8px; }
/* One signup per page: hide the footer one where the page already has a card */
body:has(.signup.feature) .site-footer .signup.compact { display: none; }

/* Place cards, style A for every list (Matt, 2026-11-03): kicker, serif name, short line, where dogs sit, one badge, good to know */
.fcard .kicker { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dark); }
.fcard h3 { margin: 5px 0 3px; }
.fcard .sub { font-size: .88rem; color: var(--navy-soft); }
.fcard .dogs { margin: 8px 0 0; font-family: var(--heading); font-style: italic; font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.fcard .badges { margin-top: 8px; }
.fcard .badge { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--butter); border-radius: 999px; padding: 3px 10px; }
.fcard .know { margin: 8px 0 0; font-size: .82rem; color: #9A3A1E; }
body:not(.filtering) .arow .fcard .know { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.count-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.count-row .count { margin: 0; }
.count-row .checked { font-size: .82rem; color: var(--navy-soft); }
.count-row .checked::before { content: "✓ "; color: var(--green); font-weight: 700; }
body:not(.filtering) .arow .fcard .k-area { display: none; }

/* Lists tile after the first ad on Restaurants (Matt, 2026-11-03) */
.lists-tile { margin: 18px 0 4px; border-radius: var(--radius); overflow: hidden; background: var(--butter); }
.lists-tile img { display: block; width: 100%; height: 130px; object-fit: cover; }
.lists-tile-text { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 12px 16px 14px; }
.lists-kicker { flex-basis: 100%; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dark); }
.lists-tile a { font-family: var(--heading); font-weight: 600; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.lists-tile a:hover { text-decoration: underline; }
.fcard .rule { background: none; padding: 0; margin: 8px 0 0; font-family: var(--heading); font-style: italic; font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.fcard .rule b { display: inline; margin-right: 6px; font-family: var(--body); font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-soft); }
.fcard .rule.now-off b { color: var(--green); } .fcard .rule.now-no b { color: var(--coral-dark); }

/* Our own promos in the ad slots until AdSense is approved (Matt, 2026-11-03) */
.house { display: flex; align-items: stretch; gap: 0; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.house img { width: 108px; flex: none; object-fit: cover; object-position: center 70%; }
.house-text { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 14px; line-height: 1.35; }
.house-kick { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-dark); }
.house-line { font-family: var(--heading); font-weight: 600; font-size: 1.02rem; }
.house strong { font-size: .88rem; color: var(--coral-dark); }
.house.tall { flex-direction: column; }
.house.tall img { width: 100%; height: 140px; }
@media (hover: hover) { .house:hover { border-color: var(--navy-soft); } }

/* ===== Computers: a wide layout for browsing pages (Matt, 2026-11-03). Phones and tablets are unchanged. ===== */
@media (min-width: 1024px) {
  .wide .wrap, .wide .hdr-inner, .wide .menu-inner { max-width: 1140px; padding-left: 32px; padding-right: 32px; }
  .wide .lede, .wide main > p, .wide .count-row { max-width: 68ch; }
  .wide .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .wide .tile img, .wide .tile .tile-art { height: 140px; }
  .wide .gcards { grid-template-columns: repeat(3, 1fr); }
  .wide .colls { grid-template-columns: repeat(4, 1fr); }
  .wide .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  body.wide:not(.filtering) .arow { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  body.wide:not(.filtering) .arow > .cardbox:nth-child(n+7) { display: flex; }
  body.wide:not(.filtering) .arow > .cardbox:nth-child(n+9) { display: none; }
  /* Swipe rows become plain grids: nothing runs off the edge */
  .wide .picks, .wide .gscroll { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; margin: 0; padding: 4px 0 12px; }
  .wide .picks { grid-template-columns: repeat(4, 1fr); }
  .wide .gscroll { grid-template-columns: repeat(3, 1fr); }
  .wide .hero-art, .wide .list-hero img { height: 300px; }
  .home.wide .hero-art { height: 460px; object-position: center 72%; }
  .wide .place-art { height: 220px; }
  .wide .ad { max-width: 720px; margin-left: auto; margin-right: auto; }
  /* Place pages: details on the left, save / address / ask on the right */
  .wide .place-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 40px; align-items: start; }
  .wide .pc-rail { position: sticky; top: 84px; padding-top: 18px; }
  .wide .pc-top .save-btn { width: 100%; justify-content: center; }
  .wide .pc-side .ad { margin-top: 16px; }
}
/* Phones and tablets: one column in the original order (name, save, address, details, ask, promo) */
@media (max-width: 1023px) {
  .place-cols { display: flex; flex-direction: column; }
  .pc-main, .pc-rail { display: contents; }
  .pc-head { order: 1; } .pc-top { order: 2; } .pc-body { order: 3; } .pc-side { order: 4; }
}
@media (min-width: 1024px) {
  .home.wide .hero .ask, .home.wide .hero .home-h1 { max-width: 760px; }
  .wide .cta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
  .wide .cta-row .plan-cta { margin-top: 0; flex-direction: column; align-items: flex-start; }
  .wide .cta-row .plan-cta img { width: 100%; height: 150px; }
  .wide .cta-row .plan-cta > div { display: flex; flex-direction: column; flex: 1; width: 100%; }
  .wide .cta-row .plan-cta .btn { margin-top: auto; align-self: flex-start; }
}
@media (min-width: 1024px) {
  .wide .featured { display: grid; grid-template-columns: 46% 1fr; grid-template-rows: auto 1fr; }
  .wide .featured .feat-label { grid-column: 2; grid-row: 1; padding: 16px 20px 0; }
  .wide .featured img { grid-column: 1; grid-row: 1 / span 2; height: 100%; min-height: 280px; }
  .wide .featured .feat-body { grid-column: 2; grid-row: 2; padding: 8px 20px 20px; }
}
/* Menu on bigger screens: a comfortable width, and Getting around / Local events pictures tall enough to see */
@media (min-width: 720px) { .mblock img { height: 130px; } .mblock { padding: 10px; } .mblock strong { font-size: 1.15rem; } .mblock small { font-size: .88rem; } }
@media (min-width: 1024px) { .wide .menu-inner { max-width: 900px; } }
/* Menu: phones keep one column in the same order; computers get two columns that fit on one screen */
.menu-inner { display: flex; flex-direction: column; }
.mcol, .mg { display: contents; }
.mg1 > * { order: 1; } .mg2 > * { order: 2; } .mg3 > * { order: 3; } .mg4 > * { order: 4; } .menu-small { order: 5; }
@media (min-width: 1024px) {
  .wide .menu-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; max-width: 1040px; padding-top: 16px; }
  .wide .mcol { display: block; }
  .wide .mg { display: block; }
  .wide .mcol-a .mg3 .menu-label { margin-top: 16px; }
  .wide .mcol-b .menu-label { margin-top: 0; }
  .wide .menu-small { grid-column: 1 / -1; }
  .wide .mcard img { width: 64px; height: 64px; }
  .wide .mblocks { margin-top: 14px; }
  .wide .mblock img { height: 150px; }
}
/* Home boxes (Plan today, Getting around, Local events): the whole box is tappable, with the same press and hover as the tiles */
.plan-cta .btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.plan-cta { transition: transform .12s ease, box-shadow .2s ease, filter .12s ease; }
.cta-art { display: block; flex: none; overflow: hidden; border-radius: 10px; }
.cta-art img { display: block; }
.plan-cta .cta-badge { z-index: 1; }
.plan-cta:active { transform: scale(.98); filter: brightness(.96); }
.plan-cta img { transition: transform .35s ease; }
@media (hover: hover) {
  .plan-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31, 42, 74, .10); }
  .plan-cta:hover img { transform: scale(1.04); }
  .mblock img { transition: transform .35s ease; }
  .mblock:hover img { transform: scale(1.04); }
}
.mblock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .plan-cta:active { transform: none; } }
@media (min-width: 1024px) { .wide .cta-row .cta-art { width: 100%; } .wide .cta-row .plan-cta img { border-radius: 0; } }
.cta-art img { border-radius: 0 !important; }
.plan-cta .btn.pop { animation-fill-mode: backwards; }   /* a leftover transform would shrink the whole-box tap area to the button */
