:root {
  --fog: #E4EBE8; --fog-deep: #CFDAD5; --fir: #1F3B2D; --fir-mid: #3E5E4A; --moss: #A9BC95;
  --bark: #7A3B22; --ink: #17201B; --ink-soft: #4A5650; --surface: #F3F6F4;
  --ridge-far: #B7C7C0; --ridge-mid: #7F998C; --ridge-near: #3E5E4A; --ridge-front: #1F3B2D;
  color-scheme: light; box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fog: #121A16; --fog-deep: #2A3830; --fir: #CFE0D2; --fir-mid: #9DB8A6; --moss: #5F7A58;
    --bark: #E0A07F; --ink: #E6EEE9; --ink-soft: #A5B3AB; --surface: #18221D;
    --ridge-far: #26342D; --ridge-mid: #2F4438; --ridge-near: #23392D; --ridge-front: #0C130F;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: inherit; }
[hidden] { display: none !important; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--fog); color: var(--ink);
  font-family: "Alegreya Sans", "Gill Sans", "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.5; }
a { color: var(--bark); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--bark); outline-offset: 2px; }

.hero { position: relative; overflow: hidden; padding: 1rem 1.25rem 0; }
.topnav { max-width: 56rem; margin: 0 auto 2.5rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.home .topnav { justify-content: flex-end; }
.topnav .brand { font-family: "Alegreya", Georgia, serif; font-weight: 700; color: var(--fir); text-decoration: none; font-size: 1.1rem; }
.topnav .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.topnav .links a { color: var(--ink-soft); text-decoration: none; }
.topnav .links a[aria-current="page"] { color: var(--fir); font-weight: 700; }
.topnav .links a:hover { color: var(--fir); text-decoration: underline; }
.hero-text { max-width: 56rem; margin: 0 auto; position: relative; z-index: 2; }
.hero h1 { font-family: "Alegreya", Georgia, serif; font-weight: 800; font-size: clamp(2.6rem, 8vw, 5.25rem);
  line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 1rem; color: var(--fir); max-width: 46rem; }
.hero h1 .h1-sub { display: block; font-size: max(1.35rem, 0.42em); font-weight: 700; letter-spacing: 0; line-height: 1.15; margin-top: 0.35rem; }
.sub .hero h1 { font-size: clamp(2.2rem, 6vw, 3.75rem); line-height: 1.02; }
.hero p { font-size: 1.2rem; max-width: 34rem; margin: 0; color: var(--ink-soft); }
.ridges { display: block; width: calc(100% + 2.5rem); max-width: none; height: auto; margin: 1rem -1.25rem -1px; }

main { background: var(--ridge-front); color: #E6EEE9; padding: 0 1.25rem 4rem; }
.wrap { max-width: 56rem; margin: 0 auto; }
main a { color: #F0C2A6; }

.controls { padding: 0.5rem 0 1.75rem; }
.areas { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.areas button { font: inherit; font-size: 0.95rem; padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid #4F6B5B; background: transparent; color: #CFE0D2; cursor: pointer; }
.areas button[aria-pressed="true"] { background: #A9BC95; border-color: #A9BC95; color: #13241A; font-weight: 700; }

.farm-list { list-style: none; margin: 0; padding: 0; }
.farm { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info signs" "contact signs"; gap: 0.5rem 2rem; padding: 1.6rem 0; border-top: 1px solid #36513F; }
.farm h2 { font-family: "Alegreya", Georgia, serif; font-weight: 700; font-size: 1.6rem; line-height: 1.15; margin: 0 0 0.2rem; }
.farm h2 a { color: #F2F6F3; text-decoration: none; }
.farm h2 a:hover { text-decoration: underline; }
.farm .area { color: #A9BC95; font-size: 0.95rem; margin: 0 0 0.6rem; }
.farm .desc { margin: 0; color: #C9D6CE; max-width: 36rem; }
.contact { font-size: 0.98rem; display: flex; flex-direction: column; gap: 0.35rem; }
.contact .more { font-weight: 700; }
.farm .info { grid-area: info; }
.farm .contact { grid-area: contact; flex-direction: row; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.farm .sign-slot { grid-area: signs; align-self: start; }
.signs { display: flex; gap: 0.45rem; }
.signs .sign { width: 7.6rem; min-height: 5.2rem; padding: 0.5rem 0.4rem; }
.sign.is-later { opacity: 0.78; box-shadow: none; }
.sign.is-today.sign-next { border-color: #F6F3EA; box-shadow: 0 0 0 2px #A9BC95; }
.sign.is-closed .sign-main { color: #9A3B30; }
.sign .sign-main.is-small { font-size: 0.85rem; line-height: 1.25; }
.sign { width: 100%; min-height: 4.4rem; border-radius: 8px; padding: 0.55rem 0.5rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; line-height: 1.15; box-shadow: 0 2px 0 rgba(0,0,0,0.25); }
.sign .sign-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; }
.sign .sign-main { font-family: "Alegreya", Georgia, serif; font-weight: 800; font-size: 1.25rem; }
.sign .sign-sub { font-size: 0.85rem; margin-top: 0.1rem; }
.sign-open { background: #2E7D4F; color: #FFFFFF; border: 2px solid #5FB57F; }
.sign-open .sign-main { font-size: 1.05rem; }
.sign-closed .sign-main, .signs > .sign-closed:only-child .sign-main { font-size: 1.25rem; }
.sign-next { background: #F6F3EA; color: #1F2A23; border: 2px solid #D9D2BF; }
.sign-next .sign-main { font-size: 1rem; }
.sign .sign-appt { font-size: 0.75rem; font-style: italic; margin-top: 0.15rem; }
.sign-closed { background: #B23A2E; color: #FFFFFF; border: 2px solid #D4685C; }
.sign-closed .sign-main { letter-spacing: 0.05em; text-transform: uppercase; }
.sign-soon { background: transparent; color: #C9D6CE; border: 2px dashed #4F6B5B; box-shadow: none; }
.sign-soon .sign-main { font-size: 1rem; }
.card-sign { margin-bottom: 1rem; }
.card-sign .signs { flex-direction: column; }
.card-sign .sign { width: 100%; min-height: 0; padding: 0.6rem; }
dl.hours { margin: 0.6rem 0 0; max-width: 26rem; }
ul.nearby { list-style: none; margin: 0; padding: 0; max-width: 38rem; }
.nearby-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid #2D4636; }
.nearby-row:last-child { border-bottom: 0; }
.pill { display: inline-block; font-size: 0.82rem; line-height: 1.2; padding: 0.25rem 0.7rem; border-radius: 999px; white-space: nowrap; }
.pill-open { background: #2E7D4F; color: #FFFFFF; }
.pill-next { background: #F6F3EA; color: #1F2A23; }
.pill-closed { background: #B23A2E; color: #FFFFFF; }
.pill-soon { border: 1px dashed #4F6B5B; color: #C9D6CE; }
dl.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid #2D4636; }
dl.hours dt { color: #C9D6CE; }
dl.hours dd { margin: 0; color: #F2F6F3; }
.farm-body p.small { font-size: 0.9rem; color: #A9BC95; }

.farm-page { display: grid; grid-template-columns: 1fr 18rem; gap: 2.5rem; padding-top: 0.5rem; align-items: start; }
.farm-body p { margin: 0 0 1rem; color: #D5E0D9; max-width: 38rem; }
.farm-body section, .guide section { margin-top: 2rem; }
main h2 { font-family: "Alegreya", Georgia, serif; font-weight: 700; font-size: 1.45rem; color: #F2F6F3; margin: 0 0 0.6rem; }
.facts-card { background: #16291F; border: 1px solid #36513F; border-radius: 10px; padding: 1.25rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 1rem); }
.facts { margin: 0 0 1.25rem; }
.facts div { padding: 0.55rem 0; border-bottom: 1px solid #2D4636; }
.facts div:first-child { padding-top: 0; }
.facts dt { font-size: 0.85rem; color: #A9BC95; }
.facts dd { margin: 0.1rem 0 0; color: #EEF3F0; overflow-wrap: anywhere; }
.button { display: inline-block; font-weight: 700; padding: 0.7rem 1.1rem; border-radius: 6px; background: #A9BC95; color: #13241A !important; text-decoration: none; }
ul.ticks, ul.plain { margin: 0; padding-left: 1.2rem; color: #D5E0D9; }
ul.ticks li, ul.plain li { margin-bottom: 0.3rem; }
.farm-body p.after-list { margin-top: 0.6rem; }
.guide { max-width: 40rem; padding-top: 0.5rem; }
.guide p { color: #D5E0D9; margin: 0; }
.guide p + p, .guide ul + p { margin-top: 1rem; }
.guide section:first-child { margin-top: 0; }
.varieties { margin: 0; }
.varieties div { padding: 0.7rem 0; border-top: 1px solid #2D4636; }
.varieties dt { font-weight: 700; color: #F2F6F3; }
.varieties dt a { color: #F2F6F3; }
.varieties dd { margin: 0.15rem 0 0; color: #C9D6CE; }

.note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #36513F; color: #A9BC95; font-size: 0.98rem; }
.note.tight { border-top: 0; margin-top: 0; padding-top: 0; }
.suggest-link { font: inherit; background: none; border: 0; padding: 0; color: #F0C2A6; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.suggest-open { font: inherit; font-weight: 700; margin-top: 1rem; padding: 0.7rem 1.1rem; border-radius: 6px; border: 0; background: #A9BC95; color: #13241A; cursor: pointer; }
footer { background: var(--fog); padding: 2.75rem 1.25rem 2rem; font-size: 0.95rem; }
.footer-grid { max-width: 56rem; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-grid h2 { font-family: "Alegreya", Georgia, serif; font-size: 1.05rem; font-weight: 700; color: var(--fir); margin: 0 0 0.6rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { line-height: 1.4; margin: 0 0 0.45rem; }
.footer-grid a, .footer-base a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover, .footer-base a:hover { color: var(--fir); text-decoration: underline; }
.footer-base { max-width: 56rem; margin: 2.25rem auto 0; padding-top: 1.25rem; border-top: 1px solid var(--fog-deep); text-align: center; color: var(--ink-soft); }
.footer-base p { margin: 0.2rem 0; }
.footer-base .updated { font-size: 0.85rem; }
.footer-base a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form { margin-top: 1rem; max-width: 34rem; }
.contact-form label.field { display: block; margin-bottom: 1rem; color: #E6EEE9; font-weight: 500; }
.contact-form .opt { font-weight: 400; color: #A9BC95; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea {
  display: block; width: 100%; margin-top: 0.3rem; font: inherit; font-weight: 400; padding: 0.65rem 0.8rem;
  border-radius: 6px; border: 1px solid #4F6B5B; background: #16291F; color: #E6EEE9; }
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .status { color: #F0C2A6; min-height: 1.5em; margin: 0 0 0.75rem; }
.contact-form button { font: inherit; font-weight: 700; padding: 0.7rem 1.2rem; border-radius: 6px; border: 0;
  background: #A9BC95; color: #13241A; cursor: pointer; }
.contact-form button:disabled { opacity: 0.6; cursor: default; }

dialog { width: min(34rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 0; border-radius: 10px; padding: 0; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgba(10, 20, 15, 0.6); }
.dlg { padding: 1.5rem; }
.dlg h2 { font-family: "Alegreya", Georgia, serif; font-size: 1.6rem; color: var(--fir); margin: 0 0 0.3rem; }
.dlg .lede { margin: 0 0 1.2rem; color: var(--ink-soft); font-size: 0.98rem; }
.dlg fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.dlg legend { font-weight: 700; margin-bottom: 0.4rem; padding: 0; }
.dlg label.field, .dlg div.field { display: block; margin-bottom: 0.9rem; font-weight: 500; }
.dlg .opt { font-weight: 400; color: var(--ink-soft); }
.dlg input[type=text], .dlg input[type=email], .dlg input[type=tel], .dlg input[type=url], .dlg select, .dlg textarea {
  display: block; width: 100%; margin-top: 0.3rem; font: inherit; font-weight: 400; padding: 0.6rem 0.75rem; border-radius: 6px;
  border: 1px solid var(--fog-deep); background: var(--fog); color: var(--ink); }
.dlg textarea { min-height: 6rem; resize: vertical; }
.dlg .hp { position: absolute; left: -9999px; }
.dlg [hidden] { display: none !important; }
.dlg .actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 0.5rem; }
.dlg .actions button { font: inherit; padding: 0.6rem 1.1rem; border-radius: 6px; cursor: pointer; border: 1px solid var(--fog-deep); background: transparent; color: var(--ink); }
.dlg .actions button.primary { background: var(--fir-mid); border-color: var(--fir-mid); color: var(--surface); font-weight: 700; }
.dlg .status { margin: 0.5rem 0 0; color: var(--bark); min-height: 1.5em; }

@media (max-width: 720px) {
  .farm, .farm-page { grid-template-columns: 1fr; }
  .farm { grid-template-areas: "info" "signs" "contact"; }
  .farm .signs .sign { flex: 1 1 0; width: auto; min-height: 4.8rem; }
  .facts-card { position: static; order: -1; }
  .topnav { margin-bottom: 1.75rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.5rem; }
}
