/* ==========================================================================
   Zarnegar Lens - main stylesheet (light editorial design)
   White paper, black ink, the photographs carry the color.
   All sizes in rem. Text colors checked for WCAG AA contrast.
   ========================================================================== */

:root {
	/* Colors */
	--paper: #ffffff;
	--mist: #f3f2f0;          /* studio backdrop grey for alternate sections */
	--mist-2: #e9e7e3;
	--ink: #171717;           /* 17.9:1 on white */
	--ink-2: #262626;
	--text: #1f1e1c;
	--text-muted: #5c5955;    /* 7.0:1 on white, 6.3:1 on --mist */
	--hair: #e2e0dc;
	--hair-dark: #c9c6c1;
	--white: #ffffff;
	--on-ink-muted: #bdbab5;  /* 9.6:1 on --ink */
	--line-on-ink: rgba(255, 255, 255, 0.18);
	--focus: #1d4ed8;
	--focus-on-ink: #93b4ff;
	--wa: #1a9e4b;

	/* Type */
	--display: 'Karantina', 'IBM Plex Sans Hebrew', Arial, sans-serif;
	--sans: 'IBM Plex Sans Hebrew', Arial, sans-serif;

	/* Layout */
	--wrap: 90rem;
	--wrap-narrow: 47.5rem;
	--gutter: clamp(1rem, 4vw, 3.5rem);
	--header-h: 4.75rem;
	--sec: clamp(4rem, 8vw, 7.5rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 600; }
strong { font-weight: 600; }

/* ---------- Accessibility helpers ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute;
	top: -10rem;
	right: 1rem;
	z-index: 1000;
	padding: 0.75rem 1.25rem;
	background: var(--ink);
	color: var(--white);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: 0.1875rem; }
.site-main:focus { outline: none; }

/* ---------- Layout ---------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sec); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3.125rem;
	padding: 0.875rem 1.75rem;
	border: 0.0625rem solid var(--ink);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--gold { background: var(--ink); color: var(--white); }
.btn--gold:hover { background: var(--white); color: var(--ink); }
.btn--outline-light,
.btn--outline-dark { background: transparent; color: var(--ink); }
.btn--outline-light:hover,
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }
.link-more {
	display: inline-block;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-thickness: 0.0625rem;
	text-underline-offset: 0.35rem;
}
.link-more:hover { text-decoration-thickness: 0.125rem; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: transparent;
	color: var(--ink);
	border-bottom: 0.0625rem solid var(--hair);
	transition: border-color 0.4s;
}
/* The glass lives on a pseudo layer: a backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--white);
	transition: background-color 0.4s;
}
.site-header.is-scrolled { border-bottom-color: rgba(23, 23, 23, 0.08); }
.site-header.is-scrolled::before {
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(1rem) saturate(1.6);
	backdrop-filter: blur(1rem) saturate(1.6);
}
.nav-open .site-header::before { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header.is-scrolled::before { background: rgba(255, 255, 255, 0.97); }
}
.admin-bar .site-header { top: 2rem; }
@media (max-width: 48.875rem) { .admin-bar .site-header { top: 2.875rem; } }
@media (max-width: 37.5rem) { .admin-bar .site-header { top: 0; } }

.site-header__in {
	display: flex;
	align-items: center;
	gap: 2rem;
	height: 100%;
}
.site-logo { flex: none; display: block; }
.site-logo img { width: auto; height: 2.5rem; filter: brightness(0); }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav .menu { display: flex; align-items: center; gap: 0.25rem; }
.site-nav .menu > li { position: relative; }
.site-nav a,
.site-nav .submenu-btn {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	background: none;
	border: 0;
	color: var(--ink);
	font-size: 0.9375rem;
	text-decoration: none;
	cursor: pointer;
}
.site-nav .menu > li > a,
.site-nav .menu > li > .submenu-btn { position: relative; }
.site-nav .menu > li > a::after,
.site-nav .menu > li > .submenu-btn::after {
	content: "";
	position: absolute;
	right: 0.75rem;
	left: 0.75rem;
	bottom: 0.375rem;
	height: 0.0625rem;
	background: var(--ink);
	transform: scaleX(0);
	transition: transform 0.25s;
}
.site-nav .menu > li > a:hover::after,
.site-nav .menu > li > .submenu-btn:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current-menu-ancestor > .submenu-btn::after { transform: scaleX(1); }
.submenu-btn svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.submenu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 15rem;
	padding: 0.5rem 0;
	background: var(--white);
	border: 0.0625rem solid var(--hair);
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.1);
	display: none;
}
.site-nav .sub-menu.is-open { display: block; }
.site-nav .sub-menu a { padding: 0.625rem 1.25rem; }
.site-nav .sub-menu a:hover,
.site-nav .sub-menu .current-menu-item > a { background: var(--mist); }

.header-tel {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	white-space: nowrap;
}
.header-tel__ico svg { width: 1rem; height: 1rem; }
.header-tel:hover span[dir] { text-decoration: underline; text-underline-offset: 0.25rem; }

.nav-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	margin-inline-start: auto;
	background: none;
	border: 0;
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 0.375rem; width: 1.625rem; margin: auto; }
.nav-toggle__bars span { display: block; height: 0.125rem; background: currentColor; transition: transform 0.25s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(0.5rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-0.5rem) rotate(-45deg); }

@media (max-width: 64rem) {
	.nav-toggle { display: block; }
	.header-tel { display: none; }
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: var(--white);
		overflow-y: auto;
		padding: 1.5rem var(--gutter) 8rem;
		display: none;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 2.875rem); }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { border-bottom: 0.0625rem solid var(--hair); }
	.site-nav .menu > li > a,
	.site-nav .menu > li > .submenu-btn {
		width: 100%;
		min-height: 3.75rem;
		padding-inline: 0;
		justify-content: space-between;
		font-family: var(--display);
		font-size: 2.25rem;
		font-weight: 700;
		line-height: 1;
	}
	.site-nav .menu > li > a::after,
	.site-nav .menu > li > .submenu-btn::after { display: none; }
	.site-nav .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 0.125rem; text-underline-offset: 0.3rem; }
	.site-nav .sub-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0.75rem; min-width: 0; }
	.site-nav .sub-menu a { padding: 0.5rem 0; font-size: 1.0625rem; }
	.site-nav .sub-menu a:hover { background: none; text-decoration: underline; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 0.1875rem; text-decoration-color: var(--hair-dark); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .breadcrumb_last { color: var(--ink); }
.breadcrumbs span > span { white-space: normal; }
.breadcrumbs__sep { display: inline-block; margin-inline: 0.375rem; color: var(--hair-dark); font-size: 1.125em; line-height: 1; }

/* ---------- Generic page head & prose ---------- */
.page-head { padding: 3.5rem 0 3rem; border-bottom: 0.0625rem solid var(--hair); }
.page-head__title { font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; line-height: 0.95; }
.page-head__lead { margin-top: 1rem; color: var(--text-muted); font-size: 1.125rem; }
.page-head__meta { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 0.75rem; }

.prose { padding-block: 3.5rem 5rem; }
.prose > * + * { margin-top: 1.125rem; }
.prose h2 { font-family: var(--display); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; line-height: 1; margin-top: 2.5rem; }
.prose h3 { font-size: 1.3125rem; margin-top: 2rem; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 0.0625rem; text-underline-offset: 0.2rem; }
.prose a:hover { text-decoration-thickness: 0.125rem; }
.prose ul, .prose ol { padding-inline-start: 1.5rem; }
.prose img { margin-block: 1.5rem; }

/* ---------- Blog ---------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
	gap: 2.5rem 1.5rem;
}
.post-card article { position: relative; height: 100%; display: flex; flex-direction: column; }
/* The whole card is clickable through the title link (one link per card for screen readers). */
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__img { overflow: hidden; background: var(--mist); }
.post-card__img img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card:hover .post-card__title a { text-decoration: underline; text-decoration-thickness: 0.0625rem; text-underline-offset: 0.25rem; }
.post-card:focus-within { outline: 0.1875rem solid var(--focus); outline-offset: 0.375rem; }
.post-card__title a:focus-visible { outline: none; }
.post-card__more { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--ink); border-bottom: 0.0625rem solid var(--ink); }
@media (prefers-reduced-motion: reduce) { .post-card__img img { transition: none; } }
.post-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__body { padding-top: 1.25rem; }
.post-card__title { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; text-decoration-thickness: 0.0625rem; text-underline-offset: 0.25rem; }
.post-card__meta { margin-top: 0.5rem; color: var(--text-muted); font-size: 0.875rem; }
.post-card__excerpt { margin-top: 0.75rem; color: var(--text-muted); }
.empty-state { color: var(--text-muted); font-size: 1.125rem; }
.nav-links { display: flex; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 0.5rem 0.875rem; border: 0.0625rem solid var(--hair); text-decoration: none; }
.nav-links .current { background: var(--ink); border-color: var(--ink); color: var(--white); }
/* ---------- Single post: TOC | article | details card ---------- */
.post-head { padding: 2rem 0 2.5rem; border-bottom: 0.0625rem solid var(--hair); }
.post-head__title { max-width: 56rem; font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 6vw, 4.75rem); line-height: 0.95; }
.post-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 1.25rem; font-size: 0.875rem; color: var(--text-muted); }
.post-head__meta > * + *::before { content: ""; display: inline-block; width: 0.25rem; height: 0.25rem; margin-inline-end: 1rem; border-radius: 50%; background: var(--hair-dark); vertical-align: middle; }

