/* The country is an unframed editorial section, directly after the clothing collection. */
.territory{background:var(--paper);border-top:1px solid var(--line)}
.territory-heading{margin-bottom:30px}
.territory-heading h2{font:42px/1.15 Georgia,serif;margin:0 0 16px;max-width:650px}
.territory-heading>p:last-child{font-size:15px;color:var(--muted);margin:0}
.coffee-map{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:5%;align-items:start}
.coffee-map-visual,.coffee-map-info{min-width:0}
.coffee-map-canvas{position:relative;width:100%;aspect-ratio:640/360}
#coffee-map-svg{display:block;width:100%;height:100%;overflow:visible}
.department-shape{fill:#e8e9df;stroke:#94a28c;stroke-width:.65;vector-effect:non-scaling-stroke;stroke-linejoin:round;transition:fill .2s}
.department-shape.is-active{fill:#cfdbc5}
.department-label{font:10px Arial,sans-serif;fill:#3d5042;pointer-events:none;paint-order:stroke;stroke:#f8f6ef;stroke-width:2px;stroke-linejoin:round}
.department-short{display:none}
.map-neighbor,.map-north{font:9px Arial,sans-serif;fill:#737c6c}
.map-ocean{font:italic 14px Georgia,serif;fill:#788c8a}
.coffee-map .coffee-map-pin{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:44px;height:44px;min-height:44px;min-width:44px;padding:0;border:0;background:transparent;border-radius:0;transform:translate(-50%,-50%);box-shadow:none;color:var(--green);z-index:1}
.coffee-map-pin .mountain-symbol{display:block;width:30px;height:27px;background:currentColor;-webkit-mask:url('assets/mountain.svg') center/contain no-repeat;mask:url('assets/mountain.svg') center/contain no-repeat}
.coffee-map-pin>span:last-child{font:9px/1 Arial,sans-serif;padding:1px 3px;background:var(--paper)}
.coffee-map-pin[aria-pressed=true]{color:var(--brown);z-index:2}
.coffee-map-pin:hover{color:var(--brown)}
.coffee-map-pin[aria-pressed=true] .mountain-symbol{background:var(--brown)}
.coffee-region-list{display:flex;flex-direction:column;margin-top:24px;border-top:1px solid var(--line)}
.coffee-region-list button{display:flex;align-items:center;gap:12px;min-width:0;min-height:44px;padding:12px 0;text-align:left;font:12px/1.5 Arial,sans-serif;color:var(--muted);background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;transform:none}
.coffee-region-list button>span{font-size:10px;color:#737764;flex-shrink:0}
.coffee-region-list button[aria-pressed=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}
.coffee-map button:focus-visible{outline:2px solid var(--brown);outline-offset:2px}
.coffee-region-detail{min-height:225px;padding-top:8px}
#coffee-region-position{font-size:10px;color:var(--brown);margin:0 0 14px}
#coffee-region-name{font:27px/1.2 Georgia,serif;margin:0 0 14px;overflow-wrap:anywhere}
#coffee-region-description{font-size:14px;line-height:1.7;margin:0;color:var(--muted)}
.department-caption{font-size:9px;margin:20px 0 7px;color:var(--muted)}
#coffee-region-departments{font-size:13px;line-height:1.6;margin:0}
.coffee-map-source,.coffee-map-status{font-size:10px;line-height:1.7;color:var(--muted);margin:20px 0 0}
.coffee-map-source a{text-decoration:underline;text-underline-offset:3px}
.coffee-map-credits{margin-top:14px;color:var(--muted)}
.coffee-map-credits>summary{width:fit-content;min-height:44px;display:flex;align-items:center;gap:8px;list-style:none;padding:0;font:11px/1.5 Arial,sans-serif}
.coffee-map-credits>summary::-webkit-details-marker{display:none}
.coffee-map-credits>summary::before{content:'+';font-size:16px;font-weight:400}
.coffee-map-credits[open]>summary::before{content:'−'}
.coffee-map-credits .coffee-map-source{margin:0;font-size:10px}
/* The transparent wordmark belongs to the footer surface, without a cream tile. */
.site-footer .footer-brand>a{display:inline-block;padding:0;background:transparent;border:0;border-radius:0}
.site-footer .footer-brand img{display:block;width:180px;height:auto;aspect-ratio:1000/660;object-fit:contain}
.site-footer .footer-brand p{margin-top:26px;padding-top:20px;border-top:1px solid #d1b07a55;max-width:270px}
@media(max-width:1000px){.coffee-map{grid-template-columns:1fr;gap:30px}.coffee-map-visual{max-width:850px}.coffee-map-info{display:grid;grid-template-columns:1fr 1fr;gap:32px}.coffee-region-list{margin:0}.coffee-region-detail{min-height:240px}}
/* Mobile separates the map and its legend, retaining 44px mountain touch targets. */
@media(max-width:650px){.territory-heading h2{font-size:34px}.territory-heading{margin-bottom:24px}.coffee-map{gap:24px}.coffee-map-info{display:block}.coffee-region-detail{min-height:220px}.coffee-region-list{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;margin-top:20px}.coffee-region-list button{font-size:11px;gap:7px}.department-full{display:none}.department-short{display:inline;font-size:17px;stroke-width:2.5px}.map-neighbor{font-size:12px}.map-ocean{font-size:18px}.coffee-map-pin .mountain-symbol{width:27px;height:24px}.site-footer .footer-brand img{width:160px}}
@media(prefers-reduced-motion:reduce){.department-shape{transition:none}}
