/*
Theme Name:  Diana Zalucky 2026
Theme URI:   https://dianazalucky.com
Author:      Jesse Hall
Description: Custom photography portfolio theme for Diana Zalucky.
Version:     1.0.4
License:     Private
Text Domain: dz2026
*/

/* ============================================================
   Reset / Base
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

body {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.65;
	color: #0D2426;
	background: #FAF9F4;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

ul,
ol {
	list-style: none;
}

/* ============================================================
   Typography scale
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 400;
	line-height: 1.1;
	color: #0D2426;
}

h1 {
	font-size: clamp(2.8rem, 5vw, 3.75rem);
}

h2 {
	font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
	font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

p {
	margin-bottom: 1em;
}

p:last-child {
	margin-bottom: 0;
}

/* ============================================================
   Layout
   ============================================================ */
.dz-wrap {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
}

@media (max-width: 768px) {
	.dz-wrap {
		padding: 0 20px;
	}
}

/* ============================================================
   Header
   ============================================================ */
.dz-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(250, 249, 244, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(13, 36, 38, 0.08);
	transition: background 0.3s, border-color 0.3s;
}

.dz-header.is-top {
	border-bottom-color: transparent;
}

.admin-bar .dz-header {
	top: 32px;
}

.dz-header-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Logo */
.dz-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	z-index: 10;
}

.dz-logo img {
	height: 42px;
	width: auto;
	mix-blend-mode: difference;
}

/* ============================================================
   Primary nav
   ============================================================ */
.dz-nav {
	display: flex;
	align-items: center;
	align-self: stretch;
	gap: 32px;
}

.dz-nav-list {
	display: flex;
	align-items: center;
	align-self: stretch;
	gap: 28px;
}

.dz-nav-list>li {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: center;
}

.dz-nav-list>li>a {
	font-family: 'Albert Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #0D2426;
	letter-spacing: 0.01em;
	transition: color 0.2s;
	white-space: nowrap;
}

.dz-nav-list>li>a:hover,
.dz-nav-list>li.current-menu-item>a,
.dz-nav-list>li.current-menu-ancestor>a {
	color: #235857;
}

/* Social icons in nav */
.dz-nav-social {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: 8px;
}

.dz-nav-social a {
	display: flex;
	align-items: center;
	opacity: 0.65;
	transition: opacity 0.2s;
}

.dz-nav-social a:hover {
	opacity: 1;
}

.dz-nav-social img {
	height: 16px;
	width: auto;
}

/* ============================================================
   Mega-menu dropdown (Portfolios)
   ============================================================ */
/* Transparent bridge so mouse can travel from nav item to mega menu */
.dz-has-mega::before {
	content: '';
	position: absolute;
	bottom: -2px;
	left: -20px;
	right: -20px;
	height: 4px;
}

.dz-has-mega>a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	margin-left: 5px;
	vertical-align: middle;
	transition: transform 0.2s;
}

.dz-has-mega.is-open>a::after {
	transform: rotate(180deg);
}

.dz-mega {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999;
	padding: 24px 0 32px;
	/* Anchor only — the shade is animated on the bar + links below so the
	   full-width background never gets cropped by a clip on this element. */
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear 0.4s;
}

/* Full-width background bar that breaks out from under the menu item.
   It is genuinely viewport-wide, so a vertical-only clip reveals it
   edge-to-edge with no horizontal cropping. */
.dz-mega::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -100vw;
	right: -100vw;
	background: rgba(250, 249, 244, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-top: 1px solid rgba(13, 36, 38, 0.12);
	border-bottom: 1px solid rgba(13, 36, 38, 0.12);
	z-index: -1;
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dz-has-mega.is-open .dz-mega {
	visibility: visible;
	pointer-events: auto;
	transition: visibility 0s;
}

.dz-has-mega.is-open .dz-mega::after,
.dz-has-mega.is-open .dz-mega-inner {
	clip-path: inset(0 0 0 0);
}

.dz-mega-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	width: 40vw;
	gap: 8px;
	text-align: center;
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dz-mega-link {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.5em;
	line-height: 1.2;
	font-weight: 400;
	color: #0D2426;
	transition: color 0.2s;
}

.dz-mega-link:not(:first-child)::before {
	content: '/';
	margin-right: 8px;
	color: rgba(13, 36, 38, 0.35);
}

.dz-mega-link.is-line-start::before {
	content: none;
	margin-right: 0;
}

.dz-mega-link:hover {
	color: #235857;
}

/* ============================================================
   Mobile hamburger
   ============================================================ */
.dz-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	width: 36px;
	height: 36px;
	gap: 5px;
	z-index: 1010;
}

