/*
Theme Name: Foozhan
Theme URI: https://foozhanarch.com/
Author: ZhanNet Studio
Description: Bespoke theme for Foozhan Architecture & Design Studio. Persian and English, projects with 360° virtual tours, and My Art.
Version: 1.3.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: foozhan
*/

@font-face { font-family: "FZ Digits"; font-weight: 300; font-display: swap; src: url(assets/fonts/fz-digits-300.woff2) format("woff2"); unicode-range: U+06F0-06F9; size-adjust: 118%; }
@font-face { font-family: "FZ Digits"; font-weight: 400; font-display: swap; src: url(assets/fonts/fz-digits-400.woff2) format("woff2"); unicode-range: U+06F0-06F9; size-adjust: 118%; }
@font-face { font-family: "FZ Digits"; font-weight: 500; font-display: swap; src: url(assets/fonts/fz-digits-500.woff2) format("woff2"); unicode-range: U+06F0-06F9; size-adjust: 118%; }
@font-face { font-family: "Noto Kufi"; font-weight: 300; font-display: swap; src: url(assets/fonts/noto-kufi-arabic-arabic-300-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Noto Kufi"; font-weight: 400; font-display: swap; src: url(assets/fonts/noto-kufi-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Noto Kufi"; font-weight: 500; font-display: swap; src: url(assets/fonts/noto-kufi-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Noto Kufi"; font-weight: 300; font-display: swap; src: url(assets/fonts/noto-kufi-arabic-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Kufi"; font-weight: 400; font-display: swap; src: url(assets/fonts/noto-kufi-arabic-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Kufi"; font-weight: 500; font-display: swap; src: url(assets/fonts/noto-kufi-arabic-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-weight: 300; font-display: swap; src: url(assets/fonts/cormorant-garamond-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url(assets/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 300; font-style: italic; font-display: swap; src: url(assets/fonts/cormorant-garamond-latin-300-italic.woff2) format("woff2"); }

:root {
	--bg: #f4eee2;
	--bg-2: #ece4d4;
	--bg-3: #e2d8c4;
	--ink: #22271d;
	--ink-2: #3f4736;
	--mute: #6c705d;
	--line: rgba(34, 39, 29, .14);
	--accent: #a3803f;
	--accent-2: #8a6a30;
	--sans: "FZ Digits", "Noto Kufi", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
	--display: "FZ Digits", "Noto Kufi", system-ui, sans-serif;
	--latin: "Cormorant", "Times New Roman", serif;
	--gutter: clamp(20px, 5vw, 64px);
	--max: 1360px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--header: 84px;
}
/* Olive sections on the cream page: header, hero, image covers, bands, footer. */
.fz-header, .fz-hero, .fz-project__cover, .fz-next, .fz-services, .fz-tourband, .fz-footer, .fz-lb, .fz-tour, .fz-card__badge {
	--bg: #22271d;
	--bg-2: #2a3024;
	--bg-3: #333a2c;
	--ink: #f1e9d8;
	--ink-2: #d8cfbb;
	--mute: #a39d88;
	--line: rgba(241, 233, 216, .14);
	--accent: #c9a96a;
	--accent-2: #dcc28a;
	color: var(--ink);
}
.fz-services, .fz-tourband { background: var(--bg); }
.fz-footer { background: var(--bg); }
.fz-en { --display: "Cormorant", "Times New Roman", serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: clamp(13px, .88vw, 15px);
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.fz-en body, body.fz-en { line-height: 1.7; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.35; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
svg { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .fz-btn svg, [dir="rtl"] .fz-link svg, [dir="rtl"] .fz-next svg { transform: scaleX(-1); }

/* Hidden above the page, not to the side: a sideways offset widens the page in phone desktop mode. */
.fz-skip { position: absolute; inset-inline-start: 8px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.fz-skip:focus { top: 8px; }
.fz-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.fz-muted { color: var(--mute); }
.fz-eyebrow { display: block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; font-weight: 400; }
.fz-fa .fz-eyebrow { letter-spacing: .02em; font-size: .85rem; }
.fz-h1 { font-family: var(--display); font-size: clamp(1.7rem, 3.8vw, 3.1rem); line-height: 1.25; font-weight: 300; letter-spacing: -.01em; }
.fz-en .fz-h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.05; }
.fz-h2 { font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 300; line-height: 1.3; }
.fz-en .fz-h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
.fz-lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 46ch; }
.fz-lead p:last-child { margin: 0; }
.fz-statement { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.8rem); line-height: 1.6; font-weight: 300; max-width: 30ch; color: var(--ink); }
.fz-en .fz-statement { line-height: 1.3; font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
.fz-statement--sm { font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--ink-2); }
.fz-head { margin-bottom: clamp(28px, 4vw, 56px); }
.fz-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fz-sec { padding-block: clamp(52px, 7vw, 110px); }
.fz-sec--tight { padding-block: clamp(28px, 4vw, 56px) clamp(52px, 7vw, 100px); }

/* Buttons and links */
.fz-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 1.6em; font-size: .95rem; font-weight: 400; letter-spacing: .02em; border: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); white-space: nowrap; }
.fz-btn--solid { background: var(--ink); color: var(--bg); }
.fz-btn--solid:hover { background: var(--accent); color: var(--bg); }
.fz-btn--line { border-color: var(--line); }
.fz-btn--line:hover { border-color: var(--accent); color: var(--ink); }
.fz-btn--ghost { padding-inline: .2em; min-height: 50px; }
.fz-btn--ghost:hover svg, .fz-link:hover svg { transform: translateX(4px); }
[dir="rtl"] .fz-btn--ghost:hover svg, [dir="rtl"] .fz-link:hover svg { transform: scaleX(-1) translateX(4px); }
.fz-btn svg, .fz-link svg { transition: transform .35s var(--ease); }
.fz-link { display: inline-flex; align-items: center; gap: .5em; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 4px; font-size: .95rem; }
.fz-link:hover { color: var(--ink); border-color: var(--accent); }

/* Header */
.fz-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); border-bottom: 1px solid transparent; }
.fz-header.is-solid, .fz-header:not(.fz-header--over) { background: rgba(34, 39, 29, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.fz-header.is-hidden { transform: translateY(-100%); }
.fz-header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.fz-logo { display: flex; align-items: center; gap: 14px; line-height: 1; margin-inline-end: auto; }
.fz-logo__mark { width: auto; height: 40px; flex: none; }
.fz-logo__text { display: flex; flex-direction: column; }
.fz-logo__img { max-height: 44px; width: auto; }
.fz-logo__word { font-family: var(--latin); font-size: 1.55rem; letter-spacing: .32em; font-weight: 500; color: var(--ink); }
.fz-logo__sub { font-size: .66rem; letter-spacing: .08em; color: var(--mute); margin-top: 7px; }
.fz-en .fz-logo__sub { letter-spacing: .22em; text-transform: uppercase; font-size: .6rem; }
.fz-nav { display: flex; align-items: center; gap: 30px; }
.fz-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.fz-nav li a { font-size: .93rem; color: var(--ink-2); position: relative; padding-block: 6px; }
.fz-nav li a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: var(--o, right); transition: transform .4s var(--ease); }
.fz-en .fz-nav li a::after { --o: left; }
.fz-nav li a:hover, .fz-nav li a[aria-current] { color: var(--ink); }
.fz-nav li a:hover::after, .fz-nav li a[aria-current]::after { transform: scaleX(1); }
.fz-nav__cta { min-height: 42px; font-size: .88rem; }
.fz-lang { font-size: .85rem; letter-spacing: .1em; color: var(--ink-2); border: 1px solid var(--line); min-width: 42px; height: 42px; display: grid; place-items: center; }
.fz-lang:hover { border-color: var(--accent); color: var(--ink); }
.fz-fa .fz-lang { font-family: var(--latin); font-size: 1rem; }
.fz-burger { display: none; width: 42px; height: 42px; place-items: center; }
.fz-burger svg { width: 26px; height: 26px; }

@media (max-width: 1080px) {
	.fz-burger { display: grid; }
	.fz-nav { position: fixed; inset: var(--header) 0 0; background: var(--bg); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 36px var(--gutter); gap: 28px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; overflow-y: auto; }
	.fz-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.fz-nav ul { flex-direction: column; gap: 0; }
	.fz-nav li a { display: block; font-family: var(--display); font-size: 1.6rem; padding-block: 14px; border-bottom: 1px solid var(--line); }
	.fz-nav li a::after { display: none; }
	.fz-header.is-menu { background: var(--bg); }
	body.is-locked { overflow: hidden; }
}

/* Hero */
.fz-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg-2); }
.fz-hero__slides, .fz-hero__slide { position: absolute; inset: 0; margin: 0; }
.fz-hero__slide { opacity: 0; transition: opacity 1.6s var(--ease); }
.fz-hero__slide.is-on { opacity: 1; }
.fz-hero__slide img, .fz-hero__slide video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.fz-hero__slide video { transform: none; }
.fz-hero__slide.is-on img { transform: scale(1); }
.fz-hero__slide figcaption { position: absolute; inset-inline-end: var(--gutter); bottom: 34px; z-index: 3; font-size: .82rem; color: var(--ink-2); opacity: 0; transition: opacity .8s .6s; }
.fz-hero__slide.is-on figcaption { opacity: 1; }
.fz-hero__shade { position: absolute; inset: 0; background: linear-gradient(var(--hg, to left), rgba(34,39,29,.55) 0%, rgba(34,39,29,0) 65%), linear-gradient(180deg, rgba(34,39,29,.6) 0%, rgba(34,39,29,.2) 35%, rgba(34,39,29,.6) 70%, rgba(34,39,29,.94) 100%); }
.fz-en .fz-hero__shade, .fz-en .fz-project__shade { --hg: to right; }
.fz-hero__in { position: relative; z-index: 2; padding-bottom: clamp(70px, 11vh, 130px); }
.fz-hero__title { font-family: var(--display); font-weight: 300; font-size: clamp(1.8rem, 4.2vw, 3.8rem); line-height: 1.25; max-width: 24ch; margin-bottom: 26px; }
.fz-fa .fz-hero__title { max-width: none; white-space: nowrap; font-size: clamp(1.6rem, 3.6vw, 3.4rem); }
.fz-en .fz-hero__title { font-size: clamp(2.8rem, 7.4vw, 6.6rem); line-height: 1; max-width: 13ch; }
.fz-hero__lead { max-width: 44ch; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 36px; }
.fz-hero__cta { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.fz-hero__dots { position: absolute; z-index: 3; inset-inline-start: calc(var(--gutter) + 72px); bottom: 34px; display: flex; gap: 10px; }
.fz-hero__dots button { width: 34px; height: 18px; position: relative; }
.fz-hero__dots button::before { content: ""; position: absolute; inset: 8px 0; height: 1px; background: rgba(241,233,216,.35); }
.fz-hero__dots button[aria-selected]::before { background: var(--ink); }
.fz-hero__in { width: 100%; }
@media (max-width: 700px) {
	.fz-hero__slide figcaption { display: none; }
	.fz-hero__dots { bottom: 22px; }
	.fz-hero__in { padding-bottom: 110px; }
	.fz-hero__dots { bottom: 40px; }
}

/* Intro */
.fz-intro { border-bottom: 1px solid var(--line); }
.fz-intro__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fz-intro__img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.fz-intro__img img, .fz-process__img img { width: 100%; height: 100%; object-fit: cover; }
.fz-intro .fz-statement { margin-bottom: 34px; }
@media (max-width: 800px) { .fz-intro__grid { grid-template-columns: 1fr; gap: 36px; } }

/* Selected projects */
.fz-feature { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 3vw, 40px); }
.fz-feature__item { display: block; grid-column: span 7; }
.fz-feature__item:nth-child(2) { grid-column: span 5; margin-top: clamp(60px, 12vw, 180px); }
.fz-feature__item:nth-child(3) { grid-column: 3 / span 8; }
.fz-feature__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); }
.fz-feature__item:nth-child(2) .fz-feature__img { aspect-ratio: 4 / 5; }
.fz-feature__item:nth-child(3) .fz-feature__img { aspect-ratio: 16 / 9; }
.fz-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(.9); }
.fz-feature__item:hover img { transform: scale(1.04); filter: saturate(1); }
.fz-feature__cap { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding-top: 18px; }
.fz-feature__n { grid-row: span 2; font-family: var(--latin); font-size: 1.1rem; color: var(--accent); padding-top: 2px; }
.fz-fa .fz-feature__n { font-family: var(--sans); font-size: 1.15rem; }
.fz-feature__t { font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.fz-en .fz-feature__t { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.fz-feature__m { font-size: .88rem; color: var(--mute); }
@media (max-width: 800px) {
	.fz-feature { grid-template-columns: 1fr; }
	.fz-feature__item, .fz-feature__item:nth-child(n) { grid-column: auto; margin-top: 0; }
	.fz-feature__item:nth-child(n) .fz-feature__img { aspect-ratio: 4 / 3; }
}

/* Services */
.fz-services { background: var(--bg-2); }
.fz-services__acc { column-gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .fz-services__acc { display: grid; grid-template-columns: 1fr 1fr; align-items: start; border-top: 0; } .fz-services__acc .fz-acc__item:nth-child(-n+2) { border-top: 1px solid var(--line); } }
.fz-services__more { margin: 26px 0 0; font-size: .95rem; }

/* Tour band and embeds */
.fz-tourband__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.fz-tourband__text p { color: var(--ink-2); max-width: 38ch; margin-bottom: 30px; }
@media (max-width: 900px) { .fz-tourband__grid { grid-template-columns: 1fr; } }
.fz-tour { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.fz-tour--big { aspect-ratio: 16 / 9; }
.fz-tour > img, .fz-tour > .fz-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fz-tour:hover > img { transform: scale(1.03); }
.fz-tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--bg); }
.fz-tour__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle at center, rgba(34,39,29,.7) 0%, rgba(34,39,29,.35) 45%, rgba(34,39,29,.2) 100%); transition: background .4s var(--ease); text-align: center; }
.fz-tour__play:hover { color: var(--ink); }
.fz-tour__play svg { width: 64px; height: 64px; padding: 16px; border: 1px solid rgba(241,233,216,.6); border-radius: 50%; backdrop-filter: blur(6px); transition: transform .5s var(--ease), border-color .4s; }
.fz-tour__play:hover svg { transform: scale(1.08); border-color: var(--ink); }
.fz-tour__play span { font-size: 1.05rem; }
.fz-tour__play small { font-size: .82rem; color: var(--ink-2); }
.fz-tour.is-live .fz-tour__play, .fz-tour.is-live > img { display: none; }
.fz-tour__fs { position: absolute; z-index: 2; inset-inline-end: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(34,39,29,.7); }
.fz-tour__alt { margin: 18px 0 0; }

