/* Amal Wartalska Therapy — site styles */

:root {
	--teal: #1e4e5c;
	--teal-dark: #163c47;
	--ink: #1f2a2e;
	--muted: #4a585d;
	--band: #e5eff2;
	--rule: #9db5bd;
	--white: #ffffff;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
	--width: 1000px;
}

* { box-sizing: border-box; }

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

/* Keep section titles clear of the sticky header when jumping to them */
[id] { scroll-margin-top: 96px; }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

h1, h2, h3 {
	font-family: var(--serif);
	font-weight: 700;
	color: var(--teal);
	line-height: 1.25;
	margin: 0 0 .5em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container {
	max-width: var(--width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	border-bottom: 1px solid var(--rule);
	background: var(--white);
	transition: box-shadow .25s ease;
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
	padding-bottom: 16px;
	transition: padding .25s ease;
}
.brand { text-decoration: none; color: var(--teal); }
.brand-name {
	display: block;
	font-family: var(--serif);
	font-size: 1.9rem;
	line-height: 1.1;
	transition: font-size .25s ease;
}
.brand-sub {
	display: block;
	font-family: var(--serif);
	font-size: 1rem;
	margin-top: 2px;
	max-height: 4em; /* room for both lines, which are 3.2em tall */
	overflow: hidden;
	transition: max-height .25s ease, opacity .2s ease, margin .25s ease;
}

/* Desktop: the header slims down once the visitor scrolls (class set by the page script) */
.site-header.is-scrolled { box-shadow: 0 2px 10px rgba(31, 42, 46, .08); }
.site-header.is-scrolled .container { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-scrolled .brand-name { font-size: 1.5rem; }
.site-header.is-scrolled .brand-sub { max-height: 0; opacity: 0; margin-top: 0; }

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}
.site-nav a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	text-decoration: none;
	color: var(--teal);
	font-size: .95rem;
	transition: background-color .2s ease;
}
.site-nav a:hover,
.site-nav a[aria-current] {
	background: var(--band);
}

/* "Contact" as an orange pill at the end of the menu */
.site-nav .nav-cta { margin-left: 8px; }
.site-nav .nav-cta a,
.site-nav .nav-cta a[aria-current] {
	background: #b85a24;
	color: #fff;
	font-weight: 500;
	padding: 7px 18px;
}
.site-nav .nav-cta a:hover { background: #9e4a1a; }

.menu-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 10px 8px;
	color: var(--teal);
	cursor: pointer;
}
/* Hamburger icon: three lines that turn into an X when the menu is open */
/* Whole-pixel sizes so all three lines render at exactly the same thickness */
.burger {
	position: relative;
	display: block;
	width: 30px;
	height: 21px;
	color: #c9652c; /* same darker orange as the highlighted "Eye Movement Desensitisation and Reprocessing" */
}
.burger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 3px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }
.menu-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- Hero ---------- */

.hero {
	background: var(--band);
	border-bottom: 1px solid var(--rule);
}
.hero .container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0;
	padding: 0 24px;
}
.hero-image {
	position: relative;
	align-self: stretch;
	min-height: 260px;
	overflow: hidden;
}
.hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 35% 72%; /* keep the falling drop in frame */
	/* soften the deep blue towards a pale, silvery grey-blue */
	filter: hue-rotate(-10deg) saturate(.55) brightness(1.5) contrast(.85);
}
/* lift the darker top-right corner to match the bottom-right's blue */
.hero-image::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse at 100% 0%, rgba(90, 160, 185, .42) 0%, rgba(90, 160, 185, .2) 35%, rgba(90, 160, 185, 0) 65%);
}
.hero-text {
	padding: 48px 20px 40px 44px;
	text-align: center;
}
/* Tagline in Playfair Display bold, same font as the section headings (e.g. Welcome) */
.hero-text h1 {
	font-family: var(--serif);
	font-weight: 700;
	font-style: normal;
	font-size: 1.7rem;
	line-height: 1.3;
	color: #346d99; /* lighter blue */
	margin-bottom: .6em;
}
.hero-text p {
	font-size: 1.1rem;
	color: var(--ink);
	margin-bottom: 1.4em;
}

.button {
	display: inline-block;
	background: var(--teal);
	color: var(--white);
	text-decoration: none;
	padding: 11px 20px;
	border-radius: 5px;
	border: 0;
	font: inherit;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}
