/*
Theme Name: Galit Klein Photography
Theme URI: https://galitklein.co.il
Author: Galit Klein
Description: ערכת עיצוב נקייה ונגישה לצלמת עליות לתורה, בר/בת מצווה, אירועים קטנים וצילומי תדמית. תומכת בעברית (RTL), גלריות עם תצוגה מוגדלת נגישה, והגדרות דרך "התאמה אישית".
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: galit-klein
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #fbf9f6;
	--surface: #f3eee8;
	--text: #2f2a27;
	--muted: #5f5651;
	--accent: #8a5a4e;      /* links & buttons – 5.6:1 on --bg */
	--accent-soft: #e9ddd5;
	--line: #e4dcd4;
	--white: #ffffff;
	--focus: #1f5fbf;

	--font-display: "Frank Ruhl Libre", "David", serif;
	--font-body: "Assistant", "Arial", sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--space: clamp(64px, 10vw, 128px);
	--radius: 2px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	overflow-x: clip; /* safety net: nothing may widen the page (keeps the sticky header working) */
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.25;
	margin: 0 0 0.6em;
	color: var(--text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.375rem; }

p { margin: 0 0 1.2em; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px; right: 12px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--text);
	color: var(--white);
	text-decoration: none;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 760px; }

.section { padding-block: var(--space); }
.section--tint { background: var(--surface); }

.eyebrow {
	display: block;
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 1rem;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.button,
.wp-block-button__link,
input[type="submit"],
button.button {
	display: inline-block;
	padding: 0.85em 2.2em;
	border: 1px solid var(--text);
	border-radius: var(--radius);
	background: var(--text);
	color: var(--white);
	font: inherit;
	font-size: 1rem;
	letter-spacing: 0.05em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s, color 0.25s;
}
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: transparent;
	color: var(--text);
}
.button--ghost { background: transparent; color: var(--text); }
.button--ghost:hover { background: var(--text); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 249, 246, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
	display: flex;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
	min-height: 80px;
}
/* RTL: logo on the right, menu right after it, booking button on the far left */
.header-cta { margin-inline-start: auto; padding: 0.6em 1.6em; font-size: 0.9375rem; }

.site-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.1;
}
.site-title a { color: var(--text); text-decoration: none; }
.site-title small {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	color: var(--muted);
	margin-top: 4px;
}
.custom-logo { max-height: 56px; width: auto; }

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 32px;
}
.main-nav a {
	color: var(--text);
	text-decoration: none;
	font-size: 1rem;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
}
.main-nav a:hover,
.main-nav [aria-current="page"] { border-bottom-color: var(--text); }

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--text);
}
.nav-toggle [aria-hidden],
.nav-toggle [aria-hidden]::before,
.nav-toggle [aria-hidden]::after {
	display: block;
	width: 24px; height: 1.5px;
	background: currentColor;
	position: relative;
	transition: transform 0.25s;
}
.nav-toggle [aria-hidden]::before,
.nav-toggle [aria-hidden]::after { content: ""; position: absolute; }
.nav-toggle [aria-hidden]::before { top: -7px; }
.nav-toggle [aria-hidden]::after { top: 7px; }
.nav-toggle[aria-expanded="true"] [aria-hidden] { background: transparent; }
.nav-toggle[aria-expanded="true"] [aria-hidden]::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] [aria-hidden]::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; margin-inline-start: auto; }
	.header-cta { display: none; }
	.main-nav {
		display: none;
		position: absolute;
		inset: 80px 0 auto 0;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		padding: 16px var(--gutter) 32px;
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 4px; }
	.main-nav a { display: block; padding: 12px 0; font-size: 1.125rem; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: min(88vh, 860px);
	display: grid;
	align-items: end;
	color: var(--white);
	background: var(--surface);
	overflow: hidden;
}
.hero__media {
	position: absolute;
	inset: 0;
}
.hero__media img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(30, 24, 21, 0.55), rgba(30, 24, 21, 0) 60%);
}
.hero__content {
	position: relative;
	padding-block: clamp(48px, 9vw, 112px);
	max-width: 680px;
}
.hero h1 { color: var(--white); margin-bottom: 0.3em; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; }
.hero .button { background: var(--white); color: var(--text); border-color: var(--white); }
.hero .button:hover { background: transparent; color: var(--white); }

