/* Kassandrinos theme. Values measured from the previous Avada build. */

@font-face { font-family: "Josefin Sans"; font-weight: 300; font-display: swap; src: url(fonts/josefin-300.woff2) format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 400; font-display: swap; src: url(fonts/josefin-400.woff2) format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 700; font-display: swap; src: url(fonts/josefin-700.woff2) format("woff2"); }

:root {
	--pk-ink: #000002;
	--pk-grey: #838484;
	--pk-icon: #6b6b6b;
	--pk-border: #848484;
	--pk-wrap: 1140px;
	--pk-gutter: 30px;
	--pk-header: 90px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--pk-ink); }

body {
	margin: 0;
	background: #fff;
	color: var(--pk-ink);
	font: 300 18px/1.4 "Josefin Sans", sans-serif;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.pk-wrap {
	width: 100%;
	max-width: calc(var(--pk-wrap) + 2 * var(--pk-gutter));
	margin: 0 auto;
	padding: 0 var(--pk-gutter);
}

.pk-skip { position: absolute; left: -9999px; }
.pk-skip:focus { left: var(--pk-gutter); top: 8px; z-index: 100; background: #fff; color: #000; padding: 6px 10px; }

/* Header */

.pk-header {
	position: relative;
	z-index: 50;
	background: var(--pk-ink);
	height: var(--pk-header);
}
.home .pk-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; height: 84px; }
.admin-bar.home .pk-header { top: 32px; }

.pk-header__inner { height: 84px; display: flex; justify-content: flex-end; }

.pk-menu { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.pk-menu li { padding-right: 40px; }
.pk-menu li:last-child { padding-right: 0; }
.pk-menu a {
	display: flex;
	align-items: center;
	height: 100%;
	padding-top: 3px;
	border-top: 3px solid transparent;
	color: #fff;
	font-size: 20px;
	line-height: 20px;
	font-weight: 300;
	transition: color .2s, border-color .2s;
}
.pk-menu a:hover,
.pk-menu .current-menu-item > a { color: var(--pk-grey); }
.pk-menu .current-menu-item > a { border-top-color: var(--pk-grey); }

.pk-burger { display: none; }

/* Content */

.pk-main { display: block; background: #fff; }

.pk-content { padding: 86px 0 0; }
.home .pk-content { padding: 0; }

.pk-content > * {
	max-width: calc(var(--pk-wrap) + 2 * var(--pk-gutter));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--pk-gutter);
	padding-right: var(--pk-gutter);
}
.pk-content > .alignfull { max-width: none; padding-left: 0; padding-right: 0; }

.pk-content h3,
.editor-styles-wrapper h3 {
	margin: 0 0 22px;
	color: #000;
	font-size: 30px;
	line-height: 42px;
	font-weight: 300;
}
.pk-content p { margin: 0 0 20px; }
.pk-content a:hover { opacity: .8; }

/* Section wrappers used by the page content */
.pk-section { padding-top: 83px; padding-bottom: 0; }
.pk-content .pk-section > * { margin-left: 0; margin-right: 0; }
.pk-narrow { max-width: calc(547px + 2 * var(--pk-gutter)); margin-left: auto; margin-right: auto; }

.pk-section .wp-block-group__inner-container > *,
.pk-section > * { margin-top: 0; }

/* About page */
.pk-about.pk-about-page { padding-top: 33px; padding-bottom: 156px; }

/* About text */
.pk-about p { max-width: 547px; margin: 0 0 32px !important; }

/* Social icons */
.wp-block-social-links.pk-social {
	gap: 20px;
	margin: 0;
	padding: 0;
	font-size: 16px;
}
.wp-block-social-links.pk-social .wp-social-link {
	background: none !important;
	color: var(--pk-icon) !important;
	margin: 0;
}
.wp-block-social-links.pk-social .wp-social-link a { padding: 0; }
.wp-block-social-links.pk-social .wp-social-link svg { width: 21px; height: 21px; margin: -2.5px; }
/* Avada showed the plain "f" logo, not WordPress' round one. */
.wp-block-social-links.pk-social .wp-social-link-facebook svg { display: none; }
.wp-block-social-links.pk-social .wp-social-link-facebook a::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wp-block-social-links.pk-social .wp-social-link:hover { color: rgba(107,107,107,.8) !important; transform: none; }

/* Home: hero. Scales like the old Slider Revolution grid (1240 x 700). */
.pk-hero {
	background: var(--pk-ink);
	overflow: hidden;
}
.pk-hero__stage {
	position: relative;
	container-type: inline-size;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	aspect-ratio: 1240 / 700;
	overflow: hidden;
}
.pk-hero__stage .wp-block-image,
.pk-hero__stage figure.pk-hero__photo {
	position: absolute;
	left: .32cqw;
	top: 11.53cqw;
	width: 38.71cqw;
	height: 58.06cqw;
	margin: 0;
	animation: pk-fade 1s ease-out both;
}
.pk-hero__stage .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pk-content .pk-hero__stage p { margin: 0; }
.pk-hero__stage .pk-hero__name,
.pk-hero__stage .pk-hero__role {
	position: absolute;
	right: 3.79cqw;
	color: #fff;
	font-weight: 400;
	white-space: nowrap;
	line-height: 1.774cqw;
	animation: pk-rise 1s .4s ease-out both;
}
.pk-hero__stage .pk-hero__name { top: 42.74cqw; font-size: 2.903cqw; }
.pk-hero__stage .pk-hero__role { top: 47.34cqw; font-size: 3.226cqw; animation-delay: .7s; }

@keyframes pk-fade { from { opacity: 0; } }
@keyframes pk-rise { from { opacity: 0; transform: translateY(20px); } }

/* Home: acting reel */
.pk-reel { padding-top: 139px; }
.pk-reel .wp-block-embed { max-width: 657px; margin: 0 0 42px; }
.pk-reel .wp-block-embed:last-child { margin-bottom: 0; }
.pk-reel .wp-block-embed__wrapper::before { padding-top: 61.49% !important; }
.pk-reel .wp-block-embed figcaption { display: none; }

/* Home: gallery carousel */
.pk-home-gallery { padding-top: 129px; padding-bottom: 90px; }

.pk-carousel { position: relative; }
.pk-content .wp-block-gallery.pk-carousel,
.pk-carousel .pk-carousel__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0 !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin: 0;
}
.pk-content .wp-block-gallery.pk-carousel::-webkit-scrollbar { display: none; }
.pk-content .wp-block-gallery.pk-carousel > figure.wp-block-image {
	flex: 0 0 33.3333% !important;
	width: 33.3333% !important;
	margin: 0 !important;
	scroll-snap-align: start;
	transition: transform .3s;
}
.pk-content .wp-block-gallery.pk-carousel > figure.wp-block-image:hover { transform: translateY(-4px); }
.pk-content .wp-block-gallery.pk-carousel > figure.wp-block-image img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
}
.pk-carousel__nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 29px;
	height: 29px;
	margin-top: -15px;
	border: 0;
	padding: 0;
	background: rgba(0,0,0,.5);
	color: #fff;
	cursor: pointer;
	font: 400 16px/29px "Josefin Sans", sans-serif;
}
.pk-carousel__nav:hover { background: rgba(0,0,0,.7); }
.pk-carousel__nav--prev { left: 0; }
.pk-carousel__nav--next { right: 0; }
.pk-carousel__nav::before { content: ""; display: inline-block; width: 7px; height: 7px; border: solid #fff; border-width: 1px 1px 0 0; }
.pk-carousel__nav--prev::before { transform: rotate(-135deg); margin-left: 3px; }
.pk-carousel__nav--next::before { transform: rotate(45deg); margin-right: 3px; }

/* Gallery page: masonry grid, filled by theme.js */
.pk-gallery-section { padding-bottom: 90px; }
.pk-gallery-section:first-child { padding-top: 69px; }
.pk-gallery-section h3 { margin-bottom: 52px; }
.pk-content .wp-block-gallery.pk-masonry { display: block; margin: 0; gap: 0 !important; }
.pk-content .pk-masonry figure.wp-block-image,
.pk-content .pk-masonry figure.wp-block-image a { display: block !important; line-height: 0; }
.pk-content .wp-block-gallery.pk-masonry > figure.wp-block-image { width: 25% !important; margin: 0 !important; display: inline-block; vertical-align: top; }
.pk-masonry.is-laid-out { display: flex !important; align-items: flex-start; }
.pk-masonry__col { flex: 1 1 0; min-width: 0; }
.pk-content .pk-masonry__col > figure.wp-block-image { width: 100% !important; margin: 0 !important; display: block; overflow: hidden; }
.pk-content .pk-masonry figure.wp-block-image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	transition: transform .4s, opacity .4s;
}
.pk-content .pk-masonry figure.wp-block-image a:hover img { transform: scale(1.05); opacity: .85; }
.pk-content .pk-masonry figcaption { display: none; }