.post-layout {
	display: grid;
	grid-template-columns: 15rem minmax(0, 1fr) 17rem;
	grid-template-areas: "toc main side";
	gap: 3rem;
	align-items: start;
	padding-top: 3rem;
}
.post-toc { grid-area: toc; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.post-side { grid-area: side; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.post-main { grid-area: main; min-width: 0; max-width: 44rem; justify-self: center; width: 100%; }
.admin-bar .post-toc, .admin-bar .post-side { top: calc(var(--header-h) + 3.5rem); }

/* Table of contents (collapsed by default, scrolls inside itself) */
.post-toc__box { background: var(--mist); border: 0.0625rem solid var(--hair); }
.post-toc__title { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 1rem 1.25rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.post-toc__title::-webkit-details-marker { display: none; }
.post-toc__title::after { content: ""; width: 0.5rem; height: 0.5rem; border-inline-end: 0.125rem solid currentColor; border-bottom: 0.125rem solid currentColor; transform: rotate(45deg); transition: transform 0.25s; }
.post-toc__box[open] .post-toc__title::after { transform: rotate(-135deg); }
.post-toc__title:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: -0.1875rem; }
.post-toc__list { max-height: calc(100vh - var(--header-h) - 9rem); overflow-y: auto; padding: 0 1.25rem 1rem; font-size: 0.875rem; line-height: 1.45; scrollbar-width: thin; }
.post-toc__list, .post-toc__list ol { list-style: none; margin: 0; }
.post-toc__list li { margin-top: 0.625rem; }
.post-toc__list ol { padding-inline-start: 0.75rem; border-inline-start: 0.0625rem solid var(--hair-dark); margin-top: 0.5rem; }
.post-toc__list ol li { margin-top: 0.4rem; }
.post-toc__list a { color: var(--text); text-decoration: none; }
.post-toc__list > li > a { font-weight: 600; color: var(--ink); }
.post-toc__list a:hover, .post-toc__list a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2rem; }

/* Details card */
.post-card-side { background: var(--white); border: 0.0625rem solid var(--hair); }
.post-card-side__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist); }
.post-card-side__meta { padding: 0.25rem 1.25rem; font-size: 0.875rem; }
.post-card-side__meta div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 0.0625rem solid var(--hair); }
.post-card-side__meta div:last-child { border-bottom: 0; }
.post-card-side__meta dt { font-weight: 700; color: var(--ink); }
.post-card-side__meta dd { color: var(--text-muted); text-align: end; }
.post-card-side__meta a { color: var(--ink); }

