/* Home page (built 2026-11-16 from look B, "A note from Judy"): the sections look B's first screen didn't have.
   Composed after the kit library's letter page (lock: ptya): a long letter first, then dense and quiet screens in turn,
   proof answered as checkable facts, objections in the family's own words. Classes here are prefixed jh-. */

/* Placeholders Judy still has to confirm (data-proposed): a dotted gold underline, explained in the preview ribbon.
   Each one is answered at launch (finish.md): kept, changed or removed, and the attribute goes with it. */
[data-proposed] { text-decoration-line: underline; text-decoration-style: dotted; text-decoration-color: #B8902A; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.preview-ribbon .ph-sample { text-decoration: underline dotted #E8D6A8 2px; text-underline-offset: 4px; }

/* Sections: plain on oat, or on a linen band, in turn. */
.h-sec { padding: clamp(52px, 7vw, 80px) 0; }
.band { background: var(--linen); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-in { max-width: 1060px; margin: 0 auto; padding: 0 var(--gutter); }
.h-in > .typed { margin: 0 0 8px; color: var(--evergreen); }
.h-sec h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); max-width: 20em; }
.h-sec .intro { color: var(--ink-2); max-width: 40em; }
.b-sheet + .h-sec { padding-top: clamp(56px, 8vw, 88px); }

/* The letter ends with the action. */
.from .avatar { width: 64px; height: 64px; }
@media (min-width: 900px) { .from .avatar { width: 76px; height: 76px; } }
.jh-letter-cta { margin: 18px 0 0; }
.jh-letter-cta .btn { width: 100%; }
@media (min-width: 600px) { .jh-letter-cta .btn { width: auto; } }