/* Resume */
.pk-resume { padding-bottom: 107px; }
.pk-resume figure { margin: 0 auto; text-align: center; }
.pk-resume img { display: block; margin: 0 auto; }

/* Contact */
.pk-content .pk-contact { padding: 50px 0 117px; max-width: calc(var(--pk-wrap) + 2 * var(--pk-gutter)); padding-left: var(--pk-gutter); padding-right: var(--pk-gutter); }
.pk-contact.wp-block-columns { gap: 0; margin: 0 auto; }
.pk-contact > .wp-block-column:first-child { flex: 0 0 33.3333% !important; padding: 3.2% 3% 3% 4%; }
.pk-contact > .wp-block-column:last-child { flex: 0 0 66.6667% !important; padding: 3.2% 8% 6% 8%; }
.pk-contact h1 {
	margin: 0 0 18px;
	font-size: 87px;
	line-height: 1.4;
	font-weight: 300;
	color: #000;
	overflow-wrap: normal !important;
	word-break: normal;
	hyphens: none;
}
.pk-contact > .wp-block-column:first-child h1 { font-size: 64px; line-height: 121.8px; }
.pk-contact > .wp-block-column:last-child h1 { margin-bottom: 85px; }
.pk-content:has(.pk-contact) { padding-top: 0; }
.pk-contact .pk-phone { font-size: 22px; line-height: 1.4; margin: 31px 0 20px; }
.pk-contact .pk-phone strong { font-weight: 700; }
.pk-contact .pk-mail { font-size: 16px; line-height: 1.4; }