/* Summary box: shows only the WordPress excerpt field */
.post-summary { position: relative; padding: 1.75rem 1.75rem 1.5rem; background: var(--mist); border-inline-start: 0.25rem solid var(--ink); font-size: 1.0625rem; line-height: 1.75; color: var(--text); }
.post-summary__tag { display: inline-block; margin-bottom: 0.625rem; padding: 0.125rem 0.625rem; background: var(--ink); color: var(--white); font-size: 0.8125rem; font-weight: 600; }

.post-body { padding-block: 2rem 1rem; font-size: 1.0625rem; line-height: 1.8; }
.post-body h2, .post-body h3 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.post-body h2 { margin-top: 3.5rem; }
.post-body figure { margin-block: 2.5rem; }
.post-body figure img,
.post-body > p > img { display: block; width: auto; max-width: 100%; max-height: min(70vh, 34rem); margin: 0 auto; }
.post-body figcaption { margin-top: 0.75rem; text-align: center; font-size: 0.875rem; color: var(--text-muted); }

@media (max-width: 72rem) {
	.post-layout { grid-template-columns: 14rem minmax(0, 1fr); grid-template-areas: "toc main" "side main"; gap: 2.5rem; }
	.post-side { position: static; }
}
@media (max-width: 52rem) {
	.post-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "toc" "main"; gap: 1.5rem; padding-top: 1.5rem; }
	.post-toc, .post-side { position: static; }
	.post-card-side { display: grid; grid-template-columns: 9rem minmax(0, 1fr); align-items: center; }
	.post-card-side__img { height: 100%; aspect-ratio: auto; }
	.post-card-side__meta div { padding: 0.5rem 0; }
	.post-toc__list { max-height: 60vh; }
	.post-main { max-width: none; }
}
@media (max-width: 30rem) {
	.post-card-side { grid-template-columns: 1fr; }
	.post-card-side__img { aspect-ratio: 16 / 9; }
}

