/*
Theme Name: Wiley Films
Theme URI: https://wileyfilms.ca
Author: Stephen Wiley
Author URI: https://wileyfilms.ca
Description: A cinematic block theme for Wiley Films — wedding and engagement videography by Stephen Wiley. Playfair Display and Open Sans on ink and gold, built for full-bleed photography and film.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wiley-films
Tags: one-column, wide-blocks, custom-logo, editor-style, block-patterns, block-styles, full-site-editing, template-editing, portfolio, photography
*/

/* -------------------------------------------------------------------------
   0. Base
   ------------------------------------------------------------------------- */

:root {
	--wf-ease: cubic-bezier(0.2, 0.65, 0.2, 1);
	--wf-hairline-dark: rgba(255, 255, 255, 0.08);
	--wf-hairline-light: rgba(21, 21, 21, 0.1);
}

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

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

:focus-visible {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 3px;
}

::selection {
	background: var(--wp--preset--color--champagne);
	color: var(--wp--preset--color--ink);
}

h1, h2, h3, h4 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Root-level blocks (header part, main, footer part) sit flush against each other. */
.wp-site-blocks > * {
	margin-block-start: 0;
}

.wp-block-post-content > :first-child {
	margin-block-start: 0;
}

/* Full-bleed sections stack without a paper gap between them. */
.wp-block-post-content > .alignfull + .alignfull {
	margin-block-start: 0;
}

/* -------------------------------------------------------------------------
   1. Dark surfaces
   ------------------------------------------------------------------------- */

.has-ink-background-color :is(h1, h2, h3, h4, h5, h6):not(.has-text-color),
.has-ink-raised-background-color :is(h1, h2, h3, h4, h5, h6):not(.has-text-color),
.wp-block-cover:not(.is-light) :is(h1, h2, h3, h4, h5, h6):not(.has-text-color) {
	color: var(--wp--preset--color--white);
}

.has-ink-background-color :where(a:not(.wp-block-button__link):not(.wp-block-navigation-item__content)),
.has-ink-raised-background-color :where(a:not(.wp-block-button__link):not(.wp-block-navigation-item__content)),
.wp-block-cover :where(a:not(.wp-block-button__link)) {
	color: var(--wp--preset--color--champagne);
}

.has-ink-background-color :where(a:not(.wp-block-button__link):not(.wp-block-navigation-item__content)):hover,
.has-ink-raised-background-color :where(a:not(.wp-block-button__link):not(.wp-block-navigation-item__content)):hover {
	color: var(--wp--preset--color--white);
}

.has-ink-background-color .wp-block-separator:not(.is-style-gold-rule),
.has-ink-raised-background-color .wp-block-separator:not(.is-style-gold-rule) {
	border-color: var(--wf-hairline-dark);
}

/* -------------------------------------------------------------------------
   2. The Wiley Films headline device: eyebrow / Playfair headline / gold rule
   ------------------------------------------------------------------------- */

.wf-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	line-height: 1.6;
	color: inherit;
	opacity: 0.8;
}

.wp-block-cover .wf-eyebrow,
.has-ink-background-color .wf-eyebrow,
.has-ink-raised-background-color .wf-eyebrow {
	color: var(--wp--preset--color--champagne);
	opacity: 1;
}

/* Tighten the gap between an eyebrow and the headline it introduces. */
.is-layout-constrained > .wf-eyebrow + *,
.is-layout-flow > .wf-eyebrow + * {
	margin-block-start: 0.85rem;
}

/* The gold rule. The <hr> spans the column so the painted segment can sit
   flush left under left-aligned headlines, or centred after centred ones. */
.wp-block-separator.is-style-gold-rule {
	border: 0;
	width: 100%;
	max-width: 100%;
	height: var(--wp--custom--rule--thickness);
	background: linear-gradient(currentColor, currentColor) 0 0 / var(--wp--custom--rule--width) 100% no-repeat;
	color: var(--wp--preset--color--gold);
	opacity: 1;
	margin-block: 1.6rem;
}

.has-text-align-center + .wp-block-separator.is-style-gold-rule,
.wf-center .wp-block-separator.is-style-gold-rule {
	background-position: 50% 0;
}

.wp-block-separator.is-style-gold-rule + p,
.wp-block-separator.is-style-gold-rule + .wp-block-buttons {
	margin-block-start: 0;
}

/* -------------------------------------------------------------------------
   3. Hero
   ------------------------------------------------------------------------- */

.wf-hero {
	overflow: hidden;
}

.wf-hero .wp-block-cover__inner-container {
	width: 100%;
}