/* Process */
.fz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px clamp(24px, 4vw, 64px); counter-reset: s; }
.fz-steps li { border-top: 1px solid var(--line); padding-top: 26px; }
.fz-steps__n { display: block; font-family: var(--latin); font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 18px; font-weight: 300; }
.fz-fa .fz-steps__n { font-family: var(--sans); font-size: 2.1rem; }
.fz-steps h3 { font-family: var(--display); font-size: 1.2rem; margin-bottom: 8px; }
.fz-en .fz-steps h3 { font-size: 1.55rem; }
.fz-steps p { color: var(--mute); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .fz-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fz-steps { grid-template-columns: 1fr; gap: 36px; } }

/* My Art */
.fz-artband { border-top: 1px solid var(--line); }
.fz-artrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fz-artrow__item { display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.fz-artrow__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.fz-artrow__item:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .fz-artrow { grid-template-columns: 1fr 1fr; } }
.fz-masonry { columns: 3 300px; column-gap: 24px; }
.fz-masonry__item { break-inside: avoid; margin: 0 0 32px; }
.fz-masonry__item img { width: 100%; }
.fz-masonry__item figcaption { padding-top: 12px; font-size: .92rem; }
.fz-empty { padding-block: 40px 20px; border-top: 1px solid var(--line); }
.fz-artone img { margin: 0 auto 40px; max-height: 80vh; width: auto; }
.fz-lb { position: fixed; inset: 0; z-index: 80; background: rgba(24,28,20,.96); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px 30px; gap: 16px; }
.fz-lb img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; }
.fz-lb p { color: var(--ink-2); font-size: .92rem; margin: 0; text-align: center; }
.fz-lb button { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; display: grid; place-items: center; }
.fz-lb button svg { width: 26px; height: 26px; }

