/*
Theme Name: Blossom Staffing
Theme URI: https://blossomstaffing.lk
Author: Tharindu Weerasinghe
Author URI: https://tharinduw.me
Description: Custom theme for Blossom Staffing (Pvt) Ltd — recruitment and talent solutions in Sri Lanka. 
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: blossom
*/

/* -------------------------------------------------------------------------
 * Tokens
 * ---------------------------------------------------------------------- */

:root {
	--navy: #1E2B3D;
	--navy-line: #3A4659;
	--magenta: #A8285F;
	--magenta-dark: #861E4B;
	--pink-soft: #FAECF2;
	--pink-light: #F2A8C4;
	--warm: #F8F5F1;
	--warm-deep: #E9E1DA;
	--line: #ECE8E3;
	--rule: #DDD7D0;
	--input: #CFC8C0;
	--text: #1E2B3D;
	--muted: #4A5566;
	--muted-2: #5E6878;
	--on-navy: #C9D0DB;
	--on-navy-2: #9AA4B4;
	--white: #FFFFFF;
	--error: #B42318;

	--display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	--gutter: clamp(20px, 5.5vw, 80px);
	--max: 1280px;
	--section: clamp(72px, 9vw, 112px);
	--radius: 14px;
	--radius-lg: 20px;
	--shadow: 0 1px 2px rgba(30, 43, 61, .06), 0 16px 40px -18px rgba(30, 43, 61, .35);
	--shadow-soft: 0 12px 32px -20px rgba(30, 43, 61, .3);
}

/* -------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--magenta); text-decoration: none; }
a:hover { color: var(--magenta-dark); }

:focus-visible { outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; color: var(--text); }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
h3 { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--magenta); }
p { margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	z-index: 1000;
	width: auto; height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--navy);
	color: var(--white);
	border-radius: 8px;
}

mark.ph { background: #FFF3C4; color: inherit; padding: 0 .15em; border-radius: 3px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-text { width: min(760px, 100% - 2 * var(--gutter)); }
.wrap-media { width: min(1040px, 100% - 2 * var(--gutter)); }

.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-tight-top { padding-top: calc(var(--section) * .55); }
.section:not(.section-warm):not(.section-navy) + .section:not(.section-warm):not(.section-navy) { padding-top: calc(var(--section) * .35); }
.section-warm { background: var(--warm); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2 { color: var(--white); }

.eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.eyebrow-link:hover { color: var(--magenta); }

.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 620px; }
.lead-sm { font-size: 18px; line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted-2); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.text-link span[aria-hidden] { transition: transform .2s ease; }
.text-link:hover span[aria-hidden] { transform: translateX(3px); }
.text-link-light { color: var(--pink-light); }
.text-link-light:hover { color: var(--white); }

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1.5px solid transparent;
	border-radius: 8px;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn .icon { transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--magenta); color: var(--white); }
.btn-primary:hover { background: var(--magenta-dark); color: var(--white); }
.btn-outline { background: var(--white); border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--pink-soft); color: var(--navy); }
.btn-block { width: 100%; min-height: 56px; font-size: 17px; }

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

.topbar { background: var(--navy); color: #D5DAE3; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar-links { display: flex; gap: 28px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #D5DAE3; }
.topbar a:hover { color: var(--white); }
.topbar .icon { opacity: .7; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 92px; }

.brand img { height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu a {
	display: block;
	padding: 10px 12px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 500;
	border-radius: 8px;
	white-space: nowrap;
}
.menu a:hover { color: var(--magenta); }
.menu > .current-menu-item > a,
.menu > .current-menu-ancestor > a,
.menu > .current_page_parent > a { color: var(--magenta); }

.menu .menu-item-has-children > a { padding-right: 2px; }
.sub-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy);
	cursor: pointer;
	border-radius: 6px;
}
.sub-toggle svg { transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.menu .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.menu .sub-menu a { padding: 10px 14px; }
.menu .sub-menu a:hover { background: var(--warm); }
.menu .sub-menu .current-menu-item > a { color: var(--magenta); }

.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu,
.menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.header-actions { display: flex; gap: 12px; }
.header-actions .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--navy);
	cursor: pointer;
}
.nav-toggle .icon-close { display: none; }

@media (max-width: 1240px) {
	.topbar-hours { display: none; }
	.header-inner { min-height: 76px; }
	.brand img { height: 40px; }
	.nav-toggle { display: inline-flex; }

	.site-nav {
		position: fixed;
		inset: var(--nav-top, 116px) 0 0 0;
		z-index: 49;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 20px var(--gutter) 32px;
		background: var(--white);
		border-top: 1px solid var(--line);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle .icon-open { display: none; }
	.nav-open .nav-toggle .icon-close { display: block; }
	.nav-open { overflow: hidden; }

	.menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.menu > li > a { flex: 1; padding: 16px 0; font-size: 18px; }
	.sub-toggle { width: 48px; height: 48px; }
	.menu .sub-menu {
		position: static;
		flex-basis: 100%;
		display: none;
		min-width: 0;
		padding: 0 0 12px 12px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.menu .sub-menu::before { display: none; }
	.menu > li.is-open > .sub-menu { display: block; }
	.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; }
	.menu .sub-menu a { padding: 10px 0; font-size: 16px; color: var(--muted); }

	.header-actions { flex-direction: column; }
	.header-actions .btn { min-height: 52px; font-size: 16px; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 640px) {
	.topbar-links { gap: 18px; width: 100%; justify-content: space-between; }
	.topbar-links a:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
	.brand img { height: 36px; }
	.header-inner { min-height: 68px; }
}

/* -------------------------------------------------------------------------
 * Home
 * ---------------------------------------------------------------------- */

