/* ==========================================================================
   CollectionZF — homepage sections.
   ========================================================================== */

body.zf-home #site-content,
body.zf-home .site-content > .container,
body.zf-home .site-content > .container-xxl { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.zf-home .page-header { display: none !important; }

/* ---------- hero slider ---------- */
.zf-hero {
	--zf-slide-dur: 6.5s;
	position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #1d2b3f;
	min-height: clamp(560px, calc(100svh - var(--zf-announce-h)), 900px);
	margin-top: calc(-1 * var(--zf-header-h));
	touch-action: pan-y;
}
.zf-slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	opacity: 0; visibility: hidden; z-index: 0;
	transition: opacity 1.1s var(--zf-ease), visibility 0s linear 1.1s;
}
.zf-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.1s var(--zf-ease), visibility 0s; }
.zf-hero__bg, .zf-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.zf-hero__bg img { object-fit: cover; object-position: 62% 30%; transform: scale(1.08); transition: transform 9s cubic-bezier(.25,.6,.3,1); }
.zf-slide.is-active .zf-hero__bg img { transform: scale(1); }
.zf-slide::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(14, 32, 58, .55) 0%, rgba(14, 32, 58, .24) 38%, rgba(14, 32, 58, 0) 62%),
		linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 22%),
		linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 26%);
}
.zf-slide--street::before { background: linear-gradient(90deg, rgba(40, 28, 16, .62) 0%, rgba(40, 28, 16, .3) 40%, rgba(0,0,0,0) 66%), linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 22%), linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 26%); }
.zf-slide--cozy::before { background: linear-gradient(90deg, rgba(38, 44, 36, .66) 0%, rgba(38, 44, 36, .34) 42%, rgba(0,0,0,0) 68%), linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 22%), linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 26%); }
.zf-slide--street .zf-hero__bg img { object-position: 70% 40%; }
.zf-slide--cozy .zf-hero__bg img { object-position: 72% 50%; }
.zf-slide--promo .zf-hero__bg img { object-position: 75% 40%; }

.zf-hero__content { min-width: 0; padding-top: calc(var(--zf-header-h) + 40px); padding-bottom: 130px; }
.zf-hero__title {
	font: 400 clamp(46px, 7.4vw, 104px)/.96 var(--zf-font-display) !important;
	text-transform: uppercase; letter-spacing: .02em !important;
	color: #fff !important; margin: 0 0 26px;
}
.zf-hero__title em { font-style: normal; font-weight: 300; }
.zf-hero__lead { max-width: 430px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: rgba(255,255,255,.9); margin: 0 0 34px; }
.zf-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* staggered entrance of the active slide's text */
.zf-hero__content > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--zf-ease), transform .8s var(--zf-ease); }
.zf-slide.is-active .zf-hero__content > * { opacity: 1; transform: none; }
.zf-slide.is-active .zf-hero__content > :nth-child(1) { transition-delay: .25s; }
.zf-slide.is-active .zf-hero__content > :nth-child(2) { transition-delay: .35s; }
.zf-slide.is-active .zf-hero__content > :nth-child(3) { transition-delay: .45s; }
.zf-slide.is-active .zf-hero__content > :nth-child(4) { transition-delay: .55s; }

