/* Strong Happy Mindful Counseling — preview build.
   Fonts are open-licensed stand-ins for the Adobe Fonts faces used on the Squarespace site:
   Fraunces ≈ Swear Display (headings), Figtree ≈ Degular (body). */
@import url("/fonts/fonts.css");

:root {
	--plum: #78274b;
	--pink: #ffbbce;
	--pink-soft: #f5dfe6;
	--white: #fff;
	--display: "Fraunces", "Times New Roman", serif;
	--body: "Figtree", system-ui, sans-serif;
	--wrap: min(1400px, 100% - 2 * clamp(24px, 6vw, 130px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--pink);
	color: #000;
	font-family: var(--body);
	font-size: 18px;
	line-height: 1.6;
	letter-spacing: 0.02em;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 10; }

/* ---------- header ---------- */
.site-header {
	position: relative;
	z-index: 5;
	width: var(--wrap);
	margin: 0 auto;
	padding: clamp(24px, 2.5vw, 48px) 0 0;
	text-align: center;
}
.site-header .logo img { width: clamp(220px, 18.6vw, 358px); height: auto; margin: 0 auto; }
.site-header nav { margin-top: clamp(10px, 1.4vw, 20px); }
.site-header nav a {
	display: inline-block;
	margin: 0 clamp(10px, 1.7vw, 32px);
	padding: 6px 0;
	font-size: clamp(14px, 0.82vw, 16px);
	letter-spacing: 0.03em;
	text-decoration: none;
	color: var(--plum);
}
.site-header nav a[aria-current="page"] { border-bottom: 1px solid var(--plum); }
.site-header nav a:hover { opacity: 0.7; }
.social {
	position: absolute;
	left: 0;
	top: clamp(56px, 5.4vw, 104px);
	display: flex;
	gap: 22px;
}
.social a { color: var(--plum); line-height: 0; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- hero ---------- */
.hero {
	position: relative;
	margin-top: calc(-1 * clamp(110px, 10vw, 200px));
	min-height: min(86vh, 1040px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
.hero > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
	z-index: 0;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,0.35));
	z-index: 1;
}
.hero-copy {
	position: relative;
	z-index: 2;
	width: var(--wrap);
	margin: 0 auto;
	padding: 0 0 clamp(40px, 6vh, 90px);
	color: var(--plum);
}
.hero h1 {
	margin: 0 0 0.45em;
	max-width: 13em;
	font: 300 clamp(2.25rem, 4.2vw, 5.8rem) / 1.05 var(--display);
	letter-spacing: -0.015em;
}
.hero p { margin: 0 0 1.8em; max-width: 26em; font-size: clamp(1.05rem, 1.4vw, 1.9rem); line-height: 1.6; }

.btn {
	display: inline-block;
	padding: 1em 3em;
	border: 0;
	border-radius: 999px;
	background: var(--plum);
	color: var(--white);
	font: 400 clamp(15px, 1.15vw, 24px) var(--body);
	letter-spacing: 0.03em;
	text-decoration: none;
	cursor: pointer;
}
.btn:hover { filter: brightness(1.12); }

/* ---------- plum band ---------- */
.band { background: var(--plum); color: var(--white); padding: clamp(64px, 8vw, 150px) 0; }
.wrap { width: var(--wrap); margin: 0 auto; }
.band h2.title {
	margin: 0 auto clamp(40px, 5vw, 90px);
	width: fit-content;
	padding-bottom: 0.15em;
	font: 300 clamp(2.5rem, 3.93vw, 5.5rem) / 1.05 var(--display);
	letter-spacing: -0.02em;
	text-align: center;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C90 3 200 4 398 2' stroke='%23ffbbce' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") bottom / 100% 10px no-repeat;
}
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 60px); text-align: center; padding-bottom: clamp(50px, 7vw, 120px); }
.cols h3 { margin: 0 0 0.8em; font: 300 clamp(1.6rem, 2.35vw, 3.2rem) / 1.15 var(--display); }
.cols p { margin: 0 auto 1em; max-width: 20em; font-size: clamp(0.9rem, 0.85vw, 1.05rem); }
.cols a { font-size: clamp(0.8rem, 0.75vw, 0.95rem); }

.row {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(24px, 4vw, 80px);
	padding: clamp(32px, 4vw, 70px) 0;
	border-top: 1px solid rgba(255,255,255,0.75);
}
.row:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.75); }
.row h3 { margin: 0; font: 300 clamp(1.8rem, 2.45vw, 3.2rem) / 1.15 var(--display); max-width: 6em; }
.row p { margin: 0; font-size: clamp(0.95rem, 1.12vw, 1.4rem); line-height: 1.6; }
.cta { text-align: center; padding-top: clamp(50px, 6vw, 110px); }
.cta .btn { background: var(--pink); color: var(--plum); }

/* ---------- footer ---------- */
.site-footer { background: var(--pink); color: #000; text-align: center; padding: clamp(48px, 5vw, 90px) 0; font-size: 15px; }
.site-footer .social { position: static; justify-content: center; margin-top: 18px; }
.site-footer p { margin: 0.2em 0; }

/* ---------- contact ---------- */
body.contact { background: var(--pink-soft); color: var(--plum); }
body.contact .site-footer { background: var(--pink-soft); color: var(--plum); }
.contact-main { width: var(--wrap); margin: 0 auto; padding: clamp(50px, 6vw, 110px) 0 clamp(60px, 7vw, 130px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 90px); }
.contact-main h1 { margin: 0; font: 300 clamp(2.5rem, 4.4vw, 5.8rem) / 1.05 var(--display); letter-spacing: -0.02em; }
.contact-main .intro p { max-width: 24em; }

form { display: grid; gap: 1.6rem; }
fieldset { border: 0; margin: 0; padding: 0; }
legend, label.l { display: block; margin-bottom: 0.4rem; font-size: 15px; }
.req { font-size: 13px; opacity: 0.75; }
.name { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sub { font-size: 13px; opacity: 0.85; display: block; margin-bottom: 0.25rem; }
input[type="text"], input[type="email"], textarea {
	width: 100%;
	padding: 0.7em 0.8em;
	border: 1px solid var(--plum);
	border-radius: 0;
	background: rgba(255,255,255,0.7);
	color: #000;
	font: 400 16px var(--body);
}
textarea { min-height: 7.5em; resize: vertical; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.checks { display: grid; gap: 0.5rem; }
.checks label { display: flex; gap: 0.6rem; align-items: center; font-size: 15px; }
.checks input { width: 16px; height: 16px; accent-color: var(--plum); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.4em; font-size: 15px; }
.msg.err { color: #9b1c1c; }
.msg.ok { color: var(--plum); }
button.btn[disabled] { opacity: 0.6; cursor: progress; }
.note { font-size: 13px; opacity: 0.75; }

@media (max-width: 900px) {
	.cols { grid-template-columns: 1fr; }
	.row { grid-template-columns: 1fr; }
	.contact-main { grid-template-columns: 1fr; }
	.social { top: 18px; }
	.hero { min-height: 72vh; }
}
