/* @critical */
/* MEYDY theme. Tokens first: every colour and font is a variable, changed in one place.
   Layout uses logical properties (inline-start/end), so Hebrew (RTL) mirrors without overrides. */

:root {
	--bg: #0b0c0f;
	--surface: rgba(14, 15, 19, 0.94);
	--text: #ecedef;
	--text-2: #c9cbd1;
	--muted: #a3a6ae;
	--faint: #858992;
	--line: #22252c;
	--line-2: #33373f;
	--line-3: #4a4f59;
	--accent: #6cb4ff;
	--on-accent: #0b0c0f;
	/* The page tint comes from the release's accent (planning doc: one field, no code per release). */
	--tint: color-mix(in oklch, var(--accent) 7%, var(--bg));

	--font-display: "Michroma", "Inter", "Inter Fallback", system-ui, sans-serif;
	--font-text: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-heading: var(--font-text);

	--wrap: 1200px;
	--gutter: 32px;
	--radius: 8px;
	--header-h: 81px; /* Measured: 18px padding + 44px row + 18px padding + 1px border. */
}

:lang(he) {
	--font-text: "IBM Plex Sans Hebrew", "Inter", "Inter Fallback", system-ui, sans-serif;
	--font-heading: "IBM Plex Sans Hebrew", "Inter", "Inter Fallback", system-ui, sans-serif;
}

@media (max-width: 759px) {
	:root {
		--gutter: 20px;
		--header-h: 77px;
	}
}

/* Base */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--text);
	text-decoration: none;
}

a:hover {
	color: var(--accent);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3 {
	font-family: var(--font-heading);
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
}

p {
	margin: 0;
}

.wrap {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.small {
	font-size: 13px;
}

.muted {
	color: var(--muted);
}

.skip-link {
	position: absolute;
	inset-inline-start: 12px;
	top: -60px;
	z-index: 20;
	padding: 10px 16px;
	background: var(--accent);
	color: var(--on-accent);
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 12px;
	color: var(--on-accent);
}

.linklike {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.linklike:hover {
	color: var(--accent);
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	align-self: flex-start;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	font: 500 15px/1.2 var(--font-text);
	cursor: pointer;
}

.btn:hover {
	color: var(--on-accent);
	filter: brightness(1.08);
}

.btn--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line-3);
}

.btn--ghost:hover {
	color: var(--text);
	border-color: var(--accent);
	filter: none;
}

/* Header (sticky, as in the Experience prototype) */

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(11, 12, 15, 0.86);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px;
}

.logo {
	font-family: var(--font-display);
	font-size: 20px;
	letter-spacing: 0.18em;
	line-height: 1;
	padding-block: 8px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

.site-nav__list a {
	display: block;
	padding-block: 10px;
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current-menu-ancestor > a,
.site-nav__list .current_page_parent > a,
.site-nav__list a[aria-current] {
	color: var(--accent);
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 10px;
	border: 1px solid var(--line-2);
	border-radius: 6px;
	color: var(--muted);
	font-size: 13px;
}

.site-header__tools {
	display: none;
	align-items: center;
	gap: 8px;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}

@media (max-width: 859px) {
	.site-header__inner {
		padding-block: 16px;
	}

	.logo {
		font-size: 17px;
	}

	.site-header__tools {
		display: flex;
	}

	.lang-switch--desktop {
		display: none;
	}

	.lang-switch--mobile {
		min-height: 44px;
		border: 0;
	}

	.site-nav {
		display: none;
		flex-basis: 100%;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0;
		padding-block: 8px;
		font-size: 17px;
	}

	.site-nav__list a {
		padding-block: 12px;
		border-top: 1px solid var(--line);
	}
}

/* Footer (canvas Main / HomeMobile) */

.site-footer {
	border-top: 1px solid var(--line);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 32px;
	justify-content: space-between;
	padding-block: 48px 56px;
	font-size: 14px;
	color: var(--muted);
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.logo--small {
	font-size: 15px;
	padding: 0;
	color: var(--text);
}

.site-footer__social,
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	align-items: flex-start;
}

.site-footer a,
.site-footer button {
	color: var(--muted);
	min-height: 24px;
}

.site-footer a:hover,
.site-footer button:hover {
	color: var(--accent);
}

.site-footer__copy {
	flex-basis: 100%;
}

@media (max-width: 759px) {
	.site-footer__inner {
		flex-direction: column;
		gap: 16px;
		padding-block: 32px;
	}
}

/* .screen-reader-text: WordPress's own heading over the news pages' numbers. */
.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Icons that point the way time runs (play) stay as drawn in Hebrew too. */
.ltr-icon {
	direction: ltr;
}

/* @end-critical */

/* Release page */

.release {
	background: var(--tint);
	padding-bottom: 96px;
}

.release-hero__cover {
	flex: 0 0 clamp(240px, 28vw, 360px);
	aspect-ratio: 1;
	border-radius: 4px;
	overflow: hidden;
	background: radial-gradient(circle at 50% 30%, color-mix(in oklch, var(--accent) 45%, #000) 0%, #0e1424 55%, #070b14 100%);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px color-mix(in oklch, var(--accent) 30%, transparent);
}

.release-hero__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.badge {
	display: inline-flex;
	align-self: flex-start;
	padding: 6px 10px;
	border-radius: 4px;
	background: var(--accent);
	color: var(--on-accent);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.2;
}

:lang(he) .badge {
	letter-spacing: 0;
	font-weight: 500;
}

.release-hero__alt {
	font-family: var(--font-display);
	font-size: 13px;
	color: var(--text-2);
	text-align: end;
	margin-top: -8px;
}

.release-hero__artists {
	font-size: 19px;
	color: var(--text-2);
}

.release-hero__meta {
	font-size: 14px;
	letter-spacing: 0.02em;
	color: var(--text-2);
}

.listen {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
}

.services {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	font: 14px/1.2 "Inter", system-ui, sans-serif;
}

.service:hover {
	border-color: var(--accent);
}

@media (max-width: 759px) {
	.release {
		padding-bottom: 64px;
	}

	.release-hero__artists {
		font-size: 15px;
		color: var(--text-2);
	}

	.listen .btn {
		align-self: stretch;
		min-height: 52px;
	}

	.services {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.service {
		width: 100%;
		padding: 0 8px;
		font-size: 13px;
		text-align: center;
	}
}

/* Chapters */

.release-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 56px;
	margin-top: 64px;
}

.chapters {
	display: none;
}

@media (min-width: 1000px) {
	.release-body {
		grid-template-columns: 180px minmax(0, 1fr);
	}

	.chapters {
		display: block;
	}

	.chapters ol {
		position: sticky;
		top: calc(var(--header-h) + 28px);
		margin: 0;
		padding: 0;
		list-style: none;
		display: flex;
		flex-direction: column;
		gap: 4px;
		font-size: 14px;
	}

	.chapters a {
		display: block;
		padding-block: 10px;
		color: var(--muted);
	}

	.chapters a:hover,
	.chapters a[aria-current="true"] {
		color: var(--accent);
	}

	.chapters__num {
		font-variant-numeric: tabular-nums;
		color: var(--faint);
	}

	.chapters a[aria-current="true"] .chapters__num {
		color: inherit;
	}
}

.chapter {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-block: 56px;
	border-top: 1px solid var(--line);
}

.chapter:first-child {
	border-top: 0;
	padding-top: 0;
}

.chapter__num {
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.chapter h2 {
	font-size: clamp(20px, 1vw + 14px, 30px);
	font-weight: 500;
}

@media (max-width: 759px) {
	.release-body {
		margin-top: 40px;
	}

	.chapter {
		gap: 14px;
		padding-block: 32px;
	}
}

/* Scroll reveal (Experience prototype). Content shows without it: browsers without scroll timelines skip it. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		/* The children move, not the sections: anchor jumps (chapter nav) aim at the untransformed section. */
		.chapter:not(:first-child) > *,
		.subscribe > *,
		.more > * {
			animation: meydy-reveal linear both;
			animation-timeline: view();
			/* Done once a block's top is 160px into view, so whatever the chapter nav lands on is fully shown. */
			animation-range: cover 0px cover 160px;
		}
	}
}

@keyframes meydy-reveal {
	from {
		opacity: 0;
		transform: translateY(28px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

/* Prose (story chapters, pages, posts) */

.prose {
	overflow-wrap: anywhere;
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 680px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--text-2);
}

.prose > * {
	margin: 0;
}

.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

/* Buttons and cards inside a story keep their own colours, not the text links'. */
.prose a.btn,
.prose a.btn:hover {
	color: var(--on-accent);
	text-decoration: none;
}

.prose a.btn--ghost,
.prose a.btn--ghost:hover {
	color: var(--text);
}

.prose a.card,
.prose a.card:hover {
	color: var(--text);
	text-decoration: none;
}

.prose h2,
.prose h3,
.prose h4 {
	color: var(--text);
	margin-top: 12px;
}

.prose ul,
.prose ol {
	padding-inline-start: 1.3em;
}

.prose iframe {
	width: 100%;
	border: 0;
}

.release-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: none;
}

.release-gallery figure {
	flex: 1 1 280px;
	margin: 0;
}

.release-gallery img {
	width: 100%;
	border-radius: 4px;
}

.accent-link {
	color: var(--accent);
	font-size: 16px;
}

/* Video, loaded only on click */

.video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 6px;
	overflow: hidden;
	background: linear-gradient(180deg, color-mix(in oklch, var(--accent) 22%, #0a101c) 0%, #0a101c 70%, #06080c 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video__play {
	position: relative;
	flex: none;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 1px solid var(--text);
	background: rgba(11, 12, 15, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s, border-color 0.2s;
}

.embed-gate__cover:hover .video__play,
.embed-gate__cover:focus-visible .video__play {
	border-color: var(--accent);
	transform: scale(1.04);
}

.video__icon {
	fill: var(--text);
}

/* The play triangle points the way the video plays, also in Hebrew. */
.video__play svg {
	direction: ltr;
}

.video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 759px) {
	.video__play {
		width: 60px;
		height: 60px;
	}

}

/* Consent gates (video + Spotify embeds in content) */

.embed-gate__cover {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text);
}

.embed-gate__ask {
	position: absolute;
	inset-inline: 12px;
	bottom: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding: 12px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: rgba(11, 12, 15, 0.92);
}

.embed-gate__ask[hidden] {
	display: none;
}

.embed-gate__line {
	flex: 1 1 220px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-2);
}

.embed-gate__consent {
	min-height: 40px;
	padding: 0 20px;
}

/* In content, old posts wrap embeds in shrink-to-fit boxes (max-width + auto margins): a gate has no intrinsic width,
   so it gets an explicit one (never wider than its box), or it would collapse to nothing. */
.prose .video,
.prose .spotify-embed {
	width: 640px;
	max-width: 100%;
}

/* Older posts wrap an embed in a box with its own width limit: the box takes the column, never more. */
.prose div:has(> .video),
.prose div:has(> .spotify-embed) {
	width: 100%;
	min-width: 0;
}

.prose .video--vertical {
	width: 340px;
	max-width: 100%;
}

/* A Spotify embed in content: a box with the title and a play button; the embed replaces it after the click. */

.spotify-embed {
	position: relative;
	max-width: 640px;
	min-height: 152px;
	border: 1px solid var(--line-2);
	border-radius: 12px;
	background: #0f1114;
	overflow: hidden;
}

.spotify-embed .embed-gate__cover {
	justify-content: space-between;
	gap: 16px;
	padding-inline: 24px;
}

.spotify-embed .video__play {
	width: 56px;
	height: 56px;
}

.spotify-embed__label {
	font-size: 17px;
	font-weight: 500;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* While it asks for consent the box shows only the line and the button. */
.spotify-embed .embed-gate__ask {
	inset: 12px;
	align-content: center;
}

.spotify-embed.is-asking .embed-gate__cover > * {
	opacity: 0.12;
}

.spotify-embed.is-loaded {
	min-height: 0;
	border: 0;
	background: none;
	overflow: visible;
}

.spotify-embed iframe {
	display: block;
	width: 100%;
	height: 152px;
	border: 0;
	border-radius: 12px;
}

.spotify-embed--tall iframe {
	height: 352px;
}

/* Credits, press */

.credits {
	display: grid;
	grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
	gap: 12px 24px;
	margin: 0;
	font-size: 15px;
}

.credits dt {
	color: var(--muted);
}

.credits dd {
	margin: 0;
	/* Latin names in a Hebrew list keep the column's alignment and don't reorder the punctuation around them. */
	unicode-bidi: isolate;
	text-align: start;
}

@media (max-width: 759px) {
	.credits {
		grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
		gap: 10px 16px;
	}
}

.press {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.press__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid var(--line-3);
	border-radius: var(--radius);
}

.press__item:hover {
	border-color: var(--accent);
}

.press__info {
	color: var(--faint);
	font-size: 13px;
	white-space: nowrap;
}

@media (max-width: 759px) {
	.press__item {
		display: flex;
		flex-wrap: wrap; /* On the narrowest screens the file's details move to a line of their own. */
		padding-block: 10px;
	}

	.press__name {
		flex: 1 1 8em;
		min-width: 0;
		overflow-wrap: anywhere;
	}
}

/* Newsletter (MC4WP form) */

.subscribe {
	margin-top: 24px;
	padding: 40px;
	border: 1px solid #2a2e36;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.subscribe h2 {
	font-size: 22px;
}

.subscribe .mc4wp-form-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

.subscribe .mc4wp-form-fields > p {
	margin: 0;
}

.subscribe label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: var(--text-2);
}

.subscribe input[type="email"],
.subscribe input[type="text"] {
	min-height: 46px;
	min-width: min(100%, 280px);
	padding: 0 14px;
	border: 1px solid var(--line-3);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text);
	font: 15px var(--font-text);
}

.subscribe input[type="submit"],
.subscribe button[type="submit"] {
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	font: 500 15px var(--font-text);
	cursor: pointer;
}

.subscribe input[type="checkbox"] {
	accent-color: var(--accent);
}

@media (max-width: 759px) {
	.subscribe {
		padding: 24px 20px;
	}
}

/* Cards and grids */

.more {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.more h2 {
	font-size: 24px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 32px;
}

.card {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.card__cover {
	display: block;
	aspect-ratio: 1;
	border-radius: 4px;
	overflow: hidden;
	background: #08090b;
	border: 1px solid var(--line);
}

.card__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.card:hover .card__cover img {
	transform: scale(1.03);
}

.card__title {
	font-weight: 500;
}

.card__line {
	font-size: 14px;
	color: var(--muted);
}

@media (max-width: 759px) {
	.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}
}

/* Generic pages (not ".page": WordPress puts that class on <body>) */

.page-main {
	padding-block: 56px 96px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.page__title {
	font-size: clamp(26px, 1.6vw + 16px, 36px);
	font-weight: 500;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.filters a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	font-size: 14px;
}

.filters a[aria-current="page"] {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--on-accent);
}

.post-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 32px;
}

.post-item__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.post-item__img img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 4px;
}

.post-item__title {
	font-weight: 500;
	font-size: 17px;
}

/* @critical */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* @end-critical */

/* ===== Service links: official logos never recolour (brand rules); only the border reacts. ===== */

.service__logo {
	display: block;
	height: 22px;
	width: auto;
	min-width: 70px;
}

.btn--small {
	min-height: 36px;
	padding: 0 14px;
	font-size: 13px;
}

/* ===== Home ===== */

.home-section {
	padding-block: 88px 40px;
}

.home-section + .home-section {
	padding-top: 56px;
}

.home-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
}