/* Page heads, grids, cards */
.fz-page-head { padding-top: calc(var(--header) + clamp(50px, 8vw, 110px)); padding-bottom: clamp(24px, 3vw, 40px); }
.fz-page-head .fz-h1 { max-width: 20ch; margin-bottom: 18px; }
.fz-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fz-filter button { border: 1px solid var(--line); padding: 8px 20px; font-size: .9rem; color: var(--ink-2); transition: all .3s var(--ease); }
.fz-filter button:hover { border-color: var(--accent); color: var(--ink); }
.fz-filter button.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px clamp(18px, 2.4vw, 32px); }
@media (max-width: 1000px) { .fz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .fz-grid { grid-template-columns: 1fr; } }
.fz-card { display: block; animation: fz-in .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.fz-card[hidden] { display: none; }
.fz-card__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.fz-card__img img, .fz-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); display: block; }
.fz-ph { background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); }
.fz-card:hover .fz-card__img img { transform: scale(1.05); }
.fz-card__badge { position: absolute; inset-inline-start: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; padding: 5px 10px; background: rgba(34,39,29,.72); backdrop-filter: blur(6px); }
.fz-card__body { display: block; padding-top: 16px; }
.fz-card__title { display: block; font-family: var(--display); font-size: 1.2rem; }
.fz-en .fz-card__title { font-size: 1.5rem; }
.fz-card__meta { display: block; color: var(--mute); font-size: .86rem; }
@keyframes fz-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Single project */
.fz-project__cover { position: relative; height: 88vh; height: 88svh; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.fz-project__cover > img, .fz-project__cover > .fz-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fz-project__shade { position: absolute; inset: 0; background: linear-gradient(var(--hg, to left), rgba(34,39,29,.5) 0%, rgba(34,39,29,0) 60%), linear-gradient(180deg, rgba(34,39,29,.5) 0%, rgba(34,39,29,.1) 40%, rgba(34,39,29,.9) 100%); }
.fz-project__head { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 90px); }
.fz-project__head .fz-h1 { max-width: 18ch; margin-bottom: 28px; }
.fz-project__body { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 100px); padding-block: clamp(56px, 8vw, 110px) 0; }
@media (max-width: 860px) { .fz-project__body { grid-template-columns: 1fr; } }
.fz-facts { margin: 0; display: grid; gap: 0; align-content: start; }
.fz-facts > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.fz-facts > div:first-child { border-top: 1px solid var(--line); }
.fz-facts dt { color: var(--mute); font-size: .88rem; }
.fz-facts dd { margin: 0; }
.fz-facts--plain { margin-block: 32px; }
.fz-prose { max-width: 66ch; color: var(--ink-2); font-size: 1.05rem; }
.fz-prose--page { margin-inline: 0; }
.fz-prose h2, .fz-prose h3 { color: var(--ink); font-family: var(--display); margin: 1.6em 0 .6em; }
.fz-prose a { color: var(--accent-2); border-bottom: 1px solid currentColor; }
.fz-prose .wp-block-gallery { max-width: none; margin-block: 40px; }
.fz-prose figure { margin: 2em 0; }
.fz-next { position: relative; display: block; height: 62vh; min-height: 380px; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); }
.fz-next > img, .fz-next > .fz-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fz-next::after { content: ""; position: absolute; inset: 0; background: rgba(34,39,29,.55); transition: background .6s var(--ease); }
.fz-next:hover::after { background: rgba(34,39,29,.35); }
.fz-next:hover > img { transform: scale(1.04); }
.fz-next__in { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: 54px; display: block; }
.fz-next .fz-h2 { display: inline-flex; align-items: center; gap: .4em; color: var(--ink); }