/* Before the first visit: checkable facts, a sample text and a handwritten note. */
.jh-trust { display: grid; gap: 22px; margin-top: 26px; align-items: start; }
@media (min-width: 900px) { .jh-trust { grid-template-columns: 1.15fr 0.85fr; gap: 36px; } }
.jh-facts { list-style: none; margin: 0; padding: 4px clamp(16px, 4vw, 28px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.jh-facts li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 16px 0; border-top: 1px dotted var(--line); }
.jh-facts li:first-child { border-top: 0; }
.jh-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--sage-pale); color: var(--evergreen); display: grid; place-items: center; }
.jh-ic svg { width: 22px; height: 22px; }
.jh-facts h3 { font-size: 1.16rem; margin: 3px 0 3px; }
.jh-facts p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.jh-sms { background: #FFFFFF; border: 1px solid var(--line); border-radius: 26px; padding: 18px 18px 16px; box-shadow: 0 16px 34px rgba(31, 42, 36, 0.12); max-width: 420px; }
.jh-sms-meta { font: 700 0.78rem/1.3 var(--fb); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); text-align: center; margin: 0 0 12px; }
.jh-bubble { background: #E9EFE6; border-radius: 18px 18px 18px 6px; padding: 13px 15px; font-size: 1rem; line-height: 1.5; margin: 0; }
.jh-sms-label { margin: 10px 0 0; font: 700 0.72rem/1.2 var(--fb); letter-spacing: 0.08em; text-transform: uppercase; color: var(--evergreen); }
.jh-hand { font-family: var(--fh); font-size: 1.55rem; line-height: 1.3; color: var(--forest); background: var(--card); border: 1px dashed var(--sage); border-radius: var(--radius); padding: 18px 22px 16px; margin: 22px 0 0; transform: rotate(-1deg); max-width: 420px; }
.jh-hand-sign { display: block; text-align: right; font-size: 2rem; margin-top: 4px; }

/* The free visit: the dashed card, with the request form beside the promise. */
.jh-visit { margin: 0; padding: clamp(20px, 4vw, 40px); display: grid; gap: 24px; }
@media (min-width: 900px) { .jh-visit { grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; } }
.jh-visit h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.jh-visit ul { margin: 0 0 16px; padding-left: 1.2em; }
.jh-form { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(16px, 3vw, 26px); }
.jh-step-tag { font: 700 0.78rem/1.3 var(--fb); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.jh-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.jh-field > label, .jh-field > legend { display: block; font-weight: 700; font-size: 1.02rem; margin: 0 0 8px; padding: 0; }
.jh-opt { font-weight: 500; color: var(--ink-2); font-size: 0.92rem; }
.jh-form input[type="text"], .jh-form input[type="tel"], .jh-form input[type="email"], .jh-form select, .jh-form textarea { width: 100%; min-height: 52px; padding: 11px 14px; border: 1.5px solid #B9AE99; border-radius: 10px; background: #FFFFFF; font: 400 1.05rem/1.4 var(--fb); color: var(--ink); }
.jh-form textarea { min-height: 96px; resize: vertical; }
.jh-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.jh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jh-chips label { position: relative; margin: 0; }
.jh-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jh-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 15px; border: 1.5px solid #B9AE99; border-radius: 999px; background: #FFFFFF; cursor: pointer; font-size: 1rem; line-height: 1.25; }
.jh-chips input:checked + span { background: var(--evergreen); border-color: var(--evergreen); color: var(--cta-ink); }
.jh-chips input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 2px; }
.jh-form .btn { width: 100%; }
.jh-next { width: 100%; min-height: 54px; border-radius: 999px; border: 2px solid var(--evergreen); background: var(--card); color: var(--evergreen); font: 700 1.05rem/1.2 var(--fb); cursor: pointer; }
.jh-next:hover { background: var(--sage-pale); }
.jh-back { display: block; background: none; border: 0; padding: 10px 0 0; color: var(--evergreen); font: 600 1rem/1.3 var(--fb); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.jh-fine { font-size: 0.92rem; color: var(--ink-2); margin: 12px 0 0; line-height: 1.5; }
.jh-form.is-stepped:not(.on-2) [data-step="2"] { display: none; }
.jh-form.is-stepped.on-2 [data-step="1"] { display: none; }

/* How it works: the three steps beside a sample care plan (carried over from look A). */
.jh-how { display: grid; gap: 30px; margin-top: 26px; align-items: start; }
@media (min-width: 900px) { .jh-how { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 18px; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--evergreen); color: var(--cta-ink); font: 700 1.1rem var(--fb); }
.steps h3 { font-size: 1.25rem; margin: 6px 0 0.3em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.plan { margin: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 26px 26px 20px; box-shadow: 0 18px 38px rgba(31, 42, 36, 0.12); transform: rotate(-1deg); }
.plan-tag { font: 700 0.75rem/1.3 var(--fb); letter-spacing: 0.08em; text-transform: uppercase; color: var(--evergreen); margin-bottom: 8px; }
.plan h3 { font-size: 1.45rem; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.plan dl { margin: 0; }
.plan dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--line); font-size: 1rem; }
.plan dt { font-weight: 700; }
.plan dd { margin: 0; color: var(--ink-2); }
.plan-sign { font-family: var(--fh); font-size: 2.1rem; color: var(--forest); margin: 10px 0 0; text-align: right; }
@media (max-width: 420px) { .plan dl div { grid-template-columns: 1fr; gap: 2px; } .plan { padding: 20px 18px 16px; } }

/* Services on the band: the list sits on a sheet of its own. */
.band .svc { background: var(--card); }

/* Government care and Judy: two lists side by side. */
.jh-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.jh-col h3 { font-size: 1.3rem; }
.jh-col ul { list-style: none; margin: 0; padding: 0; }
.jh-col li { padding: 10px 0 10px 30px; border-top: 1px dotted var(--line); position: relative; }
.jh-col li:first-child { border-top: 0; }
.jh-col li::before { content: "\2013"; position: absolute; left: 6px; color: var(--ink-2); }
.jh-col.jh-judy { border: 2px solid var(--evergreen); }
.jh-col.jh-judy li::before { content: "\2713"; color: var(--evergreen); font-weight: 700; }

/* Fair questions: the family's words in quotes, every answer on the page. */
.jh-faq { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 860px) { .jh-faq { grid-template-columns: 1fr 1fr; gap: 16px; } }
.jh-faq article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.jh-faq h3 { font-family: var(--fb); font-weight: 700; font-size: 1.08rem; line-height: 1.35; margin: 0 0 6px; }
.jh-faq p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.jh-faq-cta { margin: 26px 0 0; }

/* The close, on its band. */
.b-close.band { padding: 64px var(--gutter) 72px; }
.b-close p { max-width: 36em; margin-left: auto; margin-right: auto; }

/* Footer */
.jh-foot { background: var(--forest); color: #EAF0E6; padding: 40px 0 48px; font-size: 0.98rem; }
.jh-foot a { color: #F4E6BF; }
.jh-foot a:hover { color: #FFFFFF; }
.jh-foot p { margin: 0 0 10px; }
.jh-foot-name { font-family: var(--fd); font-size: 1.4rem; font-weight: 600; color: #FFFFFF; }
.jh-foot-name span { color: var(--sage); }
.jh-foot-links a { font-weight: 600; }

/* The phone bar's button carries the page's one label; give it room on a 320 phone. */
@media (max-width: 360px) { .phone-bar { grid-template-columns: 0.8fr 1.2fr; } .phone-bar .btn { font-size: 0.95rem; padding: 0.5em 0.6em; } }

/* After the request, and the privacy notice: the same sheet of paper. */
.jh-received h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
.jh-after { margin: 26px 0 26px; }
.jh-after ul { margin: 8px 0 0; }
.jh-after-h { font-size: clamp(1.4rem, 3.4vw, 1.8rem); margin-top: 8px; }
.jh-ready { margin: 0 0 18px; padding-left: 1.2em; font-size: 1.1rem; }
.jh-ready li { margin-bottom: 6px; }
.jh-doc h1 { font-size: clamp(2rem, 5.5vw, 2.8rem); }
.jh-doc h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-top: 1.4em; }
.jh-doc p { max-width: 38em; }
.jh-next-page .b-sheet, .jh-legal .b-sheet { margin-bottom: 56px; }

/* Letterhead: the number and the calling hours under Judy's name. */
.from .typed a { color: inherit; text-decoration: none; font-weight: 700; }

/* A sample week: government-funded hours and Judy's visits side by side (the compare section's picture). */
.jh-week { margin: 26px 0 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px clamp(16px, 3vw, 26px) 16px; box-shadow: 0 14px 30px rgba(31, 42, 36, 0.08); }
.jh-days { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 8px; }
.jh-days li { display: grid; grid-template-columns: 3.2em 1fr; gap: 10px; align-items: stretch; }
.jh-days b { font: 700 0.95rem/1 var(--fb); align-self: center; color: var(--ink-2); }
.jh-days span { display: block; border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: 0.98rem; line-height: 1.3; min-height: 44px; }
.jh-days small { display: block; font-weight: 500; font-size: 0.86rem; margin-top: 2px; }
.jh-gov { background: var(--sage-pale); border: 1.5px solid var(--sage); color: var(--ink); }
.jh-j { background: var(--evergreen); color: var(--cta-ink); }
.jh-fam { background: var(--wheat); color: var(--ink); }
.jh-gap { border: 1.5px dashed var(--line); color: var(--ink-2); font-weight: 500 !important; }
@media (min-width: 760px) {
  .jh-days { grid-template-columns: repeat(7, 1fr); gap: 10px; }
  .jh-days li { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 8px; }
  .jh-days b { text-align: center; }
  .jh-days span { min-height: 108px; }
}
.jh-week figcaption { font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
.jh-k { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin: 0 6px 0 0; vertical-align: -1px; }
.jh-k + .jh-k, figcaption .jh-k:not(:first-child) { margin-left: 12px; }
.jh-k-gov { background: var(--sage-pale); border: 1.5px solid var(--sage); }
.jh-k-j { background: var(--evergreen); }
.jh-k-fam { background: var(--wheat); }

/* After the request: what happens next, as three marks on a line. */
.jh-track { list-style: none; margin: 8px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; counter-reset: t; }
.jh-track::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 19px; height: 2px; background: var(--line); }
.jh-track li { position: relative; text-align: center; counter-increment: t; padding-top: 50px; font-size: 0.98rem; line-height: 1.35; }
.jh-track li::before { content: counter(t); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 2px solid var(--evergreen); color: var(--evergreen); font: 700 1.05rem var(--fb); }
.jh-track li.jh-done::before { content: "\2713"; background: var(--evergreen); color: var(--cta-ink); }
.jh-track b { display: block; }
.jh-track span { display: block; color: var(--ink-2); font-size: 0.92rem; }

/* After the request: the call is a button pair under the steps, and the steps stack on a phone. */
.jh-call-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 8px; }
.jh-call-row .btn { flex: 1 1 200px; }
@media (min-width: 700px) { .jh-call-row .btn { flex: 0 0 auto; } }
@media (max-width: 599px) {
  .jh-call-row .btn { flex: 1 1 100%; }
  .jh-track { grid-template-columns: 1fr; gap: 14px; }
  .jh-track::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .jh-track li { text-align: left; padding: 0 0 0 56px; min-height: 40px; }
  .jh-track li::before { left: 0; transform: none; }
  .jh-track b { padding-top: 2px; }
}
.jh-received .polaroid { margin-top: 8px; margin-bottom: 26px; }

/* Fresh-eyes fixes (2026-11-16): the booking button stays in reach on a computer, the form's Next button leads,
   and the twelve services fit one phone screen. */
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-book { display: none; min-height: 46px; padding: 0.55em 1.25em; font-size: 1rem; }
@media (min-width: 900px) {
  .jh-index .site-header { position: sticky; top: 0; z-index: 40; background: rgba(237, 227, 209, 0.96); border-bottom: 1px solid var(--line); }
  .header-book { display: inline-flex; }
  .jh-index main [id] { scroll-margin-top: 92px; }
}
.jh-next { background: var(--evergreen); color: var(--cta-ink); border-color: var(--evergreen); }
.jh-next:hover { background: var(--forest); color: var(--cta-ink); }
.phone-bar { transition: transform 0.2s ease; }
.jh-form-in-view .phone-bar { transform: translateY(115%); }
.svc .svc-short { display: none; }
@media (max-width: 639px) {
  .look-b .svc { grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 6px 14px; }
  .look-b .svc li { padding: 11px 0 11px 20px; }
  .look-b .svc li::before { left: 0; top: 11px; }
  .svc h3 { font-size: 1rem; line-height: 1.25; margin-bottom: 0.2em; }
  .svc .svc-short { display: block; font-size: 0.88rem; line-height: 1.35; }
  .svc .svc-long { display: none; }
}
.jh-then { margin: 14px 0 8px; font-weight: 600; }
.jh-sms-mini { max-width: 460px; padding: 12px 12px 10px; border-radius: 20px; box-shadow: none; }
