/* Window Wizard Services: the whole site's styles. Fonts come from the editor's
   Fonts section, which overrides the fallback stack below. */
:root {
	--ink: #14202b;
	--text: #2b3944;
	--muted: #5a6873;
	--line: #dde3e8;
	--tint: #f3f6f8;
	--accent: #0a66b0;
	--accent-dark: #084f89;
	--radius: 8px;
	--header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header) + 12px);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font: 400 18px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { margin: 0 0 0.6em; color: var(--ink); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 22px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	background: none;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-large { min-height: 60px; padding: 14px 32px; font-size: 24px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--line);
}
.header-row {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header);
}
.brand {
	margin-right: auto;
	color: var(--ink);
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.brand:hover { color: var(--accent); }
.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--text); font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--accent); }
.header-call { white-space: nowrap; }
.nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 12px;
	border: 0;
	background: none;
	cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; margin: 4px 0; border-radius: 2px; background: var(--ink); }

/* Carousel, driven by assets/js/carousel.js. The incoming slide fades in above the
   outgoing one, which stays solid until the fade ends so the page never shows through. */
.hero, #slides { position: relative; }
#slides {
	height: calc(100vh - var(--header));
	height: calc(100svh - var(--header));
	min-height: 480px;
	max-height: 860px;
	overflow: hidden;
	background: var(--ink);
}
.slides-container { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.slides-container > li {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0s 0.8s, visibility 0s 0.8s;
}
.slides-container > li.current {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.8s;
}
.slides-container img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.slides-container > li::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 18, 26, 0.82), rgba(10, 18, 26, 0.35) 55%, rgba(10, 18, 26, 0.2));
}
.hero-caption {
	position: absolute;
	z-index: 1;
	inset: auto 0 0;
	width: min(1160px, 100% - 40px);
	margin-inline: auto;
	padding-bottom: 136px;
	color: #fff;
}
.hero-title { margin-bottom: 0.25em; color: #fff; font-size: clamp(38px, 6vw, 68px); line-height: 1.08; }
.hero-lead { margin: 0; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.3; }
.hero-actions {
	position: absolute;
	z-index: 3;
	bottom: 52px;
	left: 0;
	right: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	width: min(1160px, 100% - 40px);
	margin-inline: auto;
}
.slides-navigation a {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border-radius: 50%;
	background: rgba(10, 18, 26, 0.5);
	transition: background-color 0.15s;
}
.slides-navigation a:hover { background: rgba(10, 18, 26, 0.85); }
.slides-navigation svg, .lightbox svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.slides-navigation .prev { left: 16px; }
.slides-navigation .next { right: 16px; }
.slides-pagination {
	position: absolute;
	z-index: 3;
	bottom: 14px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 4px;
}
.slides-pagination a {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	font-size: 0;
}
.slides-pagination a::before {
	content: "";
	width: 11px;
	height: 11px;
	border: 2px solid #fff;
	border-radius: 50%;
}
.slides-pagination a.current::before { background: #fff; }

/* Selling points under the carousel */
.trust { background: var(--ink); color: #fff; }
.trust ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	margin-block: 0;
	padding: 16px 0;
	list-style: none;
	font-weight: 600;
}
.trust li, .ticks li { position: relative; padding-left: 26px; }
.trust li::before, .ticks li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.35em;
	width: 8px;
	height: 14px;
	border: solid #7cc4ff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}

/* Sections */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tint { background: var(--tint); }
.section-title { text-align: center; margin-bottom: 1.2em; }
.section-more { margin: 32px 0 0; text-align: center; }
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.split-photo-first .split-photo { order: -1; }
.split-photo img {
	width: 100%;
	max-height: 720px;
	border-radius: var(--radius);
	object-fit: cover;
}
.list-lead { margin-bottom: 0.4em; font-weight: 600; color: var(--ink); }
.ticks { margin: 0 0 1.2em; padding: 0; list-style: none; }
.ticks li { margin-bottom: 4px; }
.ticks li::before { border-color: var(--accent); }

/* Reviews */
.reviews { columns: 2; column-gap: 24px; }
.review {
	break-inside: avoid;
	margin: 0 0 24px;
	padding: 28px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 1px 3px rgba(20, 32, 43, 0.12);
}
.review blockquote { margin: 0 0 16px; }
.review figcaption { color: var(--muted); font-size: 16px; }
.review strong { display: block; color: var(--ink); }
.more-reviews summary { display: flex; width: fit-content; margin: 8px auto 32px; list-style: none; }
.more-reviews summary::-webkit-details-marker { display: none; }
.more-reviews[open] summary { display: none; }

/* Gallery tiles on the home page */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.tile:hover img { transform: scale(1.04); }
.tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 18, 26, 0.8), rgba(10, 18, 26, 0) 60%);
}
.tile h3 {
	position: absolute;
	z-index: 1;
	left: 20px;
	right: 20px;
	bottom: 16px;
	margin: 0;
	color: #fff;
	font-size: 22px;
}

