/*
Theme Name: ED Zone Studio
Theme URI: https://edzonetop.com
Description: A polished, animated child theme for Prestivo Lite, featuring ED Zone's reversible jacket collection.
Author: ED Zone
Version: 1.0.6
Template: prestivo-lite
Text Domain: ed-zone-studio
*/

:root {
	--ed-ink: #151613;
	--ed-paper: #f7f6f0;
	--ed-lime: #b7ed43;
	--ed-muted: #70736d;
	--ed-line: rgba(21, 22, 19, .14);
	--ed-max: 1380px;
}

html { scroll-behavior: smooth; }
body { background: var(--ed-paper); color: var(--ed-ink); }
body, button, input, select, textarea { font-family: Inter, Manrope, Arial, sans-serif; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ed-lime); outline-offset: 4px; }

.ed-header {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 13px clamp(20px, 5vw, 76px);
	background: var(--ed-paper);
	color: var(--ed-ink);
	border-bottom: 1px solid var(--ed-line);
}
.ed-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.ed-brand img { display: block; width: 68px; height: 68px; object-fit: cover; border-radius: 50%; }
.ed-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.ed-nav a { color: var(--ed-ink); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .13em; transition: color .25s ease; }
.ed-nav a:hover { color: var(--ed-lime); }
.ed-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 19px; border: 1px solid var(--ed-ink); border-radius: 2px; color: var(--ed-ink); text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: .13em; transition: background .25s ease, color .25s ease, transform .25s ease; }
.ed-header-cta:hover { background: var(--ed-lime); border-color: var(--ed-lime); color: var(--ed-ink); transform: translateY(-2px); }

