/* =====================================================================
   Slide Contact Form
   Six layouts: .scf-wrap--l1 … .scf-wrap--l6
   Restyle by overriding the custom properties on .scf-wrap in your theme,
   e.g. .scf-wrap { --scf-button: #1e3a8a; }
   ===================================================================== */

.scf-wrap {
	--scf-ink: #0a0a0a;
	--scf-button: #0a0a0a;
	--scf-button-hover: #262626;
	--scf-muted: #71717a;
	--scf-line: #e4e4e7;
	--scf-line-hover: #d4d4d8;
	--scf-fill: #f4f4f5;
	--scf-bg: #fff;
	--scf-success: #16a34a;
	--scf-error: #dc2626;
	--scf-radius: 10px;
	--scf-handle: 44px;
	--scf-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--scf-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

	color: var(--scf-ink);
	font-size: 15px;
	line-height: 1.5;
	margin: 0 0 2rem;
}

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

/* Header */
.scf-wrap .scf-title {
	margin: 0 0 .4rem;
	padding: 0;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.025em;
	color: inherit;
}
.scf-wrap .scf-intro {
	margin: 0 0 1.75rem;
	color: var(--scf-muted);
}
.scf-wrap .scf-details {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Form grid */
.scf-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.15rem;
	max-width: 640px;
	margin: 0;
}
.scf-form > * {
	grid-column: 1 / -1;
}

/* Fields */
.scf-field {
	position: relative;
	display: grid;
	gap: .4rem;
	margin: 0;
}
.scf-field label {
	margin: 0;
	font-size: .85rem;
	font-weight: 500;
	color: var(--scf-ink);
}
.scf-req {
	color: var(--scf-muted);
}
.scf-optional {
	color: var(--scf-muted);
	font-weight: 400;
}
.scf-wrap .scf-field input,
.scf-wrap .scf-field textarea {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	padding: .8rem .95rem;
	border: 1px solid var(--scf-line);
	border-radius: var(--scf-radius);
	background: var(--scf-bg);
	box-shadow: none;
	font: inherit;
	line-height: 1.4;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.scf-wrap .scf-field textarea {
	min-height: 9rem;
	resize: vertical;
}
.scf-wrap .scf-field input::placeholder,
.scf-wrap .scf-field textarea::placeholder {
	color: transparent;
}
.scf-wrap .scf-field input:hover,
.scf-wrap .scf-field textarea:hover {
	border-color: var(--scf-line-hover);
}
.scf-wrap .scf-field input:focus,
.scf-wrap .scf-field textarea:focus {
	outline: none;
	border-color: var(--scf-ink);
	box-shadow: 0 0 0 3px rgba(10, 10, 10, .08);
}
.scf-wrap .scf-field--invalid input,
.scf-wrap .scf-field--invalid textarea {
	border-color: var(--scf-error);
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .1);
}
.scf-error {
	font-size: .8rem;
	color: var(--scf-error);
}
.scf-error:empty {
	display: none;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.scf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Floating labels (layouts 1 and 4) */
.scf-float .scf-field label {
	position: absolute;
	left: .95rem;
	top: 1.2rem;
	z-index: 1;
	line-height: 1;
	font-size: .95rem;
	font-weight: 400;
	color: var(--scf-muted);
	pointer-events: none;
	transform-origin: left top;
	transition: transform .15s, color .15s;
}
.scf-wrap .scf-float .scf-field input,
.scf-wrap .scf-float .scf-field textarea {
	padding-top: 1.65rem;
	padding-bottom: .45rem;
}
.scf-float .scf-field:focus-within label,
.scf-float .scf-field:has(input:not(:placeholder-shown), textarea:not(:placeholder-shown)) label {
	transform: translateY(-.7rem) scale(.75);
	color: var(--scf-ink);
	font-weight: 500;
}

/* ---------------------------------------------------------------------
   Slider
   --------------------------------------------------------------------- */
.scf-slider-track {
	position: relative;
	height: calc(var(--scf-handle) + 8px);
	border-radius: 999px;
	background: var(--scf-fill);
	border: 1px solid var(--scf-line);
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
}
.scf-slider-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: rgba(10, 10, 10, .07);
	transition: width .35s cubic-bezier(.2, .8, .2, 1), background-color .3s;
}
.scf-slider-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 calc(var(--scf-handle) + 16px);
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	color: var(--scf-muted);
	pointer-events: none;
	transition: opacity .2s;
}
.scf-slider[data-state="locked"] .scf-slider-label,
.scf-slider[data-state="checking"] .scf-slider-label {
	background: linear-gradient(90deg, var(--scf-muted) 40%, var(--scf-ink) 50%, var(--scf-muted) 60%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: scf-shine 2.6s linear infinite;
}
.scf-slider-handle {
	position: absolute;
	top: 3px;
	left: 3px;
	width: var(--scf-handle);
	height: var(--scf-handle);
	border-radius: 999px;
	background: var(--scf-ink);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: grab;
	touch-action: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 4px 12px -2px rgba(0, 0, 0, .25);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), background-color .3s;
}
.scf-slider--dragging .scf-slider-handle {
	cursor: grabbing;
}
.scf-icon-check {
	display: none;
}
.scf-slider[data-state="checking"] .scf-slider-handle {
	cursor: progress;
	animation: scf-pulse .9s ease-in-out infinite;
}
.scf-slider[data-state="unlocked"] .scf-slider-handle {
	background: var(--scf-success);
	cursor: default;
}
.scf-slider[data-state="unlocked"] .scf-slider-fill {
	background: rgba(22, 163, 74, .12);
}
.scf-slider[data-state="unlocked"] .scf-slider-label {
	color: var(--scf-success);
	padding: 0 calc(var(--scf-handle) + 16px) 0 16px;
}
.scf-slider[data-state="unlocked"] .scf-icon-arrow {
	display: none;
}
.scf-slider[data-state="unlocked"] .scf-icon-check {
	display: inline;
}
@media (max-width: 420px) {
	.scf-slider-label { font-size: .8rem; padding-right: 12px; }
}
@keyframes scf-shine {
	from { background-position: 100% 0; }
	to { background-position: -150% 0; }
}
@keyframes scf-pulse {
	50% { opacity: .6; }
}

