/* Restncare — story pages (home, professionals, regional pages): the product
   previews, illustrations and motion. Loaded after site.css, which holds the
   tokens and every shared component.

   Motion rules: everything here is an enhancement. Without JavaScript every
   preview is shown complete; with reduced motion nothing animates and each
   interactive preview shows the state its data-static attribute names.
   `html.xp` is set by experience.js, so nothing is hidden unless the script
   that reveals it is running. */

/* ---------- Type and rhythm ---------- */
.hx .display { font-size: clamp(2.5rem, 6.2vw, 4.25rem); letter-spacing: -0.012em; text-wrap: balance; }
.partner-hero.hx .display { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.story-title { text-wrap: balance; }
.story-head > p, .lead { text-wrap: pretty; }
main { counter-reset: story; }
.kicker .eyebrow > b { font-size: 0; }
.kicker .eyebrow > b::before { counter-increment: story; content: counter(story, decimal-leading-zero); font-size: 1.375rem; }

/* ---------- Hero ---------- */
.hx { position: relative; background: radial-gradient(120% 90% at 85% 0%, #f1ebdf 0%, rgba(241, 235, 223, 0) 60%), var(--bg); }
.hx .hero-grid { align-items: start; }
@media (min-width: 960px) { .hx .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); align-items: center; } }
.hero-art { position: relative; display: grid; gap: 16px; justify-items: center; padding: clamp(20px, 3vw, 32px) clamp(12px, 3vw, 28px) clamp(20px, 3vw, 28px); border-radius: 36px; background: linear-gradient(165deg, #efe7d8 0%, #f6f1e7 55%, #e4ece5 100%); isolation: isolate; overflow: hidden; }
.hero-still { position: absolute; z-index: -1; right: -4%; bottom: -3%; width: 104%; max-width: none; pointer-events: none; }
.scene.scene-phone { width: 100%; padding: 0; border: 0; background: none; display: grid; justify-items: center; }
.scene-phone .scene-meta { justify-content: center; }
.scene.scene-thread { width: 100%; max-width: 440px; margin: 8px 0 clamp(90px, 12vw, 150px); padding: 14px; border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(252, 250, 246, 0.86); backdrop-filter: blur(6px); box-shadow: 0 24px 48px -32px rgba(25, 68, 62, 0.45); }
.scene-thread .when svg { display: none; }
.region-hero .hero-art { padding-bottom: clamp(120px, 16vw, 180px); }

/* ---------- Phone and booking journey ---------- */
.phone { position: relative; width: min(100%, 272px); padding: 10px 10px 14px; border-radius: 40px; background: #16211f; box-shadow: 0 0 0 1px #2c3a37 inset, 0 36px 60px -30px rgba(22, 33, 31, 0.6); }
.phone::after { content: ""; display: block; width: 84px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: #46524f; }
.phone-bar { display: flex; justify-content: center; padding: 6px 0 8px; border-radius: 30px 30px 0 0; background: var(--surface); }
.phone-bar i { width: 72px; height: 18px; border-radius: 12px; background: #16211f; }
.phone-head { display: grid; gap: 1px; padding: 6px 16px 10px; background: var(--surface); }
.phone-title { font-size: 0.9375rem; font-weight: 800; color: var(--ink); }
.phone-pro { font-size: 0.6875rem; color: var(--ink-muted); }
.jr-dots { display: flex; gap: 5px; padding: 0 16px 10px; background: var(--surface); }
.jr-dots li { flex: 1; height: 3px; border-radius: 3px; background: var(--outline); transition: background 0.3s ease; }
.jr-dots li.is-on { background: var(--green); }
.jr-views { display: grid; gap: 14px; padding: 4px 14px 16px; border-radius: 0 0 30px 30px; background: var(--surface); font-size: 0.8125rem; line-height: 1.4; }
.jr-view { min-width: 0; }
.jr-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.jr-h b { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; letter-spacing: 0; }
.jr-list { display: grid; gap: 6px; }
.jr-list li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--outline); border-radius: 12px; }
.jr-list li.on { border-color: var(--green); background: var(--green-soft); }
.jr-list span:not(.amount) { flex: 1; min-width: 0; font-weight: 700; }
.jr-list small { display: block; font-size: 0.6875rem; font-weight: 500; color: var(--ink-muted); }
.jr-list .amount { width: 34px; }
.radio { flex: none; width: 16px; height: 16px; border: 2px solid var(--outline-strong); border-radius: 50%; }
.on > .radio { border: 5px solid var(--green); background: #fff; }
.jr-note { margin-top: 10px; font-size: 0.6875rem; color: var(--ink-muted); }
.jr-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.jr-week span { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border: 1px solid var(--outline); border-radius: 10px; font-weight: 800; }
.jr-week small { font-size: 0.5625rem; font-weight: 600; color: var(--ink-muted); }
.jr-week .on, .jr-times .on { border-color: var(--green); background: var(--green); color: #fff; }
.jr-week .on small { color: rgba(255, 255, 255, 0.8); }
.jr-week .off, .jr-times .off { border-style: dashed; background: var(--bg); color: #9aa19f; }
.jr-times .off { text-decoration: line-through; }
.jr-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.jr-times span { padding: 9px 0; border: 1px solid var(--outline); border-radius: 10px; text-align: center; font-weight: 700; }
.jr-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--outline); }
.jr-rows > div.total { font-weight: 800; }
.jr-rows span:first-child { color: var(--ink-muted); }
.jr-rows .total span:first-child { color: var(--ink); }
.jr-rows b { text-align: right; font-weight: 700; }
.jr-cta { display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 12px; border-radius: var(--pill); background: var(--green); color: #fff; font-weight: 700; }
.jr-track { display: grid; gap: 8px; }
.jr-track li { position: relative; display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 34px; border: 1px solid var(--outline); border-radius: 12px; font-weight: 700; }
.jr-track li::before { content: ""; position: absolute; left: 12px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.jr-track li.big { padding: 14px 12px; border-color: var(--green); background: var(--green); color: #fff; font-size: 0.9375rem; }
.jr-track li.big::before { content: none; }
.jr-track .ico { flex: none; width: 22px; height: 22px; }
.jr-ctl { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.jr-ctl[hidden] { display: none; }
.jr-step, .jr-play { min-height: 36px; padding: 0 12px; border: 1px solid var(--outline-strong); border-radius: var(--pill); background: rgba(252, 250, 246, 0.9); color: var(--ink); font: inherit; font-size: 0.75rem; font-weight: 700; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.jr-step:hover, .jr-play:hover { border-color: var(--green); }
.jr-step[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.jr-play { display: inline-flex; align-items: center; justify-content: center; width: 36px; padding: 0; }
.jr-play .ico { width: 16px; height: 16px; }
.jr-play[aria-pressed="true"] .ico:last-child, .jr-play[aria-pressed="false"] .ico:first-of-type { display: none; }
/* With the script one step shows at a time; the frame keeps its size. */
.js [data-journey].is-live .jr-views { position: relative; height: 304px; }
.js [data-journey].is-live .jr-view { position: absolute; inset: 4px 14px 16px; visibility: hidden; opacity: 0; transform: translateX(14px); }
.js [data-journey].is-live .jr-view.is-on { visibility: visible; opacity: 1; transform: none; }

/* ---------- Categories, at home / at the centre ---------- */
.xcats { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 clamp(28px, 4vw, 44px); }
.xcats li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 6px; border: 1px solid var(--outline-strong); border-radius: var(--pill); background: var(--surface); font-weight: 700; font-size: 0.9375rem; }
.xcats .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.where2 { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 820px) { .where2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .where-head { grid-column: 1 / -1; } }
.where-head { max-width: 44em; }
.where-head p { margin-top: 8px; color: var(--ink-muted); }
.sub-h { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; line-height: 1.2; color: var(--green); }
.where-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--outline); border-radius: var(--radius-xl); background: var(--surface); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.where-card:hover { transform: translateY(-3px); box-shadow: 0 28px 48px -36px rgba(25, 68, 62, 0.5); }
.where-card .art { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #efe8da; }
.where-body { padding: 20px 22px 24px; }
.where-body .point-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.ticks { display: grid; gap: 10px; margin-top: 14px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319443e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.500 12.500 3.500 3.500 7.500-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Process graphic ---------- */
.xflow { position: relative; display: grid; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); counter-reset: flow; }
.xflow > li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 14px; align-items: start; }
.xflow i { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; z-index: 1; }
.xflow i .ico { width: 22px; height: 22px; }
.xflow strong { align-self: end; font-size: 1rem; line-height: 1.3; }
.xflow span { font-size: 0.875rem; color: var(--ink-muted); }
.xflow > li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: -18px; width: 2px; background: var(--outline-strong); }
@media (min-width: 860px) {
  .xflow { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 20px; }
  .xflow > li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .xflow i { grid-row: auto; margin-bottom: 10px; }
  .xflow > li:not(:last-child)::before { left: 48px; right: -20px; top: 23px; bottom: auto; width: auto; height: 2px; transform-origin: left center; }
}
.xflow.on-dark { margin: 28px 0 0; }
.xflow.on-dark i { background: var(--beige-soft); color: var(--green); }
.xflow.on-dark strong { color: #fff; }
.xflow.on-dark span { color: rgba(255, 255, 255, 0.82); }
.xflow.on-dark > li:not(:last-child)::before { background: rgba(255, 255, 255, 0.3); }

/* ---------- Quote comparison ---------- */
.scene-quotes { margin-bottom: 20px; }
.qgrid { display: grid; gap: 12px; }
@media (min-width: 760px) { .qgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qcol { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--outline); border-radius: var(--radius-lg); background: var(--surface); transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease; }
.qhead { display: flex; align-items: center; gap: 10px; }
.qrows { margin: 0; font-size: 0.8125rem; }
.qrows > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; border-top: 1px solid var(--outline); }
.qrows dt { color: var(--ink-muted); }
.qrows dd { margin: 0; text-align: right; font-weight: 700; }
.qrows .total dt { color: var(--ink); font-weight: 800; }
.qcol:nth-child(1) .total .amount { width: 76px; }
.qcol:nth-child(3) .total .amount { width: 60px; }
.qpick { min-height: 44px; border: 1px solid var(--green); border-radius: var(--pill); background: var(--surface); color: var(--green); font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.qpick:hover { background: var(--green-soft); }
.qpick[aria-pressed="true"] { background: var(--green); color: #fff; }
.qcol.is-picked { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 24px 40px -30px rgba(25, 68, 62, 0.55); transform: translateY(-2px); }
.scene-quotes.has-pick .qcol:not(.is-picked) { opacity: 0.62; }
.qstate { display: grid; gap: 8px; margin-top: 14px; font-size: 0.875rem; font-weight: 700; }
@media (min-width: 760px) { .qstate { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qstate li { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px dashed var(--outline-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink-muted); transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.qstate .ico { flex: none; width: 20px; height: 20px; }
.qstate li.is-done { border: 1px solid var(--green); background: var(--green-soft); color: var(--green); }
.qstate li.is-done:last-child { background: var(--green); color: #fff; }
html:not(.xp) .qstate li { border: 1px solid var(--outline); color: var(--ink); }

/* ---------- Business sections (dark) ---------- */
.story-dark.biz { position: relative; background: #173f39 radial-gradient(90% 70% at 100% 0%, rgba(201, 187, 168, 0.16), rgba(201, 187, 168, 0) 70%); }
.biz .story-head { max-width: 50em; }
.biz .panel-title, .biz .audience-list li, .biz .text-link { color: #fff; }
.biz .audience-list li { color: rgba(255, 255, 255, 0.86); }
.biz .audience-list li::before { background: var(--beige); }
.biz .text-link .ico, .text-link .ico { width: 18px; height: 18px; margin-left: 6px; }
.biz .fine { color: rgba(255, 255, 255, 0.74); }
.biz .sub-h { color: #fff; }
.biz :focus-visible { outline-color: var(--beige); }
.biz .scene :focus-visible { outline-color: var(--green); }
.btn .ico { flex: none; width: 18px; height: 18px; }
.pilot { margin-top: clamp(32px, 5vw, 56px); padding: clamp(20px, 3vw, 32px); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.06); color: #fff; }
.pilot-main { display: flex; gap: 12px; align-items: flex-start; font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.625rem); font-weight: 500; line-height: 1.3; }
.pilot-main .ico { flex: none; width: 26px; height: 26px; margin-top: 4px; color: var(--beige); }
.pilot-note { margin-top: 8px; padding-left: 38px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.8); }
.pilot .cta-row { margin-top: 20px; padding-left: 38px; }
.pilot.on-light { margin-top: 24px; padding: 18px 20px; border-color: #cfdcd3; background: var(--green-soft); color: var(--green); }
.pilot.on-light .pilot-main { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); }
.pilot.on-light .pilot-main .ico { color: var(--green); }
.pilot.on-light .pilot-note { color: #3f4f4b; }
@media (max-width: 520px) { .pilot-note, .pilot .cta-row { padding-left: 0; } }
.hx .actions, .hx .hero-actions { margin-top: 22px; }
.hx .avail { margin-top: 20px; }

.life { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 0.75rem; font-weight: 700; }
.life li { padding: 5px 10px; border: 1px dashed var(--outline-strong); border-radius: var(--pill); color: var(--ink-muted); }
.life li.done { border: 1px solid var(--green); background: var(--green-soft); color: var(--green); }
.life li.now { border: 1px solid var(--green); background: var(--green); color: #fff; }
.life-wrap { margin-top: clamp(32px, 5vw, 56px); }
.life.wide { display: grid; gap: 10px; margin-top: 18px; font-size: 0.875rem; }
@media (min-width: 760px) { .life.wide { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.life.wide li { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-md); border-color: rgba(255, 255, 255, 0.4); color: rgba(255, 255, 255, 0.86); }
.life.wide li span { font-weight: 500; font-size: 0.8125rem; }
.life.wide li.done { border-color: transparent; background: rgba(255, 255, 255, 0.12); color: #fff; }
.life.wide li.now { border-color: transparent; background: var(--beige-soft); color: var(--green); }

.stations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.station { display: grid; gap: 2px; min-width: 0; padding: 14px; border: 1px solid var(--outline); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); font-size: 0.8125rem; line-height: 1.35; }
.station i { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 12px; background: var(--green); color: #fff; }
.station i .ico { width: 20px; height: 20px; }
.station b { font-size: 0.9375rem; }
.station span { color: var(--ink-muted); }
.station small { font-weight: 700; color: var(--green); }
.station.alt i { background: repeating-linear-gradient(135deg, var(--beige) 0 5px, #b9a88f 5px 7px); color: var(--ink); }
.station.free { border-style: dashed; background: var(--bg); }
.station.free i { background: var(--green-soft); color: var(--green); }

.feat { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 820px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .feat.one-col { grid-template-columns: minmax(0, 1fr); margin-top: 0; } }
.feat > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); }
.feat > li > i { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, 0.12); color: var(--beige-soft); }
.feat > li > i .ico { width: 22px; height: 22px; }
.feat .point-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.feat .h3 { color: #fff; }
.feat p { margin-top: 6px; color: rgba(255, 255, 255, 0.82); font-size: 0.9375rem; }
.feat.on-tint > li { border-color: var(--outline-strong); background: var(--surface); }
.feat.on-tint > li > i { background: var(--green-soft); color: var(--green); }
.feat.on-tint .h3 { color: var(--ink); }
.feat.on-tint p { color: var(--ink-muted); }
.cta-block { margin-top: clamp(28px, 4vw, 44px); }
.cta-block .fine { margin-top: 12px; max-width: 46em; }

.head-art { display: grid; gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.head-art .story-head { margin-bottom: 0; }
.head-art .art { width: 100%; max-width: 420px; border-radius: var(--radius-xl); background: #efe8da; justify-self: end; }
@media (min-width: 900px) { .head-art { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); } }
@media (max-width: 899px) { .head-art .art { max-width: 320px; justify-self: start; } }

/* ---------- Staff calendar ---------- */
.scene-cal { margin-top: 8px; }
.xcal { padding: 16px; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.6); }
.cal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 8px; }
.xcal .tablist { border-color: var(--outline-strong); background: var(--bg); }
.xcal .tab { color: var(--ink); }
.xcal .tab:hover { background: var(--beige-soft); }
.xcal .tab[aria-selected="true"] { background: var(--green); color: #fff; }
.xcal > .panel { display: block; }
.xcal > .panel + .panel { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--outline-strong); }
.js .xcal > .panel + .panel { margin-top: 0; padding-top: 0; border-top: 0; }
.cal-cap { margin-bottom: 10px; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--green); }
.cal-grid { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); grid-template-rows: auto repeat(8, 40px); gap: 4px; padding: 4px; border-radius: var(--radius-md); background: linear-gradient(var(--outline) 1px, transparent 1px) 0 51px / 100% 88px var(--bg); }
.cal-col { grid-row: 1; grid-column: calc(var(--c) + 1); display: grid; padding: 6px 8px; border-radius: 10px; background: var(--surface); font-size: 0.8125rem; line-height: 1.25; min-width: 0; }
.cal-col small { overflow: hidden; font-size: 0.6875rem; color: var(--ink-muted); text-overflow: ellipsis; white-space: nowrap; }
.cal-t { grid-column: 1; grid-row: calc(var(--r) + 1); font-size: 0.6875rem; font-weight: 700; color: var(--ink-muted); text-align: right; padding-right: 4px; }
.ev-b { grid-column: calc(var(--c) + 1); grid-row: calc(var(--r) + 1) / span var(--n); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-width: 0; padding: 4px 8px; overflow: hidden; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 0.6875rem; line-height: 1.25; text-align: left; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease; }
.ev-b > * { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-b b { font-size: 0.75rem; }
.ev-b em { font-style: normal; font-weight: 700; opacity: 0.9; }
.ev-b:hover { transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(25, 68, 62, 0.6); }
.ev-b:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 10px; }
.ev-b.busy { background: var(--green); color: #fff; }
.ev-b.free { align-items: center; border: 1px dashed #b9c9bf; background: transparent; color: var(--ink-muted); }
.ev-b.free:hover { background: var(--green-soft); color: var(--green); border-color: var(--green); }
.ev-b.brk { flex-direction: row; align-items: center; gap: 6px; background: var(--beige-soft); color: #5a4d3a; border-color: var(--beige); }
.ev-b.blk { flex-direction: row; align-items: center; gap: 6px; background: repeating-linear-gradient(135deg, #efe7d8 0 8px, #e2d6c1 8px 10px); color: #4d4130; border-color: var(--beige); font-weight: 700; white-space: normal; }
.ev-b.blk > span { white-space: normal; }
.ev-b.off { align-items: center; background: repeating-linear-gradient(135deg, var(--bg) 0 6px, var(--outline) 6px 7px); color: var(--ink-muted); border-color: var(--outline-strong); }
.ev-b .ico { flex: none; width: 16px; height: 16px; }
.ev-b.is-new { align-items: flex-start; border: 1px solid var(--green); background: var(--green-soft); color: var(--green); font-weight: 800; box-shadow: 0 0 0 3px rgba(25, 68, 62, 0.14); }
.ev-b.is-no { box-shadow: 0 0 0 2px #a4372a; }
.cal-status { display: flex; align-items: center; min-height: 48px; margin-top: 10px; padding: 8px 14px; border-radius: var(--radius-md); background: var(--bg); font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.cal-status.is-ok { background: var(--green-soft); color: var(--green); }
.cal-status.is-no { background: #f8e9e5; color: #8a2e22; }
.wk { display: grid; grid-template-columns: 4.5em repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; font-size: 0.75rem; }
.wk-d { text-align: center; font-weight: 700; color: var(--ink-muted); }
.wk-r { font-weight: 700; }
.wk i { position: relative; display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--outline); font-style: normal; font-size: 0.625rem; font-weight: 700; color: #4d4130; overflow: hidden; }
.wk i::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: calc(var(--n, 0) * 23%); border-radius: 5px; background: repeating-linear-gradient(90deg, var(--green) 0 calc(100% / var(--n, 1) - 3px), transparent calc(100% / var(--n, 1) - 3px) calc(100% / var(--n, 1))); }
.wk i.wk-off { background: repeating-linear-gradient(135deg, var(--bg) 0 6px, var(--outline) 6px 7px); }
.wk i.wk-blk { background: repeating-linear-gradient(135deg, #efe7d8 0 8px, #e2d6c1 8px 10px); }
.wk i.wk-off::before, .wk i.wk-blk::before { content: none; }
.mo { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; font-size: 0.75rem; }
.mo-h { text-align: center; font-weight: 700; color: var(--ink-muted); }
.mo b { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 8px; background: var(--bg); font-weight: 700; }
.mo .l1 { background: #e9f0eb; }
.mo .l2 { background: #c5d8cc; }
.mo .l3 { background: var(--green); color: #fff; }
.mo .x { background: transparent; color: #9aa19f; font-weight: 500; }
.mo .cl { background: var(--beige-soft); box-shadow: inset 0 0 0 1px var(--beige); border: 0; color: #5a4d3a; }
.mo .on { outline: 2px solid var(--green); outline-offset: 2px; }
.key.b i:empty { }
.xcal .key.b i { background: #c5d8cc; }
.g-bar.hatch { border: 1px dashed var(--green); background: repeating-linear-gradient(135deg, var(--green-soft) 0 5px, #c5d8cc 5px 7px); }
.key.hatch i { width: 16px; border: 1px dashed var(--green); border-radius: 4px; background: var(--green-soft); }
.steps3 .g-track { background: var(--bg); }

/* ---------- Home-service route ---------- */
.route { display: grid; gap: 14px; }
@media (min-width: 560px) { .route { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; } }
.route-map { width: 100%; height: auto; border-radius: var(--radius-lg); }
.rm-land { fill: #eef1ea; }
.rm-sea { fill: #d6e4df; }
.rm-grid { fill: none; stroke: #dfe5dc; stroke-width: 6; stroke-linecap: round; }
.rm-path { fill: none; stroke: var(--green); stroke-width: 3.500; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rm-stop circle { fill: var(--green); stroke: #fff; stroke-width: 3; }
.rm-stop text { fill: #fff; font: 700 13px var(--sans); text-anchor: middle; }
.itin { display: grid; gap: 4px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); font-size: 0.8125rem; line-height: 1.35; }
.itin .stop { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 6px 0; font-weight: 700; }
.itin .stop b { color: var(--green); }
.itin small { display: block; font-weight: 500; color: var(--ink-muted); }
.itin .leg { display: flex; align-items: center; gap: 8px; margin-left: 3.2em; padding: 6px 10px; border-radius: 10px; background: repeating-linear-gradient(135deg, var(--beige-soft) 0 6px, #ebe3d3 6px 8px); color: #5a4d3a; font-size: 0.75rem; font-weight: 700; }
.itin .leg .ico { flex: none; width: 16px; height: 16px; }

/* ---------- QR poster ---------- */
.scene-poster { display: grid; justify-items: center; }
.scene-poster .scene-meta { justify-self: start; }
.xposter { display: grid; justify-items: center; gap: 12px; width: min(100%, 290px); aspect-ratio: 210 / 297; padding: 26px 22px; border-radius: 6px; background: #fff; color: var(--green); text-align: center; box-shadow: 0 30px 50px -30px rgba(30, 42, 40, 0.45), 0 0 0 1px var(--outline); transform: rotate(-1.500deg); transition: transform 0.4s ease; }
.scene-poster:hover .xposter { transform: rotate(0deg); }
.poster-t { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; line-height: 1.15; }
.poster-qr { width: 62%; fill: var(--green); }
.poster-qr .eye { fill: var(--beige); }
.poster-n { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; color: var(--ink); }
.poster-s { font-size: 0.6875rem; color: var(--ink-muted); }
.qr-split { margin-top: clamp(36px, 5vw, 64px); align-items: center; }
.qr-split .split-copy > p { margin-top: 12px; }

.region-state::before { content: none; }
.region-hero .stores.slim { border-style: dashed; }

/* ---------- Motion ---------- */
@keyframes xp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes xp-pop { 0% { opacity: 0; transform: scale(0.6); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes xp-drop { 0% { opacity: 0; transform: translateY(-22px) scale(0.96); } 60% { opacity: 1; transform: translateY(3px); } 100% { opacity: 1; transform: none; } }
@keyframes xp-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes xp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes xp-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes xp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media screen and (prefers-reduced-motion: no-preference) {
  .js [data-journey].is-live .jr-view { transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s; }
  .js [data-journey].is-live .jr-view.is-on { transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s; }
  .js [data-journey].is-live .jr-view.is-on .on { animation: xp-pop 0.45s ease 0.35s both; }
  .js [data-journey].is-live .jr-view.is-on .jr-track li { animation: xp-rise 0.4s ease both; }
  .js [data-journey].is-live .jr-view.is-on .jr-track li:nth-child(2) { animation-delay: 0.45s; }
  .js [data-journey].is-live .jr-view.is-on .jr-track li:nth-child(3) { animation: xp-pop 0.5s ease 0.9s both; }
  .xp .hero-art .phone { animation: xp-float 7s ease-in-out infinite; }
  .xp .hero-art:hover .phone, .xp .hero-art:focus-within .phone { animation-play-state: paused; }

  .xp [data-reveal]:not(.is-in) > li, .xp .rv:not(.is-in) { opacity: 0; }
  .xp [data-reveal].is-in > li { animation: xp-rise 0.5s ease both; }
  .xp [data-reveal].is-in > li:nth-child(2) { animation-delay: 0.1s; }
  .xp [data-reveal].is-in > li:nth-child(3) { animation-delay: 0.2s; }
  .xp [data-reveal].is-in > li:nth-child(4) { animation-delay: 0.3s; }
  .xp [data-reveal].is-in > li:nth-child(5) { animation-delay: 0.4s; }
  .xp [data-reveal].is-in > li:nth-child(6) { animation-delay: 0.5s; }
  .xp .rv.is-in { animation: xp-rise 0.6s ease both; }
  @media (min-width: 860px) {
    .xp .xflow:not(.is-in) > li::before { transform: scaleX(0); }
    .xp .xflow.is-in > li::before { animation: xp-line 0.5s ease 0.3s both; }
    .xp .xflow.is-in > li:nth-child(2)::before { animation-delay: 0.45s; }
    .xp .xflow.is-in > li:nth-child(3)::before { animation-delay: 0.6s; }
    .xp .xflow.is-in > li:nth-child(4)::before { animation-delay: 0.75s; }
  }

  .js [data-route]:not(.is-in) .rm-path { stroke-dashoffset: 1; }
  .js [data-route]:not(.is-in) .rm-stop, .js [data-route]:not(.is-in) .itin li { opacity: 0; }
  .js [data-route].is-in .rm-path { animation: xp-draw 2.2s ease-in-out 0.3s both; }
  .js [data-route].is-in .rm-stop { transform-box: fill-box; transform-origin: center; animation: xp-pop 0.45s ease both; }
  .js [data-route].is-in .s1 { animation-delay: 0.2s; }
  .js [data-route].is-in .s2 { animation-delay: 1.3s; }
  .js [data-route].is-in .s3 { animation-delay: 2.4s; }
  .js [data-route].is-in .itin li { animation: xp-rise 0.4s ease both; }
  .js [data-route].is-in .itin li:nth-child(1) { animation-delay: 0.3s; }
  .js [data-route].is-in .itin li:nth-child(2) { animation-delay: 0.8s; }
  .js [data-route].is-in .itin li:nth-child(3) { animation-delay: 1.4s; }
  .js [data-route].is-in .itin li:nth-child(4) { animation-delay: 1.9s; }
  .js [data-route].is-in .itin li:nth-child(5) { animation-delay: 2.5s; }

  .xp [data-quotes]:not(.is-in) .qcol { opacity: 0; }
  .xp [data-quotes].is-in .qcol { animation: xp-rise 0.5s ease both; }
  .xp [data-quotes].is-in .qcol:nth-child(2) { animation-delay: 0.15s; }
  .xp [data-quotes].is-in .qcol:nth-child(3) { animation-delay: 0.3s; }

  .ev-b.is-new { animation: xp-drop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .ev-b.is-no { animation: xp-shake 0.4s ease both; }
  .js [data-anim]:not(.is-in) .xposter { opacity: 0; }
  .js [data-anim].is-in .xposter { animation: xp-rise 0.6s ease both; }
}

@media (prefers-reduced-motion: reduce) {
  .where-card, .qcol, .ev-b, .xposter, .jr-dots li, .qstate li { transition: none; }
  .where-card:hover, .ev-b:hover { transform: none; }
}

@media (max-width: 420px) {
  .xcal { padding: 10px; }
  .cal-grid { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); gap: 3px; }
  .ev-b { padding: 3px 5px; font-size: 0.625rem; }
  .ev-b b { font-size: 0.6875rem; }
  .ev-b .ico { display: none; }
  .wk { grid-template-columns: 3.4em repeat(5, minmax(0, 1fr)); gap: 4px; }
  .stations { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Small corrections ---------- */
.qrows .amount, .jr-rows .amount { display: inline-block; }
.story-dark .btn-light, .story-dark .btn-light:hover, .band .btn-light { color: var(--green); }

/* ---------- Regional pages ---------- */
.soon-line { display: inline-flex; align-items: center; gap: 10px; margin: 2px 0 16px; padding: 8px 16px; border-radius: var(--pill); background: var(--green); color: #fff; font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.soon-line::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--beige); }
.invest { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--outline-strong); border-radius: 36px; background: var(--surface); }
@media (min-width: 900px) { .invest { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.invest .art { width: 100%; border-radius: 24px; }
.invest-copy > p { margin-top: 14px; color: var(--ink-muted); max-width: 40em; }
.invest-copy .eyebrow { margin: 0 0 12px; }
.invest-copy .contact-mail { color: var(--ink); }
.cal-t { white-space: nowrap; }
@media (max-width: 420px) { .cal-t { font-size: 0.5625rem; padding-right: 2px; } }