.home-section__head h2 {
	font-size: 28px;
}

.home-section__more {
	font-size: 15px;
	color: var(--muted);
}

.grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.grid--videos {
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.card__cover--video {
	position: relative;
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, #13253f 0%, #0a0e16 100%);
}

.card__cover--video img {
	position: absolute;
	inset: 0;
}

.card__play {
	position: relative;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid var(--text);
	background: rgba(11, 12, 15, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.updates {
	margin-top: 56px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.updates__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-end;
	justify-content: space-between;
	padding-block: 72px;
}

.updates__text {
	flex: 1 1 360px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.updates__text h2 {
	font-size: 28px;
}

.updates__text p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--text-2);
}

.updates__form {
	flex: 1 1 420px;
}

/* The MC4WP form, wherever it sits (release page box and home section). */
.subscribe-form .mc4wp-form-fields,
.subscribe .mc4wp-form-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px;
}

@media (max-width: 759px) {
	.home-section {
		padding-block: 48px 24px;
	}

	.home-section + .home-section {
		padding-top: 32px;
	}

	.home-section__head {
		margin-bottom: 20px;
	}

	.home-section__head h2,
	.updates__text h2 {
		font-size: 22px;
	}

	.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 16px;
	}

	.grid--videos {
		grid-template-columns: minmax(0, 1fr);
	}

	.updates__inner {
		padding-block: 40px;
		gap: 20px;
	}
}

/* ===== Music page (canvas Music) ===== */

.music-page__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.page__title--big {
	font-size: clamp(30px, 2vw + 16px, 40px);
}

.music-page__intro {
	font-size: 18px;
	line-height: 1.6;
	color: var(--text-2);
	max-width: 620px;
}

.music-page .filters {
	margin-block: 16px 24px;
	gap: 10px;
}

.music-page .filters a {
	min-height: 44px;
	padding: 0 20px;
	font-size: 15px;
}

.grid--music {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 40px 32px;
}

.grid--music .card__title {
	font-size: 17px;
}

