/* ==========================================================================
   Dreammark Collective: front-end styles
   Colours, fonts and spacing are theme.json presets (var(--wp--preset--*)).
   This file covers layout pieces theme.json can't express: the overlay
   header, the mobile menu, labels, reveal motion and the footer.
   ========================================================================== */

:root {
	--dm-header-h: 88px;
	--dm-ease: var(--wp--custom--motion--ease);
	--dm-admin-bar: var(--wp-admin--admin-bar--height, 0px);
}

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

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

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

::selection {
	background: var(--wp--preset--color--coral);
	color: var(--wp--preset--color--sand);
}

img, video { max-width: 100%; height: auto; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--coral);
	outline-offset: 3px;
}

.screen-reader-text:focus {
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--black);
}

/* --------------------------------------------------------------------------
   Labels: small letter-spaced uppercase (FEATURE FILM · IN DEVELOPMENT)
   -------------------------------------------------------------------------- */

.is-style-eyebrow,
.dm-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
	color: var(--wp--custom--text--on-dark-secondary);
}

/* Quiet secondary text */
.is-style-muted {
	color: var(--wp--custom--text--on-dark-secondary);
}

/* "About us", "All projects": an understated text link with a hairline */
.is-style-text-link a,
a.dm-text-link {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--sand);
	padding-bottom: 6px;
	border-bottom: 1px solid var(--wp--custom--border--on-dark-strong);
	transition: border-color var(--wp--custom--motion--base) var(--dm-ease);
}

.is-style-text-link a:hover,
a.dm-text-link:hover {
	color: var(--wp--preset--color--sand);
	border-bottom-color: var(--wp--preset--color--sand);
}

/* Lead paragraph */
.is-style-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.65;
}

/* Statement: a large Spectral paragraph */
.is-style-statement {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display-3);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: var(--wp--custom--tracking--display);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.wp-element-button,
.wp-block-button__link {
	transition: background-color var(--wp--custom--motion--base) var(--dm-ease),
		border-color var(--wp--custom--motion--base) var(--dm-ease),
		opacity var(--wp--custom--motion--fast) var(--dm-ease);
}

.wp-element-button:active,
.wp-block-button__link:active {
	opacity: 0.85;
}

/* Secondary: thin sand outline, never a fill flash */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--sand);
	border: 1px solid var(--wp--custom--border--on-dark-strong);
	padding: calc(1rem - 1px) calc(1.625rem - 1px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: transparent;
	border-color: var(--wp--preset--color--sand);
}

/* --------------------------------------------------------------------------
   Header: sits over the first image or video on every page
   -------------------------------------------------------------------------- */

.dm-site-header {
	position: absolute;
	inset: var(--dm-admin-bar) 0 auto 0;
	z-index: 50;
	pointer-events: none;
}

.dm-site-header::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px 0;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 100%);
	pointer-events: none;
}

.dm-header {
	position: relative;
	min-height: var(--dm-header-h);
	padding: 0 var(--wp--custom--gutter);
	pointer-events: auto;
}

/* Logo lockup */
.dm-logo__link,
.dm-logo > :not(a) {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--wp--preset--color--sand);
	text-decoration: none;
}

.dm-logo__link:hover { color: var(--wp--preset--color--sand); }

.dm-logo .dm-mark { flex: 0 0 auto; width: 34px; height: 34px; }

.dm-logo__type {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.dm-logo__word {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: 1.25rem;
	letter-spacing: -0.005em;
	text-transform: uppercase;
}

.dm-logo__eyebrow {
	margin-top: 5px;
	font-family: var(--wp--preset--font-family--body);
	font-weight: 500;
	font-size: 0.5625rem;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sand-70);
}

/* Desktop navigation */
.dm-nav .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--sand);
	padding: 6px 0;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size var(--wp--custom--motion--base) var(--dm-ease);
}

.dm-nav .wp-block-navigation-item__content:hover,
.dm-nav .current-menu-item > .wp-block-navigation-item__content,
.dm-nav [aria-current="page"] {
	color: var(--wp--preset--color--sand);
	background-size: 100% 1px;
}

.dm-nav.wp-block-navigation {
	--navigation-layout-justification-setting: flex-end;
	gap: clamp(20px, 2.6vw, 40px);
}

.dm-nav .wp-block-navigation__container { gap: clamp(20px, 2.6vw, 40px); }

/* Mobile: the menu button and the full-screen overlay */
.dm-nav .wp-block-navigation__responsive-container-open,
.dm-nav .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--sand);
	padding: 8px;
	margin: -8px;
}