/* Hero with no image: calm text-only version */
.hero--plain { color: var(--text); align-items: center; text-align: center; }
.hero--plain .hero__content { margin-inline: auto; }
.hero--plain h1 { color: var(--text); }
.hero--plain .button { background: var(--text); color: var(--white); border-color: var(--text); }
.hero--plain .button:hover { background: transparent; color: var(--text); }

/* ---------- Services ---------- */
.services {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 40px) clamp(16px, 2.5vw, 32px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.service a {
	display: block;
	color: inherit;
	text-decoration: none;
}
.service__img {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--accent-soft);
	margin-bottom: 1.25rem;
}
.service__img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.8s ease;
}
.service a:hover img { transform: scale(1.04); }
.service h3 { margin-bottom: 0.3em; }
.service p { color: var(--muted); font-size: 1rem; margin: 0; }

@media (max-width: 860px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 7vw, 96px);
	align-items: center;
}
.about__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--accent-soft); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { max-width: 520px; }
.about__sign { font-family: var(--font-display); font-size: 1.75rem; margin-top: 1.5rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ---------- Gallery grid (cards) ---------- */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(16px, 2.5vw, 32px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.card a { display: block; color: inherit; text-decoration: none; }
.card__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--accent-soft); margin-bottom: 1rem; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.card a:hover img { transform: scale(1.04); }
.card h3 { font-size: 1.25rem; margin: 0; }
.card__meta { font-size: 0.875rem; color: var(--muted); }

.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 24px;
	list-style: none;
	margin: 0 0 3rem;
	padding: 0;
}
.filters a {
	display: inline-block;
	color: var(--muted);
	text-decoration: none;
	padding: 10px 0;
	border-bottom: 1px solid transparent;
}
.filters a:hover,
.filters a[aria-current="page"] { color: var(--text); border-bottom-color: var(--text); }

/* ---------- Testimonial ---------- */
.quote {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
}
.quote blockquote { margin: 0; }
.quote p {
	font-family: var(--font-display);
	font-size: clamp(1.375rem, 2.8vw, 1.875rem);
	line-height: 1.6;
}
.quote cite { font-style: normal; color: var(--muted); letter-spacing: 0.1em; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="date"],
input[type="url"],
input[type="number"],
textarea,
select {
	width: 100%;
	padding: 0.8em 1em;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--text);
	font: inherit;
	min-height: 48px;
}
input[type="date"] { appearance: none; -webkit-appearance: none; text-align: start; }
textarea { min-height: 0; }
label { display: block; margin-bottom: 0.35em; font-size: 1rem; }

/* ---------- Entry content ---------- */
.page-head { text-align: center; padding-block: clamp(56px, 8vw, 96px) clamp(24px, 4vw, 48px); }
.page-head p { color: var(--muted); max-width: 620px; margin-inline: auto; }

.entry-content > * { margin-block: 0 1.4em; }
.entry-content .alignwide { max-width: var(--wrap); margin-inline: auto; }
.entry-content .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: 0.875rem; color: var(--muted); text-align: center; }

.wp-block-gallery.has-nested-images { gap: clamp(8px, 1.5vw, 16px); }
.wp-block-gallery a { cursor: zoom-in; }

.post-thumb { margin-bottom: 2.5rem; }

.post-nav a { display: inline-block; padding: 10px 0; }
.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	border-top: 1px solid var(--line);
	margin-top: 4rem;
	padding-top: 2rem;
}

