/* Services and the intro coffee page. Same tokens as css/home.css (loaded
   first); the coffee page also loads css/contact.css for the form shell.
   verify-assets: 1.1.0 */

/* ---------- hero (both pages) ---------- */
.sv-hero { background: var(--ink); color: var(--square); padding: clamp(2.4rem, 5vw, 4rem) 0; }
.sv-hero .hm-mark { color: var(--square); opacity: 0.75; }
.sv-hero .hm-mark a { color: inherit; }
.sv-hero .hm-mark a:hover { color: var(--amber); }
.sv-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); font-variation-settings: "opsz" 144; color: #fff; max-width: 20ch; margin-bottom: 0.8rem; }
.sv-hero p { max-width: 54ch; font-size: 1.08rem; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }

/* ---------- what we work on: five groups, each a ruled list ---------- */
.sv-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.2rem 2.8rem; }
.sv-group { border-top: 3px solid var(--green); padding-top: 1rem; }
.sv-group h3 { margin-bottom: 0.35rem; }
.sv-group > p { color: var(--slate); font-size: 0.95rem; margin-bottom: 0.7rem; }
.hm .sv-group ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.sv-group li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; padding: 0.5rem 0; border-top: 1px solid var(--rule); font-size: 0.97rem; }
.sv-group-ask { border-top-color: var(--amber); background: var(--tint); padding: 1rem 1.2rem 1.3rem; }
.sv-group li small { flex: 0 0 auto; font-size: 0.8rem; color: var(--mute); text-align: right; }

/* ---------- ways to engage ---------- */
.sv-sub { font-size: 1.15rem !important; margin: 0 0 0.9rem !important; }
.sv-ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); margin-bottom: 2.4rem; }
.sv-ledger div { padding: 1.3rem 1.3rem 1.4rem; border-left: 1px solid var(--rule); }
.sv-ledger div:first-child { border-left: 0; }
.sv-ledger b, .sv-ongoing-rate b { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.sv-ledger span, .sv-ongoing-rate span { margin-left: 0.4rem; color: var(--slate); font-size: 0.95rem; }
.sv-ledger em { display: block; font-style: normal; margin-top: 0.7rem; color: var(--slate); font-size: 0.93rem; line-height: 1.45; }

.sv-ongoing { display: grid; grid-template-columns: minmax(200px, 0.7fr) minmax(0, 2fr); gap: 1rem 2.5rem; align-items: start; background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--amber); padding: 1.3rem; }
.hm .sv-ongoing ul { list-style: none; padding: 0; margin: 0; max-width: none; }
.sv-ongoing li { margin: 0; padding: 0.45rem 0; border-top: 1px solid var(--rule); color: var(--slate); font-size: 0.97rem; }
.sv-ongoing li:first-child { border-top: 0; padding-top: 0; }
.sv-ongoing li b { color: var(--ink); font-weight: 600; }

/* ---------- closing call to action ---------- */
.sv-cta { background: var(--ink); color: var(--square); }
.sv-cta .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 1rem 3rem; align-items: center; }
.sv-cta h2 { color: #fff; margin-bottom: 0.7rem; }
.sv-cta p { margin: 0; opacity: 0.85; }
.sv-cta .sv-actions { margin-top: 0; }

/* ---------- coffee page: steps, day and time pickers ---------- */
.hm .sv-steps { padding-left: 1.2rem; margin-bottom: 1.4rem; }
.sv-steps li { color: var(--slate); font-size: 0.98rem; }
.sv-pick { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
.sv-pick legend { float: none; width: auto; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.45rem; }
.sv-pick legend small { font-weight: 400; color: var(--mute); margin-left: 0.3rem; }

/* the options: a numbered row each, day and time side by side */
.sv-pick-hint { color: var(--slate); font-size: 0.9rem; margin: 0 0 0.7rem !important; }
.sv-slot { display: grid; grid-template-columns: 2rem minmax(0, 1.25fr) minmax(0, 1fr); gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; position: relative; }
.sv-slot-n { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 600; font-variant-numeric: tabular-nums; }
.sv-slot select { display: block; width: 100%; font: inherit; color: var(--ink); background-color: var(--paper); border: 1px solid var(--rule); border-radius: 4px; padding: 0.6rem 2.2rem 0.6rem 0.75rem; min-height: 44px; -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B6770' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; font-variant-numeric: tabular-nums; }
.sv-slot select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.sv-slot:last-of-type .sv-slot-n { background: var(--paper); color: var(--slate); border: 1px dashed var(--mute); }
.sv-slot-opt { grid-column: 2 / -1; margin-top: -0.25rem; font-size: 0.78rem; color: var(--mute); }
.sv-fine { margin: 0.6rem 0 0 !important; text-align: center; font-size: 0.85rem; color: var(--slate); }
.sv-receipt p { margin: 0.6rem 0 0.3rem; }
.hm .sv-receipt ul { margin: 0 0 0.4rem; }
.sv-receipt li { margin: 0; font-variant-numeric: tabular-nums; }
.sv-steps b { color: var(--ink); font-weight: 600; }
.ct-field textarea.sv-note { min-height: 110px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .sv-ledger { grid-template-columns: 1fr; }
    .sv-ledger div { border-left: 0; padding-left: 0; padding-right: 0; }
    .sv-ledger div + div { border-top: 1px solid var(--rule); }
    .sv-ledger { background: transparent; }
    .sv-ongoing, .sv-cta .wrap { grid-template-columns: minmax(0, 1fr); }
}