.home-hero {
	display: grid;
	grid-template-columns:
		max(var(--gutter), calc((100% - var(--max)) / 2))
		minmax(0, 1fr)
		minmax(0, .92fr)
		max(var(--gutter), calc((100% - var(--max)) / 2));
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	background: var(--warm);
}
.home-hero-copy {
	grid-column: 2;
	display: flex;
	flex-direction: column;
	gap: 26px;
	max-width: 640px;
	padding-block: clamp(56px, 7vw, 108px);
}
.home-hero-copy h1 { font-size: clamp(40px, 4.6vw, 64px); }
.home-hero-copy .lead { max-width: 34ch; }
.home-hero-copy .actions { padding-top: 6px; }

/* Two photos as tilted cards, the smaller one overlapping in front. */
.home-hero-media {
	grid-column: 3;
	position: relative;
	padding-block: clamp(56px, 7vw, 100px);
	min-height: clamp(400px, 42vw, 580px);
}
.hero-card {
	position: absolute;
	margin: 0;
	padding: clamp(7px, .7vw, 11px);
	background: var(--white);
	border-radius: 20px;
	box-shadow: 0 2px 4px rgba(30, 43, 61, .06), 0 30px 60px -34px rgba(30, 43, 61, .55);
	transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.hero-card.is-main {
	top: clamp(40px, 6vw, 84px);
	right: 0;
	width: min(74%, 380px);
	aspect-ratio: 4 / 5;
	transform: rotate(2.6deg);
}
.hero-card.is-sub {
	bottom: clamp(30px, 5vw, 64px);
	left: 0;
	z-index: 2;
	width: min(60%, 290px);
	aspect-ratio: 4 / 3;
	transform: rotate(-4.5deg);
}
/* Hover: the card lifts and eases towards upright, and comes to the front. */
.hero-card:hover {
	z-index: 3;
	box-shadow: 0 2px 4px rgba(30, 43, 61, .06), 0 44px 80px -36px rgba(30, 43, 61, .55);
}
.hero-card.is-main:hover { transform: rotate(1.4deg) translateY(-10px); }
.hero-card.is-sub:hover { transform: rotate(-2.6deg) translateY(-10px); }

.flower { display: block; overflow: visible; }
.flower-spin { transform-origin: 0 0; animation: turn 180s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.hero-flower {
	position: absolute;
	top: clamp(28px, 5vw, 70px);
	right: clamp(10px, 2vw, 40px);
	z-index: -1;
	width: clamp(140px, 15vw, 210px);
	opacity: .5;
	transform: translate(22%, -42%);
}
.entry-cards { position: relative; padding-top: clamp(32px, 4vw, 56px); }
.entry-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.entry-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--navy);
	box-shadow: var(--shadow-soft);
	transition: transform .2s ease, box-shadow .2s ease;
}
.entry-card:hover { color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.entry-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); }
.entry-title { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.entry-text { font-size: 15px; line-height: 1.55; color: var(--muted); flex-grow: 1; }
.entry-link { padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--magenta); }
.entry-card.is-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }
.entry-card.is-dark:hover { color: var(--white); }
.entry-card.is-dark .entry-label { color: var(--pink-light); }
.entry-card.is-dark .entry-text { color: var(--on-navy); }
.entry-card.is-dark .entry-link { color: var(--white); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 680px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: none; }
.section-head-row > div { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }

.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--line);
}
.section-warm .card { border-color: transparent; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card-center { align-items: flex-start; }
.card .card-strong { font-size: 18px; font-weight: 600; color: var(--navy); line-height: 1.4; }

.icon-tile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 12px;
	background: var(--pink-soft);
	color: var(--magenta);
}
.icon-tile .icon { stroke-width: 1.8; }
.icon-tile-sm { width: 40px; height: 40px; border-radius: 10px; }
.icon-tile-lg { width: 60px; height: 60px; border-radius: 14px; }

.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
	margin: 0;
	padding: 36px 0 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1; color: var(--magenta); }
.steps p { font-size: 16px; line-height: 1.55; color: var(--muted); }

.industry-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.industry-tiles li { padding: 22px 24px; border: 1px solid var(--navy-line); border-radius: 12px; font-size: 17px; font-weight: 500; }

.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); }
.why-intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.ruled-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.ruled-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ruled { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--magenta); }
.ruled h3 { font-size: 19px; }
.ruled p { font-size: 16px; line-height: 1.55; color: var(--muted); }

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--white);
	border-radius: var(--radius);
	color: var(--navy);
	border: 1px solid var(--line);
	transition: transform .2s ease, box-shadow .2s ease;
}
.section-warm .post-card { border-color: transparent; }
.post-card:hover { color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.post-card-media { aspect-ratio: 16 / 10; background: var(--warm-deep); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 26px; }
.post-meta { font-size: 13px; font-weight: 600; color: var(--magenta); }
.post-card h3 { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }

.cta-band {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	padding: clamp(40px, 5vw, 72px) clamp(28px, 5.5vw, 80px);
	background: var(--pink-soft);
	border-radius: 24px;
}
.cta-band > div:not(.petals):not(.actions) { position: relative; display: flex; flex-direction: column; gap: 14px; }
.cta-band h2 { font-size: clamp(30px, 3.4vw, 48px); }
.cta-band p { font-size: 19px; color: var(--muted); }
.cta-band .actions { flex-shrink: 0; }
.cta-band-navy { background: var(--navy); }
.cta-band-navy h2 { color: var(--white); }
.cta-band-navy p { color: var(--on-navy); }

/* -------------------------------------------------------------------------
 * Interior pages
 * ---------------------------------------------------------------------- */

.page-hero { background: var(--warm); padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 6.5vw, 88px); }
.page-hero-grid { display: grid; gap: 56px; align-items: center; }
.page-hero.has-media .page-hero-grid { grid-template-columns: 7fr 5fr; }
.page-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.page-hero h1 { font-size: clamp(40px, 4.8vw, 64px); max-width: 880px; }
.page-hero .lead { max-width: 680px; }
.page-hero .actions { padding-top: 8px; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.page-hero-404 { padding-block: clamp(80px, 12vw, 160px); }
.page-hero-404 .wrap { display: flex; flex-direction: column; gap: 22px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-2); }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--magenta); }
.crumbs [aria-current] { color: var(--navy); }

