/* THOLE · Visit · page.css
   Page-only CSS for Visit, on Kit B's tokens (assets/kit.css) and Home's shared parts (assets/site.css).
   Shared parts first (.vi-): the drawn map, the week, the facts. Then each direction's signature move (.vi-a- and .vi-b-).
   On promotion: copy this file next to public/visit/index.html as page.css (and page.js beside it), point the page's
   links at "page.css" and "page.js", remove the <base> and the review-only link script, and drop the block of the
   direction that was not picked. One local fill, --vi-yard (the yard's cobbles, from book C's drawn route). */

/* ---------------------------------------------------------------- shared */
a[href^="tel:"] { white-space: nowrap; }

.vi-top { padding-top: clamp(28px, 4vw, 64px); }
.vi-top .t-lede { color: var(--ink); }

/* ---------------------------------------------------------------- the map: drawn, in the kit's line language */
.vi-map { --vi-yard: #EFE8DC; margin: 0; }
.vi-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.vi-map svg * { vector-effect: non-scaling-stroke; }
.vi-map .vi-map__tall { display: none; }
@media (max-width: 699px) { .vi-map .vi-map__wide { display: none; } .vi-map .vi-map__tall { display: block; } }
.m-street line { stroke: var(--ink); stroke-width: 1.25; }
.m-lane line { stroke: var(--ink); stroke-width: 1; }
.m-bridge { fill: var(--ash); stroke: var(--ink); stroke-width: 1.25; }
.m-ties { stroke: var(--ink); stroke-width: 12; stroke-dasharray: 1.5 15; opacity: .55; }
.m-rail { stroke: var(--ink); stroke-width: 1.5; }
.m-plat { fill: var(--ash); stroke: var(--ink); stroke-width: 1.25; }
.m-walk { fill: none; stroke: var(--ember-deep); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 10; }
.m-start { fill: var(--lime); stroke: var(--ink); stroke-width: 2; }
.m-yard { fill: var(--vi-yard); stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 4; }
.m-house { fill: var(--ash); stroke: var(--ink); stroke-width: 1.75; }
.m-racks path { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.m-door { fill: var(--ember-deep); stroke: var(--lime); stroke-width: 2; }
.vi-map text { font-family: var(--f-text); fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 6px; stroke-linejoin: round; }
.vi-map .m-name { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; }
.vi-map .m-lab { font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.vi-map .m-mute { fill: var(--muted); }
.vi-map .m-onyard { stroke: var(--vi-yard); }
.vi-map .m-onash { stroke: var(--ash); }
.vi-map__cap { margin-top: 14px; display: grid; gap: 10px 24px; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.vi-map__cap p { max-width: 52ch; }
@media (min-width: 700px) { .vi-map__cap { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; } }
.vi-maps { font-weight: 600; }

/* ---------------------------------------------------------------- the address */
.vi-addr { font-style: normal; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -0.012em; color: var(--ink); }

/* ---------------------------------------------------------------- ruled facts: a name, then the plain answer */
.vi-facts { border-top: 1px solid var(--ink); }
.vi-facts > div { display: grid; grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); gap: 4px 20px; align-items: baseline; padding-block: 14px 15px; border-bottom: 1px solid var(--hair); }
.vi-facts dt { font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.vi-facts dd { font-size: 16px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.vi-facts dd .muted { display: block; font-size: var(--fs-small); margin-top: 2px; }
@media (max-width: 459px) { .vi-facts > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- the week: seven days, two sittings */
.vi-week { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.vi-week thead th { padding: 0 12px 10px 0; font-size: var(--fs-label); line-height: 1.3; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); text-align: left; border-bottom: 1px solid var(--ink); }
.vi-week tbody th, .vi-week tbody td { padding: 12px 12px 13px 0; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: baseline; }
.vi-week tbody th { white-space: nowrap; font-family: var(--f-display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.vi-week td { font-size: 16px; line-height: 1.4; white-space: nowrap; }
.vi-week td.is-shut { color: var(--muted); }
.vi-week .vi-today { display: none; margin-left: 10px; font-family: var(--f-text); font-size: var(--fs-label); font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ember-deep); vertical-align: 2px; }
.vi-week tr.is-today th, .vi-week tr.is-today td { border-bottom-color: var(--ink); }
.vi-week tr.is-today .vi-today { display: inline; }
.vi-week tr.is-today th::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--ember-deep); vertical-align: 3px; }
@media (max-width: 599px) {
  .vi-week tr.is-today .vi-today { display: block; margin: 2px 0 0 18px; }
  .vi-week tbody th, .vi-week td { padding-right: 10px; }
  .vi-week tbody th { font-size: 18px; }
  .vi-week td { white-space: normal; }
}
.vi-now { font-size: var(--fs-small); line-height: 1.5; color: var(--ink); min-height: 1.5em; }
.vi-now:empty { display: none; }
.vi-hol { display: grid; gap: 6px; padding-top: 16px; border-top: 3px double var(--line); }
.vi-hol__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2vw, 30px); line-height: 1.12; letter-spacing: -0.015em; color: var(--ink); }
.vi-hol p:not(.vi-hol__big) { font-size: var(--fs-small); line-height: 1.5; }
.vi-hol .season-tag { margin: 6px 0 0; font-size: var(--fs-small); line-height: 1.4; }

/* ---------------------------------------------------------------- the yard at dusk (t12), whole, nothing over it */
.vi-yardph { aspect-ratio: 1856 / 2304; background: #3A4558; }

/* ---------------------------------------------------------------- a line in the owners' words */
.vi-say { display: grid; gap: 8px; margin: 0; }
.vi-say blockquote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, .8vw + 14px, 24px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.vi-say figcaption { font-size: var(--fs-small); line-height: 1.45; color: var(--muted); }
.vi-say figcaption b { color: var(--ink); font-weight: 600; }

/* ================================================================ b · Questions people ask */
.vi-b-top { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.vi-b-top__words { display: grid; gap: 22px; align-content: start; }
.vi-b-top__fig { margin: 0; }
@media (min-width: 900px) {
  .vi-b-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 4.4vw, 72px); align-items: start; }
  .vi-b-top__fig { grid-column: 2; grid-row: 1; }
  .vi-b-top__words { grid-column: 1; grid-row: 1; }
}
@media (max-width: 899px) { .vi-b-top__fig { max-width: 520px; } }
/* the questions, as a ruled contents list */
.vi-b-index { border-top: 1px solid var(--ink); counter-reset: q; }
.vi-b-index li { border-bottom: 1px solid var(--hair); }
.vi-b-index a { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding-block: 12px 13px; color: var(--ink); text-decoration: none; }
.vi-b-index a::before { counter-increment: q; content: counter(q); font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--s-rule); font-variant-numeric: tabular-nums; }
.vi-b-index a::after { content: "\2193"; color: var(--muted); }
.vi-b-index span { font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 1.4vw, 22px); line-height: 1.25; letter-spacing: -0.01em; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; transition: text-decoration-color var(--t-quick); }
.vi-b-index a:hover span { text-decoration-color: currentColor; }
.vi-b-index a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* each question: the number and the question on the left, the plain answer on the right */
.vi-b-qs { margin-top: clamp(56px, 7vw, 112px); }
.vi-b-q { display: grid; gap: 18px; padding-block: clamp(28px, 3.2vw, 48px); border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.vi-b-q:last-child { border-bottom: 1px solid var(--ink); }
.vi-b-q__q { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 12px; align-items: baseline; align-content: start; }
.vi-b-q__n { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 1.8vw, 28px); line-height: 1; color: var(--s-rule); font-variant-numeric: tabular-nums; }
.vi-b-q__q h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.9vw, 44px); line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.vi-b-q__a { display: grid; gap: 18px; align-content: start; }
.vi-b-q__a > p { font-size: var(--fs-body); line-height: 1.55; max-width: 52ch; text-wrap: pretty; }
.vi-b-q__a > p.vi-b-yes { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 1.2vw + 14px, 28px); line-height: 1.2; letter-spacing: -0.012em; }
@media (min-width: 1100px) {
  .vi-b-q { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 3.6vw, 64px); }
  .vi-b-q__q { position: sticky; top: calc(var(--header-h) + 28px); }
}
.vi-b-q__a .vi-map { padding-top: 6px; }

/* anything else: ask us, then Book */
.vi-b-end { display: grid; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 900px) { .vi-b-end { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4.4vw, 72px); align-items: start; } }
.vi-b-end__ask { display: grid; gap: 14px; }
.vi-b-end__ask p { font-size: var(--fs-body); line-height: 1.5; }
.vi-b-end__ask .vi-big { font-family: var(--f-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.14; letter-spacing: -0.012em; }