.wpcf7 p { margin: 0 0 20px; }
/* The live form wraps fields in Avada column divs; keep their bottom spacing. */
.wpcf7 .fusion-layout-column { margin-bottom: 20px; }
.wpcf7 .fusion-alert .close { display: none; }
.wpcf7 label { font-size: 18px; }
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 textarea {
	display: block;
	width: 100%;
	max-width: 531px;
	height: 50px;
	padding: 0 15px;
	border: 1px solid var(--pk-border);
	border-radius: 0;
	background: #fff;
	color: #7a7a7a;
	font: 400 16px "Josefin Sans", sans-serif;
}
.wpcf7 textarea { max-width: none; height: 150px; padding: 8px 15px; }
.wpcf7 input[type=submit] {
	padding: 13px 29px;
	border: 2px solid var(--pk-ink);
	border-radius: 0;
	background: #fff;
	color: var(--pk-ink);
	font: 700 14px/17px "Josefin Sans", sans-serif;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.wpcf7 input[type=submit]:hover { background: var(--pk-ink); color: #fff; }
.wpcf7-spinner { vertical-align: middle; }

/* Footer */
.pk-footer {
	background: var(--pk-ink);
	color: #fff;
	padding: 20px 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 16.8px;
}
.pk-footer a:hover { color: var(--pk-grey); }

/* Back to top */
.pk-totop {
	position: fixed;
	right: 75px;
	bottom: 2px;
	z-index: 40;
	width: 48px;
	height: 41px;
	background: rgba(51,51,51,.01) url(up-arrow.png) no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}
.pk-totop.is-visible { opacity: 1; visibility: visible; }

/* Lightbox */
.pk-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.9);
	opacity: 0;
	transition: opacity .25s;
}
.pk-lightbox.is-open { opacity: 1; }
.pk-lightbox img { max-width: 90vw; max-height: 86vh; width: auto; height: auto; }
.pk-lightbox button {
	position: absolute;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
	font: 300 40px/1 "Josefin Sans", sans-serif;
	padding: 20px;
	opacity: .7;
}
.pk-lightbox button:hover { opacity: 1; }
.pk-lightbox__close { top: 0; right: 0; }
.pk-lightbox__prev { left: 0; top: 50%; transform: translateY(-50%); }
.pk-lightbox__next { right: 0; top: 50%; transform: translateY(-50%); }
.pk-lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* Mobile */
@media (max-width: 800px) {
	:root { --pk-header: 80px; }
	.home .pk-header { height: 80px; }

	.pk-burger {
		display: block;
		position: relative;
		z-index: 60;
		align-self: center;
		width: 30px;
		height: 30px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}
	.pk-burger span,
	.pk-burger span::before,
	.pk-burger span::after {
		position: absolute;
		left: 2px;
		width: 26px;
		height: 2px;
		background: #fff;
		content: "";
		transition: transform .25s, top .25s, opacity .25s;
	}
	.pk-burger span { top: 14px; }
	.pk-burger span::before { left: 0; top: -8px; }
	.pk-burger span::after { left: 0; top: 8px; }
	.pk-open .pk-burger span { background: transparent; }
	.pk-open .pk-burger span::before { top: 0; transform: rotate(45deg); }
	.pk-open .pk-burger span::after { top: 0; transform: rotate(-45deg); }

	.pk-nav {
		position: fixed;
		inset: 0;
		z-index: 55;
		display: flex;
		align-items: center;
		justify-content: center;
		padding-bottom: 80px;
		background: rgba(0,0,0,.85);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
	}
	.pk-open .pk-nav { opacity: 1; visibility: visible; }
	.pk-menu { flex-direction: column; height: auto; text-align: center; }
	.pk-menu li { padding: 0; }
	.pk-menu a {
		display: block;
		height: auto;
		padding: 23px 0;
		border: 0;
		font-size: 18px;
		font-weight: 400;
	}
	.pk-menu .current-menu-item > a { border: 0; }

	.pk-content { padding-top: 0; }
	.pk-section { padding-top: 59px; }
	.pk-content h3 { margin-bottom: 32px; }
	.pk-about.pk-about-page { padding-top: 35px; padding-bottom: 140px; }
	.pk-gallery-section:first-child { padding-top: 35px; }
	.pk-gallery-section { padding-bottom: 45px; }
	.pk-gallery-section h3 { margin-bottom: 43px; }
	.pk-resume { padding-top: 0; }
	.pk-reel { padding-top: 120px; }
	.pk-home-gallery { padding-top: 120px; padding-bottom: 100px; }
	.pk-content .wp-block-gallery.pk-carousel > figure.wp-block-image { flex-basis: 100% !important; width: 100% !important; }
	.pk-carousel__nav { background: none; }

	.pk-contact.wp-block-columns { flex-direction: column; }
	.pk-contact > .wp-block-column:first-child,
	.pk-contact > .wp-block-column:last-child { flex-basis: auto !important; padding: 40px 40px 0 40px; }
	.pk-contact > .wp-block-column:last-child { padding-top: 80px; padding-bottom: 20px; }
	.wpcf7 .wpcf7-recaptcha { display: block; transform: scale(.82); transform-origin: 0 0; }
	.pk-contact h1,
	.pk-contact > .wp-block-column:first-child h1 { font-size: 57px; line-height: 1.4; }
	.pk-contact > .wp-block-column { min-width: 0; }
	.pk-contact > .wp-block-column:first-child { padding-right: 0 !important; }
	.wpcf7 input[type=text], .wpcf7 input[type=email] { max-width: none; }

	.pk-footer { text-align: center; }
	.pk-totop { right: 20px; }
}

/* Contact form honeypot (see functions.php) */
.pk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