.pagination { text-align: center; margin-top: 4rem; }
.pagination .page-numbers { display: inline-block; padding: 6px 12px; text-decoration: none; color: var(--muted); }
.pagination .current { color: var(--text); border-bottom: 1px solid var(--text); }

/* ---------- Home page built with blocks (Pages → עמוד הבית) ---------- */
.gk-home > :not(.alignfull) {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.gk-home > .wp-block-group { margin-block: 0; }

.gk-section { padding: var(--space) var(--gutter); }
.gk-section > * { max-width: var(--wrap); margin-inline: auto; }
.gk-section > .wp-block-heading { max-width: 640px; }
.gk-section > p { max-width: 640px; color: var(--muted); margin-bottom: 3.5rem; }
.gk-tint { background: var(--surface); }

.gk-hero-block {
	min-height: min(80vh, 760px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background: var(--surface);
	padding: var(--space) var(--gutter);
}
.gk-hero-block > * { max-width: 760px; margin-inline: auto; }
.gk-hero-block p { font-size: 1.25rem; margin-bottom: 2rem; }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--text); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--text); color: var(--white); }

.gk-home .wp-block-columns { gap: clamp(20px, 3vw, 40px); margin-bottom: 0; }
.gk-services .wp-block-image,
.gk-about .wp-block-image { margin: 0 0 1.25rem; overflow: hidden; background: var(--accent-soft); }
.gk-services .wp-block-image img,
.gk-about .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.8s ease; }
.gk-services .wp-block-image a:hover img { transform: scale(1.04); }
.gk-services h3 { margin-bottom: 0.3em; }
.gk-services .wp-block-column p { color: var(--muted); font-size: 1rem; }

.gk-about .wp-block-columns { gap: clamp(32px, 7vw, 96px); }
.gk-about .wp-block-image { margin: 0; }

.gk-galleries .grid { margin-bottom: 3.5rem; }

.gk-quote .wp-block-quote { border: 0; padding: 0; margin-inline: auto; max-width: 760px; text-align: center; }
.gk-quote .wp-block-quote p { font-family: var(--font-display); font-size: clamp(1.375rem, 2.8vw, 1.875rem); line-height: 1.6; }
.gk-quote .wp-block-quote cite { font-style: normal; color: var(--muted); letter-spacing: 0.1em; }

.gk-contact > .wp-block-heading { text-align: center; }
.gk-contact > p { text-align: center; margin-bottom: 0; }

/* Contact details + form */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: clamp(32px, 6vw, 80px);
	max-width: 980px;
	margin: 3rem auto 0;
	text-align: start;
	align-items: start;
}
.contact-grid > .contact__form:only-child { grid-column: 1 / -1; max-width: 640px; margin-inline: auto; width: 100%; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	color: var(--text);
	text-decoration: none;
}
.contact-list a:hover .contact-list__value { text-decoration: underline; }
.contact-list__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--white);
	border: 1px solid var(--line);
}
.contact-list__icon svg { width: 18px; height: 18px; fill: currentColor; }
.contact-list__label { display: block; font-size: 0.875rem; color: var(--muted); }
.contact-list__value { display: block; text-align: end; unicode-bidi: plaintext; }