.dm-nav .wp-block-navigation__responsive-container-open svg,
.dm-nav .wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
}

.dm-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--sand) !important;
	padding: calc(var(--dm-admin-bar) + 30px) var(--wp--custom--gutter) 40px;
	animation: dm-fade-in var(--wp--custom--motion--base) var(--dm-ease);
}

.dm-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	align-items: flex-start !important;
	padding-top: 72px;
}

.dm-nav .is-menu-open .wp-block-navigation-item {
	align-items: flex-start !important;
}

.dm-nav .is-menu-open .wp-block-navigation__container {
	gap: 4px !important;
	align-items: flex-start !important;
}

.dm-nav .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.25rem, 9vw, 3.25rem);
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--display);
	text-transform: none;
	line-height: 1.2;
	padding: 4px 0;
	background-image: none;
}

.dm-nav .is-menu-open [aria-current="page"] {
	color: var(--wp--preset--color--coral) !important;
}

@keyframes dm-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Main: text pages clear the overlay header; image-led templates don't
   -------------------------------------------------------------------------- */

.dm-main { margin-top: 0; }

.dm-main--text {
	padding-top: calc(var(--dm-header-h) + var(--wp--preset--spacing--90));
	padding-bottom: var(--wp--preset--spacing--100);
}

.wp-site-blocks > * + * { margin-block-start: 0; }

/* --------------------------------------------------------------------------
   Reveal on scroll: a gentle fade and slight rise. Only applied once JS has
   marked the page (html.dm-js), so content is never hidden without JS.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.dm-js .dm-reveal,
	.dm-js .is-style-reveal {
		opacity: 0;
		transform: translateY(12px);
		transition: opacity var(--wp--custom--motion--reveal) var(--dm-ease),
			transform var(--wp--custom--motion--reveal) var(--dm-ease);
	}

	.dm-js .dm-reveal.is-visible,
	.dm-js .is-style-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.dm-footer {
	border-top: 1px solid var(--wp--custom--border--on-dark);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--custom--text--on-dark-secondary);
}

.dm-footer a { color: var(--wp--preset--color--sand); text-decoration: none; }
.dm-footer a:hover { color: var(--wp--preset--color--sand); text-decoration: underline; text-underline-offset: 4px; }

.dm-footer__company strong {
	display: inline-block;
	margin-bottom: 4px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--sand);
}

.dm-footer__nav .wp-block-navigation__container,
.dm-footer__nav.wp-block-navigation {
	gap: 12px clamp(18px, 2.2vw, 32px);
}

.dm-footer__nav .wp-block-navigation-item__content {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
}

.dm-footer__contact { margin-top: var(--wp--preset--spacing--60); }

.dm-footer__bottom {
	margin-top: var(--wp--preset--spacing--80) !important;
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--custom--border--on-dark);
	gap: 12px 32px;
}

.dm-footer__legal {
	max-width: 60ch;
	font-size: var(--wp--preset--font-size--caption);
	color: var(--wp--custom--text--on-dark-tertiary);
}

.dm-footer__top-link {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
}

@media (max-width: 781px) {
	.dm-footer__top { gap: var(--wp--preset--spacing--60); }
}

/* ==========================================================================
   Sections and rhythm
   ========================================================================== */

.dm-section {
	margin-block: var(--wp--preset--spacing--100) 0 !important;
}

.dm-page-intro {
	margin-bottom: var(--wp--preset--spacing--90) !important;
}

.dm-page-intro > * + * { margin-top: var(--wp--preset--spacing--50); }
.dm-page-intro h1 { max-width: 16ch; }

.dm-measure { max-width: 62ch; }

.dm-nocase { text-transform: none; }
.dm-dot { opacity: 0.6; }

h2.is-style-eyebrow,
h3.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
	line-height: 1.5;
	color: var(--wp--custom--text--on-dark-secondary);
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--custom--border--on-dark);
	margin-bottom: var(--wp--preset--spacing--60);
}

.has-black-color h2.is-style-eyebrow,
h2.is-style-eyebrow.has-black-color {
	color: var(--wp--preset--color--black-70);
	border-top-color: var(--wp--custom--border--on-light);
}

.dm-section-link {
	margin-top: var(--wp--preset--spacing--70) !important;
}

/* Colour bands: sand and raised black, the design system's colour blocks */
.dm-band {
	padding-block: var(--wp--preset--spacing--100) !important;
	margin-top: var(--wp--preset--spacing--100) !important;
}