@media (max-width: 759px) {
	.grid--music {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	.grid--music .card__title {
		font-size: 15px;
	}
}

/* @critical */
/* ===== Entrance =====
   The man on the roof, full screen. The picture covers the screen the way object-fit: cover would, but as a box
   (the "scene"), so the pulse in the signal stays on the signal at every screen shape. */

.entrance {
	/* The picture covers the screen, but never with more screen pixels than it has (see "Never enlarged"). */
	--scene-w: min(max(100cqw, calc(100cqh * 16 / 9)), calc(var(--iw, 99999) * 1px / var(--dpr) / var(--zoom)));
	--scene-h: calc(var(--scene-w) * 9 / 16);
	--banner-h: 0px;
	position: fixed;
	inset: 0;
	z-index: 50;
	container-type: size;
	overflow: hidden;
	isolation: isolate;
	background: var(--bg);
	transition: opacity 0.5s ease;
}

.entrance[hidden] {
	display: none;
}

.entrance.is-leaving {
	opacity: 0;
}

html.entrance-open,
html.entrance-open body {
	overflow: hidden;
}

/* A first visit: <head> decided before the first paint (meydy_entrance_head). The layer is shown at once; site.js
   takes over (entrance-open) and removes this class in the same tick it starts. */
html.show-entrance .entrance[hidden] {
	display: block;
}

html.show-entrance,
html.show-entrance body {
	overflow: hidden;
}

/* Until site.js takes over, the rest of the body (header, home) is only not painted; it stays in the page. The cookie
   banner is left alone. */
html.show-entrance body > :not(#entrance, #cmplz-cookiebanner-container) {
	visibility: hidden;
}

.entrance--computed {
	background: radial-gradient(ellipse at 50% 30%, color-mix(in oklch, var(--accent) 24%, #0b0c0f) 0%, var(--bg) 64%);
}

.entrance__scene {
	position: absolute;
	z-index: -2;
	width: var(--scene-w);
	height: var(--scene-h);
	left: calc((100cqw - var(--scene-w)) * 0.5);
	top: calc((100cqh - var(--scene-h)) * 0.12);
	transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.entrance__cam {
	position: absolute;
	inset: 0;
	transform-origin: 50% 22%;
	transition: transform 0.7s ease-in;
}

.entrance.is-leaving .entrance__cam {
	transform: scale(1.02);
}

.entrance__img,
.entrance__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.88) contrast(1.08) brightness(0.9);
	/* The top fades only where the picture stops short of the screen (the second stop is nothing when it covers it). */
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 min(5%, calc((100cqh - var(--scene-h)) * 99)), #000 82%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 min(5%, calc((100cqh - var(--scene-h)) * 99)), #000 82%, transparent 100%);
}

.entrance__video {
	opacity: 0;
	transition: opacity 0.8s;
}

.entrance__video.is-playing {
	opacity: 1;
}

/* A clip has its own signal: the drawn pulse belongs to the still. */
.entrance.has-clip .entrance__thread,
.entrance.has-clip .entrance__antenna {
	display: none;
}

.entrance__fx {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.entrance__scrim {
	background:
		linear-gradient(0deg, rgba(8, 10, 14, 0.96) 0%, rgba(8, 10, 14, 0.86) 24%, rgba(8, 10, 14, 0.55) 44%, rgba(8, 10, 14, 0.08) 66%, rgba(8, 10, 14, 0.28) 100%),
		radial-gradient(110% 100% at 50% 34%, transparent 42%, rgba(4, 5, 7, 0.82) 100%);
}

/* The line of light that comes down from the top of the screen when the page opens. */
.entrance__fx > .entrance__beam {
	inset: 0 auto auto 50%;
	width: 1px;
	height: calc((100cqh - var(--scene-h)) * 0.12 + var(--scene-h) * 0.045);
	min-height: 3svh;
	margin-left: -0.5px;
	background: linear-gradient(180deg, transparent 0%, var(--accent) 100%);
	transform-origin: top;
}

/* Light running down the signal's own line, and a pulse around it. Positions are those of the roof picture. */
.entrance__thread {
	position: absolute;
	left: 50%;
	top: 0;
	width: 2px;
	height: 18%;
	margin-left: -1px;
	overflow: hidden;
}

.entrance__thread::after {
	content: "";
	position: absolute;
	left: 0;
	top: -40%;
	width: 100%;
	height: 36%;
	background: linear-gradient(180deg, transparent, #fff 70%, transparent);
	opacity: 0;
}

.entrance__antenna {
	position: absolute;
	left: 50%;
	top: 12.5%;
	width: 17%;
	aspect-ratio: 1;
	translate: -50% -50%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in oklch, var(--accent) 58%, transparent) 0%, color-mix(in oklch, var(--accent) 18%, transparent) 30%, transparent 66%);
	mix-blend-mode: screen;
	opacity: 0.4;
}

.entrance__text {
	position: absolute;
	inset-inline: 0;
	bottom: calc(var(--banner-h) + clamp(20px, 7svh, 84px));
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(14px, 3svh, 30px);
	padding-inline: 20px;
	text-align: center;
	transition: bottom 0.4s ease;
}

.entrance__logo {
	display: block;
	/* On a wide screen the wordmark stops growing at its narrow-window proportion to the man (15% of the picture's
	   width, never under 240px), so it stays below him and leaves the signal as the focus. */
	width: clamp(240px, 34vw, max(240px, var(--scene-w) * 0.15));
	max-width: 100%;
}

/* The wordmark's glow here is a little softer than elsewhere. */
.entrance .logo-light > svg {
	filter: drop-shadow(0 0 12px color-mix(in oklch, var(--accent) 40%, transparent)) drop-shadow(0 0 36px color-mix(in oklch, var(--accent) 22%, transparent));
}

.entrance .logo-light__sweep {
	filter: drop-shadow(0 0 6px color-mix(in oklch, var(--accent) 70%, transparent));
}

/* A short screen (a phone on its side): the wordmark follows the height. */
@media (max-height: 520px) {
	.entrance__logo {
		width: clamp(200px, 48svh, 300px);
	}
}

.entrance__tagline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	max-width: 100%;
	font-family: var(--font-display);
	font-size: clamp(11px, 0.4vw + 9px, 14px);
	line-height: 2;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--text);
	text-shadow: 0 1px 14px rgba(4, 5, 7, 0.9);
}

.entrance__tagline::before,
.entrance__tagline::after {
	content: "";
	flex: none;
	width: clamp(20px, 6vw, 84px);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent));
}

.entrance__tagline::after {
	background: linear-gradient(270deg, transparent, var(--accent));
}

[dir="rtl"] .entrance__tagline::before {
	background: linear-gradient(270deg, transparent, var(--accent));
}

[dir="rtl"] .entrance__tagline::after {
	background: linear-gradient(90deg, transparent, var(--accent));
}

:lang(he) .entrance__tagline {
	font-family: var(--font-heading);
	font-size: clamp(16px, 0.6vw + 14px, 21px);
	letter-spacing: 0.16em;
	text-transform: none;
}