/* Gallery page */
.section-gallery { padding-top: 40px; }
.section-gallery .section-title { margin-bottom: 0.6em; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.btn-filter { border-color: var(--line); color: var(--text); }
.btn-filter:hover { border-color: var(--accent); color: var(--accent); }
.btn-filter[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.work-item[hidden] { display: none; }
.work-link {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--tint);
}
.work-link img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.work-link:hover img { transform: scale(1.04); }
.work-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px 12px 8px;
	background: linear-gradient(to top, rgba(10, 18, 26, 0.75), rgba(10, 18, 26, 0));
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}
.work-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 56px;
	height: 56px;
	margin: -28px 0 0 -28px;
	border-radius: 50%;
	background: rgba(10, 18, 26, 0.7);
}
.work-play::before {
	content: "";
	position: absolute;
	top: 16px;
	left: 21px;
	border-style: solid;
	border-width: 12px 0 12px 19px;
	border-color: transparent transparent transparent #fff;
}

/* Enlarged view */
.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 18, 26, 0.94);
}
.lightbox::backdrop { background: rgba(10, 18, 26, 0.94); }
.lightbox-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 16px; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lightbox button {
	position: absolute;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-close { top: 8px; right: 8px; }
.lightbox-prev { top: 50%; left: 8px; margin-top: -24px; }
.lightbox-next { top: 50%; right: 8px; margin-top: -24px; }

/* Contact and footer */
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2 { color: #fff; }
.contact { text-align: center; }
.contact p { font-size: 20px; }
.site-footer { padding: 20px 0; background: #0c141b; color: #b4c0ca; font-size: 16px; text-align: center; }
.site-footer a { color: #fff; }
.call-bar { display: none; }
.to-top {
	position: fixed;
	z-index: 14;
	right: 20px;
	bottom: 20px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ink);
	box-shadow: 0 2px 8px rgba(20, 32, 43, 0.35);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s, visibility 0.2s, background-color 0.15s;
}
.to-top.shown { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Small desktops: the full menu and the number no longer fit on one line */
@media (max-width: 1060px) {
	.header-row { position: relative; gap: 12px; }
	.nav-toggle { display: block; order: 3; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: -20px;
		right: -20px;
		flex-direction: column;
		gap: 0;
		padding: 8px 20px 16px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 8px 16px rgba(20, 32, 43, 0.12);
	}
	.site-nav.open { display: flex; }
	.site-nav a { padding: 12px 0; font-size: 18px; }
	.works-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
	body { padding-bottom: 56px; }
	:root { --header: 64px; }
	#slides {
		height: calc(100vh - var(--header) - 56px);
		height: calc(100svh - var(--header) - 56px);
	}
	.brand { font-size: 20px; }
	.header-call { display: none; }
	.split { grid-template-columns: 1fr; }
	.split-photo-first .split-photo { order: 0; }
	.split-photo { grid-row: 1; }
	.reviews { columns: 1; }
	.tiles { grid-template-columns: 1fr; }
	.trust ul { flex-direction: column; }
	.slides-navigation { display: none; }
	.hero-title br, .hero-lead br { display: none; }
	.btn-large { font-size: 22px; }
	.to-top { right: 12px; bottom: 68px; }
	.call-bar {
		position: fixed;
		z-index: 15;
		left: 0;
		right: 0;
		bottom: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 56px;
		background: var(--accent);
		color: #fff;
		font-weight: 700;
		text-decoration: none;
	}
	.call-bar:hover { color: #fff; }
}

@media (max-width: 600px) {
	.works-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