/* Tours page */
.fz-tours { display: grid; gap: clamp(56px, 8vw, 110px); }
.fz-tours__item { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 4vw, 60px); align-items: end; }
.fz-tours__item:nth-child(even) .fz-tour { order: 2; }
.fz-tours__cap h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 6px; }
.fz-en .fz-tours__cap h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
@media (max-width: 860px) { .fz-tours__item { grid-template-columns: 1fr; } .fz-tours__item:nth-child(even) .fz-tour { order: 0; } }

/* About */
.fz-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.fz-about__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); position: sticky; top: calc(var(--header) + 24px); }
.fz-about__img img, .fz-about__img .fz-ph { width: 100%; height: 100%; object-fit: cover; }
.fz-about .fz-statement { margin-bottom: 32px; }
@media (max-width: 860px) { .fz-about { grid-template-columns: 1fr; } .fz-about__img { position: static; aspect-ratio: 4 / 3; } }

/* Contact */
.fz-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
@media (max-width: 860px) { .fz-contact { grid-template-columns: 1fr; } }
.fz-form { display: grid; gap: 22px; }
.fz-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .fz-form__row { grid-template-columns: 1fr; } }
.fz-form label { display: grid; gap: 8px; }
.fz-form label > span { font-size: .85rem; color: var(--mute); }
.fz-form input, .fz-form select, .fz-form textarea { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.fz-form select { background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: var(--sx, left) 4px center, var(--sx2, left) 9px center; background-size: 5px 5px; background-repeat: no-repeat; }
.fz-en .fz-form select { --sx: calc(100% - 9px); --sx2: calc(100% - 4px); }
.fz-form select option { background: var(--bg-2); color: var(--ink); }
.fz-form input:focus, .fz-form select:focus, .fz-form textarea:focus { outline: 0; border-color: var(--accent); }
.fz-form textarea { resize: vertical; min-height: 120px; }
.fz-form button { justify-self: start; margin-top: 8px; }
.fz-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fz-note { padding: 14px 18px; margin-bottom: 26px; border: 1px solid var(--line); }
.fz-note--ok { border-color: var(--accent); color: var(--ink); }
.fz-note--err { border-color: #a5584a; }

/* Footer */
.fz-footer { background: var(--bg-2); padding-top: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); }
.fz-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: clamp(56px, 8vw, 100px); border-bottom: 1px solid var(--line); }
.fz-footer__big { font-family: var(--display); font-size: clamp(1.05rem, 1.7vw, 1.45rem); font-weight: 300; margin: 0; line-height: 1.5; }
@media (min-width: 700px) { .fz-footer__big { white-space: nowrap; } }
.fz-en .fz-footer__big { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.fz-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-block: 56px; }
.fz-footer__grid p { margin: 0 0 .5em; font-size: .93rem; }
.fz-footer__grid .fz-logo__word { display: inline-block; margin-bottom: 14px; }
.fz-footer__logo { display: block; width: auto; height: 150px; margin-bottom: 18px; }
@media (max-width: 860px) { .fz-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fz-footer__grid { grid-template-columns: 1fr; } }
.fz-visits { display: flex; align-items: center; justify-content: center; gap: .5em; margin: 0; padding-block: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--mute); }
.fz-visits svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.fz-visits strong { color: var(--ink); font-weight: 500; letter-spacing: .02em; }
.fz-footer__base { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--mute); }