.dz-hamburger span {
	display: block;
	height: 1.5px;
	background: #0D2426;
	border-radius: 2px;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.25s ease,
		width 0.3s ease;
}

.dz-hamburger span:nth-child(1) {
	width: 26px;
}

.dz-hamburger span:nth-child(2) {
	width: 20px;
}

.dz-hamburger span:nth-child(3) {
	width: 26px;
}

/* Animated X state */
.dz-hamburger.is-open span:nth-child(1) {
	width: 26px;
	transform: translateY(6.5px) rotate(45deg);
}

.dz-hamburger.is-open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.dz-hamburger.is-open span:nth-child(3) {
	width: 26px;
	transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.dz-mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	top: 68px;
	background: #FAF9F4;
	z-index: 998;
	overflow-y: auto;
	padding: 32px 24px 48px;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.dz-mobile-nav.is-open {
	transform: translateX(0);
}

.dz-mobile-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.dz-mobile-nav-list>li>a,
.dz-mobile-nav-list>li>.dz-mobile-nav-title {
	display: block;
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-size: 2rem;
	font-weight: 400;
	color: #0D2426;
	padding: 14px 0;
	border-bottom: 1px solid rgba(13, 36, 38, 0.1);
}

.dz-mobile-subnav {
	padding: 8px 0 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dz-mobile-subnav-item>a {
	font-family: 'Albert Sans', sans-serif;
	font-size: 14px;
	color: rgba(13, 36, 38, 0.7);
	display: block;
	padding: 2px 0;
}

.dz-mobile-social {
	display: flex;
	gap: 20px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(13, 36, 38, 0.1);
}

.dz-mobile-social img {
	height: 20px;
}

@media (max-width: 900px) {
	.dz-nav {
		display: none;
	}

	.dz-hamburger {
		display: flex;
	}

	.dz-mobile-nav {
		display: block;
	}

	.dz-header-inner {
		padding: 0 20px;
	}
}

/* ============================================================
   Page offset (below sticky header)
   ============================================================ */
.dz-page-start {
	padding-top: 68px;
}

/* ============================================================
   Home: Vimeo embed
   ============================================================ */
.dz-vimeo-wrap {
	width: 100%;
	margin: 0 0 10px;
	position: relative;
	height: 85vh;
	overflow: hidden;
	background: #FAF9F4;
}

.dz-video-loader {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FAF9F4;
	z-index: 2;
	transition: opacity 0.2s;
}

.dz-video-loader.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.dz-vimeo-wrap iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
	height: 56.25vw;
	/* 16:9 based on viewport width */
	min-height: 100%;
	min-width: 177.78vh;
	/* 16:9 based on container height */
	border: none;
}

/* ============================================================
   Gallery plugin overrides — inherit theme styles
   ============================================================ */
.ge-lb {
	background: #3a3a3a;
}

.ge-page {
	padding-top: calc(68px + 32px) !important;
}

.gc-collection-page {
	padding-top: calc(68px + 48px) !important;
}

.ge-page h1,
.gc-collection-title {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(2.8rem, 5vw, 2.75rem);
	line-height: 1.1;
	color: #0D2426;
}

.ge-gallery-grid,
.gc-grid {
	font-family: 'Albert Sans', sans-serif;
	color: #0D2426;
}

.ge-caption,
.gc-item-title {
	font-family: 'Albert Sans', sans-serif;
	font-size: 13px;
}

.gc-item-title {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-size: 1.1rem;
	font-weight: 400;
}

.gc-item-text {
	font-family: 'Albert Sans', sans-serif;
	font-size: 13px;
	color: rgba(13, 36, 38, 0.65);
}

/* Collection tile hover overlay */
.gc-item {
	position: relative;
}

.gc-item-rollover {
	position: absolute;
	bottom: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	opacity: 0;
	transition: opacity 0.25s;
	pointer-events: none;
}

.gc-item:hover .gc-item-rollover {
	opacity: 1;
}

/* ============================================================
   Footer
   ============================================================ */
.dz-footer {
	border-top: 1px solid rgba(13, 36, 38, 0.1);
	margin-top: 60px;
	padding: 40px 0 36px;
}

.dz-footer-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.dz-footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.dz-footer-logo img {
	height: 42px;
	width: auto;
}

.dz-footer-bottom {
	display: flex;
	align-items: center;
	gap: 32px;
}

.dz-footer-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1;
}

