@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --green: #303d20;
  --orange: #c55028;
  --yellow: #ecb13f;
  --blue: #1f4388;
  --sand: #ecddc0;
  --paper: #f8f4e9;
  --white: #fffdf7;
  --ink: #27311e;
  --quiet: #525b48;
  --line: #e4dfd1;
  --shadow: 0 10px 28px #303d2010;
  color: var(--ink);
  background: var(--paper);
  font: 500 16px/1.5 Manrope, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, #map:focus-visible {
  outline: 3px solid #3265bb;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
h1, h2, h3, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1220px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); z-index: 20; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { background: #27341c; color: var(--white); }
.header-content { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: 84px; display: inline-flex; align-items: center; }
.brand img { object-fit: contain; width: 83px; height: auto; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-size: .91rem; font-weight: 750; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--yellow); }
.site-header nav a .icon { width: 17px; height: 17px; }
.header-find { justify-self: end; min-height: 42px; display: inline-flex; gap: 7px; align-items: center; padding: 7px 14px; color: var(--white); border: 1px solid #a6a98b; background: transparent; border-radius: 999px; font-size: .85rem; font-weight: 800; white-space: nowrap; }
.header-find:hover { background: #ffffff15; }
.header-find .icon { width: 17px; height: 17px; }

.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(ellipse at 85% 61%, #4f6532 0, var(--green) 50%, #2a3820 100%); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("assets/grain.png"); opacity: .27; pointer-events: none; z-index: -1; }
.hero-content { min-height: 278px; position: relative; display: flex; align-items: center; }
.hero-copy { max-width: 520px; padding: 27px 0 30px; position: relative; z-index: 1; }
.hero-location { display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .18em; color: #f6d884; font-size: .79rem; font-weight: 800; }
.hero-location span { width: 18px; height: 2px; background: var(--yellow); }
.hero h1 { font-size: clamp(3.65rem, 5.4vw, 4.5rem); font-weight: 800; line-height: .90; letter-spacing: -.057em; margin: 12px 0 13px; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-description { font-size: .96rem; max-width: 335px; color: #f2eddf; margin-bottom: 15px; }
.button { min-height: 44px; border: 1px solid transparent; border-radius: 9px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: .9rem; line-height: 1.25; }
.button:hover { filter: brightness(.94); }
.button-yellow { background: var(--yellow); color: #22291b; }
.button-green { background: var(--green); color: var(--white); }
.button-outline { background: var(--white); border-color: #aab095; color: var(--green); }
.hero-art { position: absolute; top: 0; bottom: 0; right: 2%; width: 51%; pointer-events: none; }
.hero-felino { position: absolute; top: 50%; left: 51%; width: min(62%, 210px); transform: translate(-50%, -50%) rotate(-8deg); }
.hero-felino img { width: 100%; display: block; filter: brightness(0) saturate(100%) invert(93%) sepia(11%) saturate(648%) hue-rotate(338deg) brightness(106%) contrast(91%) drop-shadow(0 15px 15px #202b1b65); }
.hero-orbit { position: absolute; left: 51%; top: 50%; width: 87%; aspect-ratio: 1; border: 1px solid #ebce7c38; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-two { width: 75%; border-style: dashed; }
.orbit-three { width: 63%; border-color: #ebce7c50; }
.hero-sun { position: absolute; top: 12%; right: 9%; background: var(--orange); width: 80px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; transform: rotate(11deg); box-shadow: 0 4px 15px #202b1b44; }
.hero-sun img { width: 59%; }
.hero-badge { position: absolute; width: 59px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); bottom: 16%; left: 12%; transform: rotate(-9deg); box-shadow: 0 4px 15px #202b1b44; }
.hero-badge .icon { width: 27px; height: 27px; stroke-width: 1.5; }
.signal { position: absolute; width: 10px; aspect-ratio: 1; background: var(--yellow); border: 2px solid #edc76e; border-radius: 50%; box-shadow: 0 0 0 5px #edc76e29; }
.signal-top { top: 20%; left: 21%; }
.signal-bottom { bottom: 17%; right: 16%; }

.route-section { padding-block: 28px 40px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(1.83rem, 4.1vw, 2.55rem); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; }
.section-heading p { color: var(--quiet); margin-top: 7px; }
.mode-badge { white-space: nowrap; color: #664916; background: #f3e4bd; border: 1px solid #ead7a6; border-radius: 999px; padding: 5px 11px; font-size: .78rem; font-weight: 800; }
.quick-stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.quick-stop { display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.quick-stop:hover:enabled { background: #f1eee2; }
.quick-stop:disabled { cursor: default; }
.quick-stop:disabled .quick-chevron { visibility: hidden; }
.quick-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #a33c1d; color: white; }
.quick-next .quick-icon { background: var(--yellow); color: var(--ink); }
.quick-detail > span, .quick-detail > strong { display: block; }
.quick-label { font-size: .76rem; color: var(--quiet); font-weight: 800; }
.quick-detail strong { font-size: 1.15rem; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.quick-time { font-size: .76rem; color: var(--quiet); margin-top: 3px; }
.quick-chevron { width: 16px; height: 16px; color: var(--quiet); }
.location-tools { display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 11px 15px; border-bottom: 1px solid var(--line); }
.location-info h3 { font-size: .95rem; font-weight: 800; }
.location-info p, .itinerary-updated { color: var(--quiet); font-size: .79rem; overflow-wrap: anywhere; }
.location-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.location-actions .button { min-height: 40px; white-space: nowrap; font-size: .8rem; padding-inline: 9px; }
.button-quiet { background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.location-actions .button:disabled { cursor: wait; opacity: .7; }
.route-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .50fr); align-items: start; gap: 20px; }
.map-card, .stops-card { min-width: 0; border: 1px solid var(--line); background: var(--white); border-radius: 15px; box-shadow: var(--shadow); overflow: hidden; }
.map-body { height: 350px; position: relative; background: #d5e3e5; isolation: isolate; }
#map { position: absolute; inset: 0; z-index: 0; background: #dce8e6; }
.map-fallback { position: absolute; z-index: 1; top: 14px; left: 14px; right: 60px; padding: 8px 12px; background: var(--white); border-radius: 8px; color: var(--quiet); font-size: .85rem; pointer-events: none; }
.map-fit { z-index: 2; position: absolute; right: 10px; top: 88px; background: var(--white); color: var(--green); width: 34px; height: 34px; border: 1px solid #b3b7a6; border-radius: 5px; display: grid; place-items: center; padding: 0; }
.map-fit:hover { background: #f2f0e8; }
.map-expand { top: 132px; }
.map-card:fullscreen, .map-dialog .map-card { display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; border-radius: 0; }
.map-card:fullscreen .map-body, .map-dialog .map-body { flex: 1; height: auto; }
.map-dialog { width: 100%; height: 100%; max-width: none; max-height: none; inset: 0; margin: 0; padding: 0; border: 0; border-radius: 0; }
.map-bottom { display: flex; flex-wrap: wrap; gap: 7px 20px; align-items: center; padding: 13px 17px; font-size: .78rem; color: var(--quiet); font-weight: 750; }
.map-bottom span { display: inline-flex; align-items: center; gap: 7px; }
.map-bottom i { display: inline-block; }
.legend-dot { width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }
.legend-stop { width: 10px; height: 10px; background: var(--yellow); border: 1px solid #886318; border-radius: 50%; }
.legend-user { width: 10px; height: 10px; background: var(--blue); border-radius: 50%; }
.legend-route { width: 17px; border-top: 2px dashed var(--orange); }
.leaflet-container { font-family: Manrope, sans-serif; }
.leaflet-tile-pane { filter: saturate(.88) sepia(.06); }
.leaflet-container .leaflet-control-attribution { font-size: 11px; color: #333b30; }
.leaflet-popup-content { margin: 12px 18px; font-size: .86rem; }
.leaflet-control-zoom { border-radius: 6px; overflow: hidden; }
.map-marker { border: 0; background: transparent; }
.map-marker span { display: grid; place-items: center; width: 33px; height: 33px; color: var(--ink); background: var(--yellow); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 7px #213b4160; font-size: 15px; font-weight: 800; }
.map-marker.is-current span { width: 43px; height: 43px; margin: -5px; background: var(--orange); color: white; }
.map-marker.is-current .icon { width: 21px; height: 21px; stroke-width: 2; }
.map-marker:focus-visible { outline: 3px solid #3265bb; outline-offset: 5px; border-radius: 50%; }
.leaflet-tooltip.stop-tag { padding: 5px 8px; border: 1px solid #e1ddd0; border-radius: 6px; background: #fffdf7; color: var(--ink); font-size: 12px; font-weight: 800; box-shadow: 0 1px 5px #23311d26; }
.visitor-marker span { display: block; width: 22px; height: 22px; background: var(--blue); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 5px #1f438840, 0 2px 6px #213b4180; }
.vehicle-marker span { display: grid; place-items: center; width: 35px; height: 35px; color: white; background: var(--orange); border: 2px solid white; border-radius: 9px; box-shadow: 0 2px 6px #213b4180; }
.leaflet-tooltip.visitor-tag { color: var(--blue); }
.itinerary { padding: 16px 19px 11px; }
.itinerary h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: 5px; }
.itinerary-updated { margin-bottom: 7px; }
.itinerary-note { color: var(--quiet); font-size: .78rem; line-height: 1.45; padding-block: 10px 4px; border-top: 1px solid var(--line); }
.stop-entry + .stop-entry { border-top: 1px solid var(--line); }
.stop-button { width: 100%; padding: 12px 0; background: transparent; border: 0; text-align: left; color: var(--ink); display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 14px; align-items: center; gap: 8px; }
.stop-button:hover .stop-name { text-decoration: underline; text-underline-offset: 3px; }
.stop-number { width: 26px; aspect-ratio: 1; display: grid; place-items: center; color: var(--blue); background: #e9edf6; border-radius: 50%; font-size: .77rem; font-weight: 800; }
.stop-name { font-size: .9rem; font-weight: 800; line-height: 1.25; display: block; overflow-wrap: anywhere; }
.stop-status { display: block; margin-top: 3px; font-size: .72rem; color: var(--quiet); font-weight: 700; }
.stop-time { font-weight: 800; font-size: .8rem; white-space: nowrap; }
.stop-button .icon { width: 15px; height: 15px; color: var(--quiet); }
.empty-stops { padding: 12px 0; color: var(--quiet); font-size: .88rem; }

.meetup { margin-top: 20px; padding: 16px 19px; background: #edf0e4; border: 1px solid #dfe5d1; border-radius: 13px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; }
.meetup-icon { width: 46px; aspect-ratio: 1; display: grid; place-items: center; background: var(--green); color: var(--white); border-radius: 10px; }
.meetup h3 { line-height: 1.3; font-size: 1.03rem; font-weight: 800; }
.meetup p { font-size: .88rem; color: var(--quiet); margin-top: 2px; }
.menu-section { padding-block: 40px; background: #efe8d8; border-top: 1px solid var(--line); }
.menu-actions { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; }
.stock-toggle { display: inline-flex; gap: 8px; min-height: 40px; align-items: center; color: var(--ink); font-weight: 750; font-size: .88rem; }
.stock-toggle input { accent-color: var(--green); width: 17px; height: 17px; margin: 0; }
.menu-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.menu-item { display: grid; grid-template-columns: 37px 1fr auto; align-items: start; gap: 10px; padding: 15px; border: 1px solid #e5dbc6; background: var(--white); border-radius: 10px; }
.menu-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 8px; background: #c55028; }
.menu-icon img { width: 24px; }
.menu-item h3 { font-size: .98rem; font-weight: 800; margin-bottom: 2px; }
.menu-item p { color: var(--quiet); font-size: .79rem; }
.menu-price { white-space: nowrap; font-size: .92rem; font-weight: 800; }
.menu-product-actions { display: grid; justify-items: end; }
.menu-order-link { display: grid; align-items: center; min-height: 36px; font-size: .77rem; font-weight: 800; color: var(--green); text-underline-offset: 3px; }
.stock-status { display: inline-block; color: #345222; font-size: .72rem; font-weight: 800; margin-top: 4px; }
.menu-item.unavailable .stock-status { color: #9c3e24; }
.menu-note { color: var(--quiet); margin-top: 12px; font-size: .82rem; }
.site-footer { background: var(--green); color: var(--white); }
.footer-content { min-height: 100px; display: flex; gap: 12px 25px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 16px; font-size: .85rem; }
.footer-content a { text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.footer-content a:hover { text-decoration: underline; }
.footer-content a .icon { width: 16px; height: 16px; }

dialog { position: fixed; width: min(430px, calc(100% - 30px)); max-height: calc(100% - 34px); background: var(--white); color: var(--ink); padding: 23px; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 12px 40px #14200b5e; overflow: auto; }
dialog::backdrop { background: #202b1bcc; }
dialog h2 { padding-right: 39px; font-size: 1.61rem; font-weight: 800; letter-spacing: -.05em; }
dialog h3 { margin-top: 10px; }
dialog p { color: var(--quiet); font-size: .9rem; margin-top: 4px; }
.dialog-close { position: absolute; top: 13px; right: 13px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.destination-time { display: flex; align-items: center; gap: 7px; }
.destination-time .icon { width: 17px; height: 17px; }
.destination-pickup { color: #375525; font-weight: 800; }
.travel-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.dialog-footnote { font-size: .77rem; margin-top: 10px; }
.dialog-order { width: 100%; margin-top: 10px; }
#finder-form { display: grid; gap: 9px; margin-top: 16px; }
#finder-form > label:first-child { font-size: .87rem; font-weight: 800; }
#arrival { color: var(--ink); border: 1px solid #aab095; background: white; border-radius: 8px; padding: 8px 12px; min-height: 44px; width: 100%; }
.finder-result { margin-top: 15px; padding: 12px; border-radius: 9px; background: #edf0e4; }
.finder-result .button { margin-top: 10px; }

@media (max-width: 990px) {
  .wrap { width: calc(100% - 56px); }
  .hero-content { min-height: 275px; }
  .hero-art { right: 0; }
  .hero-felino { width: min(64%, 215px); }
  .hero-sun { top: 14%; right: 4%; width: 62px; }
  .hero-badge { width: 47px; left: 9%; }
  .route-grid { grid-template-columns: minmax(0, 1.2fr) minmax(267px, 1fr); gap: 14px; }
  .itinerary { padding-inline: 13px; }
  .map-body { height: 350px; }
  .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .header-content { min-height: 60px; grid-template-columns: auto 1fr; gap: 13px; }
  .brand { width: 66px; }
  .site-header nav { justify-self: end; gap: 15px; }
  .site-header nav a { font-size: .81rem; gap: 4px; }
  .site-header nav a .icon { width: 15px; height: 15px; }
  .header-find { display: none; }
  .hero-content { min-height: 210px; }
  .hero-copy { padding: 20px 0; }
  .hero-location { font-size: .68rem; letter-spacing: .13em; }
  .hero-location span { width: 12px; }
  .hero h1 { font-size: clamp(2.4rem, 10.8vw, 3.7rem); margin-block: 10px 13px; }
  .hero-description { display: none; }
  .hero-art { width: 45%; top: 2%; right: -2%; bottom: 18%; }
  .hero-felino { width: 82%; opacity: .95; left: 55%; }
  .hero-orbit { width: 132%; left: 54%; }
  .orbit-two { width: 109%; }
  .orbit-three { width: 87%; }
  .hero-sun { top: 8%; right: 8%; width: 36px; }
  .hero-badge { width: 32px; bottom: 9%; left: 23%; }
  .hero-badge .icon { width: 17px; height: 17px; }
  .signal { width: 6px; box-shadow: none; }
  .signal-top { top: 22%; left: 25%; }
  .signal-bottom { bottom: 16%; right: 8%; }
  .route-section { padding-block: 25px 32px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 14px; gap: 9px; }
  .section-heading p { font-size: .9rem; }
  .quick-stops { gap: 7px; margin-bottom: 10px; }
  .quick-stop { grid-template-columns: minmax(0, 1fr) 14px; gap: 4px; padding: 8px 9px; }
  .quick-icon { display: none; }
  .quick-detail strong { font-size: .94rem; }
  .quick-label, .quick-time { font-size: .68rem; }
  .location-tools { padding: 9px 11px; }
  .location-tools .button { min-height: 44px; }
  .route-grid { display: flex; flex-direction: column; gap: 13px; }
  .map-card, .stops-card { width: 100%; }
  .map-body { height: 285px; }
  .map-fit { width: 40px; height: 40px; }
  .map-expand { top: 135px; }
  .menu-order-link { min-height: 44px; }
  .map-bottom { font-size: .69rem; padding: 9px 10px; gap: 4px 10px; }
  .itinerary { padding-inline: 15px; }
  .meetup { grid-template-columns: 36px 1fr; gap: 8px 10px; margin-top: 13px; padding: 12px; }
  .meetup-icon { width: 36px; }
  .meetup .button { grid-column: 2; justify-self: start; }
  .menu-section { padding-block: 28px; }
  .menu-list { grid-template-columns: 1fr; }
  .footer-content p { flex-basis: 100%; order: 1; }
}

@media (max-width: 355px) {
  .hero-felino { opacity: .52; }
  .hero-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