/* WhatsApp: bottom corner opposite the reading start */
.fz-wa { position: fixed; z-index: 40; bottom: 22px; inset-inline-start: 22px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .35s var(--ease), background .35s; }
.fz-wa:hover { transform: translateY(-3px); background: var(--accent); color: var(--bg); }
.fz-wa svg { width: 26px; height: 26px; }

/* Reveal on scroll */
.fz-js .fz-reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fz-js .fz-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.fz-js .fz-reveal { opacity: 1; transform: none; }
}

/* Admin bar offset */
.admin-bar .fz-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fz-header { top: 46px; } }

/* Project gallery */
.fz-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); }
.fz-gallery__item { display: block; overflow: hidden; background: var(--bg-2); }
.fz-gallery__item:first-child:nth-last-child(odd), .fz-gallery__item:only-child { grid-column: 1 / -1; }
.fz-gallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 1s var(--ease); }
.fz-gallery__item:hover img { transform: scale(1.03); }
@media (max-width: 620px) { .fz-gallery { grid-template-columns: 1fr; } }

/* Companies */
.fz-worked { margin-block: 0 34px; }
.fz-worked ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.fz-worked li { color: var(--ink-2); font-size: .95rem; }

/* Consultation buttons: frosted glass, light on olive sections, olive-tinted on cream. */
.fz-btn[href*="/contact/#form"] {
	--glass: rgba(34, 39, 29, .07);
	--glass-hover: rgba(34, 39, 29, .14);
	--glass-line: rgba(34, 39, 29, .28);
	background: var(--glass);
	color: var(--ink);
	border: 1px solid var(--glass-line);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 24px rgba(0, 0, 0, .12);
	border-radius: 999px;
}
.fz-btn[href*="/contact/#form"]:hover { background: var(--glass-hover); color: var(--ink); border-color: var(--accent); }
:is(.fz-header, .fz-hero, .fz-footer) .fz-btn[href*="/contact/#form"] {
	--glass: rgba(241, 233, 216, .12);
	--glass-hover: rgba(241, 233, 216, .22);
	--glass-line: rgba(241, 233, 216, .38);
}

