/* =========================================================================
   Voley PLT — Contact page
   One full black band, no hero: details on the left, the form panel right.
   Primitives (.voley-btn, .voley-eyebrow, .voley-sr …) live in base.css.

   A note on specificity: .voley-root sets a white canvas and an ink heading
   colour, and Formidable ships selectors as strong as
   `.frm_style_x.with_frm_style input[type=text]` (0,3,1). Rules that have to
   survive both are written as `.voley-root.voley-root …` — the class repeated
   on the *same* element, which is what doubles its weight.
   ========================================================================= */

/* Canvas ------------------------------------------------------------------
   .voley-root paints itself white; this page is the one place we take that
   back, so the band, the header above it and the drawer all read as one. */
.voley-root.voley-contact-root {
	background: var(--v-black);
	color: rgba(255, 255, 255, 0.7);
}

.voley-contact {
	position: relative;
	background: var(--v-black);
	/* A floor, not a viewport unit: 100vh looked right on a laptop but opened a
	   tall band of dead black on a big monitor. This keeps the band substantial
	   when a short form is swapped in without ever outrunning the content. */
	min-height: 640px;
	/* `clip`, not `hidden`: hidden would make this a scroll container, and a
	   scroll container ancestor kills position:sticky on the left column. */
	overflow: clip;
}

/* Two soft lights: warm behind the form, cool low on the copy. Purely
   decorative, so it sits under everything and ignores the pointer. */
.voley-contact::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(760px 500px at 88% -4%, rgba(246, 137, 30, 0.18), rgba(246, 137, 30, 0) 66%),
		radial-gradient(620px 460px at 2% 96%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 68%);
}

/* Hairline along the top edge, picking up the header's accent strap. */
.voley-contact::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(90deg, rgba(246, 137, 30, 0.5), rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0));
}

.voley-contact__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1.04fr;
	align-items: start;
	gap: 88px;
	/* Clears the fixed header on its own, so the page still reads correctly
	   if it is dropped under the overlay header variant. */
	padding-top: calc(var(--v-section) * 1.15);
	padding-bottom: var(--v-section);
}

/* Left column -------------------------------------------------------------
   Rides along while the form scrolls: the details stay on screen the whole
   way down a long form. `align-self: start` is what lets it move inside its
   grid area — a stretched grid item is already the full row height and has
   nowhere to travel. */
.voley-contact__info {
	position: sticky;
	top: calc(var(--v-header-h) + 28px);
	align-self: start;
	/* Hold the copy off the form panel on very wide screens. */
	max-width: 520px;
}

/* The admin bar sits above the fixed header, so push the offset down by its
   height for logged-in users — same treatment the header itself gets. */
.admin-bar .voley-contact__info {
	top: calc(var(--v-header-h) + 60px);
}

.voley-root.voley-root .voley-contact__title {
	margin-bottom: 18px;
	color: var(--v-white);
	font-family: var(--v-font-display);
	/* It is an <h1> for the document outline, but it sits at the h2 size so the
	   Contact page reads at the same scale as every other section heading. */
	font-size: var(--v-fs-h2);
	font-style: italic;
	font-weight: 800;
	letter-spacing: -0.004em;
	line-height: 1.12;
	text-transform: uppercase;
	text-wrap: balance;
}

.voley-contact__text {
	max-width: 46ch;
	margin-bottom: 42px;
	font-size: var(--v-fs-body);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.62);
}

/* Detail rows ------------------------------------------------------------- */
.voley-cdetails {
	display: grid;
	gap: 2px;
	margin-bottom: 44px;
}

.voley-cdetail {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.voley-cdetail:last-child {
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.voley-cdetail__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--v-r-sm);
	background: rgba(255, 255, 255, 0.04);
	color: var(--v-accent);
	transition: background-color 0.3s var(--v-ease), border-color 0.3s var(--v-ease);
}

.voley-cdetail:hover .voley-cdetail__icon {
	background: var(--v-accent-soft);
	border-color: rgba(246, 137, 30, 0.4);
}

.voley-cdetail__body {
	min-width: 0;
}

.voley-cdetail__label {
	display: block;
	margin-bottom: 5px;
	font-size: var(--v-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.42);
}

.voley-cdetail__value {
	display: block;
	font-size: var(--v-fs-body);
	font-weight: 600;
	line-height: 1.55;
	color: var(--v-white);
	transition: color 0.25s var(--v-ease);
}

a.voley-cdetail__value:hover {
	color: var(--v-accent);
}

/* Socials ----------------------------------------------------------------- */
.voley-contact__socials {
	display: flex;
	align-items: center;
	gap: 18px;
}

.voley-contact__slabel {
	font-size: var(--v-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.42);
}

.voley-csocials {
	display: flex;
	gap: 10px;
}