.dm-band + .dm-band { margin-top: 0 !important; }

.dm-band--sand { color: var(--wp--preset--color--black); }
.dm-band--sand h2:not(.is-style-eyebrow),
.dm-band--sand h3 { color: var(--wp--preset--color--black); }
.dm-band--sand a:not(.wp-element-button) { color: var(--wp--preset--color--black); }
.dm-band--sand .wp-block-button__link:hover { background: var(--wp--preset--color--black-80) !important; }
.dm-band--sand :focus-visible { outline-color: var(--wp--preset--color--black); }

/* ==========================================================================
   Hero
   ========================================================================== */

.dm-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
	min-height: calc(100vh - var(--dm-admin-bar));
	min-height: calc(100svh - var(--dm-admin-bar));
	padding: calc(var(--dm-header-h) + 40px) var(--wp--custom--gutter) clamp(88px, 12vh, 132px);
	overflow: hidden;
	isolation: isolate;
	margin-top: 0 !important;
	background: var(--wp--preset--color--black);
}

.dm-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.dm-hero__poster,
.dm-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 40%;
}

.dm-hero__video {
	opacity: 0;
	transition: opacity 1.2s var(--dm-ease);
}

.dm-hero.is-playing .dm-hero__video { opacity: 1; }

.dm-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0) 30%),
		linear-gradient(0deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0.2) 100%);
}

.dm-hero__content {
	max-width: 1320px;
	width: 100%;
	margin-inline: auto;
}

.dm-hero__eyebrow {
	color: var(--wp--preset--color--sand);
	margin: 0 0 var(--wp--preset--spacing--50);
}

.dm-hero__heading {
	margin: 0;
	max-width: 13ch;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: var(--wp--custom--tracking--hero);
	color: var(--wp--preset--color--sand);
	text-wrap: balance;
}

.dm-hero__credit {
	position: absolute;
	left: var(--wp--custom--gutter);
	right: var(--wp--custom--gutter);
	bottom: clamp(24px, 4vh, 40px);
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	font-size: var(--wp--preset--font-size--caption);
	letter-spacing: 0.02em;
	color: var(--wp--custom--text--on-dark-secondary);
}

.dm-hero__credit em { color: var(--wp--preset--color--sand); }

.dm-hero__watch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--sand);
	font: inherit;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(243, 231, 211, 0.4);
	text-underline-offset: 4px;
	cursor: pointer;
}

.dm-hero__watch svg { color: var(--wp--preset--color--coral); }
.dm-hero__watch:hover { text-decoration-color: var(--wp--preset--color--sand); }

/* ==========================================================================
   Statement and closing
   ========================================================================== */

.dm-statement .is-style-statement {
	font-size: clamp(1.5rem, 2.6vw, 2.25rem);
	line-height: 1.35;
}

.dm-statement .is-style-text-link { margin-top: var(--wp--preset--spacing--60); }

.dm-closing {
	padding-block: var(--wp--preset--spacing--100) var(--wp--preset--spacing--90);
	text-align: center;
}

.dm-closing .wp-block-buttons { margin-top: var(--wp--preset--spacing--60); }

/* ==========================================================================
   Project panels (Home: On the slate; Slate page)
   ========================================================================== */

.dm-panels {
	display: grid;
	gap: var(--wp--preset--spacing--90);
}

.dm-panel__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.dm-panel__link:hover { color: inherit; }

.dm-panel__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp--preset--color--black-90);
}

.dm-panel__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--dm-ease);
}

.dm-panel__text {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	padding-top: var(--wp--preset--spacing--50);
	max-width: 900px;
}

.dm-panel__text .dm-eyebrow { margin: 0; }

.dm-panel__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--display-1);
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--hero);
	line-height: 1.05;
}

.dm-panel__line {
	margin: 4px 0 0;
	max-width: 62ch;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
	color: var(--wp--custom--text--on-dark-secondary);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.dm-panel__link:hover .dm-panel__img,
	.dm-poster__link:hover .dm-poster__img { transform: scale(1.035); }
}

.dm-panel__link:hover .dm-panel__title,
.dm-poster__link:hover .dm-poster__title {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

/* ==========================================================================
   Poster grid (Home: Our work so far; Work page)
   ========================================================================== */

.dm-posters {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

@media (min-width: 782px) {
	.dm-posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
	.dm-posters { grid-template-columns: repeat(var(--dm-cols, 3), minmax(0, 1fr)); gap: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60); }
}

.dm-poster { margin: 0; }

.dm-poster__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.dm-poster__link:hover { color: inherit; }

.dm-poster__media {
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--wp--preset--color--black-90);
}