/* Process: image beside the steps */
.fz-process__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.fz-process__img { margin: 0; position: sticky; top: calc(var(--header) + 24px); aspect-ratio: 3 / 4; overflow: hidden; }
.fz-process__img figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; font-size: .85rem; color: #f1e9d8; background: linear-gradient(transparent, rgba(34, 39, 29, .75)); }
@media (max-width: 900px) { .fz-process__grid { grid-template-columns: 1fr; } .fz-process__img { position: relative; top: 0; aspect-ratio: 16 / 10; } }

/* Project video */
.fz-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--bg-2); object-fit: cover; }
.fz-process__grid .fz-acc { order: -1; }
@media (max-width: 900px) { .fz-process__grid .fz-acc { order: 0; } }

/* Process accordion */
.fz-acc { border-top: 1px solid var(--line); }
.fz-acc__item { border-bottom: 1px solid var(--line); }
.fz-acc__item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 13px 0; cursor: pointer; }
.fz-acc__item summary::-webkit-details-marker { display: none; }
.fz-acc__item summary::after { content: ""; margin-inline-start: auto; width: 9px; height: 9px; border: solid var(--accent); border-width: 0 1px 1px 0; transform: rotate(45deg); transition: transform .3s var(--ease); }
.fz-acc__item[open] summary::after { transform: rotate(-135deg); }
.fz-acc__n { width: 2.1em; height: 2.1em; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: .9rem; flex: none; }
.fz-acc__t { font-family: var(--display); font-size: 1rem; }
.fz-en .fz-acc__t { font-size: 1.45rem; }
.fz-acc__item p { margin: 0 0 16px; padding-inline-start: calc(2.1em * .9 / .9 + 16px); color: var(--mute); font-size: .9rem; max-width: 52ch; }

/* Phone: the slogan on one line */
@media (max-width: 600px) { .fz-fa .fz-hero__title { white-space: nowrap; font-size: 6.1vw; max-width: none; } }
@media (max-width: 380px) { .fz-logo__word { font-size: 1.3rem; letter-spacing: .24em; } }
.fz-acc h3.fz-acc__t { font-weight: inherit; line-height: inherit; }
.fz-project__cover .fz-h1 { font-size: clamp(1.35rem, 2.6vw, 2.2rem); }
@media (min-width: 700px) { .fz-project__cover .fz-h1 { white-space: nowrap; } }
.fz-tours__sub { margin: clamp(56px, 8vw, 110px) 0 24px; }
.fz-tours--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
@media (max-width: 900px) { .fz-tours--row { grid-template-columns: 1fr; gap: 48px; } }
.fz-tours--row .fz-tours__cap h2 { font-size: 1.05rem; }
.fz-gate { padding: 18px 20px; border: 1px dashed var(--line); color: var(--ink-2); font-size: .95rem; margin: 0 0 22px; }
.fz-tours--row .fz-tours__item { grid-template-columns: 1fr; gap: 16px; align-items: start; }
.fz-tours--row .fz-tours__item:nth-child(even) .fz-tour { order: 0; }