.ed-page { overflow: hidden; }
.ed-wrap { width: min(calc(100% - 48px), var(--ed-max)); margin-inline: auto; }
.ed-hero { position: relative; min-height: min(760px, 82vh); display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; padding: clamp(50px, 8vw, 112px) 0 72px; isolation: isolate; }
.ed-hero::before { content: ""; position: absolute; z-index: -1; width: min(58vw, 680px); aspect-ratio: 1; right: 4%; top: 50%; transform: translateY(-48%); border-radius: 50%; background: radial-gradient(circle at 45% 42%, #e8f3cf 0, #e8f3cf 43%, rgba(232,243,207,.2) 44%, rgba(232,243,207,.2) 62%, transparent 63%); }
.ed-hero-copy { position: relative; z-index: 2; padding: 24px 0 24px clamp(0px, 3vw, 44px); }
.ed-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #52564d; font-size: 10px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.ed-kicker::before { content: ""; width: 28px; height: 2px; background: var(--ed-lime); }
.ed-hero h1 { max-width: 650px; margin: 0; font-size: clamp(48px, 7.2vw, 104px); line-height: .94; letter-spacing: -.075em; font-weight: 750; }
.ed-hero h1 em { color: #82a92a; font-style: normal; }
.ed-hero-copy > p:not(.ed-kicker) { max-width: 450px; margin: 25px 0 30px; color: var(--ed-muted); font-size: clamp(14px, 1.25vw, 17px); line-height: 1.8; }
.ed-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ed-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; background: var(--ed-lime); color: var(--ed-ink); text-decoration: none; font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.ed-button:hover { transform: translateY(-3px); background: #c8f86c; box-shadow: 0 12px 24px rgba(61, 78, 25, .16); }
.ed-button--outline { background: transparent; border: 1px solid var(--ed-line); }
.ed-button--outline:hover { background: var(--ed-ink); color: #fff; }
.ed-hero-visual { position: relative; min-height: 530px; display: grid; place-items: center; }
.ed-hero-product { position: relative; z-index: 1; width: min(100%, 620px); height: clamp(420px, 52vw, 650px); object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 28px 30px rgba(20,20,18,.13)); animation: ed-float 6s ease-in-out infinite; }
.ed-hero-stamp { position: absolute; z-index: 2; right: 2%; bottom: 11%; display: grid; place-items: center; width: 116px; height: 116px; border: 1px solid rgba(21,22,19,.28); border-radius: 50%; background: var(--ed-lime); color: var(--ed-ink); text-align: center; font-size: 10px; font-weight: 900; letter-spacing: .12em; line-height: 1.55; transform: rotate(9deg); }
.ed-hero-index { position: absolute; left: 0; bottom: 22px; color: #7c8077; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

.ed-section { padding: clamp(68px, 9vw, 126px) 0; }
.ed-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.ed-section-heading h2 { max-width: 720px; margin: 0; font-size: clamp(34px, 5vw, 66px); line-height: .98; letter-spacing: -.065em; }
.ed-section-heading p { max-width: 340px; margin: 0; color: var(--ed-muted); font-size: 14px; line-height: 1.7; }
.ed-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ed-side-card { position: relative; min-height: 520px; overflow: hidden; background: #e7e5df; }
.ed-side-card img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.ed-side-card:hover img { transform: scale(1.045); }
.ed-side-label { position: absolute; left: 22px; bottom: 22px; display: flex; align-items: center; gap: 12px; padding: 14px 17px; background: rgba(247,246,240,.94); color: var(--ed-ink); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.ed-side-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #89b72b; }

.ed-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 8vw, 120px); background: #e9f0db; padding: clamp(28px, 6vw, 78px); }
.ed-story-image { position: relative; overflow: hidden; background: #e5e4e0; }
.ed-story-image img { display: block; width: 100%; aspect-ratio: 1 / 1.04; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s ease; }
.ed-story-image:hover img { transform: scale(1.04); }
.ed-story-copy h2 { margin: 0 0 18px; font-size: clamp(36px, 5.2vw, 66px); line-height: .98; letter-spacing: -.065em; }
.ed-story-copy p { color: #5d6255; font-size: 15px; line-height: 1.8; }
.ed-story-copy .ed-button { margin-top: 14px; }

.ed-cta { position: relative; overflow: hidden; padding: clamp(58px, 8vw, 108px) 24px; background: var(--ed-ink); color: white; text-align: center; }
.ed-cta::after { content: "ED"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-55%); color: rgba(255,255,255,.035); font-size: clamp(180px, 35vw, 480px); font-weight: 900; letter-spacing: -.1em; pointer-events: none; }
.ed-cta > * { position: relative; z-index: 1; }
.ed-cta h2 { max-width: 850px; margin: 0 auto 20px; font-size: clamp(38px, 6vw, 76px); line-height: .98; letter-spacing: -.07em; }
.ed-cta p { margin: 0 auto 25px; color: #c3c7ba; font-size: 14px; }

.ed-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px clamp(20px, 5vw, 76px); background: #11120f; color: #dfe1d8; }
.ed-footer small { color: #9c9f94; font-size: 11px; letter-spacing: .06em; }
.ed-footer a { color: var(--ed-lime); text-decoration: none; font-size: 10px; font-weight: 800; letter-spacing: .14em; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.ed-delay-1 { transition-delay: .12s; }
.ed-delay-2 { transition-delay: .24s; }
.ed-delay-3 { transition-delay: .36s; }
@keyframes ed-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@media (max-width: 760px) {
	.ed-header { padding: 10px 18px; }
	.ed-brand img { width: 58px; height: 58px; }
	.ed-nav { gap: 14px; }
	.ed-nav a { font-size: 9px; letter-spacing: .08em; }
	.ed-header-cta { min-height: 36px; padding-inline: 11px; font-size: 9px; }
	.ed-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 58px; }
	.ed-hero-copy { padding: 0; }
	.ed-hero h1 { max-width: 560px; font-size: clamp(48px, 14vw, 82px); }
	.ed-hero-visual { min-height: 360px; margin-top: 12px; }
	.ed-hero-product { height: min(98vw, 460px); }
	.ed-hero-stamp { width: 88px; height: 88px; right: 3%; bottom: 5%; font-size: 8px; }
	.ed-section-heading { display: block; }
	.ed-section-heading p { margin-top: 15px; }
	.ed-sides { grid-template-columns: 1fr; }
	.ed-side-card, .ed-side-card img { min-height: 420px; }
	.ed-story { grid-template-columns: 1fr; }
	.ed-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	[data-reveal] { opacity: 1; transform: none; }
}

/* Full-screen editorial slider inspired by the supplied references. */
.ed-header {
	position: relative;
	min-height: 88px;
	padding: 12px clamp(22px, 4vw, 58px);
	background: var(--ed-paper);
	color: var(--ed-ink);
	border: 0;
}
.home .ed-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 20;
	background: transparent;
	color: #fff;
}
.ed-brand { flex: 0 0 auto; gap: 0; }
.ed-brand img { width: 66px; height: 66px; object-fit: cover; border-radius: 50%; }
.ed-wordmark {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	color: var(--ed-ink);
	font-size: clamp(15px, 1.3vw, 20px);
	font-weight: 800;
	letter-spacing: .24em;
	text-decoration: none;
	white-space: nowrap;
}
.home .ed-wordmark { color: #fff; }
.ed-header-actions { display: flex; align-items: center; gap: clamp(15px, 2.3vw, 34px); margin-left: auto; }
.ed-icon-link { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 30px; color: var(--ed-ink); }
.home .ed-icon-link, .home .ed-account-link { color: #fff; }
.ed-icon-link svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ed-account-link { color: var(--ed-ink); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-decoration: none; }

.ed-home-slider { position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: #171715; }
.ed-home-slide { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s ease; }
.ed-home-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.ed-slide-blur { position: absolute; inset: -3%; background-position: center; background-size: cover; filter: blur(24px) brightness(.42); transform: scale(1.05); }
.ed-slide-blur--brands { background-image: url('assets/images/hero-brand-collage.jpg'); }
.ed-slide-blur--jacket { background-image: url('assets/images/hero-jacket-collage.jpg'); }
.ed-slide-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.ed-slide-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.08) 25%, transparent 55%, rgba(0,0,0,.54) 100%); }
.ed-slide-copy { position: absolute; z-index: 2; left: 50%; bottom: clamp(78px, 12vh, 132px); width: min(90%, 520px); transform: translateX(-50%); color: #fff; text-align: center; }
.ed-slide-kicker { margin: 0 0 22px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .25em; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
.ed-slide-button { display: inline-flex; min-width: 170px; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; background: rgba(15,15,14,.94); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-decoration: none; transition: background .25s ease, color .25s ease, transform .25s ease; }
.ed-slide-button:hover { background: var(--ed-lime); color: var(--ed-ink); transform: translateY(-2px); }
.ed-slider-pagination { position: absolute; z-index: 5; right: clamp(20px, 4vw, 58px); bottom: 28px; display: flex; align-items: center; gap: 12px; color: #fff; }
.ed-slider-pagination button { padding: 6px 2px; border: 0; background: transparent; color: rgba(255,255,255,.58); font: 700 10px/1 Inter, Arial, sans-serif; letter-spacing: .12em; cursor: pointer; }
.ed-slider-pagination button.is-active { color: #fff; }
.ed-slider-pagination span { display: block; width: 34px; height: 1px; background: rgba(255,255,255,.55); }

@media (max-width: 760px) {
	.ed-header { min-height: 74px; padding: 8px 16px; }
	.ed-brand img { width: 52px; height: 52px; }
	.ed-wordmark { font-size: 13px; letter-spacing: .18em; }
	.ed-header-actions { gap: 12px; }
	.ed-account-link { font-size: 8px; letter-spacing: .08em; }
	.ed-icon-link { width: 22px; }
	.ed-icon-link svg { width: 19px; height: 19px; }
	.ed-home-slider { height: 88svh; min-height: 590px; }
	.ed-slide-art { object-position: center 48%; }
	.ed-slide-copy { bottom: 84px; }
	.ed-slide-kicker { font-size: 9px; letter-spacing: .17em; }
	.ed-slider-pagination { right: 18px; bottom: 22px; }
}

/* Clean white editorial layout requested by ED Zone. */
:root { --ed-paper: #fff; }
html, body, .wp-site-blocks, .ed-page { background: #fff !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
.ed-header,
.home .ed-header {
	position: relative !important;
	top: auto;
	left: auto;
	width: 100%;
	min-height: 82px;
	padding: 8px clamp(22px, 4vw, 58px);
	background: #fff !important;
	color: #111 !important;
	border: 0 !important;
}
.ed-wordmark, .home .ed-wordmark,
.ed-icon-link, .home .ed-icon-link,
.ed-account-link, .home .ed-account-link { color: #111 !important; }
.ed-home-slider { height: calc(100svh - 82px); min-height: 500px; background: #fff !important; }
.ed-home-slide { background: #fff; }
.ed-slide-blur, .ed-slide-shade { display: none !important; }
.ed-slide-art { background: #fff; object-fit: contain; object-position: center; }
.ed-slide-copy { bottom: 26px; color: #111; }
.ed-slide-button {
	min-width: 0;
	min-height: 0;
	padding: 8px 2px;
	background: transparent !important;
	color: #111 !important;
	border: 0;
	border-bottom: 1px solid #111;
	font-size: 10px;
	letter-spacing: .15em;
}
.ed-slide-button:hover { color: #666 !important; transform: none; }
.ed-section, .ed-side-card, .ed-story, .ed-story-image, .ed-cta, .ed-footer {
	background: #fff !important;
	color: #111 !important;
	border: 0 !important;
	box-shadow: none !important;
}
.ed-side-card { min-height: 0; }
.ed-side-card img { min-height: 0; object-fit: contain; background: #fff; }
.ed-side-label { background: #fff !important; color: #111 !important; }
.ed-story-copy p, .ed-cta p, .ed-footer small { color: #555 !important; }
.ed-cta::after { display: none; }
.ed-footer { padding: 24px clamp(20px, 5vw, 76px); }
.ed-footer a { color: #111 !important; }
@media (max-width: 760px) {
	.ed-header, .home .ed-header { min-height: 70px; padding: 6px 14px; }
	.ed-home-slider { height: calc(88svh - 70px); min-height: 430px; }
	.ed-slide-art { object-fit: contain; }
	.ed-slide-copy { bottom: 16px; }
}
.ed-slider-pagination { right: clamp(20px, 4vw, 58px); bottom: 28px; color: #111; }
.ed-slider-pagination button { color: #777; }
.ed-slider-pagination button.is-active { color: #111; }
.ed-slider-pagination span { background: #111; }
@media (max-width: 760px) { .ed-slider-pagination { right: 18px; bottom: 20px; } }