.dm-poster__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--dm-ease);
}

.dm-poster__title {
	margin: var(--wp--preset--spacing--40) 0 6px;
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	font-weight: 500;
	line-height: 1.25;
}

.dm-poster__meta {
	margin: 0;
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
	color: var(--wp--custom--text--on-dark-secondary);
}

.dm-home-work .wp-block-columns { margin-bottom: var(--wp--preset--spacing--80); }
.dm-home-work h2.is-style-eyebrow { margin-bottom: 0; }

.dm-also {
	margin-top: var(--wp--preset--spacing--100) !important;
	padding-top: var(--wp--preset--spacing--50);
}

.dm-also h3.is-style-eyebrow { margin-bottom: var(--wp--preset--spacing--40); }

/* ==========================================================================
   Project page
   ========================================================================== */

.dm-main--project { padding-bottom: var(--wp--preset--spacing--100); }

.dm-project-header {
	position: relative;
	height: min(78vh, 56.25vw + 60px);
	min-height: 360px;
	margin-top: 0 !important;
	background: var(--wp--preset--color--black-90);
	overflow: hidden;
}

.dm-project-header__img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.dm-project-header::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 35%;
	background: linear-gradient(0deg, var(--wp--preset--color--black) 0%, rgba(10, 10, 10, 0) 100%);
}

.dm-project-body {
	margin-top: var(--wp--preset--spacing--80) !important;
}

.dm-project-labels { margin: 0 0 var(--wp--preset--spacing--40); }

.dm-project-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--hero);
	line-height: 1.02;
	text-wrap: balance;
}

.dm-logline {
	margin: var(--wp--preset--spacing--60) 0 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display-3);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: var(--wp--custom--tracking--display);
}

.dm-project-about {
	margin-top: var(--wp--preset--spacing--60) !important;
	max-width: 64ch;
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--custom--text--on-dark-secondary);
}

.dm-project-about > * + * { margin-top: 1em; }

.dm-project-aside { padding-top: 6px; }

@media (min-width: 782px) {
	.dm-project-aside {
		position: sticky;
		top: 32px;
		align-self: flex-start;
	}
}

.dm-details { margin: 0; }

.dm-details__row {
	padding: var(--wp--preset--spacing--40) 0;
	border-top: 1px solid var(--wp--custom--border--on-dark);
}

.dm-details__row:last-child { border-bottom: 1px solid var(--wp--custom--border--on-dark); }

.dm-details dt { margin: 0 0 8px; }

.dm-details dd {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.dm-details dd + dd { margin-top: 6px; }

.dm-project-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: var(--wp--preset--spacing--60) !important;
}

.dm-project-actions button.wp-block-button__link { cursor: pointer; font: inherit; font-family: var(--wp--preset--font-family--body); font-size: 0.9375rem; font-weight: 500; line-height: 1; }

/* Stills: the first full width, the next two side by side */
.dm-stills {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50);
	margin-top: var(--wp--preset--spacing--100) !important;
}

.dm-still { margin: 0; overflow: hidden; background: var(--wp--preset--color--black-90); }
.dm-still:first-child { grid-column: 1 / -1; }
.dm-stills--2 .dm-still:first-child { grid-column: auto; }
.dm-still__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; display: block; }

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

.dm-project-back { margin-top: var(--wp--preset--spacing--90) !important; }

/* ==========================================================================
   About
   ========================================================================== */

.dm-about-tagline {
	font-weight: 500;
	font-style: italic;
	letter-spacing: var(--wp--custom--tracking--display);
	text-wrap: balance;
}

.dm-about-intro p { color: var(--wp--custom--text--on-dark-secondary); }
.dm-about-intro p.is-style-lead { color: var(--wp--preset--color--sand); margin-top: 0; }

.dm-ruled-columns > .wp-block-column {
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--wp--custom--border--on-dark-strong);
}

.dm-ruled-columns h3 { margin-top: 0; }
.dm-ruled-columns p { color: var(--wp--custom--text--on-dark-secondary); }

.dm-headshot { margin: 0; }
.dm-headshot img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