.contact__form { margin: 0; text-align: start; }
.contact-form p { margin: 0 0 1.1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form textarea { resize: vertical; }
.contact-form__note { font-size: 0.875rem; color: var(--muted); }
.contact-form .button { min-width: 160px; }
.contact-form .button--whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #1f7a4d; border-color: #1f7a4d; }
.contact-form .button--whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.contact-form .button--whatsapp:hover { background: transparent; color: #1f7a4d; }
.contact-form__status:empty { display: none; }
.contact-form__status { margin-top: 1rem; padding: 14px 18px; background: var(--white); border-inline-start: 3px solid #2e7d4f; }
/* Spam trap: hidden without moving it off-screen (an off-screen offset makes RTL pages scroll sideways) */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-notice { padding: 14px 18px; margin: 0 0 1.5rem; border-inline-start: 3px solid; background: var(--white); }
.form-notice--ok { border-color: #2e7d4f; }
.form-notice--error { border-color: #b3261e; }

/* Hero with photo collage (editable gallery block) */
.gk-hero--collage { min-height: 0; display: block; text-align: start; padding: clamp(40px, 7vw, 96px) var(--gutter); }
/* WordPress may wrap the section's blocks in an inner container – let it use the full width */
.gk-hero--collage > .wp-block-group__inner-container { max-width: var(--wrap); width: 100%; margin-inline: auto; }
.gk-hero--collage .gk-hero-cols { max-width: var(--wrap); margin-inline: auto; gap: clamp(32px, 6vw, 88px); }
.gk-hero--collage .wp-block-column > * { max-width: 560px; margin-inline: 0; }
.gk-hero--collage h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); line-height: 1.15; margin-bottom: 0.45em; }
.gk-hero--collage p { font-size: 1.25rem; color: var(--muted); }
.gk-hero--collage .wp-block-buttons { justify-content: flex-start; margin-top: 2rem; }
.gk-eyebrow { font-size: 0.875rem !important; letter-spacing: 0.25em; color: var(--accent) !important; margin-bottom: 1.25rem; }
.gk-eyebrow::after { content: ""; display: inline-block; width: 40px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-start: 14px; }

.wp-block-gallery.has-nested-images.gk-hero-collage {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-template-rows: repeat(6, minmax(0, 1fr));
	aspect-ratio: 1 / 1.08;
	gap: 0;
	max-width: 600px;
	margin: 0 auto;
}
.gk-hero-collage figure.wp-block-image { width: auto !important; margin: 0 !important; position: relative; box-shadow: 0 24px 48px -24px rgba(47, 42, 39, 0.35); animation: gk-rise 1s ease both; }
.gk-hero-collage figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
.gk-hero-collage figure:nth-child(1) { grid-column: 1 / 4; grid-row: 1 / 6; }
.gk-hero-collage figure:nth-child(2) { grid-column: 4 / 7; grid-row: 2 / 5; animation-delay: 0.15s; }
.gk-hero-collage figure:nth-child(3) { grid-column: 2 / 6; grid-row: 4 / 7; z-index: 2; border: 8px solid var(--surface); animation-delay: 0.3s; }
.gk-hero-collage figure:nth-child(n+4) { display: none; }
@keyframes gk-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 781px) {
	.gk-hero--collage .gk-hero-cols { flex-direction: column-reverse; }
	.gk-hero--collage .wp-block-column > * { max-width: none; }
	.wp-block-gallery.has-nested-images.gk-hero-collage { max-width: 420px; }
}

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--line);
	padding-block: 56px 32px;
	text-align: center;
	font-size: 1rem;
	color: var(--muted);
}
.site-footer .site-title { margin-bottom: 1.5rem; }
.social {
	display: flex;
	justify-content: center;
	gap: 20px;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--text);
}
.social a:hover { border-color: var(--text); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0 0 1.5rem; }
.footer-nav a { color: var(--muted); }

/* Floating WhatsApp */
.whatsapp-float {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 60;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #1f7a4d;     /* darker WhatsApp green for contrast */
	color: var(--white);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000; /* above the WordPress admin bar */
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(251, 249, 246, 0.98);
	padding: 64px 72px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.lightbox__caption {
	position: absolute;
	bottom: 16px; inset-inline: 0;
	text-align: center;
	font-size: 0.9375rem;
	color: var(--muted);
}
.lightbox button {
	position: absolute;
	width: 48px; height: 48px;
	border: 0;
	background: none;
	color: var(--text);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}
.lightbox__close { top: 12px; left: 12px; }
.lightbox__prev { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { left: 12px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 600px) {
	.lightbox { padding: 64px 8px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
}

/* ---------- Gentle reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Keep the sticky header below the WordPress admin bar when logged in */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
