/* ==========================================================================
   SPROUT THEME — contact page: intro, topic-aware form, visit, quick answers
   Loads after theme.css. Sections: contact-main · contact-visit · contact-faq. v1
   ========================================================================== */

@keyframes kfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- intro + form ---------- */
.ct { padding-block: 1rem clamp(3rem, 6vw, 6rem); }
.ct__in { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .ct__in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 6vw, 6rem); } .ct__intro { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.ct__intro { display: grid; gap: 1.25rem; align-content: start; }
.ct__title { font: 400 clamp(3.5rem, 1.8rem + 7vw, 8rem)/.9 var(--display); letter-spacing: -.028em; }
.ct__title em { font-style: italic; color: var(--moss); }
.ct__lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--text-2); max-width: 40ch; text-wrap: pretty; }
.ct__status { display: inline-flex; align-items: center; gap: .55rem; justify-self: start; min-height: 2rem; padding: 0 .9rem 0 .75rem; border-radius: 999px; background: var(--sage-tint); color: var(--ink-2); font: 600 .8125rem/1 var(--sans); }
.ct__status i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--sage-2); }
.ct__status[data-open="true"] i { background: var(--moss); box-shadow: 0 0 0 3px rgba(36, 90, 55, .22); }

.ways { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; border-top: 1px solid var(--line); }
.way { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.way__ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px 999px 12px 12px; background: var(--sage-tint); color: var(--moss); transition: background-color .3s, color .3s; }
.way:hover .way__ic { background: var(--forest); color: var(--lime); }
.way__ic .i { width: 1.35rem; height: 1.35rem; }
.way div { display: grid; gap: .15rem; }
.way b { font: 600 .75rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.way a { font: 400 clamp(1.5rem, 1.25rem + 1vw, 2rem)/1.1 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); justify-self: start; padding-block: .1rem; }
.way a:hover { background-size: 100% 1.5px; }
.way small { color: var(--text-2); font-size: .875rem; }

/* form card */
.cf { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--sh-1); min-width: 0; position: relative; }
.cf__form { display: grid; gap: 1.25rem; }
.cf__form[hidden], .cf__done[hidden], .cf__errors[hidden], .cf__more[hidden], .fld__err[hidden] { display: none; }
.cf__topics { border: 0; padding: 0; margin: 0; min-width: 0; }
.cf__topics legend { padding: 0; margin-bottom: .75rem; font: 600 .75rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.tchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.tchip { position: relative; }
.tchip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.tchip span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9375rem; font-weight: 500; background: transparent; transition: background-color .2s, color .2s, border-color .2s; }
.tchip:hover span { border-color: var(--text); }
.tchip input:checked + span { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.tchip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.cf__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cf__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fld { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.fld label { font-size: .9375rem; font-weight: 600; }
.req { color: var(--clay-d); }
.opt { font-weight: 400; color: var(--text-3); font-size: .8125rem; margin-left: .25rem; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 3rem; padding: .7rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--cream); color: var(--text); font: inherit; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.fld textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.fld select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314241b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .85rem center; background-size: 1.1rem; cursor: pointer; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--text); }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; background: #fff; }
.fld small { font-size: .8125rem; color: var(--text-3); line-height: 1.4; }
.fld small [data-count] { font-variant-numeric: tabular-nums; }
.fld__err { display: flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: #7d3a1e; }
.fld__err::before { content: ""; width: .95rem; height: .95rem; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat; }
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: #9e4a29; box-shadow: inset 0 0 0 1px #9e4a29; }

.cf__more { display: grid; gap: 1.25rem; padding: 1.1rem; border-radius: var(--r); background: var(--sage-tint); animation: kfade .4s var(--ease); }
.cf__more .fld input, .cf__more .fld select { background: var(--paper); }
.cf__tip { display: flex; gap: .65rem; align-items: start; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.cf__tip .i { color: var(--moss); margin-top: .15rem; }
.cf__tip a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.cf__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: .5rem; }
.cf__fine { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--text-2); }
.cf__fine .i { color: var(--moss); width: 1.1rem; height: 1.1rem; }

.cf__errors { margin-bottom: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--r); background: var(--clay-tint); color: #5c2a14; border: 1px solid rgba(158, 74, 41, .35); }
.cf__errors:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.cf__errors h2 { font: 400 1.5rem/1.1 var(--display); margin-bottom: .5rem; }
.cf__errors ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.cf__errors a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.cf__done { display: grid; justify-items: center; gap: 1rem; text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.cf__done:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: var(--r); }
.cf__done svg { width: 5.5rem; height: 5.5rem; color: var(--moss); }
.cf__done h2 { font: 400 var(--fs-h3)/1.05 var(--display); }
.cf__done p { color: var(--text-2); max-width: 40ch; }

/* ---------- visit ---------- */
.cv { padding-block: clamp(3rem, 6vw, 6rem); background: var(--sage-tint); }
.cv__in { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .cv__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.cv__media { display: grid; gap: 1rem; max-width: 34rem; }
.cv__photo { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--sage); max-height: 30rem; justify-self: center; width: 100%; }
.cv__photo img { width: 100%; height: 100%; object-fit: cover; }
.cv__map { width: 100%; height: auto; border-radius: var(--r); }
.cv__t { display: grid; gap: 1.25rem; align-content: start; }
.cv__t .h2 em { color: var(--moss); }
.cv__addr { display: flex; gap: .75rem; align-items: start; font: 400 clamp(1.375rem, 1.2rem + .7vw, 1.75rem)/1.2 var(--display); }
.cv__addr .i { color: var(--moss); width: 1.5rem; height: 1.5rem; margin-top: .2rem; }
.hours { margin: 0; display: grid; border-top: 1px solid rgba(20, 36, 27, .18); max-width: 26rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .6rem; border-bottom: 1px solid rgba(20, 36, 27, .18); font-size: .9375rem; border-radius: 8px; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours > div.is-today { background: var(--forest); color: var(--cream); border-bottom-color: transparent; }
.hours > div.is-today dt::after { content: " · today"; font-weight: 400; color: var(--lime); }
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.tips li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.tips .i { color: var(--moss); width: 1.2rem; height: 1.2rem; margin-top: .15rem; }

/* ---------- quick answers ---------- */
.cq { padding-block: clamp(3.5rem, 7vw, 7rem) var(--sec); }
.cq__in { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .cq__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; } }
.cq__t { display: grid; gap: 1.1rem; justify-items: start; }
.cq .acc__b { max-width: 60ch; }

@media (prefers-reduced-motion: reduce) { .cf__more { animation: none; } .way__ic, .tchip span, .fld input, .fld select, .fld textarea { transition: none; } }
