/* Veremon broneerimine: front-end styles.
 * World: Nordic owner's manual. Paper white, logo ink, logo blue for action, sky from the logo arc for marks.
 * Every rule is scoped under .vm so the theme stays untouched; form fields carry explicit colours
 * (with !important) so a theme cannot turn their text white or transparent. */

@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.vm {
	--vm-paper: #F6F5F1;
	--vm-sheet: #FFFFFF;
	--vm-ink: #221F1F;
	--vm-ink-2: #4E4943;
	--vm-ink-3: #6B655E;
	--vm-rule: #DAD6CD;
	--vm-rule-strong: #A9A398;
	--vm-blue: #1F59B0;
	--vm-blue-deep: #17468C;
	--vm-blue-tint: #EAF1FB;
	--vm-sky: #34B2E6;
	--vm-sky-soft: #CDEBF8;
	--vm-plate: #0B4EA2;
	--vm-error: #B3261E;
	--vm-ok: #1E6B3A;
	--vm-ease: cubic-bezier(.16, 1, .3, 1);
	--vm-pad: clamp(16px, 4vw, 48px);
	--vm-max: 1280px;
	--vm-gap: clamp(24px, 4vw, 64px);
	--vm-font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

	font-family: var(--vm-font);
	font-size: 17px;
	line-height: 1.55;
	color: var(--vm-ink);
	background: var(--vm-paper);
	-webkit-font-smoothing: antialiased;
	box-sizing: border-box;
	overflow-x: clip;
	caret-color: var(--vm-blue);
}
.vm *, .vm *::before, .vm *::after { box-sizing: inherit; }
.vm ::selection { background: var(--vm-sky-soft); color: var(--vm-ink); }
.vm img { max-width: 100%; height: auto; display: block; }
.vm p { margin: 0 0 1em; }
.vm h1, .vm h2, .vm h3 { font-family: var(--vm-font); color: var(--vm-ink); margin: 0; text-wrap: balance; }
.vm h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.vm h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.vm a { color: var(--vm-blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
.vm a:hover { color: var(--vm-blue-deep); }
.vm .vm-sr, .vm .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vm :focus-visible { outline: 2px solid var(--vm-blue); outline-offset: 3px; }
.vm-ico { flex: none; }
/* Tabular figures only where numbers line up in columns (the face's tnum also widens punctuation). */
.vm-readout dd, .vm-spec__read dd, .vm-option__read, .vm-day strong, .vm-ticket [data-t="price"], .vm-table td, .vm-step__no { font-variant-numeric: tabular-nums; }

.vm-wrap { max-width: var(--vm-max); margin: 0 auto; padding: 0 var(--vm-pad); }
.vm-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--vm-gap); align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.vm-head p { margin: 0; color: var(--vm-ink-2); max-width: 46ch; }

/* ---------- Buttons ---------- */
.vm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 1.4em;
	font: 700 1rem/1 var(--vm-font); letter-spacing: 0;
	border: 1.5px solid transparent; border-radius: 2px; cursor: pointer;
	text-decoration: none !important; white-space: nowrap;
	transition: background-color .2s var(--vm-ease), color .2s var(--vm-ease), border-color .2s var(--vm-ease), transform .2s var(--vm-ease), box-shadow .2s var(--vm-ease);
}
.vm-btn .vm-ico { transition: transform .25s var(--vm-ease); }
.vm-btn:hover .vm-ico { transform: translateX(3px); }
.vm-btn:active { transform: translateY(1px) scale(.985); }
.vm-btn--primary { background: var(--vm-blue) !important; color: #FFFFFF !important; }
.vm-btn--primary:hover { background: var(--vm-blue-deep) !important; box-shadow: 0 6px 16px -8px rgba(23, 70, 140, .7); transform: translateY(-1px); }
.vm-btn--line { background: transparent !important; color: var(--vm-ink) !important; border-color: var(--vm-ink); }
.vm-btn--line:hover { background: var(--vm-ink) !important; color: #FFFFFF !important; transform: translateY(-1px); }
.vm-btn--lg { min-height: 56px; padding: 0 1.8em; font-size: 1.05rem; }
.vm-btn[disabled], .vm-btn[aria-busy="true"] { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
.vm-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--vm-ease); padding-bottom: 2px; }
.vm-link:hover { background-size: 100% 1.5px; }

/* ---------- Form controls: explicit colours so theme styles cannot make them unreadable ---------- */
.vm input[type="text"], .vm input[type="email"], .vm input[type="tel"], .vm input[type="number"], .vm textarea, .vm select {
	width: 100%; min-height: 50px; margin: 0;
	padding: 12px 14px;
	font: 400 1rem/1.4 var(--vm-font) !important;
	color: var(--vm-ink) !important;
	-webkit-text-fill-color: var(--vm-ink) !important;
	background: #FFFFFF !important;
	border: 1px solid var(--vm-rule-strong) !important;
	border-radius: 2px !important;
	box-shadow: none !important;
	opacity: 1 !important;
	appearance: none; -webkit-appearance: none;
	transition: border-color .15s, box-shadow .15s;
}
.vm textarea { min-height: 112px; resize: vertical; }
.vm input::placeholder, .vm textarea::placeholder { color: #77716A !important; -webkit-text-fill-color: #77716A !important; opacity: 1 !important; }
.vm input:focus, .vm textarea:focus, .vm select:focus { outline: none; border-color: var(--vm-blue) !important; box-shadow: 0 0 0 3px var(--vm-sky-soft) !important; }
.vm select option { color: var(--vm-ink) !important; background: #FFFFFF !important; }
.vm .is-invalid input, .vm input.is-invalid { border-color: var(--vm-error) !important; }
.vm-select { position: relative; }
.vm-select select { padding-right: 44px; cursor: pointer; }
.vm-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--vm-ink); border-bottom: 2px solid var(--vm-ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.vm-label, .vm-field label { display: block; margin: 0 0 6px; font-size: .9rem; font-weight: 700; color: var(--vm-ink); }
.vm-opt { font-weight: 400; color: var(--vm-ink-3); }
.vm-error { margin: 6px 0 0 !important; min-height: 0; color: var(--vm-error); font-size: .9rem; font-weight: 500; }
.vm-error:empty { display: none; }
.vm-error--form { margin-bottom: 12px !important; }
.vm-hint { color: var(--vm-ink-3); font-size: .95rem; margin: 12px 0 0 !important; }

/* ---------- Photo frames and leader-line callouts (the manual's figure) ---------- */
.vm-figure { position: relative; margin: 0; overflow: hidden; background: #E9E6DF; }
.vm-figure img { width: 100%; height: 100%; object-fit: cover; }
.vm-callout { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; pointer-events: none; }
.vm-callout__dot { position: relative; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--vm-sky); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 2px 8px rgba(0, 0, 0, .35); flex: none; }
.vm-callout__label {
	position: relative; margin-left: 56px; margin-top: -7px;
	padding: 7px 11px; background: #FFFFFF; color: var(--vm-ink);
	font-size: .82rem; font-weight: 700; line-height: 1.2; white-space: nowrap;
	box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
}
.vm-callout__label::before { content: ""; position: absolute; right: 100%; top: 50%; width: 49px; height: 1.5px; background: #FFFFFF; transform-origin: left center; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
:is(.vm-callout--left:not(.is-flipped), .vm-callout.is-flipped:not(.vm-callout--left)) { flex-direction: row-reverse; }
:is(.vm-callout--left:not(.is-flipped), .vm-callout.is-flipped:not(.vm-callout--left)) .vm-callout__dot { margin: -7px -7px 0 0; }
:is(.vm-callout--left:not(.is-flipped), .vm-callout.is-flipped:not(.vm-callout--left)) { transform: translateX(-100%); }
:is(.vm-callout--left:not(.is-flipped), .vm-callout.is-flipped:not(.vm-callout--left)) .vm-callout__label { margin-left: 0; margin-right: 56px; }
:is(.vm-callout--left:not(.is-flipped), .vm-callout.is-flipped:not(.vm-callout--left)) .vm-callout__label::before { right: auto; left: 100%; transform-origin: right center; }

.vm-callout.is-hidden { display: none; }

/* ---------- Hero ---------- */
.vm-hero { background: var(--vm-paper); }
.vm-hero__grid {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	min-height: min(calc(100svh - var(--vm-header, 0px)), 980px);
	max-width: calc(var(--vm-max) + (100vw - var(--vm-max)) / 2); margin-right: 0; margin-left: auto;
}
.vm-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vh, 88px) clamp(28px, 4vw, 64px) clamp(40px, 6vh, 88px) var(--vm-pad); }
.vm-hero__title { font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: .98; font-weight: 800; letter-spacing: -0.04em; margin-bottom: .45em; }
.vm-hero__lead { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--vm-ink-2); max-width: 44ch; margin-bottom: 28px; }
.vm-starter { background: var(--vm-sheet); border: 1px solid var(--vm-rule); padding: 20px; max-width: 520px; box-shadow: 0 18px 40px -28px rgba(34, 31, 31, .45); }
.vm-readout { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0 16px; border-top: 1px solid var(--vm-rule); border-bottom: 1px solid var(--vm-rule); }
.vm-readout > div { padding: 10px 0; }
.vm-readout > div + div { border-left: 1px solid var(--vm-rule); padding-left: 16px; }
.vm-readout dt { font-size: .8rem; color: var(--vm-ink-3); font-weight: 500; }
.vm-readout dd { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.vm-starter .vm-btn { width: 100%; }
.vm-hero__facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; color: var(--vm-ink-2); }
.vm-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.vm-hero__facts a { color: var(--vm-ink); font-weight: 700; text-decoration: none; }
.vm-hero__facts a:hover { color: var(--vm-blue); }
.vm-hero__media { min-height: 420px; }
.vm-hero__media img { position: absolute; inset: 0; }

/* ---------- Services: spec table, price and duration always side by side ---------- */
.vm-services { padding: clamp(72px, 10vw, 136px) 0; background: var(--vm-sheet); }
.vm-spec { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--vm-ink); }
.vm-spec__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px 40px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--vm-rule); transition: background-color .2s var(--vm-ease); }
.vm-spec__row:hover { background: linear-gradient(90deg, transparent, var(--vm-blue-tint) 30%, var(--vm-blue-tint) 70%, transparent); }
.vm-spec__name h3 { margin-bottom: 4px; }
.vm-spec__name p { margin: 0; color: var(--vm-ink-2); font-size: .95rem; max-width: 62ch; }
.vm-spec__read { display: grid; grid-template-columns: 84px 110px; margin: 0; text-align: right; }
.vm-spec__read dt { font-size: .78rem; color: var(--vm-ink-3); }
.vm-spec__read dd { margin: 0; font-weight: 700; }
.vm-price { font-size: 1.3rem; font-weight: 800 !important; letter-spacing: -0.015em; }
.vm-more { margin: 28px 0 0 !important; }

