/* ==========================================================================
   Contact page (page-contact.php)
   ========================================================================== */

/* ---------- Hero ---------- */
.ct-hero {
	position: relative;
	overflow: hidden;
	padding: calc(var(--header-top) + var(--nav-pill-h) + clamp(1rem, 2.5vw, 2.5rem)) 0 clamp(1.5rem, 2.5vw, 2.5rem);
	background:
		radial-gradient(60% 90% at 88% 85%, rgba(116, 88, 215, .16), transparent 70%),
		linear-gradient(180deg, #fff 0%, #fff 55%, #F7F4FE 100%);
}
.ct-hero__pix {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 64px;
	background:
		linear-gradient(var(--c-tint), var(--c-tint)) 0 0 / 32px 32px no-repeat,
		linear-gradient(rgba(116, 88, 215, .08), rgba(116, 88, 215, .08)) 32px 32px / 32px 32px no-repeat;
	pointer-events: none;
}
.ct-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 6rem);
}
.ct-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: 0 0 1.25rem;
	font-family: var(--f-display);
	font-weight: 500;
	font-size: clamp(.95rem, 1.05vw, 1.2rem);
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--c-ink);
}
.ct-eyebrow__mark {
	width: 10px;
	height: 10px;
	background: var(--c-ink);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
	rotate: 20deg;
}
.ct-hero__title {
	margin: 0;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(2.6rem, 4.7vw, 5.25rem);
	line-height: 1.08;
	letter-spacing: -.01em;
	color: var(--c-ink);
	max-width: 7em;
}
.ct-hero__title .hl,
.ct-talk__title .hl,
.ct-card__title .hl { color: var(--c-brand); }
.ct-hero__lead {
	margin: 1.75rem 0 0;
	max-width: 36ch;
	font-size: var(--fs-body-l);
	line-height: 1.5;
	color: var(--c-ink);
}
.ct-hero__lead strong,
.ct-talk__lead strong { font-weight: 700; }

/* Illustration + follow card */
.ct-hero__art {
	position: relative;
	justify-self: center;
	width: min(100%, 400px);
	padding-bottom: 3.25rem;
}
.ct-hero__img {
	display: block;
	width: 100%;
	height: auto;
	animation: ct-float 6s var(--ease-in-out) infinite alternate;
}
.ct-hero__swirl {
	position: absolute;
	left: 34%;
	bottom: 0;
	width: clamp(34px, 4vw, 56px);
	color: var(--c-ink);
	rotate: -70deg;
}
.ct-follow {
	position: absolute;
	right: -6%;
	bottom: 0;
	padding: 1rem 1.25rem 1.1rem;
	border-radius: var(--r-sm);
	background: #fff;
	box-shadow: 0 18px 40px -18px rgba(47, 47, 47, .35), 0 2px 6px rgba(47, 47, 47, .06);
}
.ct-follow__arc {
	position: absolute;
	right: 1.5rem;
	top: -2.1rem;
	width: 64px;
	color: var(--c-ink);
	opacity: .6;
}
.ct-follow__label {
	margin: 0 0 .7rem;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--c-ink);
}
.ct-follow__icons { display: flex; gap: .55rem; }
.ct-follow__icons a,
.ct-follow__icons span {
	display: block;
	width: 30px;
	height: 30px;
	transition: translate var(--dur-fast) var(--ease-out);
}
.ct-follow__icons a:hover { translate: 0 -3px; }
.ct-follow__icons svg { display: block; width: 100%; height: 100%; }

@keyframes ct-float {
	from { translate: 0 0; }
	to   { translate: 0 -10px; }
}

/* ---------- Talk section ---------- */
.ct-talk {
	position: relative;
	overflow: hidden;
	padding: var(--section-pad) 0 calc(var(--section-pad) + 1rem);
	background: var(--c-surface);
}
.ct-talk__web {
	position: absolute;
	left: -10px;
	bottom: -10px;
	width: clamp(160px, 18vw, 300px);
	color: #DCDCDC;
	pointer-events: none;
}
.ct-talk__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	align-items: start;
	gap: clamp(2.5rem, 6vw, 7rem);
	max-width: 1460px;
}
.ct-talk__copy { padding-top: clamp(0rem, 2vw, 2rem); }
.ct-talk__title {
	margin: 0;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: var(--fs-h2);
	line-height: 1.1;
	color: var(--c-ink);
}
.ct-talk__rule {
	width: min(100%, 370px);
	height: 1px;
	margin: 1.75rem 0;
	border: 0;
	background: #9A9A9A;
}
.ct-talk__lead {
	margin: 0;
	max-width: 32ch;
	font-size: var(--fs-body-l);
	line-height: 1.45;
	color: var(--c-ink);
}

