/* Vedomatic — 2026 rebuild of the 2014 one-page design.
   Same colors, type and layout; no jQuery, no scroll plugin.
   Full-screen "one section per screen" layout on large screens (CSS scroll snap),
   normal scrolling flow layout on phones, tablets and short windows. */

@font-face {
	font-family: "vedomatic";
	src: url("../fonts/vedomatic.woff2") format("woff2");
	font-display: block;
}
/* 4 glyphs from Font Awesome 4: gear, arrow-circle-o-up, lock, arrow-circle-o-left */
@font-face {
	font-family: "fa-subset";
	src: url("../fonts/fa-subset.woff2") format("woff2");
	font-display: block;
}

:root {
	--trebuchet: "Trebuchet MS", Helvetica, sans-serif;
	--verdana: Verdana, sans-serif;
	--white: #fff;
	--blue: #2490c6;
	--text: #464646;
	--page1: #083e58;
	--page2: #1d8aad;
	--page3: #dc2c03;
	--page4: #fff200;
	--page5: #2db5f9;
	--page6: #00ffe3;
	--page7: #0fe4ee;
	--footer: #055154;
	--pp: #34663d;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
::selection { color: var(--page4); background: var(--text); }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	font-family: var(--verdana);
	line-height: 1.2;
	background: var(--page1);
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
strong { font-weight: bold; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

[data-icon]::before {
	font-family: "vedomatic";
	content: attr(data-icon);
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h2 {
	font-family: var(--trebuchet);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 32px;
	letter-spacing: 18px;
	line-height: 32px;
	padding: 40px 0;
	color: var(--white);
	text-align: center;
}
h3 {
	color: var(--white);
	font-size: 12px;
	font-family: var(--verdana);
	font-weight: bold;
}
p {
	font-size: 16px;
	color: var(--text);
	font-family: var(--trebuchet);
	line-height: 2;
	margin-bottom: 30px;
}

.page_container {
	position: relative;
	margin: 0 auto;
	max-width: 1000px; /* 960px content + padding, as before */
	padding: 0 20px;
	z-index: 3;
}

main > section { position: relative; overflow: hidden; }

/* ---------------- Header ---------------- */
.site-header {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 10;
	max-width: 1000px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	font-family: var(--trebuchet);
	font-weight: bold;
}
.site-header .logo {
	display: block;
	width: 72px;
	padding-top: 76px;
	line-height: 20px;
	font-family: var(--verdana);
	font-weight: normal;
	font-size: 13px;
	text-align: center;
	color: var(--white);
	text-decoration: none;
	background: url("../img/logo.png") top center / 72px 76px no-repeat;
	background-image: image-set(url("../img/logo.png") 1x, url("../img/logo@2x.png") 2x);
}
.site-header .nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 18px; }
.site-header .nav a {
	display: inline-block;
	color: var(--white);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	line-height: 1.2;
	margin-top: 38px;
}
.site-header .nav a:hover { border-bottom-color: var(--white); }

/* ---------------- 1. Hero ---------------- */
.page1 {
	background: var(--page1) url("../img/bg-img1.jpg") center / cover no-repeat;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
}
.page1 .page_container { width: 100%; }
.page1 h1 {
	font-family: var(--verdana);
	font-size: 36px;
	line-height: 1.4;
	font-weight: normal;
	color: var(--white);
	text-align: center;
	margin: 30px auto 40px;
	max-width: 920px;
	text-wrap: balance;
}

/* ---------------- 2 & 3. Platforms / Expertise (tab pickers) ---------------- */
.page2 { background: var(--page2); }
.page3 { background: var(--page3); }

.tabs .page_container h2 { padding-bottom: 0; }
.picker {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}
.picker .item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
}
/* the little white triangle pointing at the description panel */
.picker .item[aria-selected="true"]::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	border: 25px solid transparent;
	border-top: 0;
	border-bottom-color: var(--white);
}
.picker .label {
	font-family: var(--verdana);
	font-size: 12px;
	font-weight: bold;
	white-space: nowrap;
	text-shadow: var(--text) 1px 1px 1px;
	transition: color .3s, text-shadow .3s;
}