.dm-founder h3 { margin: 0; }
.dm-founder h3 + .is-style-eyebrow { margin-top: 10px; margin-bottom: var(--wp--preset--spacing--50); }
.dm-founder p:not(.is-style-eyebrow):not(.is-style-text-link) { color: var(--wp--custom--text--on-dark-secondary); max-width: 64ch; }
.dm-founder-links { margin-top: var(--wp--preset--spacing--60) !important; }
.dm-founder-links .dm-dot { margin: 0 10px; }

/* ==========================================================================
   Production services
   ========================================================================== */

.dm-handle-grid {
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70) !important;
}

.dm-handle-grid p {
	margin: 0;
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid var(--wp--custom--border--on-light);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.55;
}

.dm-handle-grid strong {
	display: block;
	margin-bottom: 6px;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display-3);
	font-weight: 500;
	line-height: 1.2;
}

.dm-band--raised .is-style-statement { margin: 0; }

.dm-start .is-style-lead { max-width: 52ch; }

@media (max-width: 781px) {
	.wp-block-buttons.is-content-justification-right { justify-content: flex-start; }
}

/* ==========================================================================
   Contact and forms
   ========================================================================== */

.dm-contact__details {
	margin-top: var(--wp--preset--spacing--60) !important;
	font-size: var(--wp--preset--font-size--large);
	line-height: 2;
}

.dm-contact__details a { color: var(--wp--preset--color--sand); text-decoration-color: var(--wp--custom--border--on-dark-strong); text-underline-offset: 5px; }

.dm-form__form {
	display: grid;
	gap: var(--wp--preset--spacing--50);
}

.dm-form__field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }

.dm-form__label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: var(--wp--custom--tracking--label);
	color: var(--wp--custom--text--on-dark-secondary);
	padding: 0;
}

.dm-form__optional { opacity: 0.6; font-weight: 400; }

.dm-form input[type="text"],
.dm-form input[type="email"],
.dm-form select,
.dm-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid var(--wp--custom--border--on-dark-strong);
	border-radius: 2px;
	background: var(--wp--preset--color--black-90);
	color: var(--wp--preset--color--sand);
	font: 400 1rem/1.5 var(--wp--preset--font-family--body);
	transition: border-color var(--wp--custom--motion--fast) var(--dm-ease);
}

.dm-form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #DCCBA9 50%), linear-gradient(135deg, #DCCBA9 50%, transparent 50%);
	background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
	padding-right: 44px;
}

.dm-form textarea { resize: vertical; min-height: 160px; }

.dm-form input:hover,
.dm-form select:hover,
.dm-form textarea:hover { border-color: rgba(243, 231, 211, 0.45); }

.dm-form input:focus-visible,
.dm-form select:focus-visible,
.dm-form textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--coral);
	outline-offset: 1px;
	border-color: transparent;
}

.dm-form__checks { display: flex; flex-wrap: wrap; gap: 10px; }

.dm-check { position: relative; display: inline-flex; cursor: pointer; }
.dm-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dm-check span {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid var(--wp--custom--border--on-dark-strong);
	border-radius: 2px;
	font-size: var(--wp--preset--font-size--small);
	transition: border-color var(--wp--custom--motion--fast) var(--dm-ease), background-color var(--wp--custom--motion--fast) var(--dm-ease);
}
.dm-check input:checked + span { border-color: var(--wp--preset--color--sand); background: var(--wp--preset--color--sand); color: var(--wp--preset--color--black); }
.dm-check input:focus-visible + span { outline: 2px solid var(--wp--preset--color--coral); outline-offset: 2px; }

.dm-form__submit { margin-top: 8px; }
.dm-form__submit button { cursor: pointer; }

.dm-form__hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dm-form__thanks {
	padding: var(--wp--preset--spacing--60) 0;
	border-top: 1px solid var(--wp--preset--color--coral);
	outline: none;
}

.dm-form__thanks p { margin: 0; }

.dm-form__error {
	padding: 14px 16px;
	border-left: 1px solid var(--wp--preset--color--coral);
	background: var(--wp--preset--color--black-90);
	font-size: var(--wp--preset--font-size--small);
}

.dm-form-note { margin-top: var(--wp--preset--spacing--50) !important; }

/* Request materials page */
.dm-form--request { max-width: 820px; }
.dm-form__intro { margin-bottom: var(--wp--preset--spacing--80); }
.dm-form__intro .dm-eyebrow { margin: 0 0 var(--wp--preset--spacing--40); }
.dm-form__title {
	margin: 0 0 var(--wp--preset--spacing--50);
	font-size: var(--wp--preset--font-size--display-1);
	text-wrap: balance;
}
.dm-form__title em { font-weight: 500; }