/* ---------------------------------------------------------------------
   Send button (black)
   --------------------------------------------------------------------- */
.scf-wrap .scf-submit {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	width: auto;
	height: 50px;
	margin: 0;
	padding: 0 1.6rem;
	border: 0;
	border-radius: var(--scf-radius);
	background: var(--scf-button);
	color: #fff;
	font: inherit;
	font-weight: 600;
	letter-spacing: -.005em;
	text-transform: none;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, color .2s, transform .1s, box-shadow .15s;
}
.scf-wrap .scf-submit::after {
	content: "→";
	transition: transform .2s, opacity .2s;
}
.scf-wrap .scf-submit:hover:not(:disabled) {
	background: var(--scf-button-hover);
	color: #fff;
}
.scf-wrap .scf-submit:hover:not(:disabled)::after {
	transform: translateX(3px);
}
.scf-wrap .scf-submit:active:not(:disabled) {
	transform: translateY(1px);
}
.scf-wrap .scf-submit:focus-visible {
	outline: 2px solid var(--scf-ink);
	outline-offset: 3px;
}
/* Stays black while locked; only the text dims. */
.scf-wrap .scf-submit:disabled {
	background: var(--scf-button);
	color: rgba(255, 255, 255, .4);
	cursor: not-allowed;
}
.scf-wrap .scf-submit:disabled::after {
	opacity: .4;
}

.scf-status {
	font-size: .9rem;
}
.scf-status:empty {
	display: none;
}
.scf-status--error {
	color: var(--scf-error);
}
.scf-status--success {
	color: var(--scf-success);
	font-weight: 500;
}

/* =====================================================================
   1 · Minimal line
   ===================================================================== */
.scf-wrap--l1 .scf-card {
	max-width: 760px;
}
.scf-wrap--l1 .scf-form {
	max-width: none;
	grid-template-columns: repeat(var(--scf-contact-cols, 3), 1fr);
	column-gap: 2rem;
	row-gap: 1.75rem;
}
.scf-wrap--l1 .scf-form > .scf-field--contact {
	grid-column: auto;
}
.scf-wrap--l1 .scf-field input,
.scf-wrap--l1 .scf-field textarea {
	border-width: 0 0 1px;
	border-radius: 0;
	padding-left: 0;
	padding-right: 0;
	background: transparent;
}
.scf-wrap--l1 .scf-field label {
	left: 0;
}
.scf-wrap--l1 .scf-field textarea {
	min-height: 6rem;
}
.scf-wrap--l1 .scf-field input:focus,
.scf-wrap--l1 .scf-field textarea:focus {
	border-bottom-color: var(--scf-ink);
	box-shadow: 0 1px 0 var(--scf-ink);
}
.scf-wrap--l1 .scf-slider-track {
	background: transparent;
}
.scf-wrap--l1 .scf-submit {
	border-radius: 999px;
	padding: 0 2rem;
}
@media (max-width: 640px) {
	.scf-wrap--l1 .scf-form { grid-template-columns: 1fr; }
}