.page2 .item { width: 20%; }
.page2 .item .label { margin-bottom: 20px; }
.page2 .item img {
	width: 100%;
	aspect-ratio: 1;
	border: 5px solid var(--white);
	border-radius: 50%;
	box-shadow: var(--text) 1px 1px 3px;
	transition: transform .3s, box-shadow .3s;
}
.page2 .item:hover img, .page2 .item[aria-selected="true"] img {
	box-shadow: rgba(70, 70, 70, .8) 2px 2px 5px;
	transform: scale(1.1);
}

.page3 .item { width: 140px; padding-bottom: 28px; }
.page3 .item .icon { font-size: 140px; line-height: 1; height: 140px; display: block; }
.page3 .item .icon::before { line-height: 140px; }
.page3 .item:hover, .page3 .item[aria-selected="true"] { color: #373737; }
.page3 .item:hover .label, .page3 .item[aria-selected="true"] .label { text-shadow: none; }

.exp-info {
	background: var(--white);
	display: flex;
	align-items: center;
}
.exp-info .text { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.exp-info p { line-height: 1.8; margin: 0 0 16px; }
.exp-info p:last-child { margin-bottom: 0; }

/* ---------------- 4. Quote ---------------- */
.page4 { background: var(--page4); }
.page4 .page_container { display: flex; align-items: center; }
.page4 blockquote { position: relative; z-index: 1; margin-right: -20px; }
.page4 blockquote p { font-size: 48px; line-height: 1.5; margin: 0; }
.page4 .icon {
	position: absolute;
	color: var(--white);
	opacity: .75;
	font-size: 300px;
	line-height: 1.2;
	z-index: 0;
}
.page4 .quots1 { top: 50%; left: 0; margin-top: -330px; }
.page4 .quots2 { bottom: 50%; right: 0; margin-bottom: -330px; }

/* ---------------- 5. Services ---------------- */
.page5 { background: var(--page5); }
.page5 h2 { padding-bottom: 0; position: relative; z-index: 1; }
.gear { position: absolute; display: block; color: var(--white); opacity: .1; line-height: 1; z-index: 0; }
.gear::before { content: "\f013"; font-family: "fa-subset"; }
.gear.small  { font-size: 340px;  width: 340px;  height: 340px;  bottom: -170px; left: 50%; margin-left: 80px; }
.gear.medium { font-size: 700px;  width: 700px;  height: 700px;  bottom: -200px; left: 50%; margin-left: -600px; }
.gear.large  { font-size: 1200px; width: 1200px; height: 1200px; top: 0; margin-top: -500px; left: 50%; margin-left: -45px; }
.two-col {
	position: relative;
	z-index: 1;
	width: 80%;
	margin: 0 10%;
	display: grid;
	grid-template-columns: 40% 40%;
	column-gap: 20%;
	row-gap: 45px;
	align-content: center;
}
.two-col h3 {
	font-size: 18px;
	font-family: var(--trebuchet);
	border-bottom: 3px solid var(--blue);
	padding-bottom: 5px;
	line-height: 1.5;
	margin-bottom: 10px;
}
.two-col p { color: var(--white); margin: 0; }

/* ---------------- 6. Save time / productivity ---------------- */
.page6 { background: var(--page6); }
.page6 .page_container { max-width: 880px; display: flex; align-items: center; }
.page6 .inner { width: calc(100% + 40px); } /* the old layout box included the right padding */
.page6 h2 {
	font-size: 28px;
	line-height: 32px;
	padding: 0 0 20px;
	color: #000;
	text-align: left;
	text-transform: none;
	letter-spacing: 1px;
}
.page6 p { color: #000; }
.page6 .block1, .page6 .block2 { position: relative; }
.page6 .block1 { margin-bottom: 60px; }
.page6 .block1 .text { width: 340px; }
.page6 .block1 .text p { margin-bottom: 0; }
.page6 .block2 h2, .page6 .block2 .text { width: 400px; margin-left: auto; }
.page6 .block2 .text p:last-child { margin-bottom: 0; }
.page6 .icon-box {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	overflow: hidden;
	color: #000;
}
.page6 .icon { display: block; height: 100%; line-height: 1.2; }
.page6 .block1 .icon-box { right: 20px; width: 380px; height: 380px; font-size: 380px; }
.page6 .block2 .icon-box { left: 0; width: 340px; height: 340px; font-size: 340px; }

/* ---------------- 7. About + footer ---------------- */
.page7 { background: var(--page7); display: flex; flex-direction: column; }
.page7 .page_container { position: absolute; inset: 0; margin: 0 auto; max-width: 900px; width: 100%; }
.page7 h2 { position: relative; z-index: 2; }
.page7 .icon { color: var(--text); }
.page7 .map-bg {
	position: absolute;
	top: 50%; left: 50%;
	margin: -460px 0 0 -460px;
	font-size: 920px;
	line-height: 1.2;
	opacity: .1;
	z-index: 0;
}
.page7 .map { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); width: 340px; height: 340px; font-size: 340px; }
.page7 .map .icon { display: block; line-height: 1.2; }
.page7 .location {
	position: absolute;
	top: 50%;
	right: -98px;
	margin: -42px 0 0;
	transform: translateY(-50%);
	font-size: 12px;
	line-height: 1.2;
	font-family: var(--trebuchet);
	color: var(--text);
}
.page7 .location span { display: block; padding-top: 10px; }
.page7 .text { position: absolute; top: 50%; right: 20px; transform: translateY(-50%); width: 340px; z-index: 2; }
.page7 .text p:last-child { margin-bottom: 0; }

.site-footer {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 4;
	background: var(--footer);
	color: var(--white);
	text-align: center;
	padding: 16px 0 3px;
	font-family: var(--trebuchet);
}
.site-footer nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-weight: bold; }
.site-footer nav a {
	color: var(--white);
	opacity: .4;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: opacity .3s;
}
.site-footer nav a:hover { opacity: 1; border-bottom-color: var(--white); }
.site-footer nav a[aria-current] { border-bottom-color: var(--white); }
.site-footer p { color: var(--white); opacity: .4; font-size: 12px; line-height: 24px; margin: 0 0 4px; }
.site-footer .logo { color: var(--white); position: absolute; left: 10px; bottom: 1px; font-size: 60px; line-height: 1; opacity: .4; }
.site-footer .scroll-up {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--white);
	opacity: .4;
	text-decoration: none;
	font-size: 40px;
	line-height: 1;
	transition: opacity .3s;
}
.site-footer .scroll-up::before { content: "\f01b"; font-family: "fa-subset"; }
.site-footer .scroll-up:hover { opacity: 1; }

