/* /veebidisain/ and /en/web-design/ (body.vd): the Designer's approved mockup "Veebidisain 1.5" (team/mockups/
   Veebidisain - 12.11.2026/approved). Loaded after styles.css; the header, menu and footer are the site's own.
   Everything here is scoped to .vd. The page's paint is its own (vd.js), not blobs.js' compositions. */
.vd main, .vd .demo, .vd .curlayer {
  --ease: cubic-bezier(.22, .61, .36, 1);
  --pop: cubic-bezier(.34, 1.5, .64, 1);
  --fuchsia: #df4bd3; --violet: #8735bd; --blue: #2843bb; --paint-red: #cb2525; --lime: #92dd30;
  --pink: #f59ac4; --orange: #f0782a; --yellow: #f6d327; --teal: #0fa48c;
  /* Spacing: one 4/8 px scale, nothing in between */
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px; --sp-32: 32px;
  --sp-48: 48px; --sp-64: 64px; --sp-96: 96px; --sp-128: 128px; --sp-160: 160px;
  --r-8: 8px; --r-16: 16px; --r-24: 24px;
  /* Layout rhythm, phone first: page gutter, section padding, heading to content, grid gap */
  --gutter: var(--sp-16); --sec: var(--sp-48); --head: var(--sp-32); --gap: var(--sp-16);
  /* the ordinary template */
  --plain: Arial, "Liberation Sans", sans-serif; --plain-bg: #ffffff; --plain-ink: #222; --plain-text: #555;
  --plain-blue: #2563eb; --plain-line: #e8e8e8;
  interpolate-size: allow-keywords;
}
/* The body itself: the site's header and footer keep the site's own values (only the plain-template colours, used by the tour's plain header) */
.vd { --plain: Arial, "Liberation Sans", sans-serif; --plain-bg: #ffffff; --plain-ink: #222; --plain-blue: #2563eb; --plain-line: #e8e8e8; position: relative; overflow-x: clip; }
@media (min-width: 820px) { .vd main, .vd .demo, .vd .curlayer { --gutter: var(--sp-32); --sec: var(--sp-64); --head: var(--sp-48); --gap: var(--sp-24); } }
@media (min-width: 1100px) { .vd main, .vd .demo, .vd .curlayer { --sec: var(--sp-96); --head: var(--sp-48); --gap: var(--sp-32); } }
.vd main { overflow-x: clip; }
.vd .curlayer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: clip; pointer-events: none; z-index: 60; }

/* The site's own rules for names this page also uses (styles.css): reset them here */
.vd .pw { opacity: 1; color: inherit; }
.vd .browser { width: auto; border-radius: var(--r-8); }
.vd main .work { grid-template-columns: none; gap: var(--sp-24) var(--gap); align-items: initial; }
.vd main .work + .work { margin-top: 0; }
@media (min-width: 820px) { .vd main .work { grid-template-columns: 1fr 1fr; align-items: center; } }
.vd .facts { list-style: none; display: block; margin: 0; padding: 0; border: 0; }
.vd .cta-row { gap: var(--sp-16) var(--sp-32); }
.vd .cur .note { font-size: 13px; line-height: 1; letter-spacing: -0.01em; margin: 0; }
.vd .hero h1 { max-width: 8.8em; }


.vd main .wrap, .vd .curlayer .wrap { width: min(1360px, 100% - 2 * var(--gutter)); margin: 0 auto; }

.vd main h1, .vd main h2, .vd main h3 { font-weight: 500; letter-spacing: -0.045em; line-height: .95; margin: 0; color: var(--black); }
.vd main h1 { font-size: clamp(3.1rem, 9vw, 8.6rem); }
.vd main h2 { font-size: clamp(2.5rem, 6.2vw, 5.6rem); }
.vd main h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.05; }
.vd main p { margin: 0; color: var(--text); }
.vd main b, .vd main strong { font-weight: 600; color: var(--black); }