.voley-csocial {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.78);
	transition: background-color 0.25s var(--v-ease), border-color 0.25s var(--v-ease), color 0.25s var(--v-ease), transform 0.25s var(--v-ease);
}

.voley-csocial:hover {
	background: var(--v-accent);
	border-color: var(--v-accent);
	color: var(--v-white);
	transform: translateY(-2px);
}

/* Right column — form panel ----------------------------------------------- */
.voley-cpanel {
	position: relative;
	padding: 38px 36px 40px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
	box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}

/* Accent cap on the panel, echoing the band's top hairline. */
.voley-cpanel::before {
	content: "";
	position: absolute;
	left: 34px;
	right: 34px;
	top: -1px;
	height: 2px;
	border-radius: var(--v-r-pill);
	background: linear-gradient(90deg, var(--v-accent), rgba(246, 137, 30, 0));
}

.voley-cpanel__head {
	margin-bottom: 28px;
}

.voley-root.voley-root .voley-cpanel__title {
	margin-bottom: 8px;
	color: var(--v-white);
	font-family: var(--v-font-display);
	font-size: var(--v-fs-h2);
	font-style: italic;
	font-weight: 800;
	letter-spacing: -0.004em;
	line-height: 1.15;
	text-transform: uppercase;
}

.voley-cpanel__text {
	font-size: var(--v-fs-sm);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
}

.voley-cpanel__note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	font-size: var(--v-fs-xs);
	color: rgba(255, 255, 255, 0.45);
}

.voley-cpanel__note svg {
	flex: none;
	color: var(--v-accent);
}

/* Formidable, dark ---------------------------------------------------------
   Formidable prints its own light theme after this file, so every rule below
   is double-scoped to out-weigh it. Selectors are written against Formidable's
   markup *and* the bare controls, so a plain HTML form dropped in here picks
   up the same look. */
.voley-cform .frm_forms,
.voley-cform .with_frm_style {
	max-width: none;
	margin: 0;
}

/* Formidable wraps its fields in a <fieldset>, which every browser draws a
   groove border around by default. min-width:0 stops the legacy fieldset
   min-content sizing from blowing the grid column open. */
.voley-root.voley-root .voley-cform fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.voley-root.voley-root .voley-cform legend {
	padding: 0;
}

.voley-root.voley-root .voley-cform .frm_form_field {
	margin-bottom: 18px;
}

.voley-root.voley-root .voley-cform .frm_primary_label,
.voley-root.voley-root .voley-cform label {
	display: block;
	margin-bottom: 8px;
	padding: 0;
	font-family: var(--v-font-body);
	font-size: var(--v-fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.voley-root.voley-root .voley-cform .frm_required {
	color: var(--v-accent);
}

/* Controls ---------------------------------------------------------------- */
.voley-root.voley-root .voley-cform input[type="text"],
.voley-root.voley-root .voley-cform input[type="email"],
.voley-root.voley-root .voley-cform input[type="tel"],
.voley-root.voley-root .voley-cform input[type="url"],
.voley-root.voley-root .voley-cform input[type="number"],
.voley-root.voley-root .voley-cform input[type="password"],
.voley-root.voley-root .voley-cform input[type="search"],
.voley-root.voley-root .voley-cform input[type="date"],
.voley-root.voley-root .voley-cform textarea,
.voley-root.voley-root .voley-cform select {
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 48px;
	padding: 13px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 0.04);
	background-image: none;
	box-shadow: none;
	font-family: var(--v-font-body);
	font-size: var(--v-fs-sm);
	font-weight: 500;
	line-height: 1.5;
	color: var(--v-white);
	transition: border-color 0.25s var(--v-ease), background-color 0.25s var(--v-ease), box-shadow 0.25s var(--v-ease);
}

.voley-root.voley-root .voley-cform textarea {
	min-height: 132px;
	resize: vertical;
}

/* The arrow has to be drawn by hand once the native control is restyled. */
.voley-root.voley-root .voley-cform select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 42px;
	background-image:
		linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
	background-position: calc(100% - 22px) 51%, calc(100% - 16px) 51%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

/* The dropdown list itself is painted by the OS, so keep it readable. */
.voley-root.voley-root .voley-cform select option {
	background: var(--v-ink);
	color: var(--v-white);
}

.voley-root.voley-root .voley-cform input::placeholder,
.voley-root.voley-root .voley-cform textarea::placeholder {
	color: rgba(255, 255, 255, 0.34);
	opacity: 1;
}

.voley-root.voley-root .voley-cform input:focus,
.voley-root.voley-root .voley-cform textarea:focus,
.voley-root.voley-root .voley-cform select:focus {
	outline: none;
	border-color: var(--v-accent);
	background-color: rgba(255, 255, 255, 0.06);
	box-shadow: 0 0 0 3px rgba(246, 137, 30, 0.18);
}

/* Chrome paints autofilled fields solid white; repaint them with an inset
   shadow, which is the only property autofill honours. */
.voley-root.voley-root .voley-cform input:-webkit-autofill,
.voley-root.voley-root .voley-cform input:-webkit-autofill:hover,
.voley-root.voley-root .voley-cform input:-webkit-autofill:focus,
.voley-root.voley-root .voley-cform textarea:-webkit-autofill {
	-webkit-text-fill-color: var(--v-white);
	-webkit-box-shadow: 0 0 0 60px #131415 inset;
	caret-color: var(--v-white);
}

/* Checkboxes and radios --------------------------------------------------- */
.voley-root.voley-root .voley-cform input[type="checkbox"],
.voley-root.voley-root .voley-cform input[type="radio"] {
	width: 17px;
	min-height: 0;
	height: 17px;
	margin-right: 9px;
	padding: 0;
	accent-color: var(--v-accent);
}

.voley-root.voley-root .voley-cform .frm_checkbox label,
.voley-root.voley-root .voley-cform .frm_radio label {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	font-size: var(--v-fs-sm);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(255, 255, 255, 0.72);
}

/* Helper and error text --------------------------------------------------- */
.voley-root.voley-root .voley-cform .frm_description {
	margin-top: 6px;
	font-size: var(--v-fs-xs);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.42);
}