.ct-lines {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
	max-width: 820px;
}
.ct-line {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	min-height: 132px;
	padding: 1.25rem 1.5rem;
	border: 1px solid #BFB3EE;
	border-radius: var(--r-sm);
	background: #fff;
	color: var(--c-ink);
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(47, 47, 47, .06);
	transition: translate var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease;
}
.ct-line:hover { translate: 0 -3px; box-shadow: 0 16px 30px -18px rgba(116, 88, 215, .55); }
.ct-line__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--c-brand);
	color: #fff;
}
.ct-line__icon svg { width: 26px; height: 26px; }
.ct-line__text { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ct-line__text strong {
	font-family: var(--f-display);
	font-weight: 600;
	font-size: clamp(1rem, 1.15vw, 1.25rem);
	letter-spacing: .01em;
	text-transform: uppercase;
}
.ct-line__text span { font-size: 1.05rem; overflow-wrap: anywhere; }
.ct-line__text .u { text-decoration: underline; text-underline-offset: 3px; }
.ct-line--fill { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.ct-line--fill .ct-line__icon { background: #fff; color: var(--c-brand); }

.ct-socials { display: flex; gap: 1rem; margin-top: 1.75rem; }
.ct-socials a,
.ct-socials span {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 6px 18px -8px rgba(47, 47, 47, .25);
	transition: translate var(--dur-fast) var(--ease-out);
}
.ct-socials a:hover { translate: 0 -3px; }
.ct-socials svg { width: 34px; height: 34px; }

/* Form card */
.ct-card {
	position: relative;
	padding: clamp(1.75rem, 2.4vw, 2.5rem) clamp(1.25rem, 2.2vw, 2.25rem) clamp(1.75rem, 2.4vw, 2.5rem);
	border-radius: var(--r-md);
	background: #fff;
	box-shadow: 0 10px 0 var(--c-brand), 0 24px 50px -30px rgba(47, 47, 47, .3);
}
.ct-card__spider {
	position: absolute;
	right: -22px;
	top: -14px;
	width: 62px;
	transform-origin: 50% -200px;
	animation: ct-swing 4s var(--ease-in-out) infinite alternate;
}
.ct-card__spider::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 60%;
	width: 1.5px;
	height: calc(var(--section-pad) + 3rem);
	background: #6E6E6E;
}
.ct-card__spider img { position: relative; display: block; width: 100%; height: auto; }
@keyframes ct-swing {
	from { rotate: -3deg; }
	to   { rotate: 3deg; }
}
.ct-card__title {
	margin: 0 auto 1.5rem;
	max-width: 15em;
	font-family: var(--f-display);
	font-weight: 500;
	font-size: clamp(1.5rem, 1.9vw, 2rem);
	line-height: 1.2;
	text-align: center;
	color: var(--c-ink);
}

/* Simple form variant */
.ct-card .form { gap: 1rem; }
.ct-card .form__field { gap: .45rem; font-size: 1.05rem; }
.ct-card .form__field input,
.ct-card .form__field textarea {
	padding: .7rem 1rem;
	border: 1px solid #D5D5D5;
	border-radius: 6px;
	font-size: .95rem;
}
.ct-card .form__field input::placeholder,
.ct-card .form__field textarea::placeholder { color: #9A9A9A; }
.ct-card .form__field textarea { min-height: 136px; resize: vertical; }
.ct-card .form .btn {
	align-self: center;
	margin-top: .5rem;
	padding-inline: 1.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ct-talk__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
	.ct-lines { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 900px) {
	.ct-hero__grid,
	.ct-talk__grid { grid-template-columns: 1fr; }
	.ct-hero__title { max-width: none; }
	.ct-hero__art { width: min(100%, 380px); }
	.ct-follow { right: 0; }
	.ct-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
	.ct-card { max-width: 600px; width: 100%; justify-self: center; }
	.ct-card__spider { right: 10px; }
}
@media (max-width: 640px) {
	.ct-lines { grid-template-columns: 1fr; }
	.ct-line { min-height: 0; padding: 1rem 1.15rem; }
	.ct-line__icon { width: 54px; height: 54px; }
	.ct-socials a,
.ct-socials span { width: 60px; height: 60px; }
	.ct-socials svg { width: 28px; height: 28px; }
	.ct-follow { right: 0; padding: .8rem 1rem .9rem; }
	.ct-follow__icons a,
.ct-follow__icons span { width: 26px; height: 26px; }
	.ct-card__spider { width: 50px; right: 6px; top: -18px; }
}
@media (prefers-reduced-motion: reduce) {
	.ct-hero__img,
	.ct-card__spider { animation: none; }
}