.wf-hero .wp-block-heading {
	max-width: 17ch;
	margin-inline: auto;
}

.wf-hero .wp-block-cover__image-background {
	transform-origin: 50% 40%;
	animation: wf-hero-settle 2.6s var(--wf-ease) both;
}

/* Animate the copy group, not the inner container: a transformed inner container would
   become the containing block for the absolutely positioned scroll cue and reel. */
.wf-hero .wf-hero__content {
	animation: wf-rise 1.3s 0.25s var(--wf-ease) both;
}

@keyframes wf-hero-settle {
	from { transform: scale(1.06); }
	to   { transform: none; }
}

@keyframes wf-rise {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: none; }
}

/* Hero copy sits above the scrim; the reel sits between the photo and the scrim. */
.wf-hero__content {
	position: relative;
	z-index: 2;
}

.wf-hero--reel .wp-block-cover__inner-container {
	position: static;
}

.wf-reel {
	position: absolute;
	left: 50%;
	right: auto;
	top: 0;
	bottom: 0;
	width: 100vw;
	height: 100%;
	transform: translateX(-50%);
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity 2s ease;
	max-width: none;
}

.wf-reel.is-ready {
	opacity: 1;
}

.wf-reel iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-width: 177.78vh;
	min-height: 100vh;
	transform: translate(-50%, -50%);
	border: 0;
}

@supports (height: 100svh) {
	.wf-hero--home {
		min-height: 100svh !important;
	}
}

/* Scroll cue at the foot of the home hero */
.wf-scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 1.75rem;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	color: var(--wp--preset--color--champagne);
	text-decoration: none;
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}

.wf-scroll-cue::after {
	content: "";
	width: 1px;
	height: 3.25rem;
	background: linear-gradient(to bottom, var(--wp--preset--color--champagne), transparent);
	transform-origin: top;
	animation: wf-cue 2.6s var(--wf-ease) infinite;
}

@keyframes wf-cue {
	0%   { transform: scaleY(0); opacity: 0; }
	35%  { opacity: 1; }
	100% { transform: scaleY(1); opacity: 0; }
}

/* Closing invitation band */
.wf-invite .wp-block-heading {
	max-width: 18ch;
}

/* Header floats over the opening hero (class set by wiley-films.js) */
.wf-has-hero .wf-header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	background-color: transparent !important;
	border-bottom-color: transparent;
	transition: background-color 0.5s var(--wf-ease), border-color 0.5s var(--wf-ease);
}

.wf-has-hero.wf-scrolled .wf-header {
	background-color: rgba(21, 21, 21, 0.96) !important;
	border-bottom-color: var(--wf-hairline-dark);
}

.wf-has-hero .wp-block-post-content > .wf-hero:first-child {
	padding-top: calc(var(--wp--preset--spacing--70) + var(--wp--custom--header-height)) !important;
}

/* Reveal on scroll (only when JS is running and motion is allowed) */
.wf-js:not(.wf-reduced) .wf-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 1s ease var(--wf-d, 0ms), transform 1.1s var(--wf-ease) var(--wf-d, 0ms);
}

.wf-js:not(.wf-reduced) .wf-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* -------------------------------------------------------------------------
   4. Posters and tiles
   ------------------------------------------------------------------------- */

.wf-tile {
	overflow: hidden;
	isolation: isolate;
}

@media (max-width: 781px) {
	.wf-poster {
		min-height: 420px !important;
	}
}

.wf-tile .wp-block-cover__inner-container {
	position: static;
}

.wf-tile .wp-block-cover__image-background {
	transition: transform 1.6s var(--wf-ease);
}

.wf-tile:hover .wp-block-cover__image-background,
.wf-tile:focus-within .wp-block-cover__image-background {
	transform: scale(1.05);
}

.wf-tile .wp-block-heading a {
	color: inherit;
	text-decoration: none;
}

.wf-tile .wp-block-heading a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.wf-tile .wp-block-heading a:focus-visible {
	outline: none;
}

.wf-tile:focus-within {
	outline: 2px solid var(--wp--preset--color--gold);
	outline-offset: 4px;
}

.wf-tile .wf-eyebrow {
	transition: color 0.6s var(--wf-ease);
}

.wf-tile:hover .wf-eyebrow {
	color: var(--wp--preset--color--white);
}

/* -------------------------------------------------------------------------
   5. Video frames, cards, projects
   ------------------------------------------------------------------------- */

.wf-row .wp-block-embed,
.wf-row .wf-embed,
.wf-cinema .wp-block-embed,
.wf-cinema .wf-embed,
.wf-card .wp-block-embed {
	margin: 0;
}