@property --sweep {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

.entrance__enter {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	min-width: 260px;
	min-height: 66px;
	padding: 0 44px;
	border: 1px solid color-mix(in oklch, var(--accent) 62%, transparent);
	border-radius: 2px;
	background: rgba(8, 10, 14, 0.5);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	color: var(--text);
	font-family: var(--font-display);
	font-size: 15px;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s, box-shadow 0.3s;
}

:lang(he) .entrance__enter {
	font-family: var(--font-heading);
	font-size: 19px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: none;
}

/* The light that travels round the frame on hover and focus. */
.entrance__enter::before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	padding: 2px;
	background: conic-gradient(from var(--sweep), transparent 0deg 250deg, var(--accent) 325deg, #fff 346deg, transparent 360deg);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}

.entrance__enter:hover,
.entrance__enter:focus-visible {
	background: color-mix(in oklch, var(--accent) 18%, rgba(8, 10, 14, 0.6));
	box-shadow: 0 0 34px color-mix(in oklch, var(--accent) 38%, transparent);
}

.entrance__enter:hover::before,
.entrance__enter:focus-visible::before {
	opacity: 1;
}

.entrance__enter:focus-visible {
	outline: 2px solid var(--text);
	outline-offset: 7px;
}

.entrance__enter-line {
	position: relative;
	flex: none;
	width: 28px;
	height: 1px;
	background: currentColor;
	transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.entrance__enter-line::after {
	content: "";
	position: absolute;
	inset-inline-end: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}

[dir="rtl"] .entrance__enter-line::after {
	transform: rotate(-135deg);
}

.entrance__enter:hover .entrance__enter-line,
.entrance__enter:focus-visible .entrance__enter-line {
	width: 54px;
}

@media (max-width: 759px) {
	.entrance__tagline {
		gap: 9px;
		font-size: 10px;
		letter-spacing: 0.15em;
		text-wrap: balance;
	}

	:lang(he) .entrance__tagline {
		font-size: 17px;
		letter-spacing: 0.14em;
	}

	.entrance__tagline::before,
	.entrance__tagline::after {
		width: 14px;
	}

	.entrance__enter {
		min-width: 230px;
		min-height: 60px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.entrance__cam {
		animation: meydy-entrance-cam 34s ease-in-out infinite alternate;
	}

	.entrance__fog--a {
		animation: meydy-fog-a 33s ease-in-out infinite alternate;
	}

	.entrance__fog--b {
		animation: meydy-fog-b 23s ease-in-out infinite alternate;
	}

	.entrance .stage__grain {
		animation: meydy-grain 1.2s steps(1) infinite;
	}

	.entrance__beam {
		animation: meydy-drop 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.entrance__thread::after {
		animation: meydy-run 4.6s cubic-bezier(0.4, 0, 0.6, 1) 1.3s infinite;
	}

	.entrance__antenna {
		animation: meydy-signal 4.6s ease-in-out 1.6s infinite;
	}

	/* The room fades up from black (the picture itself never starts transparent: it is the first paint). */
	.entrance__scrim::after {
		content: "";
		position: absolute;
		inset: 0;
		background: var(--bg);
		animation: meydy-lift 1.4s ease-out both;
	}

	.entrance__logo {
		animation: meydy-rise 1s ease-out 0.7s both;
	}

	.entrance__tagline {
		animation: meydy-rise 1s ease-out 1.15s both;
	}

	.entrance__enter {
		animation: meydy-rise 0.9s ease-out 1.55s both;
	}

	.entrance__enter:hover::before,
	.entrance__enter:focus-visible::before {
		animation: meydy-orbit 2.6s linear infinite;
	}
}

@keyframes meydy-entrance-cam {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.02);
	}
}

@keyframes meydy-lift {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes meydy-run {
	0% {
		top: -40%;
		opacity: 0.9;
	}

	40% {
		top: 105%;
		opacity: 0.9;
	}

	41%,
	100% {
		top: 105%;
		opacity: 0;
	}
}

@keyframes meydy-signal {
	0%,
	100% {
		opacity: 0.22;
		scale: 0.85;
	}

	34% {
		opacity: 0.85;
		scale: 1.12;
	}

	48% {
		opacity: 0.4;
		scale: 1;
	}

	58% {
		opacity: 0.7;
		scale: 1.06;
	}
}

@keyframes meydy-orbit {
	to {
		--sweep: 360deg;
	}
}


/* @end-critical */

/* ===== Player bar: the Spotify embed (persists across page swaps) ===== */

body.has-player {
	padding-bottom: 116px;
}

.player {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 30;
	background: rgba(14, 15, 19, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-top: 1px solid #262a32;
}

.player[hidden] {
	display: none;
}

.player__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 104px;
	padding-block: 12px;
}

.player__main {
	flex: 1 1 360px;
	max-width: 560px;
	min-width: 0;
}

/* Before the Spotify embed exists, only the plain link and a note show. */
.player__embed {
	display: none;
}

.player.is-live .player__embed {
	display: block;
}

.player.is-live .player__fallback {
	display: none;
}

/* With consent the bar doesn't ask: only the link shows until the embed is there. (Critical: the home page may show
 * the bar before this file is there.) */
/* @critical */
.player.is-consented .player__ask,
.player.is-consented .player__consent {
	display: none;
}
/* @end-critical */

.player__mount,
.player__embed iframe {
	display: block;
	width: 100%;
	height: 80px;
	border: 0;
	border-radius: 12px;
}

.player__fallback {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.player__ask {
	flex: 1 1 200px;
	line-height: 1.4;
	color: var(--text-2);
}

.player__title {
	flex: 0 1 220px;
	min-width: 0;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.player__close {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-inline-start: auto;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}

.signal {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 26px;
	flex: none;
}

.signal__beam {
	position: absolute;
	left: 50%;
	bottom: 100%;
	width: 1px;
	height: 22px;
	background: var(--accent);
	opacity: 0.25;
	transition: opacity 0.4s;
}

.player.is-playing .signal__beam {
	opacity: 1;
}

.signal__bar {
	width: 3px;
	height: 26px;
	background: var(--accent);
	transform: scaleY(0.35);
	transform-origin: bottom;
}

/* The line pulses while Spotify reports "playing" (it can't follow the audio itself) and is still when
   paused. With reduced motion it stays still; the beam's brightness still tells playing from paused. */
@media (prefers-reduced-motion: no-preference) {
	.player.is-playing .signal__bar {
		animation: meydy-pulse 0.9s ease-in-out infinite;
	}

	.player.is-playing .signal__bar:nth-child(2) {
		animation-duration: 0.7s;
	}

	.player.is-playing .signal__bar:nth-child(3) {
		animation-duration: 1.1s;
	}

	.player.is-playing .signal__bar:nth-child(4) {
		animation-duration: 0.8s;
	}

	.player.is-playing .signal__bar:nth-child(5) {
		animation-duration: 1s;
	}
}

@keyframes meydy-pulse {
	0%,
	100% {
		transform: scaleY(0.35);
	}

	50% {
		transform: scaleY(1);
	}
}

@media (max-width: 759px) {
	body.has-player {
		padding-bottom: 176px;
	}

	.player__inner {
		flex-wrap: wrap;
		gap: 10px 12px;
		min-height: 0;
	}

	.player__title {
		flex: 1 1 0;
		order: 1;
	}

	.signal {
		order: 0;
	}

	.player__close {
		order: 2;
		margin-inline-start: 0;
	}

	.player__main {
		order: 3;
		flex-basis: 100%;
		max-width: none;
	}
}

/* ===== Tracklist ===== */

.tracklist {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 680px;
	border-top: 1px solid var(--line);
}

.tracklist__item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto 32px;
	align-items: center;
	gap: 16px;
	padding-block: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 17px;
}

.tracklist__num,
.tracklist__time {
	color: var(--muted);
	font-variant-numeric: tabular-nums;
	font-size: 15px;
}

.tracklist__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line-3);
	border-radius: 50%;
	color: var(--text);
}

.tracklist__play:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.tracklist__isrc {
	margin-inline-start: 10px;
}

.rights {
	margin-top: 4px;
}

.prose img.is-tall {
	max-width: min(100%, 340px); /* Never wider than the column: a narrow phone's is under 340. */
	border-radius: 4px;
}

/* ===== Vertical video (YouTube Shorts, e.g. the EP teaser) ===== */

.video--vertical {
	aspect-ratio: 9 / 16;
	max-width: 340px;
}

/* ===== Page swaps ===== */

.site-header {
	view-transition-name: site-header;
}

#persist {
	view-transition-name: persist;
}

html.is-navigating {
	cursor: progress;
}

@media (prefers-reduced-motion: no-preference) {
	::view-transition-old(root),
	::view-transition-new(root) {
		animation-duration: 0.25s;
	}
}

/* @critical */
/* ===== Header logo (official SVG, coloured by the tokens) ===== */

.logo {
	display: inline-flex;
	align-items: center;
	color: var(--text);
	padding-block: 8px;
}

/* A tap on a touch screen leaves :hover behind: there the logo keeps its colour (the links' own hover too). */
a.logo:hover {
	color: var(--text);
}

@media (hover: hover) {
	.logo:hover,
	a.logo:hover {
		color: var(--accent);
	}
}

.logo__svg {
	display: block;
	height: 24px;
	width: auto;
}

@media (max-width: 759px) {
	.logo__svg {
		height: 22px;
	}
}

/* @end-critical */

/* ===== Release page: the closing press line ===== */

.release-press {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

/* ===== /press/ ===== */

.press-page h2 {
	font-size: 24px;
}

.press-releases {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-top: 32px;
}

.press-release {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 32px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 16px);
}

.press-release__cover {
	flex: 0 0 220px;
	align-self: flex-start;
	aspect-ratio: 1 / 1;
	border-radius: 4px;
	overflow: hidden;
	background: #08090b;
}

.press-release__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.press-release__body {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.press-release__body h3 {
	font-size: 20px;
}

.press-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.site-footer__contact {
	color: var(--accent);
	width: fit-content;
}

@media (max-width: 759px) {
	.press-release__cover {
		flex-basis: 120px;
	}
}

/* ---------- Contact form (WPForms, its own CSS is off: this is the only styling) ---------- */

.wpforms-container {
	--form-border: #7d828d; /* 3:1 or more against the page and the field: a visible edge */
	--form-error: #ff9494;
	max-width: 560px;
	margin-block: 24px 0;
}

.wpforms-form .wpforms-field-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wpforms-form .wpforms-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.wpforms-form .wpforms-field-label {
	display: block;
	font-size: 14px;
	color: var(--text);
}

.wpforms-form .wpforms-required-label {
	color: var(--accent);
	margin-inline-start: 4px;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form select,
.wpforms-form textarea {
	width: 100%;
	max-width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid var(--form-border);
	border-radius: var(--radius);
	background-color: var(--bg);
	color: var(--text);
	font: 15px var(--font-text);
	box-sizing: border-box;
}

.wpforms-form textarea {
	min-height: 160px;
	padding: 12px 14px;
	resize: vertical;
}

.wpforms-form select {
	appearance: none;
	padding-inline-end: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23c9cbd1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

[dir="rtl"] .wpforms-form select {
	background-position: left 14px center;
}

.wpforms-form ::placeholder {
	color: var(--muted);
	opacity: 1;
}

.wpforms-form select option {
	background: var(--bg);
	color: var(--text);
}

.wpforms-form input:focus-visible,
.wpforms-form select:focus-visible,
.wpforms-form textarea:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-color: var(--accent);
}

.wpforms-form input.wpforms-error,
.wpforms-form select.wpforms-error,
.wpforms-form textarea.wpforms-error {
	border-color: var(--form-error);
}

/* The message under its field: next to the field it belongs to. */
.wpforms-form label.wpforms-error,
.wpforms-form em.wpforms-error {
	display: block;
	font-size: 14px;
	font-style: normal;
	color: var(--form-error);
}

.wpforms-form .wpforms-error-container,
.wpforms-form .wpforms-error-alert {
	margin-bottom: 16px;
	padding: 12px 14px;
	border: 1px solid var(--form-error);
	border-radius: var(--radius);
	color: var(--form-error);
	font-size: 14px;
}

.wpforms-form .wpforms-submit-container {
	margin-top: 24px;
}

.wpforms-form .wpforms-submit {
	min-height: 46px;
	padding: 0 28px;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	font: 500 15px var(--font-text);
	cursor: pointer;
}

.wpforms-form .wpforms-submit:hover {
	filter: brightness(1.1);
}

.wpforms-form .wpforms-submit:focus-visible {
	outline: 2px solid var(--text);
	outline-offset: 3px;
}

.wpforms-form .wpforms-submit[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
	max-width: 560px;
	padding: 20px 24px;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--text);
	font-size: 16px;
}

.wpforms-confirmation-container-full p:last-child,
.wpforms-confirmation-container p:last-child {
	margin: 0;
}

.wpforms-field-hp,
.wpforms-hidden {
	display: none !important;
}

/* ---------- Videos, About, News, notes ---------- */

.prose--wide {
	max-width: none;
}

.prose--wide > p,
.prose--wide > h2 {
	max-width: 680px;
}

.prose--wide > h2 {
	margin-top: 32px;
}

.vgrid {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 40px 28px;
	align-items: start;
}

.vcard {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.prose .vcard .video,
.vcard .video {
	width: 100%;
	max-width: 100%;
}

.prose .vcard .video--vertical,
.vcard .video--vertical {
	width: auto;
	max-width: 100%;
	height: min(60vh, 480px);
	aspect-ratio: 9 / 16;
	align-self: start;
}

.vcard__title {
	font-size: 17px;
	font-weight: 500;
	color: var(--text);
	margin: 0;
}

.vcard__line {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.vcard__line .accent-link {
	text-decoration: none;
}

.grid--project {
	grid-template-columns: minmax(0, 260px);
}

.cta {
	margin: 8px 0 0;
}

.review-note {
	padding: 10px 14px;
	border: 1px dashed var(--accent);
	border-radius: var(--radius);
	color: var(--text);
	font-size: 14px;
}

.about {
	gap: 40px;
}

.about__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	gap: 48px;
	align-items: start;
}

.about__short {
	font-size: 19px;
	color: var(--text);
	max-width: 620px;
}

/* The photo is never drawn with more screen pixels than its file has (--iw, from page-about.php). */
.about__photo {
	margin: 0;
	justify-self: center;
	width: 100%;
	max-width: calc(var(--iw, 99999) * 1px / var(--dpr));
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.about__photo img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

.about__long {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.about__long > h2 {
	font-size: 22px;
}

@media (max-width: 899px) {
	.about__intro {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

.post-item__excerpt {
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
}

.post-item__date {
	margin: 0;
}

.post-item__link {
	height: 100%;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 6px;
	transition: border-color 0.2s;
}

.post-item__link:hover {
	border-color: var(--line-3);
}

.post-item__img {
	margin: -18px -18px 4px;
	display: block;
}

.post-item__img img {
	border-radius: 6px 6px 0 0;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	font-size: 14px;
}

.nav-links .page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--on-accent);
}

/* @critical */
/* ===== The stage: every page is a room =====
   Layers, back to front: picture (graded, slow zoom) → accent tint → two banks of fog → scrim (keeps text at AA
   over any picture) → a thin line of light → film grain. All motion stops with reduced motion, in a hidden tab
   and off screen. */

.stage {
	--focal: 50% 40%;
	--scrim-side: 90deg;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

[dir="rtl"] .stage {
	--scrim-side: 270deg;
}

.stage--hero {
	min-height: clamp(600px, 86svh, 860px);
}

.stage--page {
	min-height: clamp(460px, 70svh, 660px);
}

.stage--compact {
	min-height: clamp(300px, 42svh, 420px);
}

.stage--full {
	min-height: calc(100svh - var(--header-h));
}

.stage__media,
.stage__fx {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* ----- Never enlarged -----
   A picture is never drawn with more screen pixels than it has (--iw by --ih, set on the stage by inc/stage.php):
   on screens that would need more, its box stops there, in the middle, and its edges fade into the page.
   --dpr is the screen's density, rounded up; --zoom is the most any motion scales a picture. */
:root {
	--dpr: 1;
	--zoom: 1.02;
}

@media (min-resolution: 1.01dppx) {
	:root {
		--dpr: 1.25;
	}
}

@media (min-resolution: 1.26dppx) {
	:root {
		--dpr: 1.5;
	}
}

@media (min-resolution: 1.51dppx) {
	:root {
		--dpr: 1.75;
	}
}

@media (min-resolution: 1.76dppx) {
	:root {
		--dpr: 2;
	}
}

@media (min-resolution: 2.01dppx) {
	:root {
		--dpr: 2.5;
	}
}

@media (min-resolution: 2.51dppx) {
	:root {
		--dpr: 3;
	}
}

@media (min-resolution: 3.01dppx) {
	:root {
		--dpr: 3.5;
	}
}

@media (min-resolution: 3.51dppx) {
	:root {
		--dpr: 4;
	}
}

.stage__media {
	z-index: -2;
	margin-inline: auto;
	max-width: calc(var(--iw, 99999) * 1px / var(--dpr) / var(--zoom));
	max-height: calc(var(--ih, 99999) * 1px / var(--dpr) / var(--zoom));
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* A stage with a picture of its own for phones (MEYDY_STAGE_PHONE in inc/stage.php): the focal point and the pixels
   of whichever the screen shows. */
.stage.stage--phone-pic {
	--focal: var(--wfocal);
	--iw: var(--wiw);
	--ih: var(--wih);
}

@media (max-width: 559px) {
	.stage.stage--phone-pic {
		--focal: var(--pfocal);
		--iw: var(--piw);
		--ih: var(--pih);
	}
}

/* A picture offered in two formats (<picture>) takes the room its <img> would. */
.stage__media > picture {
	display: block;
	width: 100%;
	height: 100%;
}

.entrance__cam > picture {
	display: contents;
}

.stage__media > * {
	-webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}

/* A soft backdrop is a glow behind the title: no edges at all. */
.stage--soft .stage__media {
	-webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}

/* On phones the picture is the top of the stage and the text follows it, so it needs fewer pixels. */
@media (max-width: 759px) {
	.stage:not(.room) .stage__media {
		bottom: auto;
		height: min(100%, 360px);
	}
}

.stage__fx {
	z-index: -1;
}

.stage__fx > span,
.entrance__fx > span {
	position: absolute;
	inset: 0;
	display: block;
}

.stage__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--focal);
	transform-origin: var(--focal);
	filter: saturate(0.82) contrast(1.06) brightness(0.9);
}

.stage--soft .stage__img {
	filter: saturate(0.7) brightness(0.62) blur(7px);
}

/* Next to a cover, the room's picture steps back a little more. */
.stage--split .stage__img {
	filter: saturate(0.82) contrast(1.04) brightness(0.76);
}

.stage__tint {
	background:
		linear-gradient(180deg, color-mix(in oklch, var(--accent) 24%, transparent) 0%, color-mix(in oklch, var(--accent) 9%, transparent) 48%, transparent 80%),
		color-mix(in oklch, var(--accent) 7%, transparent);
}

.stage__fx > .stage__fog,
.entrance__fx > .stage__fog {
	inset: auto -35% -12% -35%;
	height: 78%;
	opacity: 0.55;
	background:
		radial-gradient(38% 46% at 24% 68%, color-mix(in oklch, var(--accent) 24%, rgba(190, 208, 232, 0.3)) 0%, transparent 70%),
		radial-gradient(30% 36% at 66% 56%, rgba(188, 202, 224, 0.2) 0%, transparent 70%),
		radial-gradient(46% 34% at 52% 88%, rgba(150, 166, 192, 0.24) 0%, transparent 72%);
}

.stage__fx > .stage__fog--b,
.entrance__fx > .stage__fog--b {
	inset: auto -35% -22% -35%;
	height: 62%;
	opacity: 0.4;
	background:
		radial-gradient(34% 52% at 78% 70%, color-mix(in oklch, var(--accent) 20%, rgba(190, 208, 232, 0.26)) 0%, transparent 70%),
		radial-gradient(40% 40% at 34% 80%, rgba(170, 186, 212, 0.2) 0%, transparent 70%);
}

/* The scrim: dense where the text sits (the lower part and the side the text starts on), clear above it. */
.stage__scrim {
	background:
		linear-gradient(var(--scrim-side), rgba(11, 12, 15, 0.62) 0%, rgba(11, 12, 15, 0.4) 36%, transparent 64%),
		linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 15, 0.78) 24%, rgba(11, 12, 15, 0.48) 52%, rgba(11, 12, 15, 0.14) 80%, rgba(11, 12, 15, 0.28) 100%),
		radial-gradient(125% 105% at 50% 38%, transparent 55%, rgba(5, 6, 8, 0.72) 100%);
}

.stage--computed {
	background:
		radial-gradient(58% 82% at 76% 12%, color-mix(in oklch, var(--accent) 30%, #07090e) 0%, transparent 62%),
		radial-gradient(48% 62% at 12% 92%, color-mix(in oklch, var(--accent) 15%, #07090e) 0%, transparent 66%),
		linear-gradient(180deg, #0c111a 0%, var(--bg) 100%);
}

[dir="rtl"] .stage--computed {
	background:
		radial-gradient(58% 82% at 24% 12%, color-mix(in oklch, var(--accent) 30%, #07090e) 0%, transparent 62%),
		radial-gradient(48% 62% at 88% 92%, color-mix(in oklch, var(--accent) 15%, #07090e) 0%, transparent 66%),
		linear-gradient(180deg, #0c111a 0%, var(--bg) 100%);
}

.stage--computed .stage__scrim {
	background: linear-gradient(0deg, var(--bg) 0%, transparent 55%);
}

.stage__fx > .stage__beam {
	inset: 0 auto auto auto;
	inset-inline-end: 22%;
	width: 1px;
	height: 38%;
	background: linear-gradient(180deg, transparent 0%, var(--accent) 100%);
	opacity: 0.75;
	transform-origin: top;
}

.stage__beam::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: -2px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 18px 6px color-mix(in oklch, var(--accent) 55%, transparent);
}

/* A baked noise tile, moved in steps: far cheaper than a live SVG filter. */
.stage__fx > .stage__grain,
.entrance__fx > .stage__grain {
	inset: -120px;
	background: url(../img/grain.png) repeat;
	background-size: 128px 128px;
	opacity: 0.34;
}

.stage__inner {
	position: relative;
	width: 100%;
	display: flex;
	align-items: flex-end;
	gap: 56px;
	padding-block: clamp(120px, 20svh, 220px) clamp(40px, 7svh, 76px);
}

.stage--compact .stage__inner {
	padding-block: 96px 40px;
}

.stage__copy {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 780px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	text-shadow: 0 1px 20px rgba(5, 6, 8, 0.7);
}

/* A pool of shadow that goes where the text goes, whatever the picture shows there. */
.stage--photo .stage__copy::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -56px -140px -40px -140px;
	background: radial-gradient(closest-side, rgba(9, 10, 13, 0.74) 46%, rgba(9, 10, 13, 0.46) 74%, transparent);
	pointer-events: none;
}

.stage__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--font-display);
	font-size: 12px;
	line-height: 1.8;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: color-mix(in oklch, var(--accent) 26%, #fff);
}

.stage__eyebrow::before {
	content: "";
	flex: none;
	width: 40px;
	height: 1px;
	background: currentColor;
}

:lang(he) .stage__eyebrow {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.14em;
}

.stage__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(27px, 3vw + 14px, 54px);
	line-height: 1.22;
	overflow-wrap: break-word;
	text-wrap: balance;
	max-width: 100%;
}

:lang(he) .stage__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(34px, 4vw + 16px, 68px);
	line-height: 1.14;
}

.stage__title:focus {
	outline: none;
}

.stage__title:focus-visible {
	outline: 2px solid var(--accent);
}

.stage__lead {
	max-width: 33em;
	font-size: clamp(17px, 0.5vw + 15.5px, 22px);
	line-height: 1.65;
	color: var(--text);
	text-wrap: pretty;
}

.stage__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 8px;
}

.stage__actions .btn {
	min-height: 52px;
	font-size: 16px;
	text-shadow: none;
}

.stage .btn--ghost {
	background: rgba(11, 12, 15, 0.45);
	border-color: #6b707c;
}

.stage .btn--ghost:hover {
	border-color: var(--accent);
}

/* ----- Motion ----- */
@media (prefers-reduced-motion: no-preference) {
	.stage--photo .stage__img {
		animation: meydy-kenburns 44s ease-in-out infinite alternate;
	}

	.stage--soft .stage__img {
		animation: none;
	}

	.stage__fog--a {
		animation: meydy-fog-a 41s ease-in-out infinite alternate;
	}

	.stage__fog--b {
		animation: meydy-fog-b 29s ease-in-out infinite alternate;
	}

	.stage__grain {
		animation: meydy-grain 1.4s steps(1) infinite;
	}

	.stage__beam {
		animation: meydy-drop 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.stage__beam::after {
		animation: meydy-glow 5.5s ease-in-out 1.4s infinite;
	}

	/* The text arrives gently. The title only moves (it is often the largest paint: it must not start invisible). */
	.stage__copy > * {
		animation: meydy-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
	}

	.stage__copy > .stage__title {
		animation-name: meydy-settle;
		animation-delay: 0s;
	}

	.stage__copy > :nth-child(3) {
		animation-delay: 0.28s;
	}

	.stage__copy > :nth-child(4) {
		animation-delay: 0.4s;
	}

	.stage__copy > :nth-child(n + 5) {
		animation-delay: 0.52s;
	}
}

html.is-hidden .stage *,
html.is-hidden .stage *::after,
html.is-hidden .entrance *,
html.is-hidden .entrance *::after,
html.is-hidden .logo-light *,
.stage.is-offscreen *,
.stage.is-offscreen *::after {
	animation-play-state: paused !important;
}

@keyframes meydy-kenburns {
	from {
		transform: scale(1.004);
	}

	to {
		transform: scale(1.02) translate3d(-0.6%, -0.4%, 0);
	}
}

@keyframes meydy-fog-a {
	from {
		transform: translate3d(-9%, 3%, 0) scale(1);
	}

	to {
		transform: translate3d(11%, -4%, 0) scale(1.12);
	}
}

@keyframes meydy-fog-b {
	from {
		transform: translate3d(10%, -2%, 0) scale(1.08);
	}

	to {
		transform: translate3d(-12%, 4%, 0) scale(1);
	}
}

@keyframes meydy-grain {
	0% {
		transform: translate3d(0, 0, 0);
	}

	14% {
		transform: translate3d(-47px, 31px, 0);
	}

	28% {
		transform: translate3d(38px, -53px, 0);
	}

	42% {
		transform: translate3d(-71px, -19px, 0);
	}

	57% {
		transform: translate3d(23px, 67px, 0);
	}

	71% {
		transform: translate3d(61px, 13px, 0);
	}

	85% {
		transform: translate3d(-29px, -61px, 0);
	}

	100% {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes meydy-drop {
	from {
		transform: scaleY(0);
	}

	to {
		transform: scaleY(1);
	}
}

@keyframes meydy-glow {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(0.8);
	}

	50% {
		opacity: 1;
		transform: scale(1.35);
	}
}

@keyframes meydy-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes meydy-settle {
	from {
		transform: translateY(14px);
	}

	to {
		transform: none;
	}
}

/* ----- Release: cover and story side by side ----- */
.stage--split .stage__aside {
	flex: none;
}

.stage--split .stage__aside .release-hero__cover {
	width: clamp(240px, 28vw, 360px);
}

@media (max-width: 899px) {
	.stage--split .stage__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		padding-block: 40px;
	}

	.stage--split .stage__aside {
		align-self: center;
	}

	.stage--split .stage__aside .release-hero__cover {
		width: min(62vw, 340px);
	}

	.stage--split .stage__scrim {
		background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 15, 0.82) 45%, rgba(11, 12, 15, 0.55) 70%, rgba(11, 12, 15, 0.35) 100%);
	}

	.stage--split .stage__beam {
		display: none;
	}
}

@media (max-width: 759px) {
	.stage--hero {
		min-height: min(86svh, 760px);
	}

	.stage--page {
		min-height: clamp(440px, 66svh, 580px);
	}

	.stage__inner {
		padding-block: 120px 36px;
	}

	.stage__copy {
		gap: 14px;
	}

	.stage__fx > .stage__beam {
		inset-inline-end: 14%;
		height: 96px;
	}

	/* The text spans the width: the scrim rises with it. */
	.stage__scrim {
		background:
			linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 15, 0.86) 34%, rgba(11, 12, 15, 0.66) 62%, rgba(11, 12, 15, 0.22) 86%, rgba(11, 12, 15, 0.3) 100%),
			radial-gradient(140% 100% at 50% 34%, transparent 55%, rgba(5, 6, 8, 0.6) 100%);
	}

	.stage__eyebrow {
		letter-spacing: 0.18em;
		font-size: 11px;
	}

	.stage__eyebrow::before {
		width: 24px;
	}

	.stage__actions {
		align-self: stretch;
		flex-direction: column;
	}

	.stage__actions .btn {
		align-self: stretch;
	}
}

/* ===== The wordmark with a slow pass of light ===== */

.logo-light {
	position: relative;
	display: block;
}

.logo-light svg {
	display: block;
	width: 100%;
	height: auto;
}

.logo-light > svg {
	color: var(--text);
	filter: drop-shadow(0 0 14px color-mix(in oklch, var(--accent) 55%, transparent)) drop-shadow(0 0 46px color-mix(in oklch, var(--accent) 34%, transparent));
}

.logo-light__sweep {
	position: absolute;
	inset: 0;
	color: color-mix(in oklch, var(--accent) 62%, #fff);
	filter: drop-shadow(0 0 8px var(--accent));
	-webkit-mask-image: linear-gradient(105deg, transparent 42%, #000 50%, transparent 58%);
	mask-image: linear-gradient(105deg, transparent 42%, #000 50%, transparent 58%);
	-webkit-mask-size: 260% 100%;
	mask-size: 260% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: 130% 0;
	mask-position: 130% 0;
	opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.logo-light__sweep {
		animation: meydy-sweep 7s ease-in-out 2.4s infinite;
	}
}

@keyframes meydy-sweep {
	0% {
		opacity: 1;
		-webkit-mask-position: 112% 0;
		mask-position: 112% 0;
	}

	34% {
		opacity: 1;
		-webkit-mask-position: -12% 0;
		mask-position: -12% 0;
	}

	35%,
	100% {
		opacity: 0;
		-webkit-mask-position: -12% 0;
		mask-position: -12% 0;
	}
}

/* ===== Home: the hero and the two rooms ===== */

/* A photo of people (stage field "Show whole"): graded in its file, so it is shaded little, and on a phone it is
   shown whole above the text instead of being cropped into a close-up. */
.stage--whole .stage__img,
.stage--graded .stage__img {
	filter: none;
}

.stage--whole .stage__scrim,
.stage--graded .stage__scrim {
	background:
		linear-gradient(var(--scrim-side), rgba(11, 12, 15, 0.5) 0%, rgba(11, 12, 15, 0.22) 30%, transparent 52%),
		linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 15, 0.68) 22%, rgba(11, 12, 15, 0.22) 50%, rgba(11, 12, 15, 0.02) 78%, rgba(11, 12, 15, 0.16) 100%);
}

@media (prefers-reduced-motion: no-preference) {
	.stage--whole.stage--photo .stage__img,
	.stage--graded.stage--photo .stage__img {
		animation-name: meydy-drift;
	}
}

@media (max-width: 759px) {
	/* A graded picture on a phone: it fills the top of the stage; the shade rises under the text only. */
	.stage--graded .stage__scrim {
		background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 15, 0.86) 30%, rgba(11, 12, 15, 0.5) 46%, rgba(11, 12, 15, 0.04) 66%, rgba(11, 12, 15, 0.14) 100%);
	}

	.stage.stage--whole:not(.room) .stage__media {
		bottom: auto;
		height: auto;
		aspect-ratio: 16 / 9;
		-webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
	}

	.stage--whole.stage--photo .stage__img {
		animation: none;
	}

	/* The picture ends where the text begins: only its foot melts into the page. */
	.stage--whole .stage__scrim {
		background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 56%, rgba(11, 12, 15, 0.45) 64%, transparent 74%);
	}

	.stage--whole .stage__inner {
		padding-block-start: 62vw;
	}
}

/* A person's picture graded in its file: nothing hangs in front of the face (no line of light, little fog). */
.stage--graded .stage__tint {
	opacity: 0.4;
}

.stage--graded .stage__fx > .stage__fog {
	opacity: 0.16;
}

.stage--graded .stage__fx > .stage__grain {
	opacity: 0.14;
}

.stage--graded .stage__fx > .stage__beam {
	display: none;
}

/* The Music page: the figure in its picture stands above the text on every screen. On very wide ones the picture
   stops growing (its edges fade into the page); on wide, short ones the stage keeps height in step with its width. */
.music-page > .stage .stage__media {
	max-width: min(1920px, calc(var(--iw, 99999) * 1px / var(--dpr) / var(--zoom)));
}

@media (min-width: 760px) {
	.music-page > .stage {
		min-height: max(clamp(460px, 70svh, 660px), min(23vw + 190px, 640px));
	}

	/* The pool of shadow under the text stops short of the shoes. */
	.music-page > .stage .stage__copy::before {
		inset: -4px -48px -40px -140px;
	}

	[dir="rtl"] .music-page > .stage .stage__copy::before {
		inset: -4px -140px -40px -48px;
	}
}

/* The Press page's contact sheet (inc/contact-sheet.php): two film strips on the page's grid, the text under them.
   A strip reaches a little past the text's edges, so its frames meet them exactly. The stage's layers (tint, fog,
   grain, shade at the edges) lie over the strips as they lie over any room's picture; the text stands above them. */
.press-stage.press-stage--sheet {
	min-height: 0;
}

.press-stage--sheet.stage--computed,
[dir="rtl"] .press-stage--sheet.stage--computed {
	background: linear-gradient(180deg, color-mix(in oklch, var(--accent) 16%, #090d15) 0%, color-mix(in oklch, var(--accent) 8%, #0a0d13) 55%, var(--bg) 100%);
}

.press-stage--sheet .stage__fx {
	z-index: 2;
}

.press-stage--sheet .stage__inner {
	z-index: 3;
	padding-block: 40px 52px;
}

/* The hanging line is drawn by the sheet instead (below), in a gap between frames. */
.press-stage--sheet .stage__fx > .stage__beam {
	display: none;
}

.press-stage--sheet .stage__tint {
	opacity: 0.65;
}

.press-stage--sheet .stage__fx > .stage__fog {
	opacity: 0.2;
}

.press-stage--sheet.stage--computed .stage__scrim {
	background:
		radial-gradient(120% 105% at 50% 40%, transparent 50%, rgba(5, 6, 8, 0.7) 100%),
		linear-gradient(90deg, rgba(5, 6, 8, 0.62) 0%, transparent 14%, transparent 86%, rgba(5, 6, 8, 0.62) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}

.contact-sheet {
	position: relative;
	display: grid;
	gap: 12px;
	padding-top: 36px;
	direction: ltr; /* A film runs one way, in both languages. */
}

/* The stage's hanging line, with its point of light under the strips. On wide screens it comes down from the top of
   the stage through a gap that doesn't touch the chosen frame: before the last frame on the right, and in Hebrew after
   the third. Narrower sheets have no such gap: there it hangs from the lower strip, on the side away from the text. */
.contact-sheet::after {
	--gap-at: calc(var(--gutter) + (100% - 2 * var(--gutter) - 48px) / 5 + 6px);
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: -14px;
	right: calc(var(--gap-at) - 0.5px);
	width: 1px;
	background: linear-gradient(180deg, transparent 0%, var(--accent) 100%);
	opacity: 0.8;
	transform-origin: top;
	pointer-events: none;
}

[dir="rtl"] .contact-sheet::after {
	right: auto;
	left: calc(var(--gutter) + 3 * (100% - 2 * var(--gutter) - 48px) / 5 + 29.5px);
}

.contact-sheet::before {
	--gap-at: calc(var(--gutter) + (100% - 2 * var(--gutter) - 48px) / 5 + 6px);
	content: "";
	position: absolute;
	z-index: 1;
	bottom: -16px;
	right: calc(var(--gap-at) - 2.5px);
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 18px 6px color-mix(in oklch, var(--accent) 55%, transparent);
	pointer-events: none;
}

[dir="rtl"] .contact-sheet::before {
	right: auto;
	left: calc(var(--gutter) + 3 * (100% - 2 * var(--gutter) - 48px) / 5 + 27.5px);
}

@media (prefers-reduced-motion: no-preference) {
	.contact-sheet::after {
		animation: meydy-drop 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	.contact-sheet::before {
		animation: meydy-glow 5.5s ease-in-out 1.4s infinite;
	}
}

.contact-sheet__strip {
	--edge: 12px;
	margin-inline: calc(-1 * var(--edge));
	padding-inline: var(--edge);
	background: rgba(4, 5, 7, 0.86);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-width: 1px 0;
}

/* The film's holes: small, even, quiet. */
.contact-sheet__strip::before,
.contact-sheet__strip::after {
	content: "";
	display: block;
	height: 7px;
	margin-block: 6px;
	background: repeating-linear-gradient(90deg, rgba(222, 228, 240, 0.11) 0 9px, transparent 9px 21px);
}

.contact-sheet__frames {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--edge);
}

.contact-sheet__frame {
	position: relative;
	isolation: isolate;
	margin: 0;
}

/* One grade for every frame: a step darker and quieter, then drawn towards the page's blue (the black-and-white ones
   take it, the orange and red ones keep part of their own colour). */
.contact-sheet__frame img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	filter: saturate(0.92) brightness(0.78) contrast(1.06);
}

.contact-sheet__frame::after,
.contact-sheet__frame.is-chosen::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	aspect-ratio: 16 / 9;
	pointer-events: none;
}

.contact-sheet__frame::after {
	background: color-mix(in oklch, var(--accent) 62%, #0b1b3a);
	mix-blend-mode: color;
	opacity: 0.28;
}

.contact-sheet__frame figcaption {
	padding-top: 6px;
	font: 500 10px/1 ui-monospace, Consolas, "Courier New", monospace;
	letter-spacing: 0.14em;
	color: rgba(222, 228, 240, 0.42);
	direction: ltr;
	text-align: start;
}

/* One frame is chosen: a fine line of the page's accent round it (apart from the picture, so the grade leaves it). */
.contact-sheet__frame.is-chosen::before {
	z-index: 1;
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

@media (max-width: 899px) {
	.contact-sheet__frames {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.contact-sheet::after,
	[dir="rtl"] .contact-sheet::after {
		top: auto;
		bottom: -60px;
		height: 60px;
	}

	.contact-sheet::before,
	[dir="rtl"] .contact-sheet::before {
		bottom: -62px;
	}

	.contact-sheet::after,
	.contact-sheet::before {
		right: 14%;
	}

	[dir="rtl"] .contact-sheet::after,
	[dir="rtl"] .contact-sheet::before {
		right: auto;
		left: 14%;
	}

	.contact-sheet::before {
		margin-right: -2px;
	}

	[dir="rtl"] .contact-sheet::before {
		margin-left: -2px;
	}

	.contact-sheet__frame:nth-child(n + 4) {
		display: none;
	}
}

@media (max-width: 559px) {
	.contact-sheet {
		padding-top: 20px;
	}

	.contact-sheet__strip {
		--edge: 8px;
	}

	.contact-sheet__frames {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact-sheet__frame:nth-child(n + 3) {
		display: none;
	}

	.press-stage--sheet .stage__inner {
		padding-block: 28px 36px;
	}
}

/* The neon sign inside the hero's picture (meydy_sign_image in inc/stage.php): the picture, and the sign drawn over it
   in the same coordinates. Both cover the box from its middle. */
.stage__sign {
	position: relative;
}

.stage__sign > picture {
	display: contents;
}

.stage__sign .stage__photo,
.stage__neon {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.stage__sign .stage__photo {
	object-fit: cover;
	object-position: 50% 50%;
}

.stage__neon--phone {
	display: none;
}

@media (max-width: 559px) {
	.stage--phone-pic .stage__neon--wide {
		display: none;
	}

	.stage--phone-pic .stage__neon--phone {
		display: block;
	}
}

/* While the page is still loading: the moving fog and the grain wait (inc/performance.php). */
html.is-loading .stage__fog {
	animation: none !important;
}

html.is-loading .stage__grain {
	background-image: none !important;
	animation: none !important;
}

.stage--sign .stage__img {
	transform-origin: 50% 36.5%;
	filter: none; /* The picture is graded in its file; a filter here would dim the sign with it. */
}

/* Short screens: the stage keeps enough height for the sign above the release's text. */
.stage--hero.stage--sign {
	min-height: max(clamp(600px, 86svh, 860px), 672px);
}

/* The shade stays under the text and lets go above it, where the sign is. */
.stage--sign .stage__scrim {
	background:
		linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 15, 0.82) 24%, rgba(11, 12, 15, 0.5) 42%, rgba(11, 12, 15, 0.04) 58%, rgba(11, 12, 15, 0.16) 100%),
		radial-gradient(125% 105% at 50% 38%, transparent 55%, rgba(5, 6, 8, 0.7) 100%);
}

.sign__spill-in {
	stop-color: var(--accent);
	stop-opacity: 0.55;
}

.sign__spill-out {
	stop-color: var(--accent);
	stop-opacity: 0;
}

.sign__spill {
	mix-blend-mode: screen;
}

.sign__glow {
	fill: var(--accent);
}

.sign__edge {
	fill: color-mix(in oklch, var(--accent) 40%, #fff);
}

.sign__core {
	fill: #fff;
}

.sign__haze {
	opacity: 0.12;
}

.sign__haze--b {
	opacity: 0.08;
}

/* Rare and faint: two dips in thirteen seconds. */
@media (prefers-reduced-motion: no-preference) {
	.sign__neon {
		animation: meydy-neon 13s linear infinite;
	}

	/* A smaller drift than elsewhere: this picture is shown close to its own size. */
	.stage--sign.stage--photo .stage__img {
		animation-name: meydy-drift;
	}
}

@keyframes meydy-neon {
	0%,
	70%,
	71.4%,
	73.4%,
	100% {
		opacity: 1;
	}

	70.6% {
		opacity: 0.5;
	}

	72.4% {
		opacity: 0.72;
	}
}

@keyframes meydy-drift {
	from {
		transform: scale(1.004);
	}

	to {
		transform: scale(1.02) translate3d(-0.4%, -0.3%, 0);
	}
}

/* On a phone the picture takes the upper part only, so it isn't enlarged (its file is 1536px high, three pixels to
   the point) and the sign stays above the release's text. */
@media (max-width: 759px) {
	/* Short phones: the stage grows, so the release's text starts under the sign. */
	.stage--hero.stage--sign {
		min-height: max(min(86svh, 760px), 640px);
	}

	.stage--sign .stage__scrim {
		background:
			linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 15, 0.86) 34%, rgba(11, 12, 15, 0.5) 52%, rgba(11, 12, 15, 0.06) 66%, rgba(11, 12, 15, 0.2) 100%),
			radial-gradient(140% 100% at 50% 34%, transparent 55%, rgba(5, 6, 8, 0.6) 100%);
	}

	.stage.stage--sign:not(.room) .stage__media {
		bottom: auto;
		height: min(100%, 512px);
		-webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
	}
}

.hero__alt {
	font-family: var(--font-display);
	font-size: 14px;
	color: var(--text-2);
	margin-top: -10px;
	text-align: end; /* dir="ltr" inside a Hebrew page: end = under the start of the Hebrew title. */
}

.hero__sub {
	font-size: 19px;
	color: var(--text-2);
}

.rooms {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding-top: 56px;
}

.room {
	min-height: clamp(360px, 36vw, 460px);
	border: 1px solid var(--line-2);
	border-radius: 10px;
	transition: border-color 0.3s;
}

.room:hover {
	border-color: color-mix(in oklch, var(--accent) 65%, transparent);
}

.room .stage__inner {
	padding: 96px 32px 32px;
	max-width: none;
}

/* @end-critical */

/* A room is a small card: the page-sized shadows would black out its picture. Only its foot is shaded. */
.room.stage--photo .stage__copy::before {
	content: none;
}

.room .stage__scrim {
	background: linear-gradient(0deg, rgba(11, 12, 15, 0.94) 0%, rgba(11, 12, 15, 0.82) 32%, rgba(11, 12, 15, 0.4) 56%, rgba(11, 12, 15, 0.04) 82%, transparent 100%);
}

.room .stage__img {
	filter: saturate(0.9) contrast(1.05);
}

.room .stage__title {
	font-size: clamp(24px, 1.6vw + 12px, 36px);
}

:lang(he) .room .stage__title {
	font-size: clamp(30px, 2vw + 16px, 46px);
}

.room .stage__lead {
	font-size: 17px;
}

.room__more {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid #6b707c;
	border-radius: var(--radius);
	background: rgba(11, 12, 15, 0.55);
	font-size: 15px;
	text-shadow: none;
}

/* The whole card is the link's target; the outline goes around the card. */
.room__more::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.room .stage__inner,
.room .stage__copy {
	position: static;
}

.room:hover .room__more {
	border-color: var(--accent);
	color: var(--accent);
}

.room__more:focus-visible {
	outline: 0;
}

.room__more:focus-visible::after {
	outline: 3px solid var(--accent);
	outline-offset: -5px;
	border-radius: 10px;
}

@media (prefers-reduced-motion: no-preference) {
	.room .stage__copy > * {
		animation: none;
	}
}

@media (max-width: 899px) {
	.rooms {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-top: 32px;
	}

	.room {
		min-height: 320px;
	}

	.room .stage__inner {
		padding: 96px 20px 22px;
	}
}

/* ===== Story: the typography of a room's text =====
   eyebrow, title and lead are on the stage; below it: chapters (numbered h2), body, a large key sentence, small meta. */

.room-page .page-main {
	padding-top: 64px;
}

.story {
	max-width: 720px;
	gap: 20px;
	font-size: 18px;
	line-height: 1.8;
	counter-reset: chapter;
}

.story.prose--wide {
	max-width: none;
}

.story.prose--wide > p,
.story.prose--wide > h2,
.story.prose--wide > h3,
.story.prose--wide > ul,
.story.prose--wide > blockquote {
	max-width: 720px;
}

.story h2,
.story.prose--wide > h2 {
	counter-increment: chapter;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
	font-size: clamp(20px, 0.9vw + 16px, 28px);
	line-height: 1.4;
}

.story h2::before {
	content: counter(chapter, decimal-leading-zero);
	font: 500 12px/1 var(--font-text);
	letter-spacing: 0.22em;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.story > h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.story h3 {
	font-size: 19px;
	margin-top: 20px;
}

:lang(en) .story h2,
:lang(en) .home-section__head h2,
:lang(en) .chapter h2,
:lang(en) .more h2,
:lang(en) .press-page h2,
:lang(en) .updates__text h2,
:lang(en) .post-item__title {
	font-family: var(--font-display);
	font-weight: 400;
}

.prose .pull,
.prose blockquote.pull {
	margin: 32px 0;
	padding-inline-start: 28px;
	border-inline-start: 1px solid var(--accent);
	font-family: var(--font-heading);
	font-size: clamp(23px, 1.7vw + 15px, 34px);
	line-height: 1.45;
	color: var(--text);
	text-wrap: balance;
}

.pull p {
	margin: 0;
}

.story .meta,
.prose .meta {
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.story .big {
	font-size: clamp(20px, 0.8vw + 17px, 25px);
	line-height: 1.65;
	color: var(--text);
}

.story ul.facts {
	list-style: none;
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--line);
}

.story ul.facts li {
	padding-block: 14px;
	border-bottom: 1px solid var(--line);
}

/* The one quiet sentence at the end of a story: no heading of its own, so a short line sets it apart. */
.prose .quiet {
	margin-top: 40px;
}

.prose .quiet::before {
	content: "";
	display: block;
	width: 48px;
	margin-bottom: 24px;
	border-top: 1px solid var(--accent);
}

.story__figure {
	margin: 0;
}

.nw {
	white-space: nowrap;
}

/* The listen buttons inside the remix's news story: their words in the middle of the button. */
.prose .meydy-listen a.btn {
	line-height: 44px;
	padding-block: 0;
}

.story__figure img {
	max-width: min(100%, 520px);
	height: auto;
	border-radius: 4px;
}

.prose .wp-caption {
	max-width: 100%;
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.story > h2,
		.story > .pull,
		.story > figure,
		.rooms > .room,
		.kit > .kit__item,
		.press-release {
			animation: meydy-reveal linear both;
			animation-timeline: view();
			animation-range: cover 0px cover 160px;
		}
	}
}

.post-item__title {
	margin: 0;
	line-height: 1.5;
}

:lang(en) .post-item__title {
	font-size: 15px;
}

/* ===== Contact ===== */

.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	gap: 32px 72px;
	align-items: start;
}

.contact > :only-child {
	grid-column: 1 / -1;
}

.contact__form .wpforms-container {
	margin-top: 0;
}

.contact__form {
	padding: 32px;
	border: 1px solid var(--line-2);
	border-radius: 10px;
	background: var(--surface);
}

.contact__intro h2 {
	font-size: 20px;
}

@media (max-width: 899px) {
	.contact {
		grid-template-columns: minmax(0, 1fr);
	}

	.contact__form {
		padding: 22px 18px;
	}
}

/* ===== Press kit ===== */

.kit {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.story ul.kit {
	padding-inline-start: 0;
	max-width: none;
}

.kit__item a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 12px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	color: var(--text);
	text-decoration: none;
}

.kit__item a:hover {
	border-color: var(--accent);
	color: var(--text);
}

.kit__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 4px;
	background: #08090b;
}

.kit__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kit__item--logo .kit__thumb img {
	height: auto;
	object-fit: contain;
	padding: 0 24px;
}

.kit__item--on-light .kit__thumb {
	background: #f1f2f4;
}

.kit__name {
	font-size: 15px;
	line-height: 1.5;
	margin-top: 6px;
}

.kit__info {
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
	text-align: start;
}

[dir="rtl"] .kit__info {
	text-align: right;
}

.kit__get {
	margin-top: auto;
	padding-top: 8px;
	font-size: 14px;
	color: var(--accent);
}

@media (max-width: 759px) {
	.room-page .page-main {
		padding-top: 40px;
	}

	.story {
		font-size: 17px;
	}

	.kit {
		grid-template-columns: minmax(0, 1fr);
	}
}