.narrow-split { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

.prose { font-size: 18px; line-height: 1.75; color: #34404F; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(26px, 2.6vw, 32px); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--magenta); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
	margin-inline: 0;
	padding: 20px 24px;
	background: var(--warm);
	border-left: 3px solid var(--magenta);
	border-radius: 0 12px 12px 0;
	font-family: var(--display);
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
}
.prose .updated { color: var(--muted-2); font-size: 16px; }

/* About: the story column keeps its heading alongside the text, with the
   most persuasive line pulled out underneath it. */
.story-aside { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.pull-quote {
	margin: 0;
	padding-top: 22px;
	border-top: 2px solid var(--magenta);
	max-width: 24ch;
	font-family: var(--display);
	font-weight: 500;
	font-size: clamp(18px, 1.8vw, 23px);
	line-height: 1.4;
	letter-spacing: -.01em;
	color: var(--navy);
}
.narrow-split .prose { max-width: 52ch; }

.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mission-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 18px;
	overflow: hidden;
	padding: clamp(28px, 4vw, 48px);
	background: var(--white);
	border-radius: var(--radius-lg);
}
.mission-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--magenta); }
.mission-card > :not(.flower) { position: relative; z-index: 1; }
.card-flower { position: absolute; right: -52px; bottom: -58px; width: 190px; opacity: .1; z-index: 0; }
.card-flower .flower-spin { animation: none; }
.mission-card:hover .card-flower { opacity: .16; }
.card-flower { transition: opacity .4s ease; }
.mission-text { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; letter-spacing: -.01em; }

.details-card {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 28px 56px;
	padding: clamp(28px, 4vw, 56px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}
.details-card h2 { font-size: clamp(26px, 2.6vw, 34px); }
.details-card .actions { grid-column: 2; }
.details { display: grid; gap: 0; margin: 0; }
.details div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details div:first-child { padding-top: 0; }
.details dt { font-weight: 600; font-size: 15px; }
.details dd { margin: 0; color: var(--muted); }

.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; padding: clamp(28px, 4vw, 52px); background: var(--warm); border-radius: var(--radius-lg); }
.audience .tick-list { flex-grow: 1; align-content: start; }
.audience.is-dark { background: var(--navy); color: var(--white); }
.audience.is-dark h2 { color: var(--white); }
.audience.is-dark .tick-list li { color: var(--on-navy); }
.audience.is-dark .tick-list strong { color: var(--white); }
.audience.is-dark .tick-list .icon { color: var(--pink-light); }

.tick-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; color: var(--muted); }
.tick-list strong { color: var(--navy); font-weight: 600; }
.tick-list .icon { flex-shrink: 0; margin-top: 2px; color: var(--magenta); stroke-width: 2.2; }
.tick-list-lg li { font-size: 18px; color: var(--navy); }

.service-list { display: grid; }
.service-row {
	display: grid;
	grid-template-columns: 60px minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 32px;
	padding: 40px 0;
	border-top: 1px solid var(--rule);
	scroll-margin-top: 120px;
}
.service-row:last-child { border-bottom: 1px solid var(--rule); }
.service-row h2 { margin-bottom: 12px; font-size: clamp(26px, 2.4vw, 32px); }
.service-row p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.best-for { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; background: var(--warm); border-radius: 12px; align-self: start; }
.best-for .eyebrow { font-size: 12px; color: var(--magenta); }
.best-for p { color: var(--navy); font-size: 16px; }

.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 20px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 15px; }
.compare thead td { background: var(--navy); }
.compare tbody th { width: 200px; font-weight: 600; background: var(--warm); }
.compare tbody td { color: var(--muted); }
.compare tbody tr:last-child > * { border-bottom: 0; }

.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.industry-card {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 6px 20px;
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color .2s ease;
}
.industry-card:hover { border-color: var(--pink-light); }
.industry-num { grid-row: span 2; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1; color: var(--magenta); }
.industry-card h2 { font-size: 20px; letter-spacing: -.015em; }
.industry-card p { color: var(--muted); font-size: 16px; }


/* -------------------------------------------------------------------------
 * Forms
 * ---------------------------------------------------------------------- */

.form-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.form-aside { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.form-aside h2 { font-size: clamp(30px, 3vw, 42px); }

.aside-contact { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--rule); }
.aside-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--navy); }
.aside-contact a:hover { color: var(--magenta); }
.aside-contact .icon { color: var(--magenta); }

.promise-list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.promise-list li { display: flex; gap: 16px; }
.promise-list li > div { display: flex; flex-direction: column; gap: 4px; }
.promise-list h3 { font-size: 18px; }
.promise-list p { font-size: 16px; line-height: 1.5; color: var(--muted); }

.vacancies-note { display: flex; flex-direction: column; gap: 6px; padding: 24px; border: 1px dashed #C9C2BA; border-radius: var(--radius); }
.vacancies-note .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.vacancies-note p:not(.eyebrow) { color: var(--muted); font-size: 16px; }

.form-card {
	padding: clamp(26px, 4vw, 48px);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: 0 1px 2px rgba(30, 43, 61, .05), 0 24px 56px -32px rgba(30, 43, 61, .35);
	scroll-margin-top: 120px;
}
.form { display: flex; flex-direction: column; gap: 22px; }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.form-head h2 { font-size: clamp(26px, 2.4vw, 32px); }
.form-head p, .form-note { font-size: 15px; color: var(--muted-2); }
.form-note { text-align: center; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--magenta); }

.field input:not([type="file"]), .field select, .field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--input);
	border-radius: 8px;
	background: var(--white);
	color: var(--navy);
	font: inherit;
	font-size: 16px;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E2B3D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(168, 40, 95, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: var(--error); }
.field-error { font-size: 14px; color: var(--error); }

.dropzone {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 24px;
	border: 1.5px dashed var(--input);
	border-radius: 12px;
	background: #FBFAF8;
	transition: border-color .15s ease, background-color .15s ease;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--magenta); background: var(--pink-soft); }
.dropzone.has-file { border-style: solid; border-color: var(--magenta); }
.dropzone:focus-within { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(168, 40, 95, .15); }
.dropzone-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--pink-soft); color: var(--magenta); }
.dropzone-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dropzone-text strong { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.dropzone-text span { font-size: 14px; color: var(--muted-2); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--magenta); }
.check label { font-size: 15px; line-height: 1.5; color: var(--muted); }
.check.has-error label { color: var(--error); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-errors { padding: 16px 20px; border: 1px solid #F3C4BF; border-radius: 10px; background: #FEF3F2; color: var(--error); font-size: 15px; }
.form-errors ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-errors a { color: var(--error); text-decoration: underline; }

.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 12px 0; }
.form-success:focus { outline: none; }
.form-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pink-soft); color: var(--magenta); }
.form-success h2 { font-size: 32px; }
.form-success p { font-size: 18px; color: var(--muted); }

/* -------------------------------------------------------------------------
 * Contact
 * ---------------------------------------------------------------------- */

.contact-card h2 { font-size: 19px; letter-spacing: -.01em; }
.contact-value { font-size: 18px; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.contact-value:hover { color: var(--magenta); }
.visit-address { display: flex; gap: 12px; font-size: 18px; line-height: 1.5; }
.visit-address .icon { flex-shrink: 0; margin-top: 3px; color: var(--magenta); }
.map { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--warm-deep); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------------------
 * Articles
 * ---------------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); font-size: 15px; font-weight: 500; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

.empty-state { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 48px; background: var(--warm); border-radius: var(--radius-lg); }
.empty-state p { color: var(--muted); max-width: 560px; }

.article-head { padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px); }
.article-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.article-head h1 { font-size: clamp(36px, 4.4vw, 56px); }
.article-meta { font-size: 15px; color: var(--muted-2); }
.article-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: clamp(40px, 5vw, 64px); }
.article .prose { padding-bottom: 48px; }
.article-cta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 28px;
	margin-bottom: var(--section);
	padding: 32px 36px;
	background: var(--pink-soft);
	border-radius: var(--radius-lg);
}
.article-cta > div { display: flex; flex-direction: column; gap: 6px; }
.article-cta h2 { font-size: 28px; }
.article-cta p { color: var(--muted); }
.article-cta .btn { flex-shrink: 0; }

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.site-footer { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 7vw, 80px) 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: var(--white); }
.footer-logo img { width: 30px; height: 30px; }
.footer-tag { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-navy-2); }
.footer-brand > p:last-of-type { line-height: 1.6; max-width: 320px; }
.footer-col h2 { margin-bottom: 16px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--white); }
.footer-col ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--white); }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--navy-line); border-radius: 10px; }
.footer-legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--navy-line); font-size: 13px; color: var(--on-navy-2); }
.footer-legal a { color: var(--on-navy-2); }
.site-footer mark.ph { background: rgba(255, 243, 196, .2); }

/* -------------------------------------------------------------------------
 * Motion
 * ---------------------------------------------------------------------- */

:root { --ease-out: cubic-bezier(.2, .8, .2, 1); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bloom-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes petal-drift {
	from { transform: rotate(var(--r)) translate(0, 0); }
	to   { transform: rotate(calc(var(--r) + 14deg)) translate(10px, -16px); }
}
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }

/* Page load: hero copy rises in line by line, photo blooms in */
.js .home-hero-copy > *,
.js .page-hero-copy > *,
.js .page-hero-404 .wrap > *,
.js .article-head .wrap > * { opacity: 0; animation: rise .8s var(--ease-out) forwards; }
.js .home-hero-copy > :nth-child(2), .js .page-hero-copy > :nth-child(2), .js .page-hero-404 .wrap > :nth-child(2), .js .article-head .wrap > :nth-child(2) { animation-delay: .1s; }
.js .home-hero-copy > :nth-child(3), .js .page-hero-copy > :nth-child(3), .js .page-hero-404 .wrap > :nth-child(3), .js .article-head .wrap > :nth-child(3) { animation-delay: .2s; }
.js .home-hero-copy > :nth-child(4), .js .page-hero-copy > :nth-child(4), .js .page-hero-404 .wrap > :nth-child(4), .js .article-head .wrap > :nth-child(4) { animation-delay: .3s; }
.js .home-hero-copy > :nth-child(5), .js .page-hero-copy > :nth-child(5), .js .page-hero-404 .wrap > :nth-child(5) { animation-delay: .4s; }
.js .home-hero-copy > :nth-child(6), .js .page-hero-copy > :nth-child(6) { animation-delay: .5s; }

.js .page-hero-media img { animation: bloom-in 1.1s var(--ease-out) .15s backwards; }
@keyframes card-in { from { opacity: 0; transform: translateX(50px) rotate(0deg); } }
.js .hero-card.is-main { animation: card-in .8s var(--ease-out) .2s backwards; }
.js .hero-card.is-sub { animation: card-in .8s var(--ease-out) .5s backwards; }

/* Drifting petals, borrowed from the coming-soon flower */
.home-hero, .page-hero, .cta-band { position: relative; overflow: hidden; isolation: isolate; }
.home-hero-copy, .page-hero > .wrap { position: relative; z-index: 1; }
.petals { position: absolute; inset: 0; z-index: 0; pointer-events: none; animation: fade-in 1.6s ease .4s both; }
.petal {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--w);
	height: auto;
	opacity: var(--o);
	transform: rotate(var(--r));
	transform-origin: 20% 50%;
	animation: petal-drift 10s ease-in-out infinite alternate;
	animation-delay: var(--d);
}
.petal-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* On narrow screens the hero copy fills the width, so the petals that would sit behind it are dropped. */
@media (max-width: 900px) {
	.home-hero .petal:nth-child(1), .home-hero .petal:nth-child(4) { display: none; }
}

/* Scroll reveal (data-reveal is added by theme.js and removed once shown) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
	transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms);
}

/* Header gains a shadow once the page scrolls */
.site-header { transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(30, 43, 61, .45); }

/* Nav: sliding underline */
@media (min-width: 1241px) {
	.menu > li > a { position: relative; }
	.menu > li > a::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 4px;
		height: 2px;
		border-radius: 2px;
		background: var(--magenta);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .3s var(--ease-out);
	}
	.menu > .menu-item-has-children > a::after { right: 2px; }
	.menu > li > a:hover::after,
	.menu > .current-menu-item > a::after,
	.menu > .current-menu-ancestor > a::after,
	.menu > .current_page_parent > a::after { transform: scaleX(1); }
	.menu .sub-menu a { transition: background-color .2s ease, color .2s ease, padding-left .2s ease; }
	.menu .sub-menu a:hover { padding-left: 18px; }
}

/* Buttons: lift, glow and a light sweep on the primary */
.btn { position: relative; overflow: hidden; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease-out), box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 12px 24px -12px rgba(168, 40, 95, .7); }
.btn-outline:hover, .btn-light:hover { box-shadow: 0 12px 24px -14px rgba(30, 43, 61, .45); }
.btn-primary::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 40%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
	transform: translateX(-120%) skewX(-20deg);
	pointer-events: none;
}
.btn-primary:hover::after { animation: shine .75s ease; }
.btn:hover .icon { transform: translateX(3px); }

/* Text links: underline draws in */
.text-link {
	padding-bottom: 2px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size .35s var(--ease-out), color .2s ease;
}
.text-link:hover { background-size: 100% 1.5px; }

/* Cards: lift, and the icon tile fills with brand colour */
.card, .industry-card, .mission-card, .audience, .contact-card {
	transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease;
}
.card:hover, .industry-card:hover, .mission-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: var(--pink-light);
}
.section-warm .card:hover { border-color: transparent; }
.icon-tile { transition: background-color .35s ease, color .35s ease, transform .35s var(--ease-out); }
.icon-tile .icon { transition: transform .45s var(--ease-out); }
.card:hover .icon-tile,
.service-row:hover .icon-tile,
.promise-list li:hover .icon-tile { background: var(--magenta); color: var(--white); }
.card:hover .icon-tile .icon,
.service-row:hover .icon-tile .icon,
.promise-list li:hover .icon-tile .icon { transform: rotate(-8deg) scale(1.1); }

.entry-card .entry-link span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease-out); }
.entry-card:hover .entry-link span[aria-hidden] { transform: translateX(5px); }
.entry-card:hover { transform: translateY(-6px); }

.post-card-media img { transition: transform .6s var(--ease-out); }
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card h3 { transition: color .2s ease; }
.post-card:hover h3 { color: var(--magenta); }




/* Photos: slow zoom on hover */
.split-media, .page-hero-media { overflow: hidden; border-radius: var(--radius-lg); }
.split-media img, .page-hero-media img { transition: transform .9s var(--ease-out); }
.split-media:hover img, .page-hero-media:hover img { transform: scale(1.04); }

/* Steps: number lifts, a short rule draws under it */
.step-num { position: relative; display: inline-block; padding-bottom: 10px; transition: transform .35s var(--ease-out); }
.step-num::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--pink-light);
	transition: width .4s var(--ease-out), background-color .3s ease;
}
.steps li:hover .step-num { transform: translateY(-3px); }
.steps li:hover .step-num::after { width: 56px; background: var(--magenta); }

/* Ruled points: the magenta rule grows across on hover */
.ruled { position: relative; border-top-color: var(--rule); }
.ruled::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 56px;
	height: 2px;
	background: var(--magenta);
	transition: width .5s var(--ease-out);
}
.ruled:hover::before { width: 100%; }

/* Industry tiles on navy */
.industry-tiles li { transition: transform .3s var(--ease-out), background-color .3s ease, border-color .3s ease; }
.industry-tiles li:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .05); border-color: var(--pink-light); }

.industry-num { transition: transform .35s var(--ease-out); }
.industry-card:hover .industry-num { transform: translateY(-3px); }

.service-row .best-for { transition: background-color .35s ease; }
.service-row:hover .best-for { background: var(--pink-soft); }

.compare tbody td, .compare tbody th { transition: background-color .2s ease; }
.compare tbody tr:hover td { background: #FCFAF7; }

.chip { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .25s var(--ease-out); }
.chip:not(.is-active):hover { background: var(--warm); transform: translateY(-2px); }

.tick-list li .icon { transition: transform .3s var(--ease-out); }
.tick-list li:hover .icon { transform: scale(1.2); }

.field input:not([type="file"]):hover, .field select:hover, .field textarea:hover { border-color: #B8AFA5; }

.footer-col a { display: inline-block; transition: color .2s ease, transform .25s var(--ease-out); }
.footer-col a:hover { transform: translateX(3px); }
.social a { transition: background-color .2s ease, border-color .2s ease, transform .25s var(--ease-out); }
.social a:hover { background: rgba(255, 255, 255, .06); border-color: var(--pink-light); transform: translateY(-2px); }
.footer-logo img { transition: transform .6s var(--ease-out); }
.footer-logo:hover img { transform: rotate(-12deg) scale(1.08); }

.aside-contact a { transition: color .2s ease, transform .25s var(--ease-out); }
.aside-contact a:hover { transform: translateX(3px); }

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

@media (max-width: 1100px) {
	.entry-grid, .card-grid-4, .ruled-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.industry-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
	.service-row { grid-template-columns: 60px minmax(0, 1fr); }
	.service-row .best-for { grid-column: 2; }
}

@media (max-width: 900px) {
	.split, .why-grid, .form-split, .narrow-split, .page-hero.has-media .page-hero-grid, .mission-grid, .audience-grid { grid-template-columns: minmax(0, 1fr); }
	.home-hero { grid-template-columns: minmax(0, 1fr); }
	.home-hero { gap: 0; }
	.home-hero-copy { grid-column: 1; max-width: none; padding: clamp(40px, 8vw, 64px) var(--gutter) clamp(28px, 4vw, 40px); }
	.home-hero-copy .lead { max-width: 46ch; }
	.home-hero-media { grid-column: 1; width: min(100%, 560px); margin-inline: auto; padding: 0 var(--gutter) clamp(48px, 9vw, 80px); min-height: clamp(360px, 84vw, 520px); }
	.hero-card.is-main { top: 0; right: 0; width: min(66%, 320px); }
	.hero-card.is-sub { bottom: clamp(48px, 9vw, 80px); left: 0; width: min(54%, 250px); }
	.hero-flower { top: auto; bottom: clamp(30px, 6vw, 56px); right: auto; left: 0; width: clamp(130px, 26vw, 190px); opacity: .45; transform: translate(-36%, 28%); }
	.pull-quote { max-width: 40ch; }
	.card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.page-hero-grid { gap: 36px; }
	.page-hero-media { max-width: 640px; }
	.section-head-row { flex-direction: column; align-items: flex-start; gap: 20px; }
	.cta-band, .article-cta { flex-direction: column; align-items: flex-start; }
	.details-card { grid-template-columns: minmax(0, 1fr); }
	.details-card .actions { grid-column: auto; }
	.industry-grid { grid-template-columns: minmax(0, 1fr); }
	.form-aside { padding-top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.entry-grid, .card-grid-3, .card-grid-4, .ruled-grid, .ruled-grid-4, .steps, .steps-3, .form-grid { grid-template-columns: minmax(0, 1fr); }
	.entry-grid { gap: 14px; }
	.entry-card { padding: 22px; }
	.entry-title { font-size: 23px; }
	.card { padding: 24px; }
	.steps { gap: 28px; }
	.industry-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
	.industry-tiles li { padding: 16px; font-size: 15px; }
	.actions { flex-direction: column; align-items: stretch; width: 100%; }
	.actions .btn { width: 100%; }
	.cta-band .actions { width: 100%; }
	.footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.footer-grid .footer-col:last-child { grid-column: 1 / -1; }
	.footer-legal { flex-direction: column; }
	.details div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.service-row { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 32px 0; }
	.service-row .best-for { grid-column: auto; }
	.industry-card { grid-template-columns: minmax(0, 1fr); padding: 24px; }
	.industry-num { grid-row: auto; font-size: 28px; }
	.dropzone { flex-direction: column; align-items: flex-start; }

	.compare { border: 0; border-radius: 0; overflow: visible; }
	.compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; width: auto; }
	.compare thead { display: none; }
	.compare tbody { display: grid; gap: 14px; }
	.compare tbody tr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
	.compare tbody th { width: auto; padding: 14px 18px; }
	.compare tbody td { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 18px; }
	.compare tbody td::before { content: attr(data-label); font-weight: 600; color: var(--navy); font-size: 14px; }
	.compare tbody tr > :last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.js .home-hero-copy > *, .js .page-hero-copy > *, .js .page-hero-404 .wrap > *, .js .article-head .wrap > *, .js [data-reveal] { opacity: 1; transform: none; }
}