.wp-block-embed__wrapper,
.wf-embed {
	background: #0b0b0b;
}

.wf-row .wp-block-embed__wrapper,
.wf-row .wf-embed,
.wf-cinema .wp-block-embed__wrapper,
.wf-cinema .wf-embed,
.wf-card .wp-block-embed__wrapper {
	box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.55);
}

.has-ink-background-color .wp-block-embed__wrapper,
.has-ink-background-color .wf-embed {
	box-shadow: 0 0 0 1px var(--wf-hairline-dark), 0 50px 90px -50px rgba(0, 0, 0, 0.9);
}

.wp-block-embed iframe {
	display: block;
}

.wf-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
}

.wf-embed > iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* YouTube facade (built by wiley-films.js): poster + play until the visitor asks for the player. */
.wf-lite {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #0b0b0b;
	cursor: pointer;
	overflow: hidden;
}

.wf-lite img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.88;
	transition: opacity 0.8s var(--wf-ease), transform 1.6s var(--wf-ease);
}

.wf-lite:hover img,
.wf-lite:focus-visible img {
	opacity: 1;
	transform: scale(1.03);
}

.wf-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 4.5rem;
	height: 4.5rem;
	transform: translate(-50%, -50%);
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 50%;
	background: rgba(21, 21, 21, 0.35);
	transition: background-color 0.4s var(--wf-ease), transform 0.6s var(--wf-ease);
}

.wf-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	border-left: 1.1rem solid var(--wp--preset--color--gold);
	border-top: 0.65rem solid transparent;
	border-bottom: 0.65rem solid transparent;
}

.wf-lite:hover .wf-play,
.wf-lite:focus-visible .wf-play {
	background: rgba(21, 21, 21, 0.6);
	transform: translate(-50%, -50%) scale(1.06);
}

/* Film cards in the gallery grid */
.wf-card .wp-block-embed {
	margin-bottom: 1.75rem;
}

.wf-card .wp-block-embed__wrapper {
	transition: transform 0.9s var(--wf-ease);
}

.wf-card:hover .wp-block-embed__wrapper {
	transform: translateY(-4px);
}

.wf-card .wp-block-heading {
	max-width: 22ch;
}

.wf-card > p:not(.wf-eyebrow) {
	max-width: 58ch;
}

/* Corporate projects */
.wf-project .wp-block-columns .wp-block-column > p:not(.wf-eyebrow) {
	max-width: 60ch;
}

/* Copy next to a video or photo stays readable */
.wf-row .wp-block-column > p {
	max-width: 46ch;
}

/* Photos */
.wf-photo img {
	display: block;
	width: 100%;
	height: auto;
}

/* Hairline separators (full width of their container) */
hr.wp-block-separator.wf-hairline.has-alpha-channel-opacity {
	width: 100%;
	max-width: none;
	height: 0;
	border: 0;
	border-top: 1px solid var(--wf-hairline-light);
	opacity: 1;
	margin-block: 0;
}

.has-ink-background-color hr.wp-block-separator.wf-hairline.has-alpha-channel-opacity,
.wp-block-cover hr.wp-block-separator.wf-hairline.has-alpha-channel-opacity {
	border-top-color: var(--wf-hairline-dark);
}

/* Services strip */
.wf-services .wp-block-column > .wf-hairline {
	margin-bottom: 1.75rem;
}

.wf-services .wp-block-column > p:not(.wf-eyebrow):not(.wf-textlink) {
	max-width: 36ch;
}

.wf-textlink a {
	display: inline-block;
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	padding-bottom: 0.3rem;
	border-bottom: 1px solid var(--wp--preset--color--gold);
	transition: color 0.3s var(--wf-ease), border-color 0.3s var(--wf-ease);
}

.wf-textlink a:hover {
	color: var(--wp--preset--color--gold-deep);
	border-color: var(--wp--preset--color--gold-deep);
}

/* Livestream packages */
.wf-package {
	border: 1px solid var(--wf-hairline-dark);
}

/* Pull quote */
.wf-pullquote {
	margin: 0 auto;
	text-align: center;
}

.wf-pullquote blockquote {
	max-width: 30ch;
	margin-inline: auto;
}

.wf-pullquote blockquote p {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(1.625rem, 1.1rem + 2.2vw, 3rem);
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.wf-pullquote cite {
	display: block;
	margin-top: 1.75rem;
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 400;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--wp--preset--color--champagne);
}

.wf-pullquote.has-ink-color cite {
	color: var(--wp--preset--color--graphite);
}

