/* Авторские SVG-скетчи. Два чернила, никаких изображений и зависимостей. */
:root { --sketch-ink: var(--ink, #171918); --sketch-accent: #a45440; }
.site-shell { position: relative; isolation: isolate; }
.sketch { color: var(--sketch-ink); pointer-events: none; user-select: none; }
svg.sketch, .sketch svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.sketch :is(path, circle, ellipse, rect, line, polyline) { vector-effect: non-scaling-stroke; }
.sketch .sketch-accent { stroke: var(--sketch-accent); }
.sketch-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sketch-hero { width: min(540px, 100%); height: auto; margin: 8px 3% 4px auto; opacity: .77; }
.sketch-cloud { transform-box: fill-box; transform-origin: center; }
.sketch-divider { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; padding: 8px 0; overflow: clip; }
.sketch-divider svg { width: min(300px, 65%); height: 30px; opacity: .45; }
.sketch-divider[data-sketch-divider="bricks"] svg { width: 200px; }
.sketch-divider[data-sketch-divider="cobbles"] svg { width: 240px; }
.sketch-trail { position: absolute; left: 0; top: 0; bottom: 0; width: 48px; overflow: clip; visibility: hidden; z-index: 1; }
.sketch-trail.is-ready { visibility: visible; }
.sketch-trail-canvas { width: 100%; height: 100%; overflow: visible; }
.sketch-trail-steps { stroke: var(--sketch-ink); stroke-width: 1.5; opacity: .3; }
.sketch-stop { position: absolute; left: 7px; width: 34px; height: 42px; opacity: 0; transform: translateY(6px); }
.sketch-stop.is-passed { opacity: .75; transform: none; }
.sketch-stop.is-near-guide { opacity: 0; }
.sketch-stop svg { width: 100%; height: 100%; }
.sketch-stop[hidden] { display: none; }
.sketch-guide { position: absolute; top: 0; left: 2px; width: 44px; height: 60px; opacity: 0; will-change: transform; }
.sketch-trail.is-ready .sketch-guide { opacity: .9; }
.sketch-guide svg { width: 100%; height: 100%; }
.sketch-guide-arm { transform-origin: 27px 24px; }
.sketch-guide-leg { transform-origin: 21px 46px; }
.sketch-ticket { position: absolute; inset: -2px -3px; width: calc(100% + 6px); height: calc(100% + 4px); color: var(--sketch-accent); }
.walk .photo-tag { background: transparent; border-color: transparent; border-radius: 0; }
.sketch-review-sticker { width: 116px; height: 30px; margin-top: 16px; color: var(--sketch-accent); transform: rotate(-3deg); }
.sketch-review-sticker text { stroke: none; fill: currentColor; font-family: inherit; font-size: 10px; letter-spacing: .5px; }
.sketch-review-invite { position: relative; }
.sketch-invite-art { width: 60px; height: 60px; margin: 0 0 12px auto; color: var(--paper); opacity: .78; }
.sketch-meeting-title { display: flex; align-items: center; gap: 8px; }
.sketch-meeting-pin { display: inline-block !important; flex: 0 0 22px; width: 22px; height: 30px; filter: none !important; }
.sketch-footer { flex-basis: 100%; width: min(440px, 100%); height: 96px; margin: 0 auto 8px; opacity: .52; }
footer[data-track-block="footer"] { flex-wrap: wrap; }
footer[data-track-block="footer"] > span { flex: 1 1 auto; }
footer[data-track-block="footer"] > span:last-child { text-align: right; }

/* Без JS всё видно статично. Наблюдатель скрывает только саму графику. */
@media (prefers-reduced-motion: no-preference) {
  .sketch-reveal.is-waiting { opacity: 0; transform: translateY(8px); }
  .sketch-reveal { transition: opacity 500ms ease, transform 500ms ease; }
  .sketch-stop { transition: opacity 500ms ease, transform 500ms ease; }
  .sketch-guide { transition: opacity 500ms ease; }
  .sketch-motion .sketch-hero .sketch-draw { animation: sketch-draw 1800ms cubic-bezier(.3,.1,.25,1) both; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .sketch-motion .sketch-hero .sketch-detail { animation-delay: 300ms; }
  .sketch-motion .sketch-cloud { animation: sketch-cloud 7s ease-in-out 2s infinite alternate; }
  .sketch-motion .sketch-wave { animation: sketch-water 6s ease-in-out 2s infinite alternate; }
  .sketch-guide.is-walking .sketch-guide-leg { animation: sketch-step 650ms ease-in-out infinite alternate; }
  .sketch-guide.is-walking .sketch-guide-leg + .sketch-guide-leg { animation-delay: -650ms; }
  .sketch-guide.is-finished .sketch-guide-arm { animation: sketch-wave-hand 900ms ease-in-out 3 alternate; }
}
@keyframes sketch-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sketch-cloud { to { transform: translateX(5px); } }
@keyframes sketch-water { to { transform: translateY(2px); } }
@keyframes sketch-step { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes sketch-wave-hand { from { transform: rotate(-8deg); } to { transform: rotate(19deg); } }
@media (max-width: 1100px) {
  .sketch-trail { width: 30px; }
  .sketch-stop, .sketch-guide, .sketch-review-sticker, .sketch-ticket, .sketch-meeting-pin, .sketch-invite-art, .sketch-footer { display: none !important; }
  .walk .photo-tag { background: #fcf8f1; border-color: #ded4c5; border-radius: 999px; }
  .sketch-hero { width: min(480px, 90%); margin-right: 0; }
}
@media (max-width: 640px) {
  .sketch-trail { width: 14px; }
  .sketch-hero { width: 100%; margin: 12px 0 4px; }
  .sketch-hero .sketch-extra { display: none; }
  .sketch-divider { height: 36px; padding-block: 4px; }
  .sketch-divider svg { width: min(220px, 75%); height: 24px; }
  footer[data-track-block="footer"] > span:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .sketch, .sketch * { animation: none !important; transition: none !important; }
  .sketch-reveal.is-waiting { opacity: 1; transform: none; }
  .sketch-draw { stroke-dashoffset: 0 !important; }
}