/* Tables */
.table-wrap { margin-block: 2rem; overflow-x: auto; border: 0.0625rem solid var(--hair); }
.table-wrap:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: 0.1875rem; }
.prose table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.55; }
.prose th, .prose td { padding: 0.875rem 1rem; text-align: start; vertical-align: top; border-bottom: 0.0625rem solid var(--hair); }
.prose thead th { background: var(--ink); color: var(--white); font-weight: 600; border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: var(--mist); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Share, author, navigation */
.post-foot { padding-bottom: 5rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding-block: 1.5rem; border-block: 0.0625rem solid var(--hair); }
.share__title { font-weight: 600; color: var(--ink); }
.share__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share__btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0.0625rem solid var(--hair-dark); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.share__btn svg { width: 1.125rem; height: 1.125rem; max-width: none; }
.share__btn:hover, .share__btn:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--white); }
.share__status { flex-basis: 100%; min-height: 1.25rem; font-size: 0.875rem; color: var(--text-muted); }
.share__status:empty { display: none; }

.author-box { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.75rem; align-items: center; margin-top: 3rem; padding: 2rem; background: var(--mist); }
.author-box__img { width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.author-box__kicker { font-size: 0.8125rem; color: var(--text-muted); }
.author-box__name { font-family: var(--display); font-size: 2.25rem; font-weight: 700; line-height: 1; color: var(--ink); }
.author-box__bio { margin: 0.5rem 0 0.75rem; color: var(--text); }
@media (max-width: 37.5rem) {
	.author-box { grid-template-columns: 1fr; justify-items: start; padding: 1.5rem; gap: 1rem; }
	.author-box__img { width: 5.5rem; height: 5.5rem; }
}

.post-nav { margin-top: 3rem; }
.post-nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.post-nav__item a { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1rem; border: 0.0625rem solid var(--hair); color: var(--ink); text-decoration: none; transition: border-color 0.2s; }
.post-nav__item a:hover, .post-nav__item a:focus-visible { border-color: var(--ink); }
.post-nav__item--next a { flex-direction: row-reverse; text-align: end; }
.post-nav__item img { flex: none; width: 4.5rem; height: 4.5rem; object-fit: cover; }
.post-nav__item small { display: block; margin-bottom: 0.25rem; font-size: 0.8125rem; color: var(--text-muted); }
.post-nav__all { margin-top: 2rem; text-align: center; }
@media (max-width: 37.5rem) {
	.post-nav__list { grid-template-columns: 1fr; }
	.post-nav__item--empty { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--paper);
	color: var(--text-muted);
	padding: 4.5rem 0 9rem;
	font-size: 0.9375rem;
	border-top: 0.0625rem solid var(--hair);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.25rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr 0.9fr 1.35fr 1fr;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 0.0625rem solid var(--hair);
}
.site-footer__logo img { width: auto; height: 2.75rem; filter: brightness(0); }
.site-footer__about p { margin-top: 1rem; max-width: 22rem; }
.site-footer__title { color: var(--ink); font-family: var(--display); font-size: 1.75rem; font-weight: 700; line-height: 1; margin-bottom: 1rem; }
.footer-menu li + li { margin-top: 0.5rem; }
.footer-posts li + li { margin-top: 1rem; }
.footer-posts a { display: flex; align-items: center; gap: 0.875rem; }
.footer-posts img { flex: none; width: 3.75rem; height: 3.75rem; object-fit: cover; }
.footer-posts span { display: flex; flex-direction: column; gap: 0.25rem; line-height: 1.4; font-weight: 500; }
.footer-posts small { color: var(--text-muted); font-weight: 400; font-size: 0.8125rem; }
.contact-list li { display: flex; align-items: center; gap: 0.75rem; }
.contact-list li + li { margin-top: 0.75rem; }
.contact-list svg { width: 1.125rem; height: 1.125rem; color: var(--ink); flex: none; }
.social-list { display: flex; gap: 0.625rem; margin-top: 1.5rem; }
.social-list a {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0.0625rem solid var(--hair-dark);
	border-radius: 50%;
	transition: background-color 0.2s, color 0.2s;
}
.social-list a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.social-list svg { width: 1.125rem; height: 1.125rem; }
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 1.5rem;
	font-size: 0.875rem;
}
.legal-links { display: flex; gap: 0.5rem 1.5rem; flex-wrap: wrap; }
.legal-links a { color: var(--text-muted); }
@media (max-width: 56rem) {
	.site-footer { padding-top: 3.5rem; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
	.site-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
	.site-footer__grid { grid-template-columns: 1fr; }
}
@media (min-width: 56.0625rem) and (max-width: 72rem) {
	.site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.site-footer__about { grid-column: 1 / -1; }
}

/* ---------- Floating contact buttons ---------- */
.zl-float {
	--fab: 3.5rem;
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 60;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	direction: rtl;
	animation: zl-fab-in 0.5s ease 0.6s both;
	transition: bottom 0.35s ease;
}
.zl-float svg { max-width: none; }
.zl-float__wa,
.zl-float__call {
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zl-float__wa:hover,
.zl-float__call:hover {
	transform: translateY(-0.125rem);
	box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.26);
}
.zl-float__wa {
	position: relative;
	display: block;
	width: var(--fab);
	height: var(--fab);
	border-radius: 50%;
	background: var(--wa);
	color: #ffffff;
}
.zl-float__wa svg {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 2rem;
	height: 2rem;
}
.zl-float__dot {
	position: absolute;
	top: 0.0625rem;
	right: 0.0625rem;
	z-index: 1;
	width: 1rem;
	height: 1rem;
	border: 0.1875rem solid #ffffff;
	border-radius: 50%;
	background: #31d16b;
	box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.25);
	animation: zl-online-blink 1.8s ease-in-out infinite;
}
.zl-float__dot::after {
	content: "";
	position: absolute;
	inset: -0.1875rem;
	border-radius: 50%;
	background: #31d16b;
	animation: zl-online-ring 1.8s ease-out infinite;
}
.zl-float__call {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	height: var(--fab);
	padding: 0.3125rem;
	padding-inline-end: 1.375rem;
	border-radius: 62.4375rem;
	background: var(--ink);
	color: #ffffff;
	text-decoration: none;
}
.zl-float__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: calc(var(--fab) - 0.625rem);
	height: calc(var(--fab) - 0.625rem);
	border-radius: 50%;
	background: #ffffff;
	color: var(--ink);
}
.zl-float__ico svg { width: 1.25rem; height: 1.25rem; }
.zl-float__txt {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	line-height: 1.1;
	font-size: 0.8125rem;
	color: var(--on-ink-muted);
}
.zl-float__txt strong { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.02em; color: #ffffff; }
.zl-float__wa:focus-visible,
.zl-float__call:focus-visible { outline: 0.1875rem solid var(--focus); outline-offset: 0.1875rem; }

@media (max-width: 47.5rem) {
	.zl-float { --fab: 3.25rem; right: 0.875rem; bottom: 0.875rem; }
	.zl-float__wa svg { width: 1.875rem; height: 1.875rem; }
}
@keyframes zl-fab-in { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }
@keyframes zl-online-ring { 0% { opacity: 0.75; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes zl-online-blink { 0%, 100% { background: #31d16b; } 50% { background: #1faf54; } }

/* ---------- Cookie banner (centered) ---------- */
.zl-cc {
	position: fixed;
	z-index: 100;
	left: 50%;
	bottom: 1.5rem;
	width: min(46rem, calc(100vw - 2rem));
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 1.75rem;
	direction: rtl;
	text-align: right;
	background: var(--white);
	color: var(--text);
	border: 0.0625rem solid var(--hair-dark);
	border-radius: 0.75rem;
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.16);
	padding: 1.125rem 1.5rem;
	opacity: 0;
	transform: translate(-50%, 1rem);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}
.zl-cc[hidden] { display: none; }
.zl-cc.is-in { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.zl-cc__head { grid-column: 1; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.zl-cc__ico { width: 1.125rem; height: 1.125rem; color: var(--ink); flex: none; }
.zl-cc__txt { grid-column: 1; font-size: 0.875rem; line-height: 1.55; color: var(--text-muted); }
.zl-cc__txt a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 0.125rem; }
.zl-cc__btns { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 0.5rem; }
.zl-cc__btn {
	min-width: 6.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 1.125rem;
	border-radius: 62rem;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.zl-cc__ok { background: var(--ink); color: #ffffff; border: 0.0625rem solid var(--ink); }
.zl-cc__ok:hover { background: #333333; }
.zl-cc__no { background: transparent; color: var(--text); border: 0.0625rem solid var(--hair-dark); }
.zl-cc__no:hover { border-color: var(--ink); background: var(--mist); }
@media (max-width: 47.5rem) {
	.zl-cc {
		width: min(22rem, calc(100vw - 1.5rem));
		bottom: calc(0.75rem + env(safe-area-inset-bottom, 0rem));
		grid-template-columns: 1fr;
		padding: 0.875rem 1rem;
		border-radius: 0.875rem;
		text-align: center;
	}
	.zl-cc__head { justify-content: center; font-size: 0.9375rem; }
	.zl-cc__txt { font-size: 0.8125rem; line-height: 1.5; margin-bottom: 0.625rem; }
	.zl-cc__btns { grid-column: 1; grid-row: auto; }
	.zl-cc__btn { flex: 1 1 0; min-width: 0; min-height: 2.5rem; padding: 0.375rem 0.75rem; }
}

/* ---------- Reduced motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.zl-float__dot, .zl-float__dot::after { animation: none !important; }
}
@media print {
	.site-header, .zl-float, .zl-cc, .skip-link { display: none !important; }
}

/* Floating contact buttons stay out of the way while the mobile menu is open */
.nav-open .zl-float { visibility: hidden; opacity: 0; }
