:root {
  --paper: #f2f5f1;
  --ink: #142418;
  --green: #2b8a55;
  --muted: #5c7563;
  --mint: #e0f0e6;
  --light-green: #b7dfc4;
  --line: #cad8cc;
  --white: #fff;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.56 Inter, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
::selection { background: var(--light-green); color: var(--ink); }
.wrap { --profile-columns: minmax(0, .92fr) minmax(0, 1.08fr); width: min(1256px, calc(100% - 112px)); margin-inline: auto; }
.icon-definitions { position: absolute; }

:is(a, button) > svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  z-index: 1;
  inset: 10px auto auto 10px;
  padding: .6rem 1rem;
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.brand {
  width: max-content;
  min-height: 79px;
  display: flex;
  align-items: center;
  gap: .38rem;
  font: 700 1.95rem/1 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand img { display: block; }

.header-actions { position: relative; display: flex; align-items: center; gap: clamp(8px, 2vw, 26px); }
.contact-link, .share-place { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.contact-link { padding: 0 4px; border: 0; background: transparent; color: inherit; font-family: inherit; cursor: pointer; text-decoration: none; }
.contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.share-place {
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}

.share-place:hover { background: var(--mint); }
.share-place:disabled { cursor: wait; }
.share-feedback { position: absolute; z-index: 2; top: calc(100% + 8px); right: 0; width: max-content; max-width: 220px; font-size: .83rem; }
.share-feedback:not(:empty) { padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--paper); }

html:has(#place-contact[open]) { overflow: hidden; }
#place-contact {
  width: min(46rem, calc(100% - 40px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
#place-contact::backdrop { background: rgb(14 32 20 / 52%); }
.contact-layout { display: grid; grid-template-columns: 34% minmax(0, 1fr); }
.contact-recipient { position: relative; isolation: isolate; overflow: hidden; padding: 44px 24px 160px; background: #c3e1c6; }
.contact-recipient h2 { position: relative; max-width: 5ch; font-size: clamp(2.8rem, 5vw, 4.1rem); line-height: .97; letter-spacing: -.065em; text-wrap: balance; }
.contact-recipient h2:focus { outline: none; }
.contact-recipient p { position: relative; margin-top: 16px; font-size: .95rem; }
.contact-mark { position: absolute; z-index: -1; bottom: -28px; left: -27px; width: min(94%, 235px); height: auto; transform: rotate(-9deg); }
.contact-letter { min-width: 0; padding: 42px clamp(22px, 3vw, 42px) 32px; }
.contact-close { position: absolute; z-index: 2; top: 2px; right: 3px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.contact-close svg { width: 20px; height: 20px; }
.contact-close:hover { color: var(--green); }
.place-contact-form { display: grid; gap: 22px; }
.place-contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.place-contact-form legend, .letter-field { padding: 0; font-size: .84rem; font-weight: 660; }
.contact-topics > div { display: flex; border-bottom: 1px solid var(--line); }
.contact-topics label { position: relative; flex: 1; cursor: pointer; }
.contact-topics label input, .place-contact-form .contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-topics span { display: grid; align-items: center; min-height: 44px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--muted); font-size: .88rem; }
.contact-topics input:checked + span { border-color: var(--ink); color: var(--ink); font-weight: 650; }
.contact-topics input:focus-visible + span { outline: 2px solid var(--green); outline-offset: -3px; }
.contact-topics label:hover span { color: var(--ink); }
.contact-reasons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.contact-reasons label { display: flex; align-items: center; gap: 6px; min-height: 40px; font-size: .84rem; cursor: pointer; }
.contact-reasons input { margin: 0; accent-color: var(--green); }
.letter-field { display: grid; gap: 4px; }
.letter-field :is(input,textarea) { width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid #8ea293; border-radius: 0; padding: 8px 2px; background: transparent; color: var(--ink); font: 400 1rem/1.5 Inter, sans-serif; }
.letter-field textarea { resize: vertical; }
.letter-field :is(input,textarea)::placeholder { color: #596d60; }
.letter-field :is(input,textarea):focus-visible { outline: 0; border-color: var(--green); box-shadow: 0 1px var(--green); }
.contact-error { color: #823920; font-size: .9rem; }
.contact-confirmation { max-width: 27ch; font-size: 1.12rem; text-wrap: pretty; }
.contact-send { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; justify-self: end; min-height: 46px; border: 0; border-radius: 5px; padding: 10px 16px; background: var(--ink); color: var(--paper); font: 640 .94rem/1.4 Inter, sans-serif; cursor: pointer; }
.contact-send:hover { background: #284b33; }
.contact-send:disabled { cursor: wait; }
.producer-note { margin-top: 20px; max-width: 49ch; font-size: .96rem; text-wrap: pretty; }
@media (max-width: 620px) {
  #place-contact { width: min(30rem, calc(100% - 24px)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-recipient { padding: 24px 106px 21px 22px; }
  .contact-recipient h2 { max-width: none; font-size: clamp(2.3rem, 9vw, 3rem); }
  .contact-recipient p { margin-top: 6px; }
  .contact-mark { left: auto; right: 13px; bottom: -28px; width: 84px; }
  .contact-letter { padding: 20px 22px 22px; }
  .place-contact-form { gap: 16px; }
}
@media (max-width: 360px) {
  .site-header .wrap { width: calc(100% - 24px); }
  .header-actions { gap: 4px; }
  .share-place { gap: 5px; padding-inline: 8px; }
}

main { padding-block: clamp(24px, 4vw, 48px) clamp(42px, 5.6vw, 80px); }

.hero {
  display: grid;
  grid-template-columns: var(--profile-columns);
  overflow: clip;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
}

.intro {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(24px, 4.4vw, 64px);
}

.hero :focus-visible { outline-color: var(--light-green); }
.hero:has(.map[hidden]) .intro { grid-column: 1 / -1; }
.location { display: flex; align-items: center; flex-wrap: wrap; gap: .47em; color: var(--light-green); font-size: .88rem; font-weight: 580; }
h1, h2, .lead { font-family: "Space Grotesk", sans-serif; }

h1 {
  margin-bottom: .12em;
  font-size: clamp(3.1rem, 7.2vw, 6rem);
  line-height: .99;
  font-weight: 640;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.lead { max-width: 22ch; margin-top: 23px; font-size: clamp(1.45rem, 2.55vw, 2.25rem); font-weight: 530; letter-spacing: -.032em; line-height: 1.14; text-wrap: balance; }
.description { max-width: 39ch; margin-top: 9px; color: var(--mint); font-size: clamp(.92rem, 1.23vw, 1.05rem); }

.open-map {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 9px 16px;
  margin-top: clamp(15px, 2.2vw, 26px);
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 650;
  text-decoration: none;
}

.open-map:hover { background: var(--light-green); }
.unavailable { margin-top: 18px; }

.map { min-width: 0; position: relative; display: grid; align-items: center; background: #cfe5e7; }

.map-view {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1250 / 910;
}

.map-view > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-view:focus-visible { outline: 3px solid var(--ink); outline-offset: -5px; }
.map-view:hover .pin-symbol { outline: 2px solid var(--ink); }

.map-pin {
  --pin-size: clamp(36px, 4.2vw, 49px);
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  width: var(--pin-size);
  padding-bottom: 8px;
  transform: translate(-50%, -100%);
}

.pin-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 3px 10px #14241833;
}

.pin-symbol img { width: 82%; height: auto; display: block; }

.pin-symbol::after {
  content: "";
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  width: 15px;
  height: 10px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}

.pin-name {
  position: absolute;
  top: calc(var(--pin-size) / 2);
  right: calc(100% + 7px);
  width: max-content;
  max-width: clamp(68px, 19vw, 144px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: .23rem .55rem;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-50%);
  font-size: .78rem;
  font-weight: 660;
}

.map-pin.label-right .pin-name { right: auto; left: calc(100% + 7px); }
.map-pin.pin-below { padding: 8px 0 0; transform: translate(-50%, 0); }
.map-pin.pin-below .pin-symbol::after { top: -8px; transform: translateX(-50%) rotate(180deg); }
.map-pin.pin-below .pin-name { top: calc(var(--pin-size) / 2 + 8px); }

.map-place {
  position: absolute;
  inset: 65% auto auto 38%;
  color: #304b38;
  font-weight: 650;
  letter-spacing: -.016em;
  text-shadow: 0 0 4px var(--white), 0 0 3px var(--white);
}

.map figcaption { position: absolute; right: 8px; bottom: 8px; }
.map figcaption a { display: flex; align-items: center; min-height: 32px; padding-inline: 8px; border-radius: 5px; background: var(--paper); color: var(--ink); font-size: .75rem; text-underline-offset: 2px; }
.map figcaption a:focus-visible { outline-color: var(--ink); }

.profile-sections {
  display: grid;
  grid-template-columns: var(--profile-columns);
  margin-top: clamp(27px, 4.1vw, 55px);
}

.profile-sections > section:first-child { padding-inline-end: clamp(23px, 5.6vw, 78px); }
.practical { padding-inline-start: clamp(23px, 4.3vw, 60px); border-inline-start: 1px solid var(--line); scroll-margin-top: 20px; }
.profile-sections h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 630; line-height: 1.08; letter-spacing: -.04em; }
.story { margin-top: 7px; max-width: 44ch; color: var(--muted); font-size: .96rem; text-wrap: pretty; }
.wares { list-style: none; margin: 17px 0 0; padding: 0; border-bottom: 1px solid var(--line); }
.wares li { display: flex; align-items: center; gap: .65rem; border-top: 1px solid var(--line); padding-block: .54rem; line-height: 1.38; font-size: .92rem; font-weight: 570; }
.wares li::before { content: ""; width: 9px; height: 9px; flex: none; border: 1px solid var(--green); border-radius: 60% 0 60% 0; transform: rotate(-8deg); }
.practical dl { margin-top: 13px; border-bottom: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.31fr); gap: 8px 16px; align-items: baseline; padding-block: 10px; border-top: 1px solid var(--line); }
.fact dt { color: var(--muted); font-size: .83rem; }
.fact dd { font-weight: 570; font-size: .88rem; overflow-wrap: anywhere; }
.hour { display: block; }
.hours-note { display: block; font-weight: 450; line-height: 1.5; }
.hour + .hours-note { margin-top: .5rem; }
.text-link { display: flex; width: max-content; max-width: 100%; min-height: 44px; align-items: center; gap: 7px; margin-top: 5px; font-size: .88rem; font-weight: 640; text-underline-offset: 4px; text-decoration-color: var(--green); }
.text-link:hover { color: #226b43; }
.text-link + .text-link { margin-top: 0; }

.site-footer { overflow: hidden; background: var(--ink); color: var(--paper); }

.footer-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 216px;
  align-items: center;
  padding-block: 35px;
}

.footer-copy { position: relative; z-index: 1; }
.footer-copy h2 { max-width: 20ch; font-size: clamp(1.65rem, 4.2vw, 3.25rem); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; }

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 7px;
  color: var(--light-green);
  font-size: .9rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.footer-link:hover { color: var(--white); }
.footer-link:focus-visible { outline-color: var(--light-green); }

.footer-mark {
  position: absolute;
  pointer-events: none;
  width: clamp(132px, 27vw, 368px);
  height: auto;
  right: -12px;
  bottom: -49%;
  opacity: .37;
}

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .brand { min-height: 64px; font-size: 1.62rem; }
  .brand img { width: 43px; height: 43px; }
  .hero, .profile-sections { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.2rem, 13.6vw, 5.3rem); }
  .lead { margin-top: 16px; }
  .map-place { font-size: .85rem; }
  .profile-sections { gap: 24px; }
  .profile-sections > section:first-child { padding-inline-end: 0; }
  .practical { border-inline-start: 0; padding-inline-start: 0; }
  .footer-inner { min-height: 168px; }
  .footer-copy { max-width: 64%; }
  .footer-mark { width: clamp(162px, 42vw, 255px); right: -23px; bottom: -20%; }
}