/* Two halves on the 4-column grid: the right half always starts on the same line */
.vd .split { display: grid; gap: var(--sp-24) var(--gap); }
@media (min-width: 820px) { .vd .split { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- Buttons and links ---------- */
.vd main .btn { display: inline-flex; align-items: center; gap: var(--sp-12); min-height: 56px; padding: 0 var(--sp-24); border: 0; border-radius: 999px; background: var(--black); color: #fff; text-decoration: none; font: 400 1.02rem/1.2 var(--font); letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .4s var(--ease), border-radius .4s var(--ease), min-height .4s var(--ease), padding .4s var(--ease), font-size .4s var(--ease); }

.vd main .btn-sm { min-height: 40px; padding: 0 var(--sp-16); font-size: .92rem; }
.vd .tlink { font-size: 1.02rem; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Switch (Vähenda liikumist): the one in the header and the one on the card are the same setting */
.vd .tg { position: relative; width: 48px; height: 28px; flex: none; border: 1.5px solid var(--black); border-radius: 999px; background: transparent; cursor: pointer; padding: 0; transition: background-color .3s; }
.vd .tg i { position: absolute; top: 3.5px; left: 3.5px; width: 18px; height: 18px; border-radius: 50%; background: var(--black); transition: transform .45s var(--pop), background-color .3s; }
.vd .tg[aria-checked="true"] { background: var(--black); }
.vd .tg[aria-checked="true"] i { transform: translateX(20px); background: var(--cream); }

/* ---------- Sections: designed (default) and ordinary (.b, only during the tour) ---------- */
.vd .ed { position: relative; padding: var(--sec) 0; background-color: rgba(253, 249, 244, 0);
  transition: background-color .27s var(--ease), padding .27s var(--ease), border-color .27s; border-top: 1px solid transparent; }
.vd .ed > .wrap { position: relative; z-index: 1; max-width: 1360px; transition: max-width .27s var(--ease); }
.vd .ed h1, .vd .ed h2, .vd .ed h3, .vd .ed p, .vd .ed .big { transition: font-size .27s var(--ease), letter-spacing .27s var(--ease), line-height .27s var(--ease), color .18s, margin .27s var(--ease), max-width .27s var(--ease); }

/* parts that exist only in one version fold open or shut */
.vd .a-only, .vd .b-only { display: grid; transition: grid-template-rows .27s var(--ease), opacity .18s var(--ease), visibility 0s; }
.vd .a-only > *, .vd .b-only > * { min-height: 0; overflow: hidden; }
.vd .a-only { grid-template-rows: 1fr; opacity: 1; }
.vd .b-only { grid-template-rows: 0fr; opacity: 0; visibility: hidden; }

/* words the tour removes: selected (red, like veebi.dev's text selection), then they shrink away */
.vd .cut { transition: font-size .18s var(--ease), opacity .12s; }
.vd .cut.gone { font-size: 0; opacity: 0; }
.vd .w.sel { background: var(--red); color: #fff; }
.vd .selb { background: var(--red) !important; border-color: var(--red) !important; }
.vd .selb, .vd .selb * { color: #fff !important; }
.vd .selb .ph-img, .vd .selb dl div { background: transparent !important; border-color: rgba(255,255,255,.45) !important; }
.vd .typed { white-space: pre-wrap; }
.vd .caret { display: inline-block; width: .06em; height: .9em; margin-left: .03em; vertical-align: -.08em; background: var(--red); animation: vd-blink .9s steps(1) infinite; }
@keyframes vd-blink { 50% { opacity: 0; } }

/* painted word (veebi.dev's data-paint-word idea): letters filled with paint */
.vd .pw { transition: color .5s var(--ease) .1s; }
.js .vd .pw.on { background-image: var(--pw); color: transparent; -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat; background-size: 100% 100%; }

/* paint shapes: they grow in when their section comes into view */
@keyframes vd-wob { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg) translate(1.5%, -2%); } }

/* ---------- Hero ---------- */
.vd .hero { padding-top: var(--sp-32); padding-bottom: var(--sp-160); }
@media (min-width: 820px) { .vd .hero { padding-top: var(--sp-48); padding-bottom: var(--sec); } }
@media (min-width: 1100px) { .vd .hero { padding-top: var(--sp-64); } }
.vd .crumb { display: inline-block; margin-bottom: var(--sp-32); font-size: .95rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.vd .hero h1 { max-width: 8.8em; }
.vd .lede { font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--black); margin: var(--sp-32) 0; max-width: 22em; }
.vd .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-16) var(--sp-32); }
.vd .facts { margin: 0; padding: 0; }
.vd .facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--plain-line); }
.vd .facts dt { color: #888; } .vd .facts dd { margin: 0; color: var(--plain-ink); }
.vd .ph-img { display: grid; place-items: center; gap: 6px; aspect-ratio: 16 / 9; margin-top: 26px; background: #eceef1; border: 1px solid #e1e4e8; border-radius: 4px; color: #9aa1aa; font: 14px var(--plain); }
.vd .ph-img svg { width: 42px; height: 42px; }

/* ---------- Not a template ---------- */
.vd main .big { font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; color: var(--black); max-width: 20em; }
.vd .say .big:first-child { color: var(--text); }
.vd .say .big + .big { margin-top: var(--sp-8); }
.vd .minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: var(--head); }
@media (min-width: 1100px) { .vd .minis { grid-template-columns: repeat(8, 1fr); } }
.vd .mini { position: relative; aspect-ratio: 3 / 4; display: flex; flex-direction: column; gap: 7%; padding: 10%; background: #fff; border: 1px solid #d9d9d9; border-radius: var(--r-8); overflow: hidden; transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.vd .mini i { display: block; flex: none; height: 5%; background: #d6d6d6; border-radius: 2px; transition: all .5s var(--ease); }
.vd .mini .m-img { height: 34%; background: #e6e6e6; }
.vd .mini .m-l.s { width: 66%; }
.vd .mini .m-btn { width: 46%; height: 9%; margin-top: auto; background: #3b82f6; border-radius: 2px; }
.vd .mini .m-dot { position: absolute; width: 9%; height: auto; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: 14%; top: 42%; transform: scale(0); transition: transform .45s var(--pop) .25s; }
.vd .mini .m-dot + .m-dot { right: 28%; top: 48%; background: var(--blue); width: 7%; transition-delay: .32s; }
.vd .mini.on, html:not(.js) .vd .mini.yours { background: var(--cream); border-color: var(--black); }
.vd .mini.on .m-nav { width: 34%; background: var(--black); }
.vd .mini.on .m-img { width: 92%; height: 38%; background: var(--fuchsia); border-radius: 58% 42% 61% 39% / 48% 57% 43% 52%; transform: translate(24%, -6%) rotate(-10deg); }
.vd .mini.on .m-l { height: 10%; width: 92%; background: var(--black); }
.vd .mini.on .m-l.s { width: 58%; }
.vd .mini.on .m-btn { width: 64%; height: 11%; background: var(--black); border-radius: 99px; }
.vd .mini.on .m-dot { transform: scale(1); }

/* ---------- Calm is fine too: the same words in two moods ---------- */
.vd .moods { display: grid; gap: var(--sp-32) var(--gap); margin-top: var(--head); }
@media (min-width: 820px) { .vd .moods { grid-template-columns: 1fr 1fr; } }
.vd .mood { margin: 0; }
.vd .mock { position: relative; container-type: inline-size; aspect-ratio: 4 / 3; overflow: hidden; display: flex; flex-direction: column; padding: 6cqi 7cqi; border-radius: var(--r-16); }
@media (min-width: 820px) { .vd .mock { border-radius: var(--r-24); } }
.vd .mood figcaption { margin-top: var(--sp-12); font-size: 1rem; line-height: 1.4; color: var(--text); }
.vd .mood figcaption b { font-weight: 500; }
.vd .mk-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.vd .mk-h, .vd .mk-btn { position: relative; }
.vd .mock.m-bold { background: var(--sand); }
.vd .m-bold .mk-top b { font-size: 5cqi; font-weight: 600; letter-spacing: -0.05em; }
.vd .m-bold .mk-top i { width: 15cqi; height: 6.5cqi; border-radius: 99px; background: var(--black); }
.vd .m-bold .mk-h { margin-top: 6cqi; font-size: 10.5cqi; font-weight: 500; letter-spacing: -0.055em; line-height: .92; color: var(--black); max-width: 5em; }
.vd .m-bold .mk-btn { align-self: flex-start; margin-top: auto; padding: 2.8cqi 5.5cqi; border-radius: 99px; background: var(--black); color: #fff; font-size: 3.8cqi; }
.vd .m-bold [data-blob] { position: absolute; }
.vd .m-bold [data-blob] svg { display: block; width: 100%; height: 100%; }
.vd .mk-b1 { right: -12cqi; bottom: -12cqi; width: 56cqi; height: 50cqi; }
.vd .mk-b2 { right: 44cqi; bottom: 14cqi; width: 16cqi; height: 14cqi; }
.vd .mk-b3 { right: 12cqi; bottom: 44cqi; width: 5cqi; height: 5cqi; }
.vd .mock.m-calm { padding: 0; background: #f7f2ea; color: #2a241e; }
.vd .m-calm .mk-top { position: absolute; left: 6cqi; right: 6cqi; top: 4.6cqi; }
.vd .m-calm .mk-top i { width: 14cqi; font-style: normal; font-size: 1.9cqi; letter-spacing: .14em; text-transform: uppercase; color: #8c8276; }
.vd .m-calm .mk-top i + b + i { text-align: right; }
.vd .m-calm .mk-top b { font: 400 3.2cqi/1 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; letter-spacing: .01em; color: #2a241e; }
.vd .m-calm .mk-col { position: absolute; left: 0; right: 0; top: 18cqi; display: flex; flex-direction: column; align-items: center; text-align: center; }
.vd .m-calm .mk-eye { font-size: 1.9cqi; letter-spacing: .16em; text-transform: uppercase; color: #8c8276; }
.vd .m-calm .mk-h { display: block; margin-top: 3cqi; font: 400 6.4cqi/1.04 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; letter-spacing: -0.015em; color: #2a241e; }
.vd .m-calm .mk-h span { color: #b5643c; }
.vd .m-calm .mk-cta { margin-top: 4cqi; padding: 1.5cqi 3.6cqi; border-radius: 99px; background: #2a241e; color: #f7f2ea; font-size: 2.3cqi; font-weight: 500; }
.vd .m-calm .mk-boule { position: absolute; left: 50%; bottom: -9cqi; width: 22cqi; height: 22cqi; margin-left: -11cqi; border-radius: 50%; background: #e7b48f; transition: transform 1.1s var(--ease) .15s; }
.js .vd .ed.pop .m-calm .mk-boule { transform: translateY(6cqi); transition: none; }
.calm .vd .m-calm .mk-boule { transition: none; }
.vd .m-calm .mk-boule i { position: absolute; width: 6.5cqi; height: .7cqi; border-radius: 1cqi; background: #c98760; transform: rotate(-24deg); }
.vd .m-calm .mk-boule i:nth-child(1) { left: 6cqi; top: 3.4cqi; }
.vd .m-calm .mk-boule i:nth-child(2) { left: 8cqi; top: 5.6cqi; }
.vd .m-calm .mk-boule i:nth-child(3) { left: 10cqi; top: 7.8cqi; }

/* ---------- Works ---------- */
.vd .works { display: grid; gap: var(--sp-48); margin-top: var(--head); }
@media (min-width: 820px) { .vd .works { gap: var(--sp-64); } .vd .work:nth-child(even) .work-fig { order: 2; } }
.vd .work { display: grid; gap: var(--sp-24) var(--gap); }
@media (min-width: 820px) { .vd .work { grid-template-columns: 1fr 1fr; align-items: center; } }
.vd .panel { position: relative; display: block; padding: var(--sp-24) var(--sp-16); background: var(--sand); border-radius: var(--r-16); }
@media (min-width: 820px) { .vd .panel { padding: var(--sp-24); border-radius: var(--r-24); } }
@media (min-width: 1100px) { .vd .panel { padding: var(--sp-48); } }
.vd .browser { overflow: hidden; background: #fff; border-radius: var(--r-8); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.vd .bar { display: flex; align-items: center; gap: var(--sp-4); height: 24px; padding: 0 var(--sp-8); border-bottom: 1px solid #eee; font-size: 11px; color: #8d8d8d; }
.vd .bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcdcdc; }
.vd .bar span { margin-left: var(--sp-8); }
.vd .phone-f { position: absolute; right: 8%; bottom: 8%; width: 25%; overflow: hidden; border: 4px solid #111; border-radius: 20px; background: #111; }
@media (min-width: 820px) { .vd .phone-f { width: 22%; border-width: 6px; border-radius: 24px; } }
.vd .phone-f img { border-radius: 14px; }
.vd .work h3 { font-size: clamp(1.75rem, 3.2vw, 3rem); letter-spacing: -0.045em; line-height: 1; }
.vd .work h3 a { text-decoration: none; }
.vd .work-t > p { margin-top: var(--sp-16); font-size: 1.05rem; max-width: 26em; }
.vd .gains { display: grid; gap: var(--sp-12); margin: var(--sp-24) 0; padding: 0; list-style: none; }
.vd .gains li { display: flex; align-items: flex-start; gap: var(--sp-12); font-size: 1.125rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; color: var(--black); }
.vd .gb { flex: none; width: 16px; height: 16px; margin-top: .2em; }
.vd .gb svg { display: block; width: 100%; height: 100%; }
.vd .all { display: inline-block; margin-top: var(--sp-48); }
/* Vaata lähemalt: an outlined pill with the work's own paint colour holding the arrow */
.vd .more { display: inline-flex; align-items: center; gap: var(--sp-16); min-height: 56px; padding: 0 var(--sp-8) 0 var(--sp-24); border: 1.5px solid var(--black); border-radius: 999px; color: var(--black); text-decoration: none; font: 500 1.02rem/1 var(--font); letter-spacing: -0.015em; transition: background-color .25s var(--ease), color .25s var(--ease); }
.vd .more .chip { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--c); transition: transform .3s var(--pop); }
.vd .more .ar { position: relative; width: 16px; height: 16px; transition: transform .25s var(--ease); }
@media (hover: hover) { .vd .more:hover { background: var(--black); color: #fff; } .vd .more:hover .chip { transform: scale(1.1); } .vd .more:hover .ar { transform: translateX(2px); } }

/* ---------- Values: cards you can press. Each one does what it says. ---------- */
.vd .vgrid { display: grid; gap: var(--gap); margin-top: var(--head); }
@media (min-width: 820px) { .vd .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vd .vgrid { grid-template-columns: repeat(4, 1fr); } }
.vd .vcard { position: relative; display: flex; flex-direction: column; padding: var(--sp-24); background: var(--sand); border-radius: var(--r-24); transition: transform .3s var(--ease), background-color .3s var(--ease); }
.js .vd .vcard { cursor: pointer; }
@media (hover: hover) { .js .vd .vcard:hover { transform: translateY(-4px); background: var(--stone); } }
.js .vd .vcard:active { transform: translateY(-1px); }
.vd .vcard h3 { font-size: clamp(1.75rem, 2.3vw, 2.25rem); letter-spacing: -0.045em; line-height: 1; }
.vd .vcard > p { margin-top: var(--sp-12); font-size: 1rem; max-width: 24em; }
.vd .vcard > .a-only { margin-top: auto; padding-top: var(--sp-24); }
html:not(.js) .vd .vcard > .a-only { display: none; }
.vd .toy { display: flex; align-items: center; gap: var(--sp-16); height: 160px; padding: var(--sp-16); background: var(--cream); border-radius: var(--r-16); }
.vd .toy .cap, .vd .toy p { margin: 0; font-size: .95rem; line-height: 1.4; color: var(--text); max-width: 15em; }
.vd .toy button { font: inherit; color: inherit; }
.vd .mini-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--sp-16); border: 0; border-radius: 999px; background: var(--black); color: #fff !important; font: 400 .98rem/1 var(--font) !important; cursor: pointer; }
/* Päriselt lahe disain: a template page that gets designed */
.vd .toy .go.mini { flex: none; width: 96px; height: 128px; padding: 10%; cursor: pointer; }
/* Ilu, mis teeb tööd: booking in two taps */
.vd .bk { flex-wrap: wrap; align-content: center; }
.vd .slots { display: flex; gap: var(--sp-8); }
.vd .slot { min-width: 64px; height: 48px; border: 1.5px solid var(--black); border-radius: var(--r-8); background: transparent; font: 500 .98rem var(--font) !important; cursor: pointer; }
.vd .slot:hover { background: #fff; }
.vd .bk-done { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-8) var(--sp-12); }
.vd .bk-done b { display: block; }
.vd .tick { position: relative; width: 40px; height: 40px; flex: none; }
.vd .tick svg { width: 100%; height: 100%; display: block; }
.vd .tick::after { content: ""; position: absolute; left: 14px; top: 10px; width: 9px; height: 16px; border: solid var(--black); border-width: 0 2.5px 2.5px 0; transform: rotate(42deg); }
.vd .again { padding: 0; border: 0; background: none; font-size: .9rem !important; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--text) !important; }
/* Telefon enne kõike: the button moves to where the thumb is */
.vd .ph { position: relative; flex: none; width: 72px; height: 128px; overflow: hidden; padding: 0; border: 2.5px solid var(--black); border-radius: var(--r-16); background: #fff; cursor: pointer; }
.vd .ph .l { position: absolute; left: 14%; height: 5px; border-radius: 3px; background: #d8d1c6; }
.vd .ph .l1 { top: 36%; width: 62%; } .vd .ph .l2 { top: 45%; width: 44%; }
.vd .ph .zone { position: absolute; left: -32%; bottom: -30%; width: 150%; height: 76%; transform: scale(0); transform-origin: 30% 100%; transition: transform .4s var(--pop); }
.vd .ph .zone svg { width: 100%; height: 100%; display: block; }
.vd .ph .pb { position: absolute; left: 16%; right: 16%; top: 12%; height: 14px; border-radius: 99px; background: var(--black); transition: top .4s var(--pop) .05s; }
.vd .ph.on .zone { transform: scale(1); }
.vd .ph.on .pb { top: calc(85% - 14px); }
/* Kiirus */
.vd .spd { flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sp-8); }
.vd .spd-n { font-size: clamp(3rem, 4.6vw, 4rem); font-weight: 500; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; color: var(--black); }
/* Teie käes */
.vd .edt { flex-direction: column; align-items: stretch; justify-content: center; gap: var(--sp-8); }
.vd .edt label { display: grid; font-size: .78rem; line-height: 1.3; color: var(--muted); }
.vd .edt input { width: 100%; padding: var(--sp-4) 0 var(--sp-8); border: 0; border-bottom: 1.5px solid var(--black); background: transparent; font: 400 1rem var(--font); color: var(--black); border-radius: 0; }
.vd .edt input:focus { outline: none; border-bottom-color: var(--red); }
.vd .mp { padding: var(--sp-8) var(--sp-12) var(--sp-12); background: #fff; border-radius: var(--r-8); }
.vd .mp i { display: block; width: 36%; height: 4px; margin-bottom: var(--sp-8); border-radius: 2px; background: var(--black); }
.vd .mp-h { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; overflow-wrap: anywhere; min-height: 1.1em; }
/* Mitmekeelsus */
.vd .lng { flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--sp-12); }
.vd .lng-row { display: flex; align-items: center; gap: var(--sp-12); }
.vd .lang-go { flex: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--black); color: #fff !important; font: 500 .92rem/1 var(--font) !important; cursor: pointer; }
.vd .say-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--sp-16); border: 1.5px solid var(--black); border-radius: 999px; font-size: .98rem; line-height: 1.2; white-space: nowrap; color: var(--black); }
.vd .say-btn.flip { animation: vd-hop .35s var(--pop); }
@keyframes vd-hop { from { transform: translateY(6px); opacity: .2; } }
/* Otse ja ausalt */
.vd .me-l { display: flex; align-items: center; gap: var(--sp-16); text-decoration: none; }
.vd .me-l img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.vd .me-l span { font-size: 1rem; line-height: 1.4; color: var(--text); }
.vd .me-l u { text-underline-offset: 4px; }

/* ---------- How it goes ---------- */
.vd .road { position: relative; list-style: none; margin: var(--head) 0 0; padding: 0 0 0 var(--sp-48); display: grid; gap: var(--sp-32); }
.vd .road .stroke { position: absolute; left: 12px; top: 8px; bottom: 8px; width: 8px; border-radius: 8px; background: var(--orange); transform-origin: top; transition: transform .8s var(--ease) .1s; }
.vd .road li { position: relative; }
.vd .road .mk { position: absolute; left: -48px; top: -4px; width: 32px; height: 32px; transform: scale(1); transition: transform .5s var(--pop) var(--d, 0s); }
.vd .road .mk svg { width: 100%; height: 100%; display: block; overflow: visible; }
.vd .road h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); letter-spacing: -0.045em; line-height: 1; }
.vd .road p { margin-top: var(--sp-12); font-size: 1.05rem; max-width: 19em; }
@media (min-width: 1100px) {
  .vd .road { grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding: var(--sp-96) 0 0; }
  .vd .road .stroke { left: 0; right: 0; top: 16px; bottom: auto; width: auto; height: 8px; transform-origin: left; left: calc((100% - 100vw) / 2); right: calc((100% - 100vw) / 2); border-radius: 0; } /* runs off both edges of the window: no end (Tristen) */
  .vd .road .mk { left: 0; top: -96px; width: 40px; height: 40px; }
}

/* ---------- Questions: as on veebi.dev, the list on the left, the heading on the right, a big KKK behind ---------- */
.vd .kkk { padding-bottom: calc(var(--sec) + var(--sp-96)); }
@media (min-width: 820px) { .vd .kkk { padding-bottom: calc(var(--sec) + var(--sp-64)); } }
.vd .kbox { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.vd .kword { position: absolute; right: -0.04em; bottom: -0.2em; font-size: clamp(9rem, 24vw, 26rem); font-weight: 600; letter-spacing: -0.06em; line-height: .8; color: var(--sand); user-select: none; transition: opacity .3s; }
.vd .vfaq { display: grid; gap: var(--head) var(--gap); }
@media (min-width: 820px) {
  .vd .vfaq { grid-template-columns: 1fr 1fr; align-items: start; }
  .vd .vfaq h2 { grid-column: 2; grid-row: 1; justify-self: center; margin-top: calc(252px - .48em); }
  .vd .vfaq .qas { grid-column: 1; grid-row: 1; }
}
.vd .qas { border-top: 1px solid var(--black); }
.vd .qa { border-bottom: 1px solid var(--line); }
.vd .qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); min-height: 72px; padding: var(--sp-16) 0; cursor: pointer; list-style: none; }
.vd .qa summary::-webkit-details-marker { display: none; }
.vd .qa summary::before, .vd .qa summary::after { content: none; } /* the site's FAQ dot and plus (styles.css); the page draws its own */
.vd .qa h3 { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.vd .pm { position: relative; width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.vd .pm::before, .vd .pm::after { content: ""; position: absolute; left: 0; top: 7.25px; width: 16px; height: 1.5px; background: var(--black); }
.vd .pm::after { transform: rotate(90deg); }
.vd .qa[open] .pm { transform: rotate(45deg); }
.vd .qa p { padding: 0 var(--sp-48) var(--sp-24) 0; font-size: 1.05rem; max-width: 34em; }
.vd .qa::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.vd .qa[open]::details-content { block-size: auto; }
@media (hover: hover) { .vd .qa summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }

/* ---------- Call ---------- */
@media (max-width: 819px) { .vd .cta { padding-bottom: var(--sp-128); } }
.vd .cta h2 { font-size: clamp(2.9rem, 8.4vw, 7.6rem); max-width: 9em; }
.vd .cta .lede { margin: var(--sp-32) 0; }
.vd .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-16) var(--sp-32); }
.vd .blue-out { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 0 18px; border: 1px solid var(--plain-blue); border-radius: 4px; color: var(--plain-blue); font: 15px var(--plain); text-decoration: none; }

/* ---------- The designer's cursor ---------- */
.vd .cur { position: absolute; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: transform .55s var(--ease), opacity .3s; will-change: transform; }
.vd .cur.on { opacity: 1; }
.vd .cur.drag { transition: transform .1s linear, opacity .3s; }
.vd .cur.jump { transition: none; }
.vd .cur > svg { display: block; width: 22px; height: 24px; }
.vd .cur .tags { position: absolute; left: 15px; top: 21px; display: flex; gap: var(--sp-4); white-space: nowrap; }
.vd .cur.flip .tags { left: auto; right: 6px; flex-direction: row-reverse; }
.vd .cur.up .tags { top: auto; bottom: 40px; }
.vd .cur .tag, .vd .cur .note { padding: 6px 8px 7px; border-radius: 6px; color: #fff; font: 500 13px/1 var(--font); letter-spacing: -0.01em; }
.vd .cur .tag { background: var(--black); }
.vd .cur .note { display: none; background: var(--red); }
.vd .cur .note.on { display: block; }

/* ---------- The sticky tour button: centred, big, 70 px above the bottom edge ---------- */
.vd .demo { position: fixed; left: 50%; bottom: calc(var(--sp-16) + 70px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; align-items: center; justify-content: center; gap: var(--sp-12);
  width: max-content; max-width: calc(100% - var(--sp-16) * 2); min-height: 64px; padding: var(--sp-12) var(--sp-32) var(--sp-12) var(--sp-24); border: 0; border-radius: 32px;
  background: var(--black); color: #fff; font: 500 1.0625rem/1.3 var(--font); letter-spacing: -0.015em; text-align: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(11, 11, 11, .18); transform: translate(-50%, calc(100% + 140px)); transition: transform .45s var(--pop), background-color .2s; }
.vd .demo.show { transform: translate(-50%, 0); }
.vd .demo.atfoot:not([data-st="run"]) { transform: translate(-50%, calc(100% + 140px)); } /* the footer is the site's own, untouched: the button steps aside while it is on screen */
@media (max-width: 819px) { .vd .demo { min-height: 46px; max-width: min(300px, calc(100% - var(--sp-16) * 2)); padding: 8px 20px 8px 16px; gap: 10px; border-radius: 24px; font-size: .875rem; line-height: 1.25; } .vd .demo svg { width: 16px; height: 16px; } } /* smaller on phones (Tristen, 14.11) */
.vd .demo:hover { background: #2a2a2a; }
.vd .demo svg { flex: none; display: block; }
.vd .demo .i-stop { display: none; width: 14px; height: 14px; margin: 0 4px; border-radius: 3px; background: var(--red); }
.vd .demo[data-st="run"] .i-cur { display: none; }
.vd .demo[data-st="run"] .i-stop { display: block; }
@media (min-width: 820px) { .vd .demo { min-height: 72px; padding: 0 var(--sp-32) 0 var(--sp-24); border-radius: 999px; font-size: 1.25rem; } }
@media (min-width: 1100px) { .vd .demo { bottom: calc(var(--sp-32) + 70px + env(safe-area-inset-bottom, 0px)); } }

/* ======================================================================================
   The ordinary version (.b). Only during the tour: white, Arial, small bold headings,
   long text, a blue button. The tour then redesigns it section by section.
   ====================================================================================== */
.vd .ed.b { background-color: var(--plain-bg); font-family: var(--plain); letter-spacing: 0; padding: 34px 0; border-top-color: var(--plain-line); }
@media (min-width: 820px) { .vd .ed.b { padding: 52px 0; } }
.vd .ed.b > .wrap { max-width: 720px; }
.vd .ed.b h1:not(.grown) { font-family: var(--plain); font-size: 30px; font-weight: 700; letter-spacing: 0; line-height: 1.25; color: var(--plain-ink); }
@media (min-width: 820px) { .vd .ed.b h1:not(.grown) { font-size: 36px; } }
.vd .ed.b h1.grown { font-family: var(--font); }
.vd .ed.b h2 { font-family: var(--plain); font-size: 24px; font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--plain-ink); max-width: none; }
@media (min-width: 820px) { .vd .ed.b h2 { font-size: 28px; } }
.vd .ed.b h3 { font-family: var(--plain); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.35; color: var(--plain-ink); }
.vd .ed.b p, .vd .ed.b .big { font-family: var(--plain); font-size: 16px; line-height: 1.6; letter-spacing: 0; color: var(--plain-text); max-width: none; margin: 12px 0 0; }
.vd .ed.b .crumb { color: var(--plain-blue); font-size: 14px; margin-bottom: 18px; }
.vd main .ed.b .btn { min-height: 44px; padding: 0 18px; border-radius: 4px; background: var(--plain-blue); font: 15px/1.2 var(--plain); letter-spacing: 0; }
.vd main .ed.b .btn .arr { display: none; }
.vd .ed.b .hero-cta { margin-top: 22px; }
.vd .ed.b .tlink, .vd .ed.b .work h3 a, .vd .ed.b .all { color: var(--plain-blue); font-size: 15px; }
.vd .ed.b .work h3 a { font-size: inherit; text-decoration: underline; }
.vd .ed.b .a-only { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .3s var(--ease), opacity .18s, visibility 0s .3s; }
.vd .ed.b .b-only:not(.x) { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.vd .ed.b .split, .vd .ed.b .works, .vd .ed.b .work, .vd .ed.b .vgrid, .vd .ed.b .vfaq { display: block; }
.vd .ed.b .works, .vd .ed.b .vgrid { margin-top: 8px; }
.vd .ed.b .work + .work { margin-top: 22px; }
.vd .ed.b .work p { margin: 6px 0 0; }
.vd .ed.b .all { margin-top: 18px; }
.vd .ed.b .vcard { display: block; padding: 14px 0 0; background: none; border-radius: 0; transform: none; cursor: auto; }
.vd .ed.b .vcard p { margin-top: 4px; }
.vd .ed.b .road { display: block; padding: 0; margin-top: 8px; }
.vd .ed.b .road li { margin-top: 18px; }
.vd .ed.b .road p { margin-top: 4px; }
.vd .ed.b .road .stroke { transform: scale(0); transition-delay: 0s; transition-duration: .4s; }
.vd .ed.b .road .mk { transform: scale(0); transition-delay: 0s; transition-duration: .3s; }
.vd .ed.b .vfaq h2 { margin: 0; }
.vd .ed.b .kword { opacity: 0; }
.vd .ed.b .qas, .vd .ed.b .qa { border: 0; }
.vd .ed.b .qa summary { display: block; min-height: 0; padding: 16px 0 0; cursor: auto; }
.vd .ed.b .pm { display: none; }
.vd .ed.b .qa p { padding: 0; margin-top: 6px; }
.vd .ed.b .cta-row { margin-top: 18px; }
.vd .ed.b .pw.on { color: inherit; background: none; }

html.calm .vd *, html.calm .vd *::before, html.calm .vd *::after { transition-duration: .01s !important; transition-delay: 0s !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vd *, .vd *::before, .vd *::after { transition-duration: .01s !important; transition-delay: 0s !important; animation: none !important; }
  }

/* The paint is the site's (blobs.js, data-paint="vd"); it steps back while the tour shows the plain template */
.vd .blobs { transition: opacity .5s var(--ease); }
.vd.vd-plain .blobs { opacity: 0; transition-duration: .25s; }

/* The tour turns the site's header plain with the hero (Arial, blue links, square button, no logo paint) and
   redesigns it back with the hero. Only on this page and only during the tour; the header is otherwise the site's. */
.vd .site-header .logo, .vd .site-header .nav a, .vd .site-header .lang a, .vd .site-header .header-cta, .vd .menu-btn { transition: color .4s var(--ease), background-color .4s var(--ease), border-radius .4s var(--ease), letter-spacing .4s var(--ease), font-weight .4s var(--ease); }
.vd .site-header .logo-art { transition: opacity .5s var(--ease); }
.vd.vd-plain-head .site-header { background: var(--plain-bg); box-shadow: 0 1px 0 var(--plain-line); }
.vd.vd-plain-head .site-header .logo { font-family: var(--plain); font-weight: 700; letter-spacing: 0; color: var(--plain-ink); -webkit-text-fill-color: var(--plain-ink); }
.vd.vd-plain-head .site-header .logo-art { opacity: 0; }
.vd.vd-plain-head .site-header .nav a, .vd.vd-plain-head .site-header .lang a { font-family: var(--plain); letter-spacing: 0; color: var(--plain-blue); }
.vd.vd-plain-head .site-header .nav a::before { display: none; }
.vd.vd-plain-head .site-header .header-cta, .vd.vd-plain-head .menu-btn { border-radius: 4px; background: var(--plain-blue); color: #fff; font-family: var(--plain); letter-spacing: 0; }

/* The page's own toys switch steps with the hidden attribute: it always wins over their display rules */
.vd main [hidden] { display: none !important; }
/* Ilu, mis teeb tööd: each step of the little booking comes in (the button, the times one after another, the tick) */
.vd .bk > :not([hidden]) { animation: vd-bk-in .45s var(--pop) both; }
.vd .bk .slots .slot { animation: vd-bk-in .42s var(--pop) both; transition: background-color .2s, color .2s, transform .2s var(--pop); }
.vd .bk .slots .slot:nth-child(2) { animation-delay: .06s; }
.vd .bk .slots .slot:nth-child(3) { animation-delay: .12s; }
.vd .bk .slot.pick { background: var(--black); color: #fff; transform: scale(1.06); }
.vd .bk-done .tick { animation: vd-tick .6s var(--pop) both .08s; }
.vd .bk-done .again { animation: vd-bk-in .4s var(--ease) both .35s; }
@keyframes vd-bk-in { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes vd-tick { from { transform: scale(0) rotate(-40deg); } }
/* Kiirus: a fast load shows in green, with a small green dot */
.vd .spd-n { transition: color .4s var(--ease); }
.vd .spd-n.good { color: #179a4b; display: inline-flex; align-items: center; gap: .18em; }
.vd .spd-n.good::before { content: ""; width: .2em; height: .2em; border-radius: 50%; background: #2fc463; box-shadow: 0 0 0 .07em rgba(47, 196, 99, .25); }