/* ==========================================================================
   News
   ========================================================================== */

.dm-news__list {
	display: grid;
	gap: var(--wp--preset--spacing--90);
	list-style: none;
	padding: 0;
}

.dm-news__item { margin: 0 !important; }
.dm-news__img { margin: 0; overflow: hidden; }
.dm-news__img img { transition: transform 1.6s var(--dm-ease); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.dm-news__item:hover .dm-news__img img { transform: scale(1.03); }
}

.dm-news__title { margin: 10px 0 14px; font-weight: 500; }
.dm-news__title a { text-decoration: none; }
.dm-news__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; color: inherit; }
.dm-news .wp-block-post-excerpt { color: var(--wp--custom--text--on-dark-secondary); }
.dm-news .wp-block-post-excerpt__more-text { display: none; }

.dm-article__head > * + * { margin-top: var(--wp--preset--spacing--40); }
.dm-article__head .is-style-eyebrow a { text-decoration: none; }
.dm-article__img { margin-block: var(--wp--preset--spacing--80) !important; }
.dm-article__body { font-size: var(--wp--preset--font-size--large); }
.dm-article__back { margin-top: var(--wp--preset--spacing--80) !important; }

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

.dm-downloads {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 900px;
}

.dm-downloads li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: var(--wp--preset--spacing--40) 0;
	border-bottom: 1px solid var(--wp--custom--border--on-dark);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--display-3);
	font-weight: 500;
	line-height: 1.3;
}

.dm-downloads li:first-child { border-top: 1px solid var(--wp--custom--border--on-dark); }

.dm-downloads a { text-decoration: none; }
.dm-downloads a::after { content: " ↓"; color: var(--wp--preset--color--coral); }
.dm-downloads a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; color: inherit; }

.dm-file-meta {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--caption);
	font-weight: 600;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	color: var(--wp--custom--text--on-dark-tertiary);
}

.dm-copy-box {
	margin: 0;
	padding: var(--wp--preset--spacing--60);
	border: 1px solid var(--wp--custom--border--on-dark);
	background: var(--wp--preset--color--black-90);
	user-select: all;
}

.dm-boilerplate h2.is-style-eyebrow { margin-bottom: var(--wp--preset--spacing--40); }

.dm-press-contact { margin-top: var(--wp--preset--spacing--90) !important; }

/* ==========================================================================
   Lightbox
   ========================================================================== */

.dm-lightbox {
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(5, 5, 5, 0.96);
	color: var(--wp--preset--color--sand);
}

.dm-lightbox[open] {
	display: grid;
	place-items: center;
	animation: dm-fade-in var(--wp--custom--motion--base) var(--dm-ease);
}

.dm-lightbox::backdrop { background: rgba(5, 5, 5, 0.9); }

.dm-lightbox__stage {
	width: min(92vw, calc(84vh * 16 / 9));
	aspect-ratio: 16 / 9;
}

.dm-lightbox__stage video,
.dm-lightbox__stage iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	background: #000;
}

.dm-lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--sand);
	cursor: pointer;
}

.dm-locked { overflow: hidden; }

/* ==========================================================================
   Small screens
   ========================================================================== */

@media (max-width: 781px) {
	:root { --dm-header-h: 76px; }
	.dm-hero__heading { max-width: 11ch; }
	.dm-panels { gap: var(--wp--preset--spacing--80); }
	.dm-project-header { height: auto; min-height: 0; aspect-ratio: 16 / 9; margin-top: calc(var(--dm-header-h) - 12px) !important; }
}

@media (max-width: 599px) {
	.dm-logo .dm-mark { width: 30px; height: 30px; }
	.dm-logo__word { font-size: 1.125rem; }
	.dm-downloads li { flex-direction: column; gap: 4px; }
}

.dm-work-group .dm-measure { margin-bottom: var(--wp--preset--spacing--70); }

/* Mid widths (tablets, small laptops): keep the six menu items on one line */
.dm-nav .wp-block-navigation__container { flex-wrap: nowrap; }

@media (min-width: 600px) and (max-width: 1023px) {
	.dm-nav.wp-block-navigation,
	.dm-nav .wp-block-navigation__container { gap: clamp(12px, 2vw, 20px); }
	.dm-nav .wp-block-navigation-item__content { font-size: 0.6875rem; letter-spacing: 0.08em; }
	.dm-logo__word { font-size: 1.0625rem; }
	.dm-logo .dm-mark { width: 30px; height: 30px; }
}