/* ---------- Workshop ---------- */
.vm-workshop { padding: clamp(72px, 10vw, 136px) 0; background: var(--vm-paper); }
.vm-workshop__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--vm-gap); align-items: center; }
.vm-workshop__media { aspect-ratio: 1 / 1; }
.vm-workshop__copy h2 { margin-bottom: .55em; }
.vm-workshop__copy p { color: var(--vm-ink-2); max-width: 52ch; }
.vm-strip { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vm-strip li { aspect-ratio: 1 / 1; }
.vm-strip img { transition: transform .6s var(--vm-ease); }
.vm-strip li:hover img { transform: scale(1.03); }

/* ---------- Booking ---------- */
.vm-booking { padding: clamp(72px, 10vw, 136px) 0; background: var(--vm-sheet); scroll-margin-top: 24px; }
.vm-book { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.vm-book__form { margin: 0; border-top: 2px solid var(--vm-ink); }
.vm-step { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--vm-rule); min-width: 0; }
.vm-step__head {
	display: flex; align-items: center; gap: 14px; width: 100%;
	padding: 18px 0; float: left; /* lets the legend sit inside the fieldset flow */
}
.vm-step__head + * { clear: both; }
.vm-step__no { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--vm-ink); font-weight: 800; font-size: .95rem; flex: none; transition: background-color .25s var(--vm-ease), color .25s var(--vm-ease); }
.vm-step__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.vm-step__sum { margin-left: auto; color: var(--vm-ink-2); font-size: .95rem; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.vm-step__edit { display: none; flex: none; min-height: 44px; padding: 0 12px; margin: 0; background: transparent !important; color: var(--vm-blue) !important; border: 0; font: 700 .95rem var(--vm-font); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.vm-step__body { display: none; padding: 0 0 32px; }
.vm-step.is-current .vm-step__body { display: block; animation: vm-open .45s var(--vm-ease); }
.vm-step.is-current .vm-step__no { background: var(--vm-ink); color: #FFFFFF; }
.vm-step.is-done .vm-step__no { background: var(--vm-sky-soft); border-color: var(--vm-sky-soft); color: var(--vm-ink); }
.vm-step.is-done .vm-step__sum { display: block; }
.vm-step.is-done .vm-step__edit { display: inline-block; }
.vm-step[disabled]:not(.is-done) .vm-step__head { color: var(--vm-ink-3); }
.vm-step[disabled]:not(.is-done) .vm-step__no { border-color: var(--vm-rule-strong); color: var(--vm-ink-3); }
.vm-step__nav { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes vm-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.vm-group { margin: 22px 0 8px !important; font-size: .82rem; font-weight: 700; color: var(--vm-ink-3); }
.vm-group:first-child { margin-top: 4px !important; }
.vm-options { display: grid; gap: 8px; }
.vm-option {
	position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center;
	padding: 14px 16px; background: #FFFFFF; border: 1px solid var(--vm-rule); border-radius: 2px; cursor: pointer;
	transition: border-color .15s, background-color .15s, box-shadow .2s var(--vm-ease);
}
.vm-option:hover { border-color: var(--vm-rule-strong); box-shadow: 0 6px 16px -12px rgba(34, 31, 31, .5); }
.vm-option input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--vm-rule-strong); border-radius: 3px; background: #FFFFFF center / 14px 14px no-repeat; grid-row: 1; transition: border-color .15s, background-color .15s; }
.vm-option input:checked { border-color: var(--vm-blue); background-color: var(--vm-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.vm-hint--top { margin: 0 0 6px !important; }
.vm-picked { margin: 16px 0 0 !important; font-weight: 700; }
.vm-picked:empty { display: none; }
.vm-ticket__list { display: grid; gap: 6px; }
.vm-ticket__item { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: .92rem; line-height: 1.35; }
.vm-ticket__item span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--vm-ink-2); }
.vm-option input:focus-visible { outline: 2px solid var(--vm-blue); outline-offset: 3px; }
.vm-option:has(input:checked) { border-color: var(--vm-blue); background: var(--vm-blue-tint); }
.vm-option__name { font-weight: 700; }
.vm-option__read { display: inline-flex; gap: 18px; align-items: baseline; white-space: nowrap; }
.vm-option__read span { color: var(--vm-ink-3); font-size: .92rem; }
.vm-option__read strong { font-size: 1.08rem; min-width: 64px; text-align: right; }
.vm-option__desc { display: none; }
.vm-option:has(input:checked) .vm-option__desc { display: block; animation: vm-open .35s var(--vm-ease); }
.vm-option__desc { grid-column: 2 / -1; color: var(--vm-ink-2); font-size: .9rem; line-height: 1.45; }

.vm-week { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; }
.vm-week__label { margin: 0 !important; font-weight: 700; }
.vm-week__nav { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; background: #FFFFFF !important; color: var(--vm-ink) !important; border: 1px solid var(--vm-rule-strong); border-radius: 2px; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s; }
.vm-week__nav:hover:not(:disabled) { border-color: var(--vm-ink); }
.vm-week__nav:active:not(:disabled) { transform: scale(.96); }
.vm-week__nav:disabled { opacity: .35; cursor: default; }
.vm-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.vm-day {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: 66px; padding: 6px 2px; background: #FFFFFF !important; color: var(--vm-ink) !important;
	border: 1px solid var(--vm-rule); border-radius: 2px; cursor: pointer; font: 500 .82rem/1.1 var(--vm-font);
	transition: border-color .15s, background-color .15s, transform .15s;
}
.vm-day strong { font-size: 1.3rem; font-weight: 800; }
.vm-day:hover:not(:disabled) { border-color: var(--vm-ink); transform: translateY(-1px); }
.vm-day[aria-checked="true"] { background: var(--vm-ink) !important; color: #FFFFFF !important; border-color: var(--vm-ink); }
.vm-day:disabled { cursor: default; color: #A39D94 !important; background: #F1EFEA !important; border-color: #ECE9E3; }
/* Month calendar (time step): compact, colour-coded by how booked a day is. */
.vm-when { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px 36px; align-items: start; }
.vm-cal-pick .vm-week { margin: 0 0 10px; }
.vm-cal-pick .vm-week__label { text-transform: capitalize; }
.vm-month__head, .vm-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.vm-month__head span { text-align: center; font-size: .78rem; font-weight: 700; color: var(--vm-ink-3); padding-bottom: 4px; }
.vm-month .vm-day {
	min-height: 0; aspect-ratio: 1 / 1; padding: 0; gap: 0;
	font: 700 .95rem/1 var(--vm-font); font-variant-numeric: tabular-nums;
	border-radius: 3px; border-width: 1px;
}
.vm-month .vm-day:hover:not(:disabled) { transform: none; border-color: var(--vm-ink); }
.vm-month .vm-day--blank { visibility: hidden; }
.vm-month .vm-day.is-free { background: #FFFFFF !important; border-color: var(--vm-rule-strong); color: var(--vm-ink) !important; }
.vm-month .vm-day.is-partial { background: #FFEFB8 !important; border-color: #D9A21B; color: #4A3700 !important; }
.vm-month .vm-day.is-full, .vm-month .vm-day.is-full:disabled { background: #F7D2CE !important; border-color: #C9473D; color: #7F1D1D !important; cursor: not-allowed; }
.vm-month .vm-day.is-closed, .vm-month .vm-day.is-closed:disabled { background: #F1EFEA !important; border-color: #ECE9E3; color: #A39D94 !important; }
.vm-month .vm-day.is-today { box-shadow: inset 0 -3px 0 var(--vm-blue); }
.vm-month .vm-day[aria-checked="true"] { background: var(--vm-ink) !important; border-color: var(--vm-ink); color: #FFFFFF !important; box-shadow: 0 0 0 2px var(--vm-paper), 0 0 0 4px var(--vm-ink); }
.vm-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--vm-ink-2); }
.vm-legend li { display: inline-flex; align-items: center; gap: 6px; }
.vm-legend i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--vm-rule-strong); background: #FFFFFF; }
.vm-legend i.is-partial { background: #FFEFB8; border-color: #D9A21B; }
.vm-legend i.is-full { background: #F7D2CE; border-color: #C9473D; }
.vm-legend i.is-closed { background: #F1EFEA; border-color: #ECE9E3; }
.vm-when__day { margin: 0 0 4px !important; font-weight: 700; min-height: 1.5em; }
.vm-when__day:empty { display: none; }
.vm-when__times .vm-times { margin-top: 8px; }
.vm-when__times .vm-hint { margin-top: 4px !important; }
@media (max-width: 700px) {
	.vm-when { grid-template-columns: 1fr; }
	.vm-cal-pick { max-width: 420px; }
}
.vm-times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vm-times:empty { display: none; }
.vm-time {
	min-width: 92px; min-height: 48px; padding: 0 16px; background: #FFFFFF !important; color: var(--vm-ink) !important;
	border: 1px solid var(--vm-rule-strong); border-radius: 2px; cursor: pointer; font: 700 1.05rem var(--vm-font);
	transition: border-color .15s, background-color .15s, transform .15s;
}
.vm-time:hover:not(:disabled) { border-color: var(--vm-blue); transform: translateY(-1px); }
.vm-time[aria-checked="true"] { background: var(--vm-blue) !important; border-color: var(--vm-blue); color: #FFFFFF !important; }
.vm-time:disabled { text-decoration: line-through; color: #A39D94 !important; border-color: var(--vm-rule); cursor: default; }
.vm-days.is-loading, .vm-times.is-loading { opacity: .5; pointer-events: none; }

.vm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.vm-field { grid-column: 1 / -1; min-width: 0; }
.vm-field--half { grid-column: span 1; }
.vm-field--plate { grid-column: span 1; }
.vm .vm-field--plate input[type="text"] {
	padding-left: 50px !important; font: 800 1.35rem/1.2 var(--vm-font) !important; letter-spacing: .08em; text-transform: uppercase;
	border: 2px solid var(--vm-ink) !important; border-radius: 4px !important; min-height: 56px;
	background: linear-gradient(90deg, var(--vm-plate) 0 34px, #FFFFFF 34px) !important;
}
.vm-field--plate { position: relative; }
.vm-field--plate::after { content: "EST"; position: absolute; left: 4px; bottom: 9px; width: 30px; text-align: center; color: #FFFFFF; font: 700 .68rem var(--vm-font); letter-spacing: .04em; pointer-events: none; }
.vm-field--plate:has(.vm-error:not(:empty))::after { bottom: 36px; }
.vm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vm-fine { margin: 16px 0 0 !important; font-size: .88rem; color: var(--vm-ink-3); max-width: 60ch; }

.vm-ticket { position: sticky; top: 24px; background: var(--vm-paper); border: 1px solid var(--vm-rule); padding: 22px 22px 18px; }
.vm-ticket__title { margin: 0 0 10px !important; font-weight: 800; font-size: 1.05rem; }
.vm-ticket dl { margin: 0; }
.vm-ticket dl > div { padding: 10px 0; border-top: 1px solid var(--vm-rule); }
.vm-ticket dt { font-size: .78rem; color: var(--vm-ink-3); }
.vm-ticket dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.vm-ticket__pair { display: grid; grid-template-columns: 1fr 1fr; padding: 0 !important; }
.vm-ticket__pair > div { padding: 10px 0; }
.vm-ticket__pair > div + div { border-left: 1px solid var(--vm-rule); padding-left: 14px; }
.vm-ticket [data-t="price"] { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.vm-ticket__where { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0 !important; padding-top: 12px; border-top: 1px solid var(--vm-rule); font-size: .9rem; color: var(--vm-ink-2); }

.vm-done { grid-column: 1 / -1; padding: clamp(28px, 5vw, 56px); background: var(--vm-paper); border: 1px solid var(--vm-rule); text-align: left; animation: vm-open .5s var(--vm-ease); }
.vm-done:focus { outline: none; }
.vm-done__mark { display: inline-grid; place-items: center; width: 52px; height: 52px; background: var(--vm-ok); color: #FFFFFF; border-radius: 50%; margin-bottom: 18px; }
.vm-done__mark .vm-ico { width: 28px; height: 28px; }
.vm-done h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: .5em; }
.vm-done p { max-width: 60ch; color: var(--vm-ink-2); }
.vm-book.is-done .vm-book__form, .vm-book.is-done .vm-ticket { display: none; }

/* ---------- Price list ---------- */
.vm-pricelist { padding: clamp(72px, 10vw, 136px) 0; background: var(--vm-sheet); }
.vm-prices__group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--vm-gap); padding: 28px 0; border-top: 2px solid var(--vm-ink); }
.vm-prices__group h3 { font-size: 1.3rem; font-weight: 800; }
.vm-table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 0; }
.vm-table thead th { font-size: .78rem; font-weight: 500; color: var(--vm-ink-3); text-align: left; padding: 0 0 8px; border-bottom: 1px solid var(--vm-rule); }
.vm-table th[scope="row"] { text-align: left; font-weight: 700; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--vm-rule); vertical-align: top; }
.vm-table th[scope="row"] a { color: var(--vm-ink); text-decoration-color: var(--vm-rule-strong); }
.vm-table th[scope="row"] a:hover { color: var(--vm-blue); text-decoration-color: currentColor; }
.vm-table td { padding: 14px 0 14px 16px; border-bottom: 1px solid var(--vm-rule); vertical-align: top; white-space: nowrap; }
.vm-table .vm-num { text-align: right; }
.vm-table thead .vm-num { text-align: right; }
.vm-table__desc { display: block; margin-top: 3px; font-weight: 400; font-size: .9rem; color: var(--vm-ink-2); max-width: 60ch; }
.vm-table__note { display: block; font-size: .8rem; font-weight: 500; color: var(--vm-ink-3); letter-spacing: 0; }
.vm-table .vm-price { font-size: 1.1rem; }
.vm-prices__note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--vm-rule); color: var(--vm-ink-2); font-size: .95rem; }
.vm-prices__note p { margin: 0 0 4px; }

/* ---------- Contact ---------- */
.vm-contact { padding: clamp(72px, 10vw, 136px) 0; background: var(--vm-paper); }
.vm-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--vm-gap); align-items: stretch; }
.vm-contact__copy h2 { margin-bottom: .5em; }
.vm-contact__address { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin-bottom: .6em !important; }
.vm-contact__copy > p { color: var(--vm-ink-2); }
.vm-contact__list { margin: 24px 0 28px; border-top: 1px solid var(--vm-rule); }
.vm-contact__list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--vm-rule); }
.vm-contact__list dt { color: var(--vm-ink-3); font-size: .92rem; }
.vm-contact__list dd { margin: 0; font-weight: 700; }
.vm-contact__list a { color: var(--vm-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--vm-ease); }
.vm-contact__list a:hover { background-size: 100% 1.5px; color: var(--vm-blue); }
.vm-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 !important; }
.vm-contact__media { min-height: 420px; }
.vm-contact__media img { position: absolute; inset: 0; }

/* ---------- Page template "Veremon leht" ---------- */
body.veremon-canvas { margin: 0; background: #F6F5F1; }
body.veremon-canvas .vm-page { display: block; }
.vm-skip { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 12px 16px; background: #221F1F; color: #FFFFFF !important; font: 700 1rem "Schibsted Grotesk", Arial, sans-serif; text-decoration: none; }
.vm-skip:focus { top: 12px; outline: 2px solid #34B2E6; outline-offset: 2px; }

/* ---------- Site header ---------- */
.vm-site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
	overflow: visible; background: var(--vm-paper); border-bottom: 1px solid var(--vm-rule);
	font-size: 16px;
}
.vm-topbar { background: var(--vm-ink); color: #D9D5CD; font-size: .84rem; }
.vm-topbar__in { display: flex; align-items: center; gap: 8px 28px; min-height: 38px; flex-wrap: wrap; }
.vm-topbar__in > * { display: inline-flex; align-items: center; gap: 7px; }
.vm-topbar .vm-ico { width: 15px; height: 15px; color: var(--vm-sky); }
.vm-topbar a { color: #FFFFFF; text-decoration: none; }
.vm-topbar a:hover { color: var(--vm-sky-soft); }
.vm-topbar__fb { margin-left: auto; }
.vm-bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; min-height: 78px; background: var(--vm-paper); }
.vm-brand { display: inline-flex; flex: none; }
.vm-brand img { width: 176px; height: auto; }
.vm-nav { margin-left: auto; }
.vm-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.vm-nav__list a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
	color: var(--vm-ink); font-weight: 600; text-decoration: none;
	background: linear-gradient(var(--vm-blue), var(--vm-blue)) 12px calc(100% - 8px) / 0 2px no-repeat;
	transition: background-size .3s var(--vm-ease), color .2s;
}
.vm-nav__list a:hover { color: var(--vm-ink); background-size: calc(100% - 24px) 2px; }
.vm-nav__list .current-menu-item > a, .vm-nav__list a[aria-current="page"] { background-size: calc(100% - 24px) 2px; }
.vm-nav__extra { display: none; }
.vm-bar__phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--vm-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.vm-bar__phone:hover { color: var(--vm-blue); }
.vm-bar__cta { min-height: 46px; }
.vm-burger { display: none; position: relative; width: 48px; height: 48px; margin: 0; padding: 0; flex: none; background: transparent !important; border: 0; cursor: pointer; color: var(--vm-ink); }
.vm-burger__lines, .vm-burger__lines::before, .vm-burger__lines::after { position: absolute; left: 13px; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--vm-ease), opacity .2s; content: ""; }
.vm-burger__lines { top: 23px; }
.vm-burger__lines::before { left: 0; top: -7px; }
.vm-burger__lines::after { left: 0; top: 7px; }
.vm-burger[aria-expanded="true"] .vm-burger__lines { background: transparent; }
.vm-burger[aria-expanded="true"] .vm-burger__lines::before { transform: translateY(7px) rotate(45deg); background: var(--vm-ink); }
.vm-burger[aria-expanded="true"] .vm-burger__lines::after { transform: translateY(-7px) rotate(-45deg); background: var(--vm-ink); }

/* ---------- Site footer ---------- */
.vm-site-footer { background: var(--vm-ink); color: #CFCAC2; font-size: 16px; padding: clamp(56px, 7vw, 96px) 0 0; }
.vm-site-footer a { color: #FFFFFF; text-decoration: none; }
.vm-site-footer a:not(.vm-btn):hover { color: var(--vm-sky); }
.vm-foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px var(--vm-gap); padding-bottom: clamp(40px, 5vw, 64px); }
.vm-foot__brand img { width: 168px; height: auto; margin-bottom: 18px; }
.vm-foot__brand img.vm-foot__logo--tint { filter: brightness(0) invert(1); }
.vm-foot__tagline { color: #FFFFFF; font-weight: 700; font-size: 1.1rem; margin-bottom: .6em !important; }
.vm-foot__brand p { max-width: 34ch; }
.vm-foot__brand .vm-btn { margin-top: 8px; }
.vm-foot__title { font-size: .82rem !important; font-weight: 700 !important; letter-spacing: .02em !important; color: #8F887E !important; margin: 4px 0 16px !important; line-height: 1.3 !important; }
.vm-foot dl { margin: 0; }
.vm-foot dl > div { padding: 0 0 12px; }
.vm-foot dt { font-size: .82rem; color: #9E978D; }
.vm-foot dd { margin: 0; font-weight: 700; }
.vm-foot__menu { list-style: none; margin: 0; padding: 0; }
.vm-foot__menu li { margin: 0 0 4px; }
.vm-foot__menu a { display: inline-flex; min-height: 36px; align-items: center; font-weight: 600; }
.vm-foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 28px; background: linear-gradient(#3A3533, #3A3533) var(--vm-pad) 0 / calc(100% - 2 * var(--vm-pad)) 1px no-repeat; font-size: .88rem; color: #9E978D; }
.vm-foot__base p { margin: 0; }
.vm-foot__base ul { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.vm-foot__base a { color: #CFCAC2; display: inline-flex; min-height: 32px; align-items: center; }

@media (max-width: 1100px) {
	.vm-bar__phone span { display: none; }
	.vm-bar { gap: 18px; }
}
@media (max-width: 960px) {
	.vm-topbar { display: none; }
	.vm-bar { min-height: 66px; gap: 12px; }
	.vm-brand img { width: 140px; }
	.vm-bar__phone { margin-left: auto; width: 44px; justify-content: center; }
	.vm-burger { display: inline-block; }
	.vm-nav {
		position: fixed; inset: 0; z-index: 1; margin: 0; padding: calc(var(--vm-bar-h, 66px) + var(--wp-admin--admin-bar--height, 0px) + 16px) var(--vm-pad) 32px;
		background: var(--vm-paper); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .25s var(--vm-ease), transform .3s var(--vm-ease), visibility 0s .3s;
	}
	.vm-site-header.is-open .vm-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--vm-ease), transform .3s var(--vm-ease); }
	.vm-nav__list { flex-direction: column; align-items: stretch; gap: 0; border-top: 2px solid var(--vm-ink); }
	.vm-nav__list a { width: 100%; min-height: 60px; padding: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; border-bottom: 1px solid var(--vm-rule); background-position: 0 calc(100% - 12px); }
	.vm-nav__list a:hover, .vm-nav__list .current-menu-item > a { background-size: 40px 2px; }
	.vm-nav__extra { display: block; margin-top: 28px; color: var(--vm-ink-2); }
	.vm-nav__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 1.25rem; font-weight: 800; color: var(--vm-ink); text-decoration: none; }
	.vm-brand, .vm-bar__phone, .vm-bar__cta, .vm-burger { position: relative; z-index: 2; }
	html.vm-menu-open { overflow: hidden; }
	.vm-foot { grid-template-columns: 1fr 1fr; }
	.vm-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.vm-bar__cta { min-height: 44px; padding: 0 14px; font-size: .95rem; }
	.vm-bar__phone { display: none; }
	.vm-bar__cta { margin-left: auto; }
	.vm-brand img { width: 124px; }
	.vm-foot { grid-template-columns: 1fr; gap: 28px; }
	.vm-foot__base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
	.vm-bar { gap: 6px; }
	.vm-brand img { width: 104px; }
	.vm-bar__cta { padding: 0 10px; font-size: .88rem; }
	.vm-burger { width: 44px; }
	.vm-burger__lines { left: 11px; }
}

/* ---------- Entrance: the hero arrives once, then the callout lines draw out ---------- */
@media (prefers-reduced-motion: no-preference) {
	.vm-hero [data-enter] { animation: vm-enter .9s var(--vm-ease) both; }
	.vm-hero .vm-hero__media[data-enter] { animation-name: vm-reveal; animation-duration: 1.1s; }
	.vm-hero .vm-callout__label { animation: vm-label .6s var(--vm-ease) 1s both; }
	.vm-hero .vm-callout__label::before { animation: vm-line .5s var(--vm-ease) .75s both; }
	.vm-hero .vm-callout__dot { animation: vm-dot .4s var(--vm-ease) .6s both; }
}
@keyframes vm-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes vm-reveal { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes vm-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vm-label { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes vm-dot { from { transform: scale(0); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
	.vm *, .vm *::before, .vm *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.vm-head { grid-template-columns: 1fr; gap: 14px; }
	.vm-book { grid-template-columns: 1fr; }
	.vm-ticket { position: static; order: -1; }
	.vm-ticket dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
	.vm-ticket__where { display: none; }
	.vm-workshop__grid { grid-template-columns: 1fr; }
	.vm-workshop__media { aspect-ratio: 4 / 3; }
	.vm-prices__group { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 860px) {
	.vm-hero__grid { grid-template-columns: 1fr; min-height: 0; max-width: none; }
	.vm-hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; max-height: 46svh; width: 100%; }
	.vm-hero__copy { padding: 28px var(--vm-pad) 48px; }
	.vm-starter { max-width: none; }
	.vm-contact__grid { grid-template-columns: 1fr; }
	.vm-contact__media { min-height: 0; aspect-ratio: 4 / 3; }
	.vm-spec__row { grid-template-columns: minmax(0, 1fr) auto; }
	.vm-spec__name { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.vm { font-size: 16px; }
	.vm-fields { grid-template-columns: 1fr; }
	.vm-field--half, .vm-field--plate { grid-column: 1 / -1; }
	.vm-option { grid-template-columns: 22px minmax(0, 1fr); }
	.vm-option__read { grid-column: 2; }
	.vm-days { gap: 4px; }
	.vm-day { min-height: 58px; font-size: .74rem; }
	.vm-day strong { font-size: 1.1rem; }
	.vm-time { flex: 1 1 calc(33% - 8px); min-width: 0; }
	.vm-step__nav .vm-btn, .vm-contact__actions .vm-btn { width: 100%; }
	.vm-spec__read { grid-template-columns: 70px 90px; }
	.vm-contact__list > div { grid-template-columns: 1fr; gap: 2px; }
	.vm-table td, .vm-table th[scope="row"] { padding-top: 12px; padding-bottom: 12px; }
	.vm-table thead th:nth-child(2), .vm-table td:nth-child(2) { display: none; }
	.vm-callout__label { font-size: .74rem; padding: 6px 9px; margin-left: 34px; }
	.vm-callout__label::before { width: 27px; }
	:is(.vm-callout--left:not(.is-flipped), .vm-callout.is-flipped:not(.vm-callout--left)) .vm-callout__label { margin-right: 34px; margin-left: 0; }
	.vm-step__sum { display: none !important; }
	.vm-ticket { padding: 16px 16px 6px; }
	.vm-ticket dl > div:first-child, .vm-ticket__pair { grid-column: 1 / -1; }
	.vm-ticket dd { font-size: .95rem; }
	.vm-ticket [data-t="price"] { font-size: 1.25rem; }
}