.voley-root.voley-root .voley-cform .frm_error {
	margin-top: 6px;
	font-size: var(--v-fs-xs);
	font-weight: 600;
	color: #ff8f6b;
}

.voley-root.voley-root .voley-cform .frm_blank_field input,
.voley-root.voley-root .voley-cform .frm_blank_field textarea,
.voley-root.voley-root .voley-cform .frm_blank_field select {
	border-color: rgba(255, 143, 107, 0.65);
}

.voley-root.voley-root .voley-cform .frm_error_style {
	margin-bottom: 20px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 143, 107, 0.4);
	border-radius: 10px;
	background: rgba(255, 143, 107, 0.1);
	font-size: var(--v-fs-sm);
	color: #ffb9a1;
}

.voley-root.voley-root .voley-cform .frm_message,
.voley-root.voley-root .voley-cform .frm_success_style {
	padding: 16px 18px;
	border: 1px solid rgba(246, 137, 30, 0.35);
	border-radius: 10px;
	background: rgba(246, 137, 30, 0.1);
	font-size: var(--v-fs-sm);
	color: rgba(255, 255, 255, 0.86);
}

.voley-root.voley-root .voley-cform .frm_message p {
	color: inherit;
}

/* Submit ------------------------------------------------------------------ */
.voley-root.voley-root .voley-cform .frm_submit {
	margin: 24px 0 0;
}

.voley-root.voley-root .voley-cform .frm_submit button,
.voley-root.voley-root .voley-cform button[type="submit"],
.voley-root.voley-root .voley-cform input[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	min-height: 0;
	padding: 0 26px;
	border: 0;
	border-radius: var(--v-r-pill);
	background: var(--v-accent);
	box-shadow: none;
	font-family: var(--v-font-display);
	font-size: var(--v-fs-sm);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--v-white);
	cursor: pointer;
	transition: background-color 0.25s var(--v-ease), transform 0.25s var(--v-ease);
}

.voley-root.voley-root .voley-cform .frm_submit button:hover,
.voley-root.voley-root .voley-cform button[type="submit"]:hover,
.voley-root.voley-root .voley-cform input[type="submit"]:hover {
	background: var(--v-accent-ink);
	transform: translateY(-1px);
}

/* Formidable's loading state dims the button; keep it from also shrinking. */
.voley-root.voley-root .voley-cform .frm_submit button[disabled] {
	opacity: 0.6;
	transform: none;
	cursor: default;
}

/* No Formidable installed ------------------------------------------------- */
.voley-cfallback p {
	margin-bottom: 18px;
	font-size: var(--v-fs-sm);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
}

.voley-cfallback__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1180px) {
	.voley-contact__inner {
		gap: 54px;
	}
}

@media (max-width: 980px) {
	.voley-contact__inner {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	/* Stacked now, so sticking would park the details on top of the form. */
	.voley-contact__info,
	.admin-bar .voley-contact__info {
		position: static;
		max-width: 620px;
	}
}

@media (max-width: 640px) {
	.voley-contact__inner {
		padding-top: calc(var(--v-section) + 12px);
	}

	.voley-cpanel {
		padding: 30px 22px 32px;
		border-radius: 18px;
	}

	.voley-cpanel::before {
		left: 22px;
		right: 22px;
	}

	.voley-contact__socials {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}