.button:hover { background: var(--teal-dark); color: var(--white); }

/* Orange buttons: "Email me" on the water photo and the contact form's Submit */
.hero-action .button,
.contact-cta .button,
.contact-form .button {
	background: #b85a24;
	border-radius: 24px;
	padding: 11px 26px;
}
.hero-action .button:hover,
.contact-cta .button:hover,
.contact-form .button:hover { background: #9e4a1a; }
/* slimmer (top to bottom) "Email me" and Submit buttons */
.hero-action .button,
.contact-cta .button,
.contact-form .button { padding-top: 6px; padding-bottom: 6px; }

/* Section title band */
.page-band {
	background: #386f88;
	padding: 34px 0 30px;
}
.page-band h2 {
	margin: 0;
	font-size: 2.1rem;
	color: var(--white);
}
.page-band p { margin: .4em 0 0; color: var(--white); font-size: 1.05rem; }

/* ---------- Sections ---------- */

.section { padding: 44px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section.tinted { background: var(--band); }
/* Continues the previous section without a dividing line */
.section.section-flow { border-top: 0; padding-top: 0; }
.section:has(+ .section-flow) { padding-bottom: 0; }
.section-flow > .container { margin-top: 18px; }
.section.section-flow .prose h3:first-child { margin-top: 30px; }
.section.section-flow .two-col h3:first-child { margin-top: 30px; }

.split {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 48px;
	align-items: start;
}
.split.wide-aside { grid-template-columns: 1fr 400px; }
.split.wide-aside .photo { width: 100%; }
/* Photo comes first in the page (so it's first on phones) but sits on the right on desktop */
.split.photo-first { align-items: center; }
.split.photo-first .portrait { order: 2; }

.portrait {
	box-shadow: 4px 6px 14px rgba(0, 0, 0, .28);
}

.photo {
	box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
	border-radius: 2px;
}

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}
.two-col h2,
.two-col h3 { font-size: 1.45rem; }

.prose > * { max-width: 75ch; }
.prose h2,
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }

.services {
	list-style: none;
	margin: 0;
	padding: 0;
}
.services li {
	padding: 4px 0;
	font-size: 1.2rem;
}
/* no extra space above the first service, so the gap under "Services" matches "Online" */
.services li:first-child { padding-top: 0; }
/* "Online" text matches the Services list size */
.lead-text { font-size: 1.2rem; }

/* Insurance partner logos */
.insurers { margin-top: 2.2em; }
.two-col .insurers h3 { margin: 0 0 20px; }
.insurers ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}
.insurers img { height: 50px; width: auto; }

.issue-list {
	columns: 2;
	column-gap: 40px;
	padding-left: 1.2em;
	margin: 0 0 1em;
}
.issue-list li { break-inside: avoid; margin-bottom: 2px; }

/* Fees */
.fee-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.fee-card {
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: 18px;
	padding: 22px 24px;
}
.fee-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.fee-card .price {
	font-family: var(--serif);
	font-size: 1.3rem;
	color: var(--ink);
	margin-bottom: .4em;
}
.fee-card p:last-child { margin-bottom: 0; }
/* Cancellation policy card spans the full width under the fee cards */
.fee-card-wide { grid-column: 1 / -1; }

.note {
	border-left: 3px solid var(--teal);
	padding: 4px 0 4px 16px;
	margin: 0 0 1em;
}

/* Publications: clickable article cards */
.pub-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	max-width: 640px;
	margin: 0 auto;
}
.pub-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
	color: var(--ink);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
	transition: transform .15s ease, box-shadow .15s ease;
}
.pub-card:hover,
.pub-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
	color: var(--ink);
}
.pub-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.pub-card img {
	width: 100%;
	aspect-ratio: 644 / 392;
	object-fit: cover;
}
.pub-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 18px 18px;
}
.pub-card h3 { font-size: 1.05rem; margin-bottom: .45em; }
.pub-card .source { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.pub-card .read-more {
	margin-top: auto;
	align-self: flex-start;
	background: #b85a24;
	color: var(--white);
	border-radius: 24px;
	padding: 8px 20px;
	font-size: .95rem;
}
.pub-card:hover .read-more { background: #9e4a1a; }

/* Contact */
/* Contact buttons (Email / Mobile / Location) */
.contact-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 1.6em;
}
.contact-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 18px 12px 12px;
	background: var(--band);
	border: 1px solid var(--rule);
	border-radius: 40px;
	color: var(--ink);
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
a.contact-btn:hover,
a.contact-btn:focus-visible {
	background: #d4e6eb;
	border-color: var(--teal);
	color: var(--ink);
	transform: translateY(-2px);
}
a.contact-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.contact-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #b85a24;
	color: var(--white);
}
.contact-btn.is-info .contact-icon { background: #2b6178; }
.contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.contact-label {
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--muted);
}
.contact-value {
	font-size: 1.05rem;
	font-weight: 500;
	overflow-wrap: anywhere;
}

/* Contact form sits on a light blue panel matching the contact buttons */
.contact-form {
	background: var(--band);
	border: 1px solid var(--rule);
	border-radius: 18px;
	padding: 22px 24px 24px;
}
.contact-form .field { margin-bottom: 16px; }
.contact-form .name-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.contact-form label {
	display: block;
	font-size: .9rem;
	font-weight: 500;
	margin-bottom: 4px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--rule);
	border-radius: 4px;
	font: inherit;
	color: var(--ink);
	background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--teal);
	outline-offset: 1px;
	border-color: var(--teal);
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form .hint { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }
.contact-form .botcheck { display: none; }
.contact-form .button[disabled] { opacity: .7; cursor: wait; }
.form-status { margin: 14px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--teal); }
.form-status.is-error { color: #a32d2d; }

.small { font-size: .9rem; color: var(--muted); }

/* ---------- Accreditation logos + footer ---------- */

.logos { padding: 34px 0 40px; }
.accred-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	background: #4a86a1;
	border-radius: 16px;
	padding: 16px 22px;
	box-shadow: 0 3px 10px rgba(20, 60, 80, .18);
}
.accred-bar .accred-title {
	flex: 0 1 230px;
	margin: 0;
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 500;
	color: var(--white);
	line-height: 1.35;
}
.accred-bar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}
.accred-bar li {
	display: grid;
	place-items: center;
	background: var(--white);
	border-radius: 8px;
	padding: 6px 10px;
	height: 86px;
}
.accred-bar img { max-height: 72px; width: auto; }

.site-footer {
	padding: 14px 0 28px;
	text-align: center;
	font-size: .76rem;
	color: var(--ink);
}
.site-footer p { margin: 0; }

/* ---------- Training timeline (About Me) ---------- */

.timeline {
	list-style: none;
	margin: 13px 0 24px;
	padding: 0;
}
.timeline li {
	position: relative;
	margin: 0 0 18px;
}
.timeline li:last-child { margin-bottom: 0; }
.subhead { margin-top: 36px; }
.timeline-title {
	display: block;
	font-weight: 500;
	color: var(--teal);
	line-height: 1.4;
}
.timeline-detail {
	display: block;
	font-size: .92rem;
	color: #4d5c61;
	line-height: 1.5;
	margin-top: 2px;
}


/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.site-header .container { flex-wrap: wrap; }
	.menu-toggle { display: inline-block; }
	.site-nav { display: none; width: 100%; }
	.site-nav.open { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a { display: block; padding: 10px 0; border-radius: 0; border-bottom: 1px solid var(--band); }
	.site-nav a:hover, .site-nav a[aria-current] { background: none; font-weight: 500; }
	.site-nav .nav-cta { margin: 14px 0 6px; }
	.site-nav .nav-cta a, .site-nav .nav-cta a[aria-current] { display: inline-block; padding: 9px 26px; border-radius: 22px; border-bottom: 0; }
}

@media (max-width: 760px) {
	.container { padding: 0 16px; }
	.brand-name { font-size: 1.55rem; }
	h1 { font-size: 1.75rem; }
	.page-band h2 { font-size: 1.75rem; }
	[id] { scroll-margin-top: 76px; }

	/* Phone: frosted, see-through header (name + Menu button) floating over the photo */
	.site-header {
		background: rgba(255, 255, 255, .72);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-bottom-color: rgba(157, 181, 189, .6);
	}
	.site-header:has(.site-nav.open) { background: var(--white); }

	/* Phone: the water photo starts at the very top, behind the header,
	   with the headline on top of it. --header-h is set by the page script. */
	.hero {
		position: relative;
		margin-top: calc(-1 * var(--header-h, 112px));
		padding-top: var(--header-h, 112px);
	}
	.hero .container { display: block; padding: 0 16px; }
	.hero-image { position: absolute; inset: 0; min-height: 0; }
	/* show the falling drop as near the middle as the photo allows, between the headline and the buttons */
	.hero-image img { position: absolute; inset: 0; object-position: 0% 72%; }
	/* buttons at the top of the photo, the headline below them just above
	   the falling drop, and the ripples visible underneath */
	.hero-text {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		min-height: 340px;
		padding: 28px 0;
	}
	.hero-buttons { order: -1; }
	.hero-text h1 {
		/* phones keep Playfair Display */
		font-family: var(--serif);
		font-weight: 700;
		font-size: min(1.95rem, 9vw); /* shrinks a little on the narrowest phones so it stays on one line */
		line-height: 1.3;
		margin-bottom: .6em;
		/* white tagline on the darkened upper half of the water photo */
		color: var(--white);
		text-shadow: 0 1px 3px rgba(8, 30, 44, .6), 0 0 14px rgba(8, 30, 44, .4);
	}
	/* shade the upper half of the visible water with a soft ocean blue (between the photo's teal and a deeper blue), fading out towards the buttons */
	.hero-image::after {
		background:
			linear-gradient(180deg,
				rgba(36, 76, 119, 0) 0,
				rgba(36, 76, 119, 0) var(--header-h, 112px),
				rgba(36, 76, 119, .7) var(--header-h, 112px),
				rgba(36, 76, 119, .55) 52%,
				rgba(36, 76, 119, 0) 78%);
	}
	.hero-text p {
		margin-bottom: 1.6em;
		color: var(--ink);
		font-weight: 500;
		text-shadow: 0 0 5px rgba(255, 255, 255, .95), 0 0 12px rgba(255, 255, 255, .75);
	}

	.split,
	.split.wide-aside,
	.two-col,
	.fee-grid,
	.pub-cards { grid-template-columns: 1fr; gap: 28px; }
	/* Phone: same 30px gap above Training and Experience as above "Therapy as a Creative Process" */
	.section.section-flow .two-col { gap: 14px; }
	.section.section-flow .two-col h3:first-child { margin-top: 12px; }
	.section.section-flow .two-col > div + div h3:first-child { margin-top: 0; }
	.pub-cards { max-width: 300px; }
	.split .portrait { max-width: 200px; }
	.split.wide-aside .photo { max-width: 100%; justify-self: center; }
	/* Phone: smaller photo on the right, with the Welcome text wrapping down its left */
	.split.photo-first { display: block; }
	.split.photo-first::after { content: ""; display: block; clear: both; }
	.split.photo-first .portrait {
		float: right;
		width: 48%;
		max-width: 195px;
		margin: 6px 0 12px 16px;
	}

	.issue-list { columns: 1; }
	.contact-form .name-row { grid-template-columns: 1fr; }
	.section { padding: 34px 0; }
	.accred-bar { flex-direction: column; text-align: center; padding: 16px; }
	.accred-bar .accred-title { flex: none; }
	.accred-bar ul { justify-content: center; gap: 10px; }
	.accred-bar li { height: 70px; padding: 5px 8px; }
	.accred-bar img { max-height: 60px; }
}

/* Keep short phrases together on one line */
.nowrap { white-space: nowrap; }

/* Highlighted words in the same orange as the buttons */
.accent { font-weight: 700; }

/* Small pill-shaped link button in the same orange as the other buttons */
.accent-button {
	display: inline-block;
	margin: 2px 3px;
	padding: 0 14px;
	line-height: 1.35;
	border-radius: 24px;
	background: #b85a24;
	color: var(--white);
	font-weight: 400;
	text-decoration: none;
	transition: background .15s ease;
}
.accent-button:hover,
.accent-button:focus-visible { background: #9e4a1a; color: var(--white); }

/* "Call" link below Email me: orange letters and phone icon straight on the background, no button */
.hero-call { margin-top: 16px; }
.call-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #9e4a1a; /* deep orange, dark enough to read on the pale blue panel */
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .15s ease;
}
.call-link:hover,
.call-link:focus-visible { border-bottom-color: currentColor; color: #853d15; }
/* Each hero button has two wordings: "label-wide" for larger screens, "label-phone" for phones */
.label-phone { display: none; }

@media (max-width: 760px) {
	.label-wide { display: none; }
	.label-phone { display: inline; }

	/* Phones: the two buttons side by side (stacked when there isn't room) */
	.hero-buttons {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}
	.hero-call { margin-top: 0; }

	/* shared pill shape, so both buttons are the same height */
	.hero-action .button,
	.call-link {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 12px 22px;
		border-radius: 999px;
		border: 1px solid transparent;
		font-size: .98rem;
		font-weight: 500;
		letter-spacing: normal;
		text-transform: none;
		line-height: 1.2;
	}
	/* "Book Free Consultation": orange with a soft shadow */
	.hero-action .button { box-shadow: 0 6px 16px rgba(110, 45, 15, .3); }
	.hero-action .button .arrow { font-size: 1.05em; }
	/* "Call": same orange, white text and soft shadow as "Book Free Consultation" */
	.call-link {
		background: #b85a24;
		color: var(--white);
		box-shadow: 0 6px 16px rgba(110, 45, 15, .3);
	}
	.call-link svg { width: 18px; height: 18px; color: var(--white); }
	.call-link:hover,
	.call-link:focus-visible { color: var(--white); background: #9e4a1a; }
}
/* Small phones: stack the two buttons at the same width */
@media (max-width: 480px) {
	.hero-buttons { flex-direction: column; align-items: center; gap: 10px; }
	.hero-action .button,
	.call-link { width: 248px; max-width: 100%; justify-content: center; box-sizing: border-box; padding-left: 16px; padding-right: 16px; }
}

/* "Contact me" button on its own line under the Welcome text (same style as Email me) */
.contact-cta { margin-top: 1.2em; }

/* Blue variant (BACP and EMDR Association links): light, softly muted blue */
.contact-cta .button-blue { background: #4483ab; }
.contact-cta .button-blue:hover,
.contact-cta .button-blue:focus-visible { background: #376f94; }

/* How It Works: four numbered steps */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.step {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 20px;
	background: var(--band);
	border: 1px solid var(--rule);
	border-radius: 18px;
}
.step-num {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #4d84a0;
	color: var(--white);
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1.05rem;
}
.step h3 { font-size: 1.15rem; margin: 4px 0 0; }
.step p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; gap: 14px; }
}

/* FAQ: expandable questions */
.faq-title { font-size: 1.45rem; margin-bottom: 16px; }
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details {
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: 14px;
	padding: 0 18px;
}
.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	flex: none;
	font-size: 1.4rem;
	line-height: 1;
	color: #386f88;
	transition: transform .2s ease;
}
.faq details { box-sizing: border-box; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details.is-closing summary::after { transform: none; }
/* The page script slides the answer open; the text fades in as it does */
.faq details[open] p { animation: faq-fade .3s ease-out; }
.faq details.is-closing p { opacity: 0; transition: opacity .2s ease; }
@keyframes faq-fade { from { opacity: 0; } to { opacity: 1; } }
.faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.faq details p { margin: 0 0 16px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
	.faq details[open] p { animation: none; }
	.faq summary::after,
	.faq details.is-closing p,
	.site-header, .site-header .container, .brand-name, .brand-sub, .site-nav a { transition: none; }
}

/* "Who I help" line under the tagline */
.hero-text .hero-who {
	max-width: 34em;
	margin: 0 auto 1.8em;
	font-size: 1rem;
	line-height: 1.55;
	font-weight: 500;
	color: #24557d; /* a deeper blue than the tagline */
}
/* Phone-only copy of that line, shown just below the water photo */
.who-mobile { display: none; }
@media (max-width: 760px) {
	.hero-text .hero-who { display: none; }
	/* without the line on the photo, leave a comfortable gap above the button */
	.hero-text h1 { margin: 40px 0 0; }
	.who-mobile {
		display: block;
		margin: 0;
		padding: 22px 16px 4px;
		text-align: center;
		font-size: 1.02rem;
		font-weight: 500;
		line-height: 1.55;
		color: var(--teal); /* same colour as the Welcome heading */
	}
}


/* Phones (buttons stacked): a taller photo, so the stacked buttons and the headline
   both fit above the falling drop */
@media (max-width: 480px) {
	.hero-text { min-height: 420px; padding: 24px 0; }
	.hero-image img { object-position: 20% 72%; }
}

/* Phones: "From shadow to light" is hidden from view (trial), but kept for
   screen readers and search engines, so the buttons sit over the open water */
@media (max-width: 760px) {
	.hero-text h1 {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		border: 0;
	}
}

/* Phones: buttons on their own dark blue band (same blue as the section headings,
   e.g. "About Therapy"), with a shorter strip of the water photo underneath,
   framed so the falling drop and its ripples sit in the middle */
@media (max-width: 760px) {
	.hero {
		margin-top: 0;
		padding-top: 0;
	}
	.hero .container {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		padding: 0;
	}
	.hero-text {
		order: 0;
		min-height: 0;
		padding: 0;
	}
	/* flat water-blue band behind the buttons, in the same tones as the photo below */
	.hero-buttons {
		background: #5089a4;
		padding: 18px 16px;
	}
	.hero-image {
		order: 1;
		position: relative;
		inset: auto;
		height: 220px;
		overflow: hidden;
	}
	/* the photo is sized for a 260px strip and pinned to the bottom, so the shorter
	   220px strip crops it from the top; the drop and ripples sit a little left of centre */
	.hero-image img {
		position: absolute;
		inset: auto 0 0 0;
		width: 100%;
		height: 260px;
		object-fit: cover;
		object-position: 35% 100%;
	}
	/* same gentle lightening of the top-right corner as on desktop, instead of the dark shading */
	.hero-image::after {
		background: radial-gradient(ellipse at 100% 0%, rgba(90, 160, 185, .42) 0%, rgba(90, 160, 185, .2) 35%, rgba(90, 160, 185, 0) 65%);
	}
}

/* ---------- Phones: action buttons in the header (trial) ---------- */

/* hidden on larger screens, which have the buttons beside the photo */
.header-actions { display: none; }

@media (max-width: 760px) {
	/* a row of two compact buttons under the name and menu button */
	.header-actions {
		display: flex;
		width: 100%;
		gap: 8px;
		margin-top: 0;
	}
	/* tighter spacing between the name row and the buttons row */
	.site-header .container { row-gap: 12px; }
	.header-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		padding: 8px 14px;
		border-radius: 999px;
		border: 1px solid transparent;
		font-size: .9rem;
		font-weight: 500;
		line-height: 1.2;
		white-space: nowrap;
		text-decoration: none;
		transition: background-color .15s ease;
	}
	/* "Book Free Consultation": the wider button, in the same outlined teal style as "Call" */
	.header-btn-book {
		flex: 1 1 auto;
		background: rgba(255, 255, 255, .6);
		color: var(--teal);
		border-color: var(--teal);
	}
	.header-btn-book:hover,
	.header-btn-book:focus-visible { background: var(--band); color: var(--teal); }
	/* "Call": a lighter outlined button in the header's teal */
	.header-btn-call {
		flex: 0 1 auto;
		background: rgba(255, 255, 255, .6);
		color: var(--teal);
		border-color: var(--teal);
	}
	.header-btn-call svg { flex: none; }
	.header-btn-call:hover,
	.header-btn-call:focus-visible { background: var(--band); color: var(--teal); }
	.call-short { display: none; }

	/* the buttons have moved to the header, so the photo shows on its own */
	.hero-buttons { display: none; }
	.hero-text { padding: 0; min-height: 0; }

	/* a shorter strip of the photo, showing its lower part with the drop a little left of centre */
	.hero-image { height: 190px; }
	.hero-image img {
		inset: 0;
		height: 100%;
		object-position: 35% 100%;
	}
}
/* small phones: shorten "Call +44 7811 059993" to "Call" so both buttons fit on one row */
@media (max-width: 480px) {
	.call-full { display: none; }
	.call-short { display: inline; }
}

/* Phones: the two header buttons share the row equally */
@media (max-width: 760px) {
	.header-btn-book,
	.header-btn-call { flex: 1 1 0; min-width: 0; padding: 8px 12px; }
}
@media (max-width: 480px) {
	.header-btn-book,
	.header-btn-call { padding: 8px 10px; font-size: .8rem; }
}
@media (max-width: 360px) {
	.header-btn-book,
	.header-btn-call { padding: 8px 6px; font-size: .74rem; }
}

/* Phones: an even, solid 1.5px outline on the header buttons */
@media (max-width: 760px) {
	.header-btn-book,
	.header-btn-call { border-width: 1.5px; box-shadow: none; }
}
/* Phones: the Call button has a soft pale-blue background (a little deeper when tapped) */
@media (max-width: 760px) {
	.header-btn-call { background: var(--band); }
	.header-btn-call:hover,
	.header-btn-call:focus-visible { background: #d3e4ea; }
}