.dz-footer-nav a {
	font-family: 'Albert Sans', sans-serif;
	font-size: 13px;
	color: #0D2426;
	opacity: 0.65;
	transition: opacity 0.2s;
}

.dz-footer-nav a:hover {
	opacity: 1;
}

.dz-footer-social {
	display: flex;
	align-items: center;
	gap: 14px;
}

.dz-footer-social a {
	display: flex;
	align-items: center;
	opacity: 0.55;
	transition: opacity 0.2s;
}

.dz-footer-social a:hover {
	opacity: 1;
}

.dz-footer-social img {
	height: 16px;
}

@media (max-width: 768px) {
	.dz-footer-inner {
		padding: 0 20px;
	}

	.dz-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* ============================================================
   Back to top
   ============================================================ */
.dz-back-top {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #0D2426;
	color: #FAF9F4;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	cursor: pointer;
}

.dz-back-top svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	stroke-width: 2;
	fill: none;
}

/* ============================================================
   Content pages (Connect, etc.)
   ============================================================ */
.dz-content-page {
	max-width: 1400px;
	margin: 0 auto;
	padding: 60px 40px 80px;
}

@media (max-width: 768px) {
	.dz-content-page {
		padding: 40px 20px 60px;
	}
}

.dz-content-page .entry-content p {
	font-size: 15px;
	line-height: 1.7;
	max-width: 680px;
}

/* ============================================================
   Connect page
   ============================================================ */
.dz-connect {
	padding-top: 68px;
}

.dz-connect .dz-wrap {
	padding-top: 60px;
	padding-bottom: 80px;
}

.dz-connect-inner {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 60px 80px;
	align-items: start;
	max-width: 1060px;
	margin: 0 auto;
}

/* Main bio column */
.dz-connect-content p {
	font-family: 'Albert Sans', sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: italic;
	line-height: 32px;
	margin-bottom: 1.1em;
}

.dz-connect-content h2 {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	line-height: 1.1;
	margin: 1.75em 0 0.4em;
}

.dz-connect-content h3 {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	line-height: 1.2;
	margin: 1.5em 0 0.4em;
}

.dz-connect-sidebar {
	display: flex;
	flex-direction: column;
	gap: 32px;
	position: sticky;
	top: 100px;
	align-self: start;
}

.dz-connect-portrait img {
	width: 100%;
	height: auto;
	display: block;
}

.dz-sidebar-heading {
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	line-height: 1.1;
	color: #0D2426;
	margin-bottom: 14px;
}

.dz-sidebar-rule {
	border: none;
	border-top: 1px solid rgba(13, 36, 38, 0.15);
}

.dz-rep-name {
	font-family: 'Albert Sans', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 18px;
	color: #0D2426;
	margin-bottom: 4px;
}

.dz-rep-company {
	font-family: 'Albert Sans', sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #0D2426;
	margin-bottom: 4px;
}

.dz-connect-rep p a {
	font-size: 13px;
	color: rgba(13, 36, 38, 0.65);
	transition: color 0.2s;
}

.dz-connect-rep p a:hover {
	color: #235857;
}

.dz-connect-rep p a,
.dz-connect-rep p {
	font-size: 16px;
	color: rgba(13, 36, 38, 0.75);
}

.dz-client-list {
	font-size: 16px;
	line-height: 1.8;
	color: #0D2426;
}

.dz-client-sep {
	color: rgba(13, 36, 38, 0.3);
}

@media (max-width: 900px) {
	.dz-connect-inner {
		grid-template-columns: 1fr;
	}

	.dz-connect-sidebar {
		order: -1;
		position: static;
	}

	.dz-connect-portrait img {
		max-width: 320px;
	}
}

/* Trim trailing separator in mega-menu sub-items (JS also does this as fallback) */
.dz-sep:last-child {
	display: none;
}

/* Gallery wrap: a little breathing room around the shortcode output */
.dz-gallery-wrap {
	width: 100%;
}

/* ============================================================
   Utilities
   ============================================================ */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}