/* =====================================================================
   2 · Soft card
   ===================================================================== */
.scf-wrap--l2 .scf-card {
	max-width: 680px;
	margin: 0 auto;
	padding: 44px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 60px -16px rgba(0, 0, 0, .14);
}
.scf-wrap--l2 .scf-field input,
.scf-wrap--l2 .scf-field textarea {
	background: var(--scf-fill);
	border-color: transparent;
	border-radius: 12px;
}
.scf-wrap--l2 .scf-field input:hover,
.scf-wrap--l2 .scf-field textarea:hover {
	border-color: transparent;
	background: #ededef;
}
.scf-wrap--l2 .scf-field input:focus,
.scf-wrap--l2 .scf-field textarea:focus {
	background: #fff;
	border-color: var(--scf-ink);
}
.scf-wrap--l2 .scf-slider-track {
	border-color: transparent;
}
.scf-wrap--l2 .scf-submit {
	justify-self: stretch;
	height: 54px;
	border-radius: 12px;
}
@media (max-width: 640px) {
	.scf-wrap--l2 .scf-card { padding: 28px 20px; }
}

/* Two-column field grid shared by layouts 2, 3 and 5 */
.scf-wrap--l2 .scf-form,
.scf-wrap--l3 .scf-form,
.scf-wrap--l5 .scf-form {
	max-width: none;
	grid-template-columns: 1fr 1fr;
}
.scf-wrap--l2 .scf-form > .scf-field--contact,
.scf-wrap--l2 .scf-form > .scf-field--subject:not(.scf-field--wide),
.scf-wrap--l3 .scf-form > .scf-field--contact,
.scf-wrap--l3 .scf-form > .scf-field--subject:not(.scf-field--wide),
.scf-wrap--l5 .scf-form > .scf-field--contact,
.scf-wrap--l5 .scf-form > .scf-field--subject:not(.scf-field--wide) {
	grid-column: auto;
}
@media (max-width: 560px) {
	.scf-wrap--l2 .scf-form,
	.scf-wrap--l3 .scf-form,
	.scf-wrap--l5 .scf-form { grid-template-columns: 1fr; }
}

/* =====================================================================
   3 · Split panel
   ===================================================================== */
.scf-wrap--l3 .scf-card {
	display: grid;
	grid-template-columns: 5fr 7fr;
	background: #fff;
	border: 1px solid var(--scf-line);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .18);
}
.scf-wrap--l3 .scf-card--no-header {
	grid-template-columns: 1fr;
}
.scf-wrap--l3 .scf-header {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 48px 40px;
	background: #0a0a0a;
	color: #fff;
}
.scf-wrap--l3 .scf-header::after {
	content: "";
	position: absolute;
	right: -90px;
	bottom: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	border: 40px solid #171717;
	pointer-events: none;
}
.scf-wrap--l3 .scf-title {
	font-size: 2.1rem;
	line-height: 1.1;
}
.scf-wrap--l3 .scf-intro {
	color: #a1a1aa;
}
.scf-wrap--l3 .scf-details {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 14px;
	margin-top: auto;
	padding-top: 24px;
	font-size: .9rem;
}
.scf-wrap--l3 .scf-details li {
	display: flex;
	gap: 12px;
	align-items: center;
	color: #d4d4d8;
	margin: 0;
}
.scf-wrap--l3 .scf-details a {
	color: inherit;
	text-decoration: none;
}
.scf-wrap--l3 .scf-details a:hover {
	color: #fff;
	text-decoration: underline;
}
.scf-details-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #1f1f1f;
	color: #fff;
}
.scf-wrap--l3 .scf-body {
	padding: 48px;
}
@media (max-width: 860px) {
	.scf-wrap--l3 .scf-card { grid-template-columns: 1fr; }
	.scf-wrap--l3 .scf-header { padding: 36px 28px; }
	.scf-wrap--l3 .scf-body { padding: 32px 24px; }
}

/* =====================================================================
   4 · Pill
   ===================================================================== */