/* progress tabs (the "loader") + arrows */
.zf-hero__ui {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	padding-bottom: 34px;
}
.zf-hero__progress { display: grid; grid-auto-flow: column; grid-auto-columns: 150px; gap: 22px; flex: 1; }
.zf-hero__tab { display: grid; gap: 12px; padding: 8px 0 0; background: none; border: 0; color: rgba(255,255,255,.62); cursor: pointer; text-align: left; transition: color .3s; }
.zf-hero__tab:hover, .zf-hero__tab.is-active { color: #fff; }
.zf-hero__tab-label { font: 500 12px/1.2 var(--zf-font); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zf-hero__tab-label b { font-weight: 600; margin-right: 10px; }
.zf-hero__bar { position: relative; display: block; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; border-radius: 2px; }
.zf-hero__bar i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.zf-hero__tab.is-done .zf-hero__bar i { transform: scaleX(1); }
.zf-hero__tab.is-active .zf-hero__bar i { animation: zf-progress var(--zf-slide-dur) linear forwards; }
.zf-hero.is-paused .zf-hero__tab.is-active .zf-hero__bar i { animation-play-state: paused; }
.zf-hero.is-static .zf-hero__tab.is-active .zf-hero__bar i { animation: none; transform: scaleX(1); }
@keyframes zf-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.zf-hero__arrows { display: flex; gap: 10px; }
.zf-hero__arrow {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.06);
	color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, color .3s, border-color .3s;
}
.zf-hero__arrow:hover { background: #fff; color: var(--zf-ink); border-color: #fff; }
.zf-hero__arrow--prev .zf-ico { transform: rotate(180deg); }
.zf-hero__arrow .zf-ico { width: 20px; height: 20px; }

/* ---------- trust strip ---------- */
.zf-trust { border-bottom: 1px solid var(--zf-line); background: #fff; }
.zf-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.zf-trust__item { display: flex; align-items: center; gap: 14px; padding: 26px 20px; }
.zf-trust__item + .zf-trust__item { border-left: 1px solid var(--zf-line); }
.zf-trust__item .zf-ico { width: 28px; height: 28px; stroke-width: 1.2; }
.zf-trust__item strong { display: block; font: 500 14px/1.3 var(--zf-font); }
.zf-trust__item span { display: block; font-size: 13px; color: var(--zf-muted); margin-top: 2px; }

/* ---------- mosaic ---------- */
.zf-mosaic__grid {
	display: grid; gap: 14px;
	grid-template-columns: 1.15fr 1fr .85fr;
	grid-template-rows: 340px 320px;
	grid-template-areas: "tall wide street" "tall promo promo";
}
.zf-tile { position: relative; display: block; overflow: hidden; border-radius: var(--zf-radius); color: #fff !important; text-decoration: none !important; background: var(--zf-stone); }
.zf-tile picture, .zf-tile img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zf-tile img { object-fit: cover; transition: transform 1.4s var(--zf-ease); }
.zf-tile:hover img { transform: scale(1.05); }
.zf-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.42) 100%); }
.zf-tile__txt { position: absolute; left: clamp(20px, 2.6vw, 36px); bottom: clamp(20px, 2.6vw, 34px); right: 20px; z-index: 2; }
.zf-tile h3 {
	color: #fff !important; margin: 0 0 10px;
	font: 400 clamp(22px, 2.3vw, 32px)/1.05 var(--zf-font-display) !important; text-transform: uppercase; letter-spacing: .04em !important;
}
.zf-tile p { margin: 0 0 18px; font-size: 14px; color: rgba(255,255,255,.88); max-width: 260px; }
.zf-tile--tall { grid-area: tall; }
.zf-tile--tall img { object-position: 50% 20%; }
.zf-tile--wide { grid-area: wide; }
.zf-tile--street { grid-area: street; }
.zf-tile--street img { object-position: 50% 30%; }
.zf-tile--promo { grid-area: promo; }
.zf-tile--promo img { object-position: 70% 40%; }
.zf-tile--promo::after { background: linear-gradient(90deg, rgba(25, 58, 102, .55) 0%, rgba(25, 58, 102, .15) 45%, rgba(0,0,0,0) 70%); }
.zf-tile--promo .zf-tile__txt { top: 50%; bottom: auto; transform: translateY(-50%); }
.zf-tile__kicker { font-size: 12px !important; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px !important; }
.zf-tile__big { font-size: clamp(30px, 3.4vw, 46px) !important; }
.zf-tile__big strong { font-weight: 400; font-size: 1.5em; letter-spacing: 0; }

/* ---------- capsule ---------- */
.zf-capsule { background: var(--zf-cream); }
.zf-capsule__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.zf-look { position: relative; display: block; color: var(--zf-ink) !important; text-decoration: none !important; background: #fff; border-radius: var(--zf-radius); overflow: hidden; }
.zf-look__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--zf-stone); }
.zf-look__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center top; transition: transform 1.2s var(--zf-ease); }
.zf-look:hover .zf-look__media img { transform: scale(1.05); }
.zf-look__txt { padding: 20px 20px 22px; }
.zf-look h3 { margin: 0 0 6px; font: 400 18px/1.15 var(--zf-font-display) !important; text-transform: uppercase; letter-spacing: .06em !important; }
.zf-look p { margin: 0 0 16px; font-size: 13px; color: var(--zf-muted); }
.zf-look .zf-link { font-size: 11px; border-bottom-color: var(--zf-line); }
.zf-look .zf-link .amount { font-weight: 600; }

/* ---------- story ---------- */
.zf-story { padding: clamp(64px, 9vw, 120px) 0; }
.zf-story__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.zf-story blockquote {
	margin: 0 0 22px; padding: 0; border: 0;
	font: 300 clamp(26px, 3vw, 40px)/1.25 var(--zf-font-display); color: var(--zf-ink); font-style: normal;
}
.zf-story__body { color: var(--zf-ink-2); line-height: 1.75; margin: 0 0 30px; max-width: 520px; }
.zf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border-top: 1px solid var(--zf-line); border-left: 1px solid var(--zf-line); }
.zf-stats > div { padding: 30px 26px; border-right: 1px solid var(--zf-line); border-bottom: 1px solid var(--zf-line); }
.zf-stats dt { font: 300 clamp(30px, 3.4vw, 46px)/1 var(--zf-font-display); color: var(--zf-ink); margin-bottom: 10px; }
.zf-stats dd { margin: 0; font-size: 13px; color: var(--zf-muted); letter-spacing: .04em; }

/* ---------- best ---------- */
.zf-best { padding-top: 0; }

/* ---------- instagram ---------- */
.zf-insta { padding-top: 0; }
.zf-insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.zf-insta__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--zf-stone); }
.zf-insta__item img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 20%; transition: transform 1s var(--zf-ease); }
.zf-insta__item span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(21,21,21,.35); color: #fff; opacity: 0; transition: opacity .35s; }
.zf-insta__item:hover span { opacity: 1; }
.zf-insta__item:hover img { transform: scale(1.06); }
.zf-insta__item .zf-ico { width: 28px; height: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
	.zf-capsule__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
	.zf-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.zf-trust__item:nth-child(3) { border-left: 0; }
	.zf-trust__item:nth-child(n+3) { border-top: 1px solid var(--zf-line); }
	.zf-mosaic__grid {
		grid-template-columns: 1fr 1fr; grid-template-rows: 420px 280px 300px;
		grid-template-areas: "tall street" "wide wide" "promo promo";
	}
	.zf-story__grid { grid-template-columns: 1fr; }
	.zf-insta__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
	.zf-hero { min-height: min(calc(100svh - var(--zf-announce-h)), 760px); }
	.zf-slide { align-items: flex-start; }
	.zf-slide::before, .zf-slide--street::before, .zf-slide--cozy::before { background: linear-gradient(180deg, rgba(10, 24, 44, .55) 0%, rgba(10, 24, 44, .16) 45%, rgba(0,0,0,0) 62%), linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%); }
	.zf-hero__bg img, .zf-slide--street .zf-hero__bg img, .zf-slide--cozy .zf-hero__bg img, .zf-slide--promo .zf-hero__bg img { object-position: 50% 100%; }
	.zf-hero__content { padding-top: calc(var(--zf-header-h) + 28px); padding-bottom: 40px; }
	.zf-hero__title { font-size: clamp(40px, 12vw, 54px) !important; margin-bottom: 16px; }
	.zf-hero__lead { display: none; }
	.zf-hero .zf-eyebrow { margin-bottom: 12px; font-size: 11px; }
	.zf-hero__ctas .zf-btn--ghost-light { display: none; }
	.zf-hero__ui { padding-top: 48px; padding-bottom: 20px; background: linear-gradient(0deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 100%); }
	.zf-hero__bar { background: rgba(255,255,255,.4); }
	.zf-hero__progress { gap: 8px; grid-auto-columns: minmax(0, 1fr); }
	.zf-hero__tab-label { display: none; }
	.zf-hero__bar { height: 3px; }
	.zf-hero__ui { align-items: center; gap: 14px; }
	.zf-hero__arrows { gap: 8px; flex: none; }
	.zf-hero__arrow { width: 38px; height: 38px; }
	.zf-hero__arrow .zf-ico { width: 17px; height: 17px; }
	.zf-trust__item { padding: 18px 12px; gap: 10px; }
	.zf-trust__item .zf-ico { width: 24px; height: 24px; }
	.zf-trust__item strong { font-size: 13px; }
	.zf-trust__item span { font-size: 12px; }
	.zf-mosaic__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; grid-auto-rows: 380px; }
	.zf-mosaic__grid .zf-tile { grid-area: auto; }
	.zf-mosaic__grid .zf-tile--wide { height: 300px; }
	.zf-capsule__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.zf-look__txt { padding: 14px; }
	.zf-look h3 { font-size: 15px !important; }
	.zf-look p, .zf-look__name { display: none; }
	.zf-stats > div { padding: 22px 18px; }
}

/* slider QA: equal tabs, bars always full width, readable on bright photos */
.zf-hero .zf-hero__tab { width: 100%; min-width: 0; }
.zf-hero .zf-hero__bar { width: 100%; }
@media (max-width: 767px) {
	.zf-hero .zf-hero__ui { padding-top: 56px !important; padding-bottom: 20px !important; background: linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 100%) !important; }
}
.zf-hero .zf-hero__tab { grid-template-columns: minmax(0, 1fr); }
/* capsule now uses the shared product card */
.zf-capsule__grid { align-items: stretch; }
.zf-capsule .zf-card { background: transparent; }
@media (max-width: 1199px) { .zf-capsule__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) { .zf-capsule__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }
@media (max-width: 767px) { .zf-capsule .zf-card__media, .zf-capsule .zf-card__media img { border-radius: 0 !important; } }
/* slider tabs: thin visual bar, comfortable hit area */
.zf-hero .zf-hero__tab { padding-top: 16px; padding-bottom: 14px; margin-bottom: -14px; }
@media (max-width: 767px) { .zf-hero .zf-hero__tab { padding-top: 18px; padding-bottom: 16px; } }
/* audit: quote has no default blockquote box; tiles get a stronger readable gradient; no double gap */
.zf-story blockquote { background: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
.zf-tile::after { background: linear-gradient(200deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 100%) !important; }
.zf-tile--promo::after { background: linear-gradient(90deg, rgba(25, 58, 102, .6) 0%, rgba(25, 58, 102, .2) 45%, rgba(0,0,0,0) 70%) !important; }
.zf-tile__txt p, .zf-tile h3 { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.zf-howto { padding-top: 0 !important; }
.zf-insta__item img { object-position: center 15% !important; }
/* slide tab labels stay readable over bright photos */
.zf-hero__ui { background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 100%); padding-top: 60px; }

/* ---------- page loader (inc/home.php + zf-intro.js) ---------- */
.zf-loader { display: none; }
html.zf-intro, html.zf-intro body { overflow: hidden; }
html.zf-intro .zf-loader, .zf-loader.is-playing {
	position: fixed; inset: 0; z-index: 10000; height: 100vh; height: 100svh;
	display: flex; flex-direction: column; justify-content: space-between;
	padding: clamp(20px, 2.6vw, 40px); background: var(--zf-ink); color: #fff;
	font-family: var(--zf-font-display); text-transform: uppercase; pointer-events: none;
}
.zf-loader__head { display: flex; flex-direction: column; }
.zf-loader__row, .zf-loader__mask { display: flex; overflow: hidden; } /* masks for the words sliding in / out */
.zf-loader__row--end { justify-content: flex-end; }
.zf-loader__word, .zf-loader__count {
	display: block; font-weight: 300; font-size: clamp(40px, 8.6vw, 150px); line-height: 1.02;
	letter-spacing: .14em; margin-right: -.14em; white-space: nowrap; will-change: transform;
}
.zf-loader__mark {
	display: inline-block; font-weight: 500; font-size: .62em; letter-spacing: .12em; line-height: 1;
	padding: .2em .14em .16em .3em; border: max(2px, .045em) solid currentColor; vertical-align: .32em;
}
.zf-loader__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.zf-loader__count { font-variant-numeric: tabular-nums; letter-spacing: .06em; margin-right: 0; }
.zf-loader__copy { font: 500 12px/1.4 var(--zf-font); letter-spacing: .2em; color: rgba(255,255,255,.7); text-align: right; padding-bottom: .9em; }
.zf-loader__frame { position: fixed; top: 50%; left: 0; width: 0; height: 0; overflow: hidden; background: #1d2b3f; will-change: left, top, width, height; }
.zf-loader__frame picture, .zf-loader__frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zf-loader__frame img { object-fit: cover; opacity: 0; }
.zf-loader__frame picture:first-child img { opacity: 1; }
.zf-loader__veil { position: absolute; inset: 0; opacity: 0; }
/* while the loader plays: hero text waits (its CSS transitions run when the class goes), autoplay waits */
html.zf-intro .zf-slide.is-active .zf-hero__content > * { opacity: 0; transform: translateY(22px); }
html.zf-intro .zf-hero__tab.is-active .zf-hero__bar i { animation-play-state: paused; }
@media (max-width: 767px) {
	.zf-loader__word, .zf-loader__count { font-size: 10.4vw; letter-spacing: .1em; margin-right: -.1em; }
	.zf-loader__count { letter-spacing: .04em; margin-right: 0; }
	.zf-loader__copy { font-size: 10px; letter-spacing: .16em; max-width: 50%; }
}
html.zf-intro .zf-header__inner { opacity: 0; } /* zf-intro.js drops it in at the end */

/* hero tabs are <button>s: cancel Glozin's button hover/focus pill (black background) */
.zf-hero .zf-hero__tab, .zf-hero .zf-hero__tab:hover, .zf-hero .zf-hero__tab:focus, .zf-hero .zf-hero__tab:active { background: none !important; box-shadow: none !important; border-radius: 0; }
.zf-hero .zf-hero__tab:focus:not(:focus-visible) { outline: none; }
.zf-hero .zf-hero__tab:focus-visible { outline: 1px solid rgba(255,255,255,.7); outline-offset: 4px; }

/* ---------- hero crops per screen shape (2026-11-26, see zf_hero_variants()) ---------- */
/* portrait tablets get the 4:5 file: keep the feet, trim the sky. The models stand in the right half,
   so keep the copy narrow and drop the secondary CTA, as on phones */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
	.zf-hero__bg img, .zf-slide--street .zf-hero__bg img, .zf-slide--cozy .zf-hero__bg img, .zf-slide--promo .zf-hero__bg img { object-position: 50% 100%; }
	.zf-hero__lead { max-width: 21em; }
	.zf-hero__ctas .zf-btn--ghost-light { display: none; }
}
/* wide screens get the 2:1 file: the hero is 2:1 to 2.8:1 there, so only the top and bottom are trimmed.
   Keep the heads clear of the transparent header: trim mostly the bottom, and only the bottom from 2200px (QHD hero = 2.8:1) */
@media (min-width: 1800px), (min-width: 1200px) and (min-aspect-ratio: 2/1) {
	.zf-hero__bg img, .zf-slide--street .zf-hero__bg img, .zf-slide--cozy .zf-hero__bg img, .zf-slide--promo .zf-hero__bg img { object-position: 50% 10%; }
}
@media (min-width: 2200px) {
	.zf-hero__bg img, .zf-slide--street .zf-hero__bg img, .zf-slide--cozy .zf-hero__bg img, .zf-slide--promo .zf-hero__bg img { object-position: 50% 0%; }
}

/* ---------- "Nouveautés" on phones: a 2-column grid like the shop, not the swipe rail (owner request 2026-11-26) ---------- */
/* same breakpoint and gaps as the catalog grid (zf-pages.css); the filter tabs still work (they only toggle [hidden]) */
@media (max-width: 600px) {
	.zf-new .zf-rail__track {
		grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto;
		gap: 28px 12px; overflow: visible; scroll-snap-type: none;
		margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0;
	}
}