/* -------------------------------------------------------------------------
   6. Header
   ------------------------------------------------------------------------- */

.wf-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--wf-hairline-dark);
	/* No filter/transform here: they would trap the fixed-position mobile menu overlay inside the header. */
}

.wf-header .wp-block-site-logo {
	line-height: 0;
}

.wf-header .wp-block-site-logo img {
	height: 1.7rem;
	width: auto;
	max-width: none;
}

.wf-header .wp-block-navigation .wp-block-navigation-item__content {
	position: relative;
	padding-block: 0.45rem;
}

.wf-header .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--wp--preset--color--gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.45s var(--wf-ease);
}

.wf-header .wp-block-navigation-item__content[aria-current="page"]::after,
.wf-header .wp-block-navigation-item__content:hover::after {
	transform: scaleX(1);
}

/* Mobile overlay menu: left-aligned, roomy, one item per line. */
.wf-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 5.5rem clamp(1.5rem, 8vw, 3rem) 2.5rem;
}

.wf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start;
	justify-content: flex-start;
}

.wf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 1.5rem;
}

.wf-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
	bottom: -0.2rem;
}

.wf-header .wp-block-navigation__responsive-container-close {
	top: 1.1rem;
	right: clamp(1.25rem, 6vw, 2rem);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.5rem;
	letter-spacing: 0.1em;
	text-transform: none;
}

.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	padding: 0.25rem;
}

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

/* -------------------------------------------------------------------------
   7. Footer
   ------------------------------------------------------------------------- */

.wf-footer {
	border-top: 1px solid var(--wf-hairline-dark);
}

.wf-footer__brand {
	max-width: 24rem;
}

.wf-footer .wp-block-site-logo {
	line-height: 0;
}

.wf-footer .wp-block-site-logo img {
	width: min(360px, 70vw);
	height: auto;
	max-width: none;
	opacity: 0.95;
}

.wf-footer .wf-footer__brand .wf-eyebrow {
	color: var(--wp--preset--color--silver);
	opacity: 1;
}

.wf-footer__nav {
	font-size: 0.75rem;
	letter-spacing: 0.24em;
	text-align: right;
}

.wf-footer__nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--silver);
	padding-block: 0.15rem;
}

.wf-footer__nav .wp-block-navigation-item__content:hover,
.wf-footer__nav .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--white);
}

.wf-footer__meta {
	row-gap: 0.5rem;
}

.wf-footer-meta {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.02em;
	margin: 0;
}

.wf-footer-meta a {
	color: var(--wp--preset--color--silver);
	text-decoration: none;
	border-bottom: 1px solid var(--wf-hairline-dark);
}

.wf-footer-meta a:hover {
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--gold);
}

@media (max-width: 781px) {
	.wf-footer__nav {
		text-align: left;
	}
	.wf-footer__nav .wp-block-navigation__container {
		align-items: flex-start !important;
	}
}

/* -------------------------------------------------------------------------
   8. Buttons
   ------------------------------------------------------------------------- */

.wp-element-button,
.wp-block-button__link {
	transition: background-color 0.35s var(--wf-ease), border-color 0.35s var(--wf-ease), color 0.35s var(--wf-ease);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border-width: 1px;
	padding: 1.1em 2.2em;
	background: transparent;
	color: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	border-color: var(--wp--preset--color--ink);
}

.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--white);
	border-color: rgba(255, 255, 255, 0.45);
}

.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.has-ink-background-color .wp-block-button.is-style-outline > .wp-block-button__link:focus,
.wp-block-cover .wp-block-button.is-style-outline > .wp-block-button__link:focus {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--white);
}

/* -------------------------------------------------------------------------
   9. Lists, quotes, misc content
   ------------------------------------------------------------------------- */

.wf-details li {
	padding-block: 0.55rem;
	border-bottom: 1px solid var(--wf-hairline-dark);
}

.wf-details li::marker {
	color: var(--wp--preset--color--gold);
}

.wf-details {
	list-style: none;
	padding-left: 0;
}

.wf-details li {
	position: relative;
	padding-left: 1.5rem;
}

.wf-details li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.25rem;
	width: 0.6rem;
	height: 1px;
	background: var(--wp--preset--color--gold);
}

.wf-price {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--subtitle);
	color: var(--wp--preset--color--white);
	line-height: 1.1;
}

.wf-note {
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.8;
}

.wf-lede {
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: var(--wp--preset--font-size--subtitle);
	line-height: 1.35;
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.005em;
}

.wp-block-pullquote blockquote p {
	font-size: inherit;
	line-height: inherit;
}