/* ---------------- Section dots (right edge) ---------------- */
.dots { display: none; }

/* =====================================================================
   Large screens: one section per screen, snapping like the old site
   ===================================================================== */
@media (min-width: 900px) and (min-height: 620px) {
	html { scroll-snap-type: y mandatory; }
	main > section {
		height: 100vh;
		height: 100svh;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
	.page1 { min-height: 0; }

	.tabs { display: flex; flex-direction: column; }
	.tabs .page_container { width: 100%; height: 66%; display: flex; flex-direction: column; }
	.tabs .picker { flex: 1; }
	.tabs .exp-info { height: 34%; }

	.page4 .page_container,
	.page6 .page_container { height: 100%; }

	.page5 .page_container { height: 100%; display: flex; flex-direction: column; }
	.page5 .two-col { flex: 1; }

	.dots {
		display: block;
		position: fixed;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 20;
	}
	.dots a { position: relative; display: block; width: 24px; height: 24px; }
	.dots a::before {
		content: "";
		position: absolute;
		top: 50%; left: 50%;
		width: 4px; height: 4px;
		transform: translate(-50%, -50%);
		border-radius: 50%;
		background: rgba(0, 0, 0, .85);
	}
	.dots a.active::before { width: 10px; height: 10px; background: none; border: 1px solid #000; }
}

/* Narrower or shorter full-screen windows: shrink the big pieces */
@media (min-width: 900px) and (max-width: 1040px) {
	.page4 blockquote p { font-size: 40px; }
	.page6 .block1 .icon-box { width: 300px; height: 300px; font-size: 300px; right: 0; }
	.page6 .block2 .icon-box { width: 300px; height: 300px; font-size: 300px; }
	.page6 .block2 h2, .page6 .block2 .text { width: 370px; }
}

/* =====================================================================
   Phones, tablets and short windows: normal scrolling
   ===================================================================== */
@media (max-width: 899px), (max-height: 619px) {
	h2 { font-size: 26px; letter-spacing: 12px; padding: 36px 0 28px; }

	.site-header .nav a { margin-top: 30px; }

	.tabs .page_container h2 { padding-bottom: 10px; }
	.picker { flex-wrap: wrap; justify-content: center; gap: 24px 4%; padding: 10px 0 0; }
	.picker .item { padding-bottom: 40px; }
	.page2 .item { width: 21%; min-width: 120px; max-width: 170px; }
	.page3 .item { width: 110px; padding-bottom: 40px; }
	.page3 .item .icon { font-size: 104px; height: 104px; }
	.page3 .item .icon::before { line-height: 104px; }
	.exp-info { padding: 32px 0; }

	.page4 .page_container { padding: 120px 40px; }
	.page4 blockquote { margin-right: 0; }
	.page4 blockquote p { font-size: clamp(26px, 5.2vw, 44px); }
	.page4 .icon { font-size: clamp(140px, 30vw, 300px); }
	.page4 .quots1 { top: 20px; margin-top: 0; }
	.page4 .quots2 { bottom: -20px; margin-bottom: 0; }

	.page5 .page_container { padding-bottom: 60px; }
	.two-col { grid-template-columns: 1fr 1fr; column-gap: 12%; row-gap: 30px; width: 100%; margin: 0; }

	.page6 .page_container { padding-top: 60px; padding-bottom: 60px; }
	.page6 .block1, .page6 .block2 { display: grid; column-gap: 30px; align-items: start; }
	.page6 .block1 { grid-template-columns: 1fr 240px; grid-template-areas: "h i" "t i"; grid-template-rows: auto 1fr; }
	.page6 .block2 { grid-template-columns: 240px 1fr; grid-template-areas: "i h" "i t"; grid-template-rows: auto 1fr; }
	.page6 h2 { grid-area: h; }
	.page6 .text { grid-area: t; }
	.page6 .block1 .text, .page6 .block2 h2, .page6 .block2 .text { width: auto; margin: 0; }
	.page6 .icon-box { grid-area: i; position: static; transform: none; }
	.page6 .block1 .icon-box, .page6 .block2 .icon-box { width: 240px; height: 240px; font-size: 240px; }
	.page6 .block1 .icon-box { height: 130px; }
	.page6 .icon { line-height: 1; }

	.page6 .inner { width: auto; }
	.page7 .site-footer { position: relative; }
	.page7 .page_container { position: relative; inset: auto; display: grid; grid-template-columns: 260px 1fr; column-gap: 40px; align-items: center; padding-bottom: 60px; }
	.page7 h2 { grid-column: 1 / -1; }
	.page7 .map, .page7 .text { position: relative; top: auto; left: auto; right: auto; transform: none; }
	.page7 .map { width: 260px; height: 260px; font-size: 260px; }
	.page7 .map .icon { line-height: 1; }
	.page7 .location { right: -90px; }
	.page7 .text { width: auto; padding-left: 60px; }
	.page7 .map-bg { font-size: 640px; margin: -320px 0 0 -320px; }

	.site-footer { padding: 16px 70px 8px; }
}

@media (max-width: 640px) {
	.site-header { padding: 10px 16px; }
	.site-header .logo { width: 56px; padding-top: 59px; background-size: 56px 59px; font-size: 11px; }
	.site-header .nav { gap: 0 12px; font-size: 14px; max-width: 70%; }
	.site-header .nav a { margin-top: 12px; }

	.page1 h1 { font-size: 24px; margin-bottom: 32px; }

	h2 { font-size: 22px; letter-spacing: 8px; }

	.page2 .item { width: 40%; min-width: 0; }
	.page2 .item .label { margin-bottom: 14px; }
	.page3 .item { width: 28%; }
	.picker .label { white-space: normal; }

	.page4 .page_container { padding: 90px 24px; }
	.page4 .icon { font-size: 140px; }

	.two-col { grid-template-columns: 1fr; }
	.two-col h3 { font-size: 16px; }

	.page6 .block1, .page6 .block2 { grid-template-columns: 1fr; grid-template-areas: "h" "i" "t"; }
	.page6 .block1 { margin-bottom: 40px; }
	.page6 .block1 .icon-box, .page6 .block2 .icon-box { width: 200px; height: 200px; font-size: 200px; margin: 0 auto 10px; }
	.page6 .block1 .icon-box { height: 110px; }
	.page6 .block2 .icon-box { height: 150px; }

	.page7 .page_container { grid-template-columns: 1fr; }
	.page7 .map { width: 220px; height: 220px; font-size: 220px; }
	.page7 .text { padding-left: 0; margin-top: 20px; }
	.page7 .location { right: -100px; }

	.site-footer { padding: 16px 16px 70px; }
	.site-footer .logo { font-size: 44px; bottom: 6px; }
	.site-footer .scroll-up { top: auto; bottom: 10px; transform: none; }
}

/* =====================================================================
   Inner pages (contact, privacy policy)
   ===================================================================== */
body.inner {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	color: var(--white);
	overflow-x: hidden;
}
body.contact { background: var(--text); }
body.pp { background: var(--pp); }
body.inner .site-header { position: relative; width: 100%; margin: 0 auto 40px; }
body.inner main { flex: 1; position: relative; z-index: 1; width: 100%; }
body.inner .page_container { padding-bottom: 50px; }
body.inner article { padding: 30px 0 60px; }
body.inner h1 {
	font-family: var(--trebuchet);
	font-weight: bold;
	text-transform: uppercase;
	font-size: 32px;
	letter-spacing: 18px;
	line-height: 32px;
	padding: 40px 0;
	text-align: center;
	color: var(--white);
}
.breadcrumbs { font-size: 10px; line-height: 12px; text-align: center; margin: -30px 0 30px; position: relative; }
.breadcrumbs ol { list-style: none; display: flex; justify-content: center; gap: 0 8px; letter-spacing: 2px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }
.breadcrumbs a { color: var(--white); opacity: .7; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); transition: opacity .3s; }
.breadcrumbs a:hover { opacity: 1; border-color: var(--white); }
.breadcrumbs [aria-current] { opacity: .7; }

body.inner article p, body.inner article > ul > li { color: var(--white); font-family: var(--trebuchet); }
body.inner article p { max-width: 700px; }
body.inner article a { color: var(--white); opacity: .7; text-decoration: none; border-bottom: 1px solid var(--white); }
body.inner article a:hover { opacity: 1; }

.contact .bg-logo {
	position: absolute;
	top: -78px;
	left: calc(50% - 800px);
	font-size: 700px;
	line-height: 1;
	color: var(--white);
	opacity: .1;
	z-index: 0;
	pointer-events: none;
}

.pp .bg-lock {
	position: absolute;
	top: 180px;
	left: calc(50% + 120px);
	right: 0;
	height: 800px;
	overflow: hidden;
	font-size: 800px;
	line-height: 1;
	color: var(--white);
	opacity: .1;
	z-index: 0;
	pointer-events: none;
}
.pp .bg-lock::before { content: "\f023"; font-family: "fa-subset"; }
.pp article > ul { list-style: disc; font-size: 16px; line-height: 1.8; max-width: 700px; margin: 0 auto 30px; padding-left: 50px; }
.pp article > ul > li { margin-bottom: 30px; padding-bottom: 16px; }
.pp article > ul > li:last-child { margin-bottom: 0; }

body.inner .site-footer { position: relative; background: transparent; padding: 0 20px 7px; }

@media (max-width: 640px) {
	body.inner .site-header { margin-bottom: 10px; }
	body.inner h1 { font-size: 22px; letter-spacing: 8px; }
	.contact .bg-logo { font-size: 420px; left: -180px; top: 40px; }
	.pp .bg-lock { font-size: 420px; height: 420px; left: 55%; }
	.pp article > ul { padding-left: 20px; }
}

@media print {
	.dots, .gear, .map-bg, .scroll-up { display: none; }
	main > section { height: auto !important; break-inside: avoid; }
}