.scf-wrap--l4 .scf-card {
	max-width: 540px;
	margin: 0 auto;
}
.scf-wrap--l4 .scf-header {
	text-align: center;
}
.scf-wrap--l4 .scf-form {
	gap: .85rem;
}
.scf-wrap--l4 .scf-field input {
	height: 58px;
	border-width: 1.5px;
	border-radius: 999px;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.scf-wrap--l4 .scf-field textarea {
	border-width: 1.5px;
	border-radius: 26px;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.scf-wrap--l4 .scf-field label {
	left: 1.5rem;
	top: 1.3rem;
}
.scf-wrap--l4 .scf-error {
	padding-left: 1.5rem;
}
.scf-wrap--l4 .scf-slider-track {
	border-width: 1.5px;
}
.scf-wrap--l4 .scf-submit {
	justify-self: stretch;
	height: 58px;
	border-radius: 999px;
	font-size: 1rem;
}

/* =====================================================================
   5 · Glass
   ===================================================================== */
.scf-wrap--l5 {
	padding: clamp(24px, 6vw, 72px) clamp(12px, 4vw, 48px);
	border-radius: 28px;
	background:
		radial-gradient(40% 50% at 15% 20%, #c7d2fe 0%, transparent 70%),
		radial-gradient(35% 45% at 85% 25%, #fbcfe8 0%, transparent 70%),
		radial-gradient(45% 50% at 60% 90%, #bae6fd 0%, transparent 70%),
		#f5f5f7;
}
.scf-wrap--l5 .scf-card {
	max-width: 700px;
	margin: 0 auto;
	padding: 44px;
	background: rgba(255, 255, 255, .5);
	-webkit-backdrop-filter: blur(24px) saturate(160%);
	backdrop-filter: blur(24px) saturate(160%);
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 28px;
	box-shadow: 0 30px 80px -30px rgba(30, 27, 75, .25);
}
.scf-wrap--l5 .scf-field input,
.scf-wrap--l5 .scf-field textarea {
	background: rgba(255, 255, 255, .6);
	border-color: rgba(255, 255, 255, .9);
	border-radius: 14px;
}
.scf-wrap--l5 .scf-field input:focus,
.scf-wrap--l5 .scf-field textarea:focus {
	background: #fff;
}
.scf-wrap--l5 .scf-slider-track {
	background: rgba(255, 255, 255, .45);
	border-color: rgba(255, 255, 255, .9);
}
.scf-wrap--l5 .scf-submit {
	justify-self: stretch;
	height: 54px;
	border-radius: 14px;
	box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
}
@media (max-width: 640px) {
	.scf-wrap--l5 .scf-card { padding: 28px 20px; }
}

/* =====================================================================
   6 · Editorial
   ===================================================================== */
.scf-wrap--l6 {
	--scf-radius: 0;
}
.scf-wrap--l6 .scf-card {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 64px;
	align-items: start;
}
.scf-wrap--l6 .scf-card--no-header {
	grid-template-columns: 1fr;
}
.scf-wrap--l6 .scf-title {
	font-family: var(--scf-serif);
	font-weight: 400;
	font-size: clamp(3.25rem, 7vw, 6.25rem);
	line-height: .95;
	letter-spacing: -.03em;
}
.scf-wrap--l6 .scf-intro {
	max-width: 34ch;
	margin-top: 1.25rem;
	color: #52525b;
	line-height: 1.6;
}
.scf-wrap--l6 .scf-form {
	max-width: none;
	counter-reset: scf;
}
.scf-wrap--l6 .scf-field {
	counter-increment: scf;
}
.scf-wrap--l6 .scf-field label,
.scf-wrap--l6 .scf-slider-label {
	font-family: var(--scf-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .12em;
}
.scf-wrap--l6 .scf-field label::before {
	content: counter(scf, decimal-leading-zero) " — ";
	color: var(--scf-muted);
}
.scf-wrap--l6 .scf-field input,
.scf-wrap--l6 .scf-field textarea {
	border: 1.5px solid var(--scf-ink);
	background: transparent;
}
.scf-wrap--l6 .scf-field input:hover,
.scf-wrap--l6 .scf-field textarea:hover {
	border-color: var(--scf-ink);
}
.scf-wrap--l6 .scf-field input:focus,
.scf-wrap--l6 .scf-field textarea:focus {
	box-shadow: 4px 4px 0 var(--scf-ink);
}
.scf-wrap--l6 .scf-slider-track {
	border-radius: 0;
	border: 1.5px solid var(--scf-ink);
	background: transparent;
}
.scf-wrap--l6 .scf-slider-handle {
	border-radius: 0;
	box-shadow: none;
}
.scf-wrap--l6 .scf-submit {
	justify-self: stretch;
	height: 58px;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.scf-wrap--l6 .scf-submit:hover:not(:disabled) {
	box-shadow: 4px 4px 0 #a1a1aa;
}
@media (max-width: 860px) {
	.scf-wrap--l6 .scf-card { grid-template-columns: 1fr; gap: 32px; }
}

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