/* ==========================================================================
   Why Hire Me Page - 2026-07-06
   Varied editorial panels using brand colour fields, soft shadows and seahorse marks.
   ========================================================================== */
.cm-why-page {
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
}

.cm-why-kicker {
	margin: 0 0 0.65rem;
	color: var(--cm-teal);
	font-family: var(--wp--preset--font-family--manrope, system-ui, sans-serif);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cm-why-intro {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	margin-bottom: clamp(2.5rem, 6vw, 5rem);
	padding: clamp(2rem, 5vw, 4.5rem);
	background: linear-gradient(135deg, rgba(186, 212, 207, 0.9), var(--cm-soft-white));
	border-radius: 8px;
	box-shadow: var(--cm-shadow);
	overflow: hidden;
}

.cm-why-intro::before {
	content: "";
	position: absolute;
	right: clamp(-6rem, -6vw, -3rem);
	top: clamp(-7rem, -7vw, -4rem);
    width: clamp(220px, 60vw, 550px);
	aspect-ratio: 1;
	border-radius: 56% 44% 50% 50%;
	background: rgba(251, 250, 247, 0.34);
}

.cm-why-intro::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(90px, 46vw, 400px);
    aspect-ratio: 1 / 1.7;
    background: var(--cm-dark-teal);
    opacity: 0.04;
    transform: rotate(353deg);
    mask: url(../../images/branding/seahorse.svg) center / contain no-repeat;
    -webkit-mask: url(../../images/branding/seahorse.svg) center / contain no-repeat;
}
.cm-why-intro > * {
	position: relative;
	z-index: 1;
}

.cm-why-intro h2 {
	max-width: 13ch;
	margin: 0 0 1rem;
	font-size: clamp(2.4rem, 5vw, 5rem);
	line-height: 0.98;
}

.cm-why-intro p {
	margin: 0 0 1rem;
	font-size: clamp(1.04rem, 1.5vw, 1.22rem);
	line-height: 1.65;
}

.cm-why-note {
	align-self: stretch;
	display: grid;
	align-content: center;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	background: rgba(251, 250, 247, 0.72);
	border: 1px solid rgba(7, 50, 54, 0.08);
	border-radius: 8px;
}

.cm-why-note p {
	margin: 0;
	color: var(--cm-dark-teal);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	line-height: 1.25;
}

.cm-why-reasons {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(1.2rem, 3vw, 2rem);
	margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.cm-why-panel {
	position: relative;
	min-height: 320px;
	padding: clamp(1.6rem, 3.6vw, 3rem);
	border: 1px solid rgba(7, 50, 54, 0.08);
	border-radius: 8px;
	box-shadow: var(--cm-shadow);
	overflow: hidden;
	transition: box-shadow 180ms ease;
}

.cm-why-panel:hover {
	box-shadow: var(--cm-strong-shadow);
}

.cm-why-panel::before {
	content: "";
	position: absolute;
	inset: auto -5rem -6rem auto;
	width: clamp(180px, 24vw, 330px);
	aspect-ratio: 1;
	border-radius: 42% 58% 52% 48%;
	background: rgba(251, 250, 247, 0.36);
}

.cm-why-panel::after {
    position: absolute;
    font-family: "Material Symbols Rounded";
    font-size: clamp(15rem, 40vw, 21rem);
    font-weight: 200;
    line-height: 1;
    color: var(--cm-dark-teal);
    opacity: 0.045;
    font-feature-settings: "liga";
    font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0, "opsz" 48;
    pointer-events: none;
}

.cm-why-panel > * {
	position: relative;
	z-index: 1;
}

.cm-why-panel h2 {
	/* max-width: 12ch; */
	margin: 0 0 1rem;
	font-size: clamp(1.9rem, 3.3vw, 3.5rem);
	line-height: 1;
}

.cm-why-panel p {
	max-width: 58ch;
	margin: 0;
	line-height: 1.66;
}

.cm-why-panel-1 {
	grid-column: span 7;
	background: var(--cm-soft-white);
}

.cm-why-panel-1::after {
	content: "travel_explore";
	right: clamp(0.5rem, 3vw, 2rem);
	bottom: -2rem;
}

.cm-why-panel-2 {
	grid-column: span 5;
	background: linear-gradient(135deg, var(--cm-dark-teal), var(--cm-teal));
	color: var(--cm-soft-white);
}

.cm-why-panel-2 h2,
.cm-why-panel-2 p {
	color: var(--cm-soft-white);
}

.cm-why-panel-2::before {
	background: rgba(186, 212, 207, 0.05);
}

.cm-why-panel-2::after {
    content: "fact_check";
    right: -1rem;
    top: -2rem;
    color: var(--cm-soft-white);
    opacity: 0.06;
}
.cm-why-panel-3 {
	grid-column: span 5;
	background: linear-gradient(145deg, rgba(206, 179, 171, 0.88), var(--cm-off-white));
}

.cm-why-panel-3::after {
	content: "eco";
	left: -1.5rem;
	bottom: -2.5rem;
	transform: rotate(-8deg);
}

.cm-why-panel-4 {
	grid-column: span 7;
	background: linear-gradient(145deg, rgba(196, 194, 193, 0.9), var(--cm-soft-white));
}

.cm-why-panel-4::before {
	inset: -5rem auto auto -5rem;
}

.cm-why-panel-4::after {
	content: "edit_document";
	right: clamp(1rem, 4vw, 3rem);
	bottom: -2rem;
}

.cm-why-commission {
	position: relative;
	display: grid;
	grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
	gap: clamp(1.8rem, 5vw, 5rem);
	align-items: start;
	margin-bottom: clamp(2.5rem, 6vw, 5rem);
	padding: clamp(2rem, 5vw, 4rem);
	background: linear-gradient(115deg, var(--cm-off-white), rgba(186, 212, 207, 0.55));
	border-radius: 8px;
	box-shadow: var(--cm-shadow);
	overflow: hidden;
}

.cm-why-commission::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(90px, 33vw, 640px);
    aspect-ratio: 1 / 1.7;
    background: var(--cm-teal);
    opacity: 0.05;
    transform: rotate(-5deg);
    mask: url(../../images/branding/seahorse.svg) center / contain no-repeat;
    -webkit-mask: url(../../images/branding/seahorse.svg) center / contain no-repeat;
}

.cm-why-commission > * {
	position: relative;
	z-index: 1;
}

.cm-why-commission h2 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 4rem);
	line-height: 1;
	padding-right:10px;
}

.cm-why-commission ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem clamp(1rem, 3vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cm-why-commission li {
	position: relative;
	padding: 0.85rem 0 0.85rem 1.65rem;
	border-top: 1px solid rgba(7, 50, 54, 0.14);
	line-height: 1.45;
}

.cm-why-commission li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.25rem;
	width: 0.5rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--cm-teal);
}

.cm-why-close {
	width: min(900px, calc(100% - 2rem));
	margin: 0 auto clamp(2rem, 5vw, 4rem);
	color: var(--cm-dark-teal);
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	line-height: 1.35;
	text-align: center;
}

@media (max-width: 960px) {
	.cm-why-intro,
	.cm-why-commission {
		grid-template-columns: 1fr;
	}

	.cm-why-panel,
	.cm-why-panel-1,
	.cm-why-panel-2,
	.cm-why-panel-3,
	.cm-why-panel-4 {
		grid-column: 1 / -1;
	}

	.cm-why-commission ul {
		grid-template-columns: 1fr;
	}
	.cm-experience img {
		display:none;
	}
}

@media (max-width: 640px) {
	.cm-why-intro,
	.cm-why-panel,
	.cm-why-commission {
		padding: 1.35rem;
	}

	.cm-why-panel {
		min-height: 0;
	}
}