.wp-block-pullquote cite {
	font-family: var(--wp--preset--font-family--body);
	font-style: normal;
	font-size: var(--wp--preset--font-size--eyebrow);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* Title bands used by the page-with-title / single / archive templates */
.wf-title-band .wp-block-post-title,
.wf-title-band .wp-block-query-title {
	color: var(--wp--preset--color--white);
}

.wf-title-band .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

/* Post list */
.wf-post-list .wp-block-post {
	padding-block: var(--wp--preset--spacing--40);
	border-bottom: 1px solid var(--wf-hairline-light);
}

.wf-post-list .wp-block-post-title a {
	text-decoration: none;
}

.wf-post-list .wp-block-post-title a:hover {
	color: var(--wp--preset--color--gold-deep);
}

/* -------------------------------------------------------------------------
   10. WPForms (contact form)
   ------------------------------------------------------------------------- */

.wpforms-container-full .wpforms-form .wpforms-field {
	padding: 0;
	margin-bottom: 1.6rem;
}

.wpforms-container-full .wpforms-form .wpforms-field-label {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink);
	margin: 0 0 0.45rem;
}

.wpforms-container-full .wpforms-form .wpforms-required-label {
	color: var(--wp--preset--color--gold-deep);
}

.wpforms-container-full .wpforms-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea) {
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	padding: 0.8rem 0.1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
	background: transparent;
	border: 0;
	border-bottom: 1px solid #BDBDBD;
	border-radius: 0;
	box-shadow: none;
	transition: border-color 0.3s var(--wf-ease);
}

.wpforms-container-full .wpforms-form :is(input, select, textarea):focus {
	outline: none;
	border-bottom-color: var(--wp--preset--color--gold);
	box-shadow: none;
}

.wpforms-container-full .wpforms-form textarea {
	min-height: 8rem;
	resize: vertical;
}

.wpforms-container-full .wpforms-form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%235E5E5E' stroke-width='1.2' d='M2 5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.25rem center;
	padding-right: 1.75rem;
}

.wpforms-container-full .wpforms-form .wpforms-submit-container {
	padding-top: 0.5rem;
}

.wpforms-container-full .wpforms-form button[type="submit"],
.wpforms-container-full .wpforms-form .wpforms-submit {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--gold);
	border: 1px solid var(--wp--preset--color--gold);
	border-radius: 2px;
	padding: 1.1em 2.2em;
	height: auto;
	cursor: pointer;
	transition: background-color 0.35s var(--wf-ease), border-color 0.35s var(--wf-ease);
}

.wpforms-container-full .wpforms-form button[type="submit"]:hover,
.wpforms-container-full .wpforms-form .wpforms-submit:hover {
	background: var(--wp--preset--color--champagne);
	border-color: var(--wp--preset--color--champagne);
	color: var(--wp--preset--color--ink);
}

.wpforms-container-full .wpforms-form .wpforms-error,
.wpforms-container-full .wpforms-form label.wpforms-error {
	font-size: var(--wp--preset--font-size--small);
	color: #9b2c2c;
	margin-top: 0.35rem;
}

.wpforms-container-full .wpforms-confirmation-container-full {
	background: transparent;
	border: 1px solid var(--wp--preset--color--gold);
	padding: var(--wp--preset--spacing--30);
}

/* -------------------------------------------------------------------------
   11. Motion & print
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

@media print {
	.wf-header,
	.wf-footer {
		position: static;
		background: #fff !important;
	}
	.wp-block-cover {
		min-height: 0 !important;
	}
}

/* Home hero: fit entirely within 100vh — content centers,
   cue docks at the bottom in natural flow. */
.wf-hero--home.wp-block-cover {
	min-height: 100vh !important;
	min-height: 100dvh !important;
	height: 100vh;
	height: 100dvh;
	padding-top: clamp(4rem, 6vh, 5.5rem) !important;
	padding-bottom: 1.5rem !important;
}
.wf-hero--home .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 0;
	min-height: 0;
}
.wf-hero--home .wf-hero__content {
	margin: auto 0 !important;
}
.wf-hero--home .wf-hero__content h1 {
	font-size: clamp(40px, 6vw, 84px) !important;
	line-height: 1.03 !important;
}
.wf-hero--home .wf-scroll-cue {
	position: static !important;
	left: auto !important;
	bottom: auto !important;
	transform: none !important;
	margin: 1.5rem 0 0 !important;
}
@media (max-width: 640px) {
	.wf-hero--home .wf-scroll-cue { margin-top: 1rem !important; }
}
