/* ==========================================================================
   Write on Tyne — theme stylesheet
   Values taken from the "Home - Coral and Navy 2.0" design (1600px canvas),
   scaled with clamp() so the page keeps the same proportions on any width.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
	/* Plus Jakarta Sans, loaded from Google Fonts (see functions.php). */
	--font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--color-navy: #233960;
	--color-navy-dark: #1b2c4a;
	--color-coral: #f28568;
	/* One coral across the site. The other shades stay available: to use one again, point the token at its
	   --coral-option-* value (e.g. --color-coral-deep: var(--coral-option-deep);). */
	--coral-option-deep: #e87d61;
	--coral-option-strong: #f17a5a;
	--coral-option-soft: #e8937a;
	--color-coral-deep: var(--color-coral);
	--color-coral-strong: var(--color-coral);
	--color-coral-soft: var(--color-coral);
	--color-coral-pale: #f9cdc2;
	--color-cream: #f7f0ec;
	--color-cream-light: #fdf7f6;
	--color-cream-lighter: #fef5f4;
	--color-blush: #fbecea;
	--color-blush-light: #fdece9;
	--color-blush-mid: #e8c8be;
	--color-text: #433331;
	--color-text-strong: #38332d;
	--color-white: #ffffff;
	--color-muted: #707070;

	--container-width: 1434px;
	--container-pad: 24px;
	--radius-lg: 39px;
	--radius-md: 27px;
	--radius-sm: 10px;
	--shadow-card: 0 0 30px 0 rgba(0, 0, 0, 0.16);
	--shadow-soft: 0 2px 15px 0 rgba(0, 0, 0, 0.16);

	/* Type scale: design px at 1600 wide -> clamp(min, vw, design px) */
	--fs-hero: clamp(34px, 4.2vw, 66px);
	--fs-h2: clamp(30px, 3.125vw, 50px);
	--fs-h3: clamp(24px, 2.2vw, 35px);
	--fs-title: clamp(16px, 1.1vw, 27px);
	--fs-lead: clamp(19px, 1.7vw, 27px);
	--fs-body: clamp(17px, 1.3125vw, 21px);
	--fs-small: clamp(15px, 1.1vw, 18px);
	--fs-nav: clamp(15px, 1.15vw, 18px);
	--wave-overlap: clamp(40px, 5.2vw, 83px); /* how far the hero wave hangs below the hero */

	/* Titles: bold. (Plus Jakarta Sans also has a real 600 if you ever want semibold.) */
	--title-weight: 700;
}

/* Section headings (--fs-h2) are 28px on phones. */
@media (max-width: 782px) {
	:root { --fs-h2: 28px; }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-body);
	letter-spacing: -0.015em;
	color: var(--color-text);
	background: var(--color-white);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link.screen-reader-text:focus {
	position: fixed;
	top: 8px; left: 8px;
	width: auto; height: auto;
	clip: auto;
	background: var(--color-navy);
	color: var(--color-white);
	padding: 12px 20px;
	border-radius: 8px;
	z-index: 999;
}

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

/* ---- Typography helpers ---- */
.eyebrow {
	font-weight: 700;
	font-size: var(--fs-small);
	color: var(--color-coral);
	margin-bottom: 12px;
}
.eyebrow--center { text-align: center; }

.section-heading {
	font-weight: var(--title-weight);
	font-size: var(--fs-h2);
	line-height: 1.5;
	letter-spacing: -0.015em;
	color: var(--color-navy);
	margin-bottom: 20px;
}
.section-heading--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 810px; }
.badges-text__content .section-heading > span { display: block; }
.section-intro { font-size: var(--fs-body); max-width: 720px; margin-bottom: 32px; }
.section-intro--center { text-align: center; margin-left: auto; margin-right: auto; }
.text-coral { color: var(--color-coral); }
.text-dark { color: var(--color-navy); }

/*
 * Coral highlighter for emphasised heading text — wrap any word or phrase in
 * *asterisks* in the field (rendered as <strong>). The marker is tilted -2deg
 * as one block, so it stays on one line (nowrap) above 480px.
 */
h1 strong,
h2 strong,
h3 strong {
	--mark-bg: var(--color-coral-deep);
	position: relative;
	isolation: isolate;
	display: inline-block;
	line-height: 1.19; /* Fixed, so the highlight sits on the letters the same way in every heading size. */
	color: var(--color-white);
	font-weight: inherit;
	padding: 0 0.28em;
	white-space: nowrap;
	transform: rotate(-2deg);
}
/* The colour is its own layer, measured from the letters rather than the line, then lifted to sit as you approved
   (about 0.16em of colour above the capitals, 0.04em below the descenders, measured with Plus Jakarta Sans). Tune with --mark-top / --mark-bottom. */
h1 strong::before,
h2 strong::before,
h3 strong::before {
	content: '';
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: var(--mark-top, 0.09em);
	bottom: var(--mark-bottom, -0.078em);
	background: var(--mark-bg);
	border-radius: 4px;
}

@media (max-width: 480px) {
	/* Small screens let the highlight wrap over several lines, so it goes back to a plain background. */
	h1 strong,
	h2 strong,
	h3 strong {
		display: inline;
		white-space: normal;
		transform: none;
		padding: 0.08em 0.28em 0.18em;
		background: var(--mark-bg);
		border-radius: 4px;
		box-decoration-break: clone;
		-webkit-box-decoration-break: clone;
	}
	h1 strong::before,
	h2 strong::before,
	h3 strong::before { display: none; }
}

.hl-text { color: var(--color-coral); }
.is-dark .hl-text { color: var(--color-coral-soft); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75em;
	font-weight: 700;
	color: var(--color-coral);
}
.link-arrow::before {
	font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
	content: '\f178';
	font-weight: 900;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.link-arrow:hover::before { transform: translateX(6px); }
/* Rich text from the editor */
.prose p { margin-bottom: 16px; font-size: var(--fs-body); line-height: 1.5; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--color-coral-strong); text-decoration: underline; }
.prose ul,
.tick-list { margin: 0 0 16px; }
.prose ul li,
.tick-list li {
	position: relative;
	padding-left: 1.7em;
	margin-bottom: 0.45em;
	font-size: var(--fs-body);
}
.prose ul li::before,
.tick-list li::before {
	content: '\f00c';
	font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
	font-weight: 900;
	font-size: 1em;
	position: absolute;
	left: 0;
	top: 0.1em;
	color: var(--color-coral);
}
.prose .btn, .prose + .btn { margin-top: 24px; }

/* ==========================================================================
   Buttons — pill with a solid offset block behind it (the "thick border").
   Three layers: ::before = the offset block, ::after = the button face,
   the text sits on top. Every button animates the block on hover.
   ========================================================================== */
.btn {
	--btn-dx: 7px;
	--btn-dy: 6px;
	--btn-bg: var(--color-coral-deep);
	--btn-border: transparent;
	--btn-shadow: rgba(242, 133, 104, 0.4);
	--btn-radius: 999px;
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(56px, 4.6vw, 74px);
	padding: 0 clamp(26px, 2vw, 32px);
	border: 0;
	border-radius: var(--btn-radius);
	background: none;
	color: var(--color-white);
	font-family: inherit;
	font-weight: 700;
	font-size: var(--fs-body);
	letter-spacing: -0.015em;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: color 0.2s ease;
}
.btn::before,
.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--btn-radius);
	pointer-events: none;
}
.btn::before {
	z-index: -2;
	background: var(--btn-shadow);
	transform: translate(var(--btn-dx), var(--btn-dy));
}
.btn::after {
	z-index: -1;
	background: var(--btn-bg);
	border: 2px solid var(--btn-border);
}
.btn:focus-visible { outline: 3px solid var(--color-navy); outline-offset: 6px; }

.btn--coral:hover { --btn-bg: var(--color-coral); }
.btn--navy { --btn-bg: var(--color-navy); --btn-shadow: var(--color-blush-light); --btn-dx: 7px; --btn-dy: 7px; color: var(--color-white); }
.btn--navy:hover { --btn-bg: var(--color-navy-dark); }
.btn--white { --btn-bg: var(--color-white); --btn-shadow: var(--color-navy); color: var(--color-navy); }
.btn--navy-outline { --btn-bg: var(--color-cream-light); --btn-border: var(--color-navy); --btn-shadow: var(--color-navy); --btn-dx: 6px; color: var(--color-navy); }

.btn--coral-outline-strong {
	--btn-bg: var(--color-cream-lighter);
	--btn-border: var(--color-coral-strong);
	--btn-shadow: var(--color-coral-strong);
	--btn-dx: 7px;
	--btn-dy: 7px;
	color: var(--color-coral-strong);
	min-height: clamp(52px, 4.4vw, 70px);
	padding: 0 clamp(20px, 1.6vw, 24px);
}
.btn--small {
	--btn-dx: 6px;
	--btn-dy: 7px;
	min-height: clamp(46px, 3.75vw, 60px);
	padding: 0 clamp(20px, 1.6vw, 26px);
	font-size: var(--fs-small);
}

/* On dark sections the pill turns into the design's 10px-radius block button. */
.bg-coral .btn--coral { --btn-bg: var(--color-navy); --btn-shadow: var(--color-blush-light); }
.bg-coral .btn--coral:hover { --btn-bg: var(--color-navy-dark); }
.bg-navy .btn--coral { --btn-bg: var(--color-coral-soft); --btn-shadow: var(--color-blush-mid); }
.bg-navy .btn--coral:hover { --btn-bg: var(--color-coral); }

/* ---- Hover: the face lifts off its block ("stamp") ----
   Only the face (::after) and the label move. The button's own box never
   moves, so the pointer can't fall off the edge and re-trigger the hover. */
.btn__label { position: relative; display: inline-block; transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }
.btn::after { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease; }
.btn::before { transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }

@media (hover: hover) {
	.btn:hover::after,
	.btn:focus-visible::after { transform: translate(calc(var(--btn-lift, 4px) * -1), calc(var(--btn-lift, 4px) * -1)); }
	.btn:hover .btn__label,
	.btn:focus-visible .btn__label { transform: translate(calc(var(--btn-lift, 4px) * -1), calc(var(--btn-lift, 4px) * -1)); }
}
/* Pressing pushes the face down into its block. */
.btn:active::after { transform: translate(calc(var(--btn-dx) * 0.7), calc(var(--btn-dy) * 0.7)); transition-duration: 0.08s; }
.btn:active .btn__label { transform: translate(calc(var(--btn-dx) * 0.7), calc(var(--btn-dy) * 0.7)); transition-duration: 0.08s; }
@media (prefers-reduced-motion: reduce) {
	.btn::before, .btn::after, .btn__label { transition: none; }
}

/* ==========================================================================
   Section system — every flexible content layout is a .wot-section
   ========================================================================== */
.wot-section {
	position: relative;
	padding: clamp(56px, 5vw, 80px) 0;
	overflow-x: clip;
}
.wot-section > .container { position: relative; z-index: 1; }

.bg-white { background: var(--color-white); }
.bg-blush { background: var(--color-blush); }
.bg-cream { background: var(--color-cream); }
.bg-coral { background: var(--color-coral); }
.bg-navy { background: var(--color-navy); }

/* Dark backgrounds flip the text colours */
.is-dark,
.is-dark .section-heading,
.is-dark .prose,
.is-dark p { color: var(--color-white); }
.is-dark .eyebrow { color: var(--color-coral-soft); }
.bg-coral .eyebrow { color: var(--color-white); }
.is-dark .prose ul li::before { color: var(--color-white); }
.bg-coral h1 strong,
.bg-coral h2 strong,
.bg-coral h3 strong { --mark-bg: var(--color-navy); }

/* Decorative blobs: only behind images, hero and the contact card, placed as in the design.
   Position is a centre point + size as % of the image/card they sit behind (--bx/--by/--bw/--bh), rotated by --br. */
.blob {
	position: absolute;
	z-index: 0;
	left: var(--bx, 50%);
	top: var(--by, 50%);
	width: var(--bw, 120%);
	height: var(--bh, 120%);
	transform: translate(-50%, -50%) rotate(var(--br, 0deg));
	pointer-events: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}
.blob--1 { background-image: url('../images/decorative/blob-1.svg'); }
.blob--2 { background-image: url('../images/decorative/blob-2.svg'); }
.blob--3 { background-image: url('../images/decorative/blob-3.svg'); }
.blob--4 { background-image: url('../images/decorative/blob-4.svg'); }
.no-blob .blob,
.is-dark .image-text__media .blob { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
/* Header height at the top of the page (used to push the hero down so it can sit behind a transparent header). */
:root { --header-h: calc(clamp(20px, 2.8vw, 45px) + clamp(46px, 4.2vw, 67px)); }
html { scroll-padding-top: 96px; }

/*
 * Over the top of the hero, transparent, so the hero's blobs can run behind the navigation.
 * Once the page has scrolled past it, main.js makes it fixed: it hides while scrolling down and
 * slides back in (with a solid background) as soon as you scroll up.
 */
.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: clamp(20px, 2.8vw, 45px) 0 0;
	background-color: transparent;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-fixed {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	padding: 20px 0;
	background-color: var(--color-white);
	box-shadow: 0 4px 24px rgba(35, 57, 96, 0.1);
}
.site-header.is-hidden { transform: translateY(-110%); }
@media (prefers-reduced-motion: reduce) {
	.site-header { transition: none; }
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.site-header__logo img { height: clamp(46px, 4.2vw, 67px); width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.nav-menu { display: flex; align-items: center; gap: clamp(20px, 2.9vw, 46px); }
.nav-menu a {
	font-weight: 700;
	font-size: var(--fs-nav);
	letter-spacing: -0.01em;
	color: var(--color-navy);
	transition: color 0.2s ease;
}
.nav-menu a:hover,
.nav-menu .current_page_item > a { color: var(--color-coral-strong); }
.nav-menu .no-current > a { color: var(--color-navy); }
.nav-menu .no-current > a:hover { color: var(--color-coral-strong); }
.nav-cta { white-space: nowrap; margin-right: 7px; font-size: var(--fs-nav); }

/* Dropdown (Services > service pages): opens on hover or keyboard focus; JS adds .is-open for touch. */
.nav-menu .current-menu-ancestor > a,
.nav-menu .current_page_ancestor > a { color: var(--color-coral-strong); }
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	width: 0.4em; height: 0.4em;
	margin-left: 0.55em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-0.18em) rotate(45deg);
	transition: transform 0.2s ease;
}
.nav-menu .sub-menu {
	position: absolute;
	left: -22px;
	top: 100%;
	z-index: 20;
	display: block;
	min-width: 300px;
	margin-top: 16px;
	padding: 12px;
	background: var(--color-navy);
	border-radius: var(--radius-sm);
	box-shadow: 0 12px 32px rgba(35, 57, 96, 0.28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.nav-menu .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.nav-menu .sub-menu li { margin: 0; }
.nav-menu .sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: var(--fs-small); white-space: nowrap; color: var(--color-white); }
.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu a:focus-visible,
.nav-menu .sub-menu .current_page_item > a { color: var(--color-coral); }
@media (min-width: 783px) {
	.nav-menu .menu-item-has-children:hover > .sub-menu,
	.nav-menu .menu-item-has-children:focus-within > .sub-menu,
	.nav-menu .menu-item-has-children.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition-delay: 0s;
	}
	.nav-menu .menu-item-has-children:hover > a::after,
	.nav-menu .menu-item-has-children:focus-within > a::after,
	.nav-menu .menu-item-has-children.is-open > a::after { transform: translateY(0.05em) rotate(225deg); }
}


/* Sticky (scrolled) header: a more compact bar. Logo drops to about 75% and the button shrinks. */
.site-header__logo img { transition: height 0.3s ease; }
.site-header.is-fixed .site-header__logo img { height: calc(clamp(46px, 4.2vw, 67px) * 0.75); }
.site-header.is-fixed .nav-cta {
	--btn-dx: 5px;
	--btn-dy: 5px;
	min-height: clamp(40px, 3.1vw, 48px);
	padding: 0 clamp(16px, 1.3vw, 20px);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	padding: 8px;
}
.nav-toggle__bar {
	width: 26px; height: 2px;
	background: var(--color-navy);
	border-radius: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.wot-section--hero { padding: var(--header-h) 0 0; overflow-x: clip; overflow-y: visible; z-index: 2; }
.hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
	padding-top: clamp(64px, 7vw, 108px); /* drops the hero content clear of the navigation */
	padding-bottom: clamp(100px, 10vw, 160px);
}
.hero:not(.has-media) .hero__inner { grid-template-columns: 1fr; padding-bottom: clamp(80px, 8vw, 120px); }
.hero__heading {
	font-weight: var(--title-weight);
	font-size: var(--fs-hero);
	line-height: 1.19;
	letter-spacing: -0.015em;
	color: var(--color-navy);
	margin-bottom: clamp(18px, 2vw, 32px);
}
.hero__content { position: relative; z-index: 2; } /* keeps the title above the decorative blob */
.hero__heading-line { display: block; }
.hero__subtitle {
	font-size: var(--fs-lead);
	line-height: 1.5;
	color: var(--color-navy);
	margin-bottom: clamp(24px, 2.6vw, 42px);
	max-width: 560px;
}
.hero__actions { display: flex; gap: clamp(20px, 2.2vw, 30px); flex-wrap: wrap; padding-right: 8px; }

.hero__media {
	position: relative;
	display: flex;
	justify-content: center;
	min-height: clamp(360px, 33vw, 516px);
}
/* Keeps the hero blob inside the hero: main.js sets its clip-path from the hero's real bounds (right half only,
   below the nav, above the wave). The layer is the same box as the image area, so the blob positions are unchanged. */
.hero__blob-clip { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__blob-wave { position: absolute; inset: 0; } /* clipped along the wave curve by main.js, so the blob runs down to the wave and stops there */
.hero__portrait {
	position: relative;
	z-index: 2;
	width: clamp(300px, 28.5vw, 457px);
	height: clamp(340px, 32vw, 516px);
	object-fit: cover;
	border-radius: 21px;
	box-shadow: var(--shadow-card);
}
.hero__floating-card img { width: 100%; aspect-ratio: 417 / 323; object-fit: cover; object-position: 0 30%; }
.hero__floating-card {
	position: absolute;
	z-index: 3;
	left: 0;
	bottom: -4%;
	width: clamp(220px, 26vw, 417px);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: var(--shadow-card);
}
.hero__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(-1 * var(--wave-overlap));
	width: 100%;
	height: clamp(40px, 5.3vw, 85px);
	z-index: 0;
	pointer-events: none;
}

#main > .wot-section:first-child:not(.wot-section--hero) { padding-top: calc(var(--header-h) + clamp(40px, 4vw, 64px)); }
#main > .entry:first-child { padding-top: calc(var(--header-h) + 40px); }

/* The section after a hero starts below the wave, then adds its normal breathing room. */
.wot-section--hero + .wot-section { padding-top: calc(var(--wave-overlap) + clamp(44px, 4.5vw, 72px)); }

/* Wave takes the colour of the hero background */
.hero.bg-cream .hero__wave path { fill: var(--color-cream); }
.hero.bg-blush .hero__wave path { fill: var(--color-blush); }
.hero.bg-white .hero__wave path { fill: var(--color-white); }
.hero.bg-navy .hero__wave path { fill: var(--color-navy); }
.hero.bg-coral .hero__wave path { fill: var(--color-coral); }

/* Home hero: only the highlighted words tilt (the generic h1 strong rule), the rest of the heading stays level. */
.hero--home .hero__heading { text-wrap: balance; }
.hero--home .hero__heading strong { padding: 0 0.22em; }
.hero--home .hero__heading-line:last-child { margin-top: 0.12em; }

/* Standard (inner page) hero: wider text column so titles stay within two lines. */
.hero--inner .hero__inner { grid-template-columns: 1.25fr 1fr; padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(90px, 9vw, 140px); }
.hero--inner .hero__heading { text-wrap: balance; }
.hero--inner .hero__heading-line { display: inline; }
.hero--inner .hero__heading-line + .hero__heading-line::before { content: ' '; }
.hero--inner .hero__media { min-height: 0; }
.hero--inner .hero__portrait {
	width: 100%;
	max-width: 600px;
	height: auto;
	aspect-ratio: 600 / 460;
	border-radius: 21px;
}


/* ==========================================================================
   Plain text
   ========================================================================== */
.plain-text__head .section-heading { margin-bottom: 0; }
.plain-text--two_column .plain-text__inner {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: clamp(30px, 4.5vw, 70px);
	align-items: start;
}
.plain-text--two_column .plain-text__body .prose p { color: var(--color-text); line-height: 1.7; }
/* Short client quote card under the heading (head column). */
.plain-text__quote {
	margin: clamp(24px, 2.6vw, 40px) 0 0;
	padding: clamp(24px, 2.6vw, 38px) clamp(22px, 2.6vw, 38px);
	background: var(--color-white);
	border: 2px solid var(--color-coral-soft);
	border-radius: var(--radius-md);
	text-align: left;
}
.plain-text__quote-mark { display: block; margin-bottom: 14px; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; color: var(--color-coral); }
.plain-text__quote .plain-text__quote-text { margin: 0 0 18px; font-size: var(--fs-body); line-height: 1.55; color: var(--color-text); }
.plain-text__quote-who { font-size: var(--fs-small); line-height: 1.4; color: var(--color-text); }
.plain-text__quote-who cite { display: block; font-style: normal; font-weight: 700; color: var(--color-navy); }
/* Sub-heading inside the text (an h3 in the editor; *words* in <strong> get the coral highlighter). */
.plain-text__body .prose h2,
.plain-text__body .prose h3 {
	margin: clamp(22px, 2.2vw, 32px) 0 clamp(16px, 1.6vw, 24px);
	font-size: clamp(22px, 1.9vw, 30px);
	font-weight: var(--title-weight);
	line-height: 1.5;
	color: var(--color-navy);
}
.plain-text__body .prose h2:first-child,
.plain-text__body .prose h3:first-child { margin-top: 0; }
/* Longer documents (policies): h3s under an h2 are a step smaller. */
.plain-text__body .prose h2 ~ h3 { font-size: clamp(18px, 1.5vw, 22px); margin: 24px 0 10px; }
.plain-text__body .prose h3 strong { color: var(--color-white); } /* highlighted words: white on the coral marker */
/* A quoted block inside the text (e.g. a client answer): coral rule, white card, copy stays left-aligned. */
.plain-text__body .prose blockquote {
	margin: 28px 0 0;
	padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.4vw, 36px);
	background: var(--color-white);
	border-left: 5px solid var(--color-coral);
	border-radius: var(--radius-md);
	text-align: left;
}
.plain-text__body .prose blockquote p,
.plain-text--two_column .plain-text__body .prose blockquote p { color: var(--color-text); }
.plain-text__body .prose blockquote ul { margin: 0 0 16px; }
.plain-text__body .prose strong { color: var(--color-navy); }
.plain-text--centred .plain-text__inner,
.plain-text--left .plain-text__inner { max-width: 980px; }
.plain-text--centred .plain-text__inner { margin: 0 auto; text-align: center; }
.plain-text--centred .plain-text__head,
.plain-text--left .plain-text__head { margin-bottom: 20px; }
.width-narrow .plain-text__inner { max-width: 760px; }
.width-wide .plain-text__inner { max-width: none; }

/* ==========================================================================
   Wants list and pitch (two column, dark)
   ========================================================================== */
/* Optional faded photo behind the section: fixed in place so the section scrolls over it (a gentle parallax). */
.want-list__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	opacity: 0.1;
	pointer-events: none;
}
/* iOS and touch browsers ignore fixed backgrounds (and stutter if they try), so they just get the faded image. */
@media (hover: none), (max-width: 1024px), (prefers-reduced-motion: reduce) {
	.want-list__bg { background-attachment: scroll; }
}
.want-list__inner {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: clamp(36px, 6vw, 110px);
	align-items: start;
}
.wot-section--want-list { padding: clamp(64px, 7vw, 112px) 0; }
.want-list__heading { font-size: clamp(44px, 5.4vw, 86px); line-height: 1.1; margin-bottom: clamp(28px, 3vw, 48px); }
.want-list__items { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 1.4vw, 22px); }
.want-list__item { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); }
.want-list__icon-box {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	width: clamp(64px, 5.75vw, 92px); height: clamp(64px, 5.75vw, 92px); /* 15% larger */
	border: 2px solid var(--color-coral);
	background: transparent; /* coral fill at 0% (change the alpha here to bring a tint back) */
	border-radius: var(--radius-sm);
	color: var(--color-coral);
	font-size: clamp(28px, 2.53vw, 39px);
}
.want-list__icon { --fa-primary-color: var(--color-coral); --fa-secondary-color: var(--color-coral); --fa-secondary-opacity: 0.6; }
.want-list__item-text { font-weight: var(--title-weight); font-size: clamp(26px, 2.9vw, 46px); line-height: 1.2; color: var(--color-white); }
.want-list__aside .want-list__subheading { font-weight: var(--title-weight); font-size: var(--fs-h3); line-height: 1.4; color: var(--color-coral-soft); margin-bottom: clamp(24px, 2.6vw, 40px); }
.want-list__text p { font-size: var(--fs-lead); line-height: 1.5; margin-bottom: 24px; }
.want-list__text p:last-child { margin-bottom: 0; }
.want-list__actions { display: flex; flex-wrap: wrap; gap: 24px clamp(20px, 2.4vw, 40px); margin-top: clamp(32px, 4vw, 64px); }
.bg-navy .btn--white { --btn-shadow: var(--color-coral-soft); }
@media (max-width: 1024px) {
	.want-list__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Logos / badges strip
   ========================================================================== */
.wot-section--logo-strip { padding: clamp(36px, 4vw, 56px) 0; }
.logo-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 36px clamp(32px, 4.5vw, 72px);
}
.section-heading--center + .logo-strip__inner { margin-top: 40px; }
.logo-strip--logos .logo-strip__logo { max-height: 60px; max-width: 160px; width: auto; height: auto; object-fit: contain; opacity: 0.4; }
/* Logos strip: the ticker is phones only, the wrapped row is tablet and up. */
.logo-marquee--logos { display: none; }
@media (max-width: 600px) {
	.logo-strip--logos .logo-strip__inner { display: none; }
	.logo-strip--logos .logo-marquee--logos { display: block; --marquee-gap: 36px; margin-top: 0; }
	.logo-strip--logos .section-heading + .logo-marquee--logos { margin-top: 24px; }
	.wot-section--hero + .wot-section--logo-strip { padding-top: calc(var(--wave-overlap) + 4px); }
	.hero--home:has(+ .wot-section--logo-strip) .hero__inner { padding-bottom: 44px; }
	.logo-strip--logos .logo-marquee--logos .logo-strip__logo { flex: 0 0 auto; width: auto; max-width: 120px; max-height: 44px; }
}

.logo-strip--badges { padding: clamp(48px, 5vw, 80px) 0; overflow-x: clip; }
.logo-strip--badges .section-heading { font-size: clamp(22px, 1.9vw, 30px); }
.logo-strip--badges .logo-strip__logo { width: clamp(85px, 12.7vw, 202px); height: auto; flex: 0 0 auto; }

/* Accreditations: an endless, seamless loop. The set is rendered twice and the track slides left by exactly one set. */
.logo-marquee {
	--marquee-gap: clamp(12px, 1.6vw, 28px);
	margin-top: clamp(24px, 3vw, 44px);
	overflow: hidden;
	/* Truly edge to edge: break out of the container to the full viewport width, no faded ends. */
	width: 100vw;
	margin-left: calc(50% - 50vw);
}
.logo-marquee__track {
	display: flex;
	width: max-content;
	animation: logo-marquee var(--marquee-duration, 45s) linear infinite;
	will-change: transform;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__set { display: flex; flex: 0 0 auto; align-items: center; gap: var(--marquee-gap); padding-right: var(--marquee-gap); }
@keyframes logo-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.logo-marquee__track { animation: none; }
	.logo-marquee { overflow-x: auto; }
}
.logo-strip__logo.is-faded { opacity: 0.25; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.services-cards__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(16px, 2.2vw, 35px);
	margin-top: clamp(32px, 4vw, 64px);
	align-items: stretch;
}
.cols-2 .services-cards__grid { grid-template-columns: repeat(2, 1fr); }
.cols-3 .services-cards__grid { grid-template-columns: repeat(3, 1fr); }
/* 3-up rows with a short last row (e.g. 5 cards): centre the leftover cards instead of leaving them on the left. */
@media (min-width: 1025px) {
	.cols-3 .services-cards__grid:not(.has-highlight) { grid-template-columns: repeat(6, 1fr); }
	.cols-3 .services-cards__grid:not(.has-highlight) .service-card { grid-column: span 2; }
	.cols-3 .services-cards__grid:not(.has-highlight) .service-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
	.cols-3 .services-cards__grid:not(.has-highlight) .service-card:last-child:nth-child(3n+2) { grid-column: 4 / span 2; }
	.cols-3 .services-cards__grid:not(.has-highlight) .service-card:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
}
.service-card {
	background: var(--color-cream-light);
	border: 2px solid var(--color-coral-soft);
	border-radius: var(--radius-md);
	padding: clamp(28px, 3vw, 44px) clamp(20px, 2vw, 32px) clamp(28px, 3vw, 44px);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.service-card__icon { font-size: clamp(40px, 3.75vw, 60px); color: var(--color-coral); margin-bottom: clamp(16px, 1.8vw, 28px); }
.service-card__image { width: clamp(68px, 6.4vw, 102px); height: auto; margin-bottom: clamp(16px, 1.8vw, 28px); }
.service-card__title { font-weight: var(--title-weight); font-size: var(--fs-title); line-height: 1.2; color: var(--color-text); margin-bottom: 14px; }
.service-card__text { font-size: clamp(15px, 1.06vw, 17px); line-height: 1.5; color: var(--color-text); margin-bottom: 28px; max-width: 258px; }
.service-card__list { text-align: left; align-self: stretch; margin-bottom: 28px; }
.service-card__cta { margin-top: auto; }
.service-card__link { font-size: var(--fs-small); margin-top: 18px; }

/* Whole card is a link: a transparent overlay sits behind the visible button. */
.service-card { position: relative; }
.service-card__overlay { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service-card.has-link .service-card__cta,
.service-card.has-link .service-card__link { position: relative; z-index: 2; }

/* Card hover (the 4-up cards): fills coral with white copy and a matching border; the icon tilts 10deg anticlockwise. */
.services-cards__grid:not(.has-highlight) .service-card { transition: background-color 0.3s ease, border-color 0.3s ease; }
.service-card__icon,
.service-card__image { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, filter 0.3s ease; }
.service-card__title,
.service-card__text { transition: color 0.3s ease; }
@media (hover: hover) {
	.services-cards__grid:not(.has-highlight) .service-card:hover { background-color: var(--color-coral-deep); border-color: var(--color-coral-deep); }
	.services-cards__grid:not(.has-highlight) .service-card:hover .service-card__icon,
	.services-cards__grid:not(.has-highlight) .service-card:hover .service-card__title,
	.services-cards__grid:not(.has-highlight) .service-card:hover .service-card__text,
	.services-cards__grid:not(.has-highlight) .service-card:hover .link-arrow { color: var(--color-white); }
	.services-cards__grid:not(.has-highlight) .service-card:hover .service-card__image { filter: brightness(0) invert(1); }
	.services-cards__grid:not(.has-highlight) .service-card:hover .btn--coral { --btn-bg: var(--color-white); --btn-shadow: var(--color-navy); color: var(--color-navy); }
	.services-cards__grid:not(.has-highlight) .service-card:hover .service-card__icon,
	.services-cards__grid:not(.has-highlight) .service-card:hover .service-card__image { transform: rotate(-10deg); }
}
@media (prefers-reduced-motion: reduce) {
	.services-cards__grid .service-card,
	.service-card__icon,
	.service-card__image { transition: none; }
}

/* With a highlighted column the cards become one bordered panel (Services page) */
.services-cards__grid.has-highlight {
	gap: 0;
	background: var(--color-cream-light);
	border: 2px solid var(--color-coral-soft);
	border-radius: var(--radius-md);
	align-items: stretch;
}
.has-highlight .service-card { border: none; background: transparent; text-align: left; align-items: flex-start; padding: clamp(28px, 3.4vw, 56px) clamp(24px, 3vw, 48px); }
.has-highlight .service-card__text { max-width: none; font-size: var(--fs-body); }
.has-highlight .service-card__title { font-weight: var(--title-weight); font-size: var(--fs-h3); line-height: 1.5; color: var(--color-text-strong); }
.service-card.is-highlight {
	background: var(--color-coral);
	border-radius: 17px;
	margin: -30px 0;
	padding-top: clamp(58px, 5.4vw, 86px);
	padding-bottom: clamp(58px, 5.4vw, 86px);
}
.service-card.is-highlight .service-card__icon,
.service-card.is-highlight .service-card__title,
.service-card.is-highlight .service-card__text { color: var(--color-white); }
.service-card.is-highlight .tick-list li { color: var(--color-white); }
.service-card.is-highlight .tick-list li::before { color: var(--color-navy); }
.service-card.is-highlight .service-card__image { filter: brightness(0) invert(1); }
.service-card.is-highlight .btn--coral { --btn-bg: var(--color-white); color: var(--color-navy); --btn-shadow: var(--color-navy); }

/* ==========================================================================
   Image and text, badges and text
   ========================================================================== */
.image-text__inner,
.badges-text__inner,
.accordion-text__inner,
.pricing__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(36px, 5vw, 80px);
	align-items: center;
}
.wot-section--image-text.no-image .image-text__inner { grid-template-columns: 1fr; max-width: 820px; }

.image-text__media,
.accordion-text__media,
.contact__media { position: relative; }
.image-text__img,
.accordion-text__img,
.contact__img {
	position: relative;
	z-index: 1;
	width: 100%;
	border-radius: 20px;
	object-fit: cover;
}
.image-text__img { aspect-ratio: 612 / 580; max-height: 600px; }
.image-text--right .image-text__media { order: 2; }
/* Text centred beside the image; when the text runs taller than the image, the image stays at the top instead of floating mid-way. */
.image-text__media { align-self: start; }
.image-text__content { align-self: center; }
.image-text--cutout .image-text__img { object-fit: contain; aspect-ratio: auto; width: auto; max-width: 100%; height: auto; max-height: clamp(380px, 38vw, 560px); margin: 0 auto; border-radius: 0; box-shadow: none; }

.image-text__content .btn { margin-top: 28px; }
.is-dark .image-text__img { border-radius: var(--radius-lg); aspect-ratio: 687 / 757; }
.wot-section--image-text.bg-navy { padding: clamp(50px, 4.6vw, 74px) 0; }
.wot-section--image-text.bg-coral { padding: clamp(60px, 7vw, 120px) 0; }
.wot-section--image-text.bg-coral .image-text__img { border-radius: 21px; aspect-ratio: 590 / 511; }
.wot-section--image-text.bg-coral .section-heading { color: var(--color-white); }

.badges-text__badges {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(14px, 1.8vw, 29px);
	max-width: 545px;
}
.badges-text--right .badges-text__badges { order: 2; margin-left: auto; }
.badges-text__badges img {
	position: relative;
	z-index: 2;
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--radius-lg);
	background: var(--color-navy);
	object-fit: contain;
	padding: clamp(14px, 2.5vw, 40px);
	box-shadow: var(--shadow-soft);
}

.badges-text__content .section-heading { margin-bottom: 24px; }
.badges-text__content .btn { margin-top: 28px; }

/* ==========================================================================
   Testimonials (single card or slider)
   ========================================================================== */
.wot-section--testimonials { padding: clamp(80px, 8vw, 128px) 0 clamp(60px, 6vw, 96px); }
.testimonials__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
/* Slider: the active card sits centre, the next one peeks in on the right (greyed), the previous one
   has slid out left. Positions are set by main.js via data-pos on each slide. */
.testimonials__track { --avatar-size: clamp(88px, 7vw, 112px); --slide-gap: clamp(24px, 4vw, 63px); position: relative; z-index: 2; display: grid; width: 100%; max-width: 953px; }
.testimonial-slide {
	grid-area: 1 / 1;
	transition: transform 0.75s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.75s ease, background-color 0.75s ease;
	will-change: transform;
	opacity: 0;
	pointer-events: none;
}
.testimonial-slide.no-anim,
.testimonial-slide.no-anim * { transition: none !important; }
.testimonial-slide[data-pos='active']    { transform: translateX(0); opacity: 1; pointer-events: auto; }
.testimonial-slide[data-pos='next']      { transform: translateX(calc(100% + var(--slide-gap))); opacity: 1; }
.testimonial-slide[data-pos='prev']      { transform: translateX(calc(-100% - var(--slide-gap))); opacity: 1; }
.testimonial-slide[data-pos='far-right'] { transform: translateX(calc(200% + var(--slide-gap) * 2)); opacity: 0; }
.testimonial-slide[data-pos='far-left']  { transform: translateX(calc(-200% - var(--slide-gap) * 2)); opacity: 0; }

/* Greyed-out neighbours */
.testimonial-slide[data-pos='next'],
.testimonial-slide[data-pos='prev'] { background-color: rgba(35, 57, 96, 0.25); }
.testimonial-slide .testimonial__quote { transition: color 0.75s ease; }
.testimonial-slide[data-pos='next'] .testimonial__quote,
.testimonial-slide[data-pos='prev'] .testimonial__quote { color: rgba(255, 255, 255, 0.55); }
.testimonial-slide .testimonial__avatar,
.testimonial-slide .testimonial__attribution { transition: opacity 0.5s ease; }
.testimonial-slide[data-pos='next'] .testimonial__avatar,
.testimonial-slide[data-pos='prev'] .testimonial__avatar,
.testimonial-slide[data-pos='next'] .testimonial__attribution,
.testimonial-slide[data-pos='prev'] .testimonial__attribution { opacity: 0; }

.testimonial__card {
	margin: 0;
	width: 100%;
	background: var(--color-navy);
	border-radius: var(--radius-lg);
	padding: clamp(88px, 7.2vw, 112px) clamp(28px, 6vw, 96px);
	margin-top: calc(var(--avatar-size) / 2);
	text-align: center;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.testimonial__avatar {
	position: absolute;
	top: calc(var(--avatar-size) / -2);
	left: 50%;
	transform: translateX(-50%);
	width: var(--avatar-size); height: var(--avatar-size);
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--color-white);
}
.testimonial__avatar--initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-coral-deep);
	color: var(--color-white);
	font-weight: 700;
	font-size: calc(var(--avatar-size) * 0.36);
	letter-spacing: 0.02em;
}
.testimonial__quote {
	color: var(--color-white);
	font-size: clamp(20px, 1.9vw, 30px);
	line-height: 1.5;
	margin-bottom: 28px;
}
.testimonial__attribution {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
.testimonial__attribution cite {
	font-style: normal;
	color: var(--color-coral-soft);
	font-weight: 700;
	font-size: clamp(17px, 1.5vw, 24px);
}
.testimonial__attribution { gap: 6px; }
.testimonial__who { margin: 0; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.4; }
.testimonial__attribution cite { font-size: inherit; }
.testimonial__role { font-weight: 500; color: var(--color-white); }
.testimonials--card_pink .testimonial__role,
.testimonials--band .testimonial__role { color: var(--color-text); }
.testimonial__logo { max-height: 40px; width: auto; max-width: 180px; margin-top: 18px; }
.testimonial__company { font-size: var(--fs-small); color: inherit; opacity: 0.85; }
/* Company logos go white on the navy card */
.testimonials--card .testimonial__logo,
.testimonials--grid .testimonial__logo { filter: brightness(0) invert(1); }
.testimonials--card .testimonial__company,
.testimonials--grid .testimonial__company { color: var(--color-white); opacity: 1; }
.testimonials--card_pink .testimonial__company,
.testimonials--band .testimonial__company { color: var(--color-text); }

/* Drag / swipe */
.testimonials__inner[data-slider] .testimonials__track { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.testimonials__inner[data-slider].is-dragging .testimonials__track { cursor: grabbing; }
.testimonials__inner[data-slider] img { -webkit-user-drag: none; }

/* Pale card variant */
.testimonials--card_pink .testimonial__card { background: var(--color-blush); border: 2px solid var(--color-coral-soft); }
.testimonials--card_pink .testimonial-slide[data-pos='next'],
.testimonials--card_pink .testimonial-slide[data-pos='prev'] { background-color: rgba(242, 133, 104, 0.3); }
.testimonials--card_pink .testimonial-slide[data-pos='next'] .testimonial__quote,
.testimonials--card_pink .testimonial-slide[data-pos='prev'] .testimonial__quote { color: rgba(67, 51, 49, 0.5); }
.testimonials--card_pink .testimonial__quote,
.testimonials--card_pink .testimonial__attribution cite { color: var(--color-text); }

/* Full-width band: no peeking neighbours, just a gentle cross-fade */
.testimonials--band .testimonial-slide[data-pos='next'],
.testimonials--band .testimonial-slide[data-pos='prev'],
.testimonials--band .testimonial-slide[data-pos='far-left'],
.testimonials--band .testimonial-slide[data-pos='far-right'] { transform: none; opacity: 0; }

.testimonials--band { background: var(--color-blush); padding: clamp(40px, 4vw, 60px) 0 clamp(48px, 5vw, 80px); margin-top: clamp(80px, 8vw, 130px); }
.testimonials--band .testimonials__inner { padding-top: 0; }
.testimonials--band .testimonial__card { background: transparent; padding: 0 24px; margin-top: 0; border: none; }
.testimonials--band .testimonial__avatar { position: relative; top: auto; left: auto; transform: none; margin: calc(-1 * clamp(60px, 6vw, 96px)) auto 24px; }
.testimonials--band .testimonial__quote { color: var(--color-text); font-size: clamp(22px, 2.2vw, 35px); max-width: 856px; margin-left: auto; margin-right: auto; }
.testimonials--band .testimonial__attribution cite { color: var(--color-text); }

.slider-controls {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 32px;
}
.slider-controls__btn {
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 2px solid var(--color-navy);
	background: transparent;
	color: var(--color-navy);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}
.slider-controls__btn:hover { background: var(--color-navy); color: var(--color-white); transform: scale(1.1); }
.slider-controls__dots { display: flex; gap: 10px; }
.slider-controls__dot {
	width: 12px; height: 12px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: var(--color-blush-mid);
	transition: transform 0.2s ease, background-color 0.2s ease;
}
/* Bigger invisible touch area (the visible dot stays 12px). */
.slider-controls__dot { position: relative; }
.slider-controls__dot::before { content: ''; position: absolute; inset: -16px -5px; }
.slider-controls__dot.is-active { background: var(--color-coral-deep); transform: scale(1.25); }
.slider-controls__dot:not(.is-active):hover,
.slider-controls__dot:not(.is-active):focus-visible { background: var(--color-coral); cursor: pointer; }

/* ==========================================================================
   Accordion (+ text box / image, and pricing rows)
   ========================================================================== */
.accordion-text--right .accordion-text__content { order: 2; }
.accordion-text__media { max-width: 612px; }
.accordion-text__img { aspect-ratio: 612 / 696; }
.wot-section--accordion-text .section-heading { max-width: 580px; }

.text-box {
	border-radius: var(--radius-md);
	padding: clamp(32px, 4vw, 56px);
}
.text-box.bg-white { border: 2px solid var(--color-coral-soft); }
.text-box__title { font-weight: var(--title-weight); font-size: var(--fs-h3); margin-bottom: 16px; color: inherit; }
.text-box .btn { margin-top: 24px; }

.accordion { margin-top: 32px; }
.accordion__item {
	border-bottom: 1px solid rgba(67, 51, 49, 0.18);
	padding: clamp(18px, 1.8vw, 28px) 0;
}
.accordion__item:last-child { border-bottom: none; }
.accordion__summary {
	display: flex;
	align-items: center;
	gap: 18px;
	cursor: pointer;
	list-style: none;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__icon { color: var(--color-coral); font-size: clamp(22px, 1.9vw, 30px); width: 1.2em; text-align: center; }
.accordion__title { font-weight: var(--title-weight); font-size: calc(var(--fs-title) + 4.5px); color: var(--color-text); flex: 1; transition: color 0.2s ease; }
.accordion__summary:hover .accordion__title { color: var(--color-coral-strong); }
.accordion__price { font-weight: 700; color: var(--color-coral-strong); }
.accordion__chevron { color: var(--color-text); font-size: 22px; transition: transform 0.34s cubic-bezier(0.25, 0.8, 0.25, 1); }
.accordion__item[open] .accordion__chevron { transform: rotate(180deg); }
.accordion__item.is-closing .accordion__chevron { transform: rotate(0deg); }
.accordion__panel {
	padding: 16px 0 0 calc(clamp(22px, 1.9vw, 30px) * 1.2 + 18px);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.26s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.accordion__item[open] .accordion__panel {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.06s;
}
/* Closing: fade out immediately, in step with the height animation, instead of at its end. */
.accordion__item.is-closing .accordion__panel {
	opacity: 0;
	transform: translateY(-6px);
	transition-delay: 0s;
}
.accordion__panel p { color: var(--color-text); margin-bottom: 14px; max-width: 580px; line-height: 1.5; }
.accordion__panel .link-arrow { font-size: inherit; font-weight: 700; } /* bold so the link stands out from the text above it */

@media (prefers-reduced-motion: reduce) {
	.accordion__panel,
	.accordion__chevron,
	.testimonial-slide,
	.testimonial-slide .testimonial__quote { transition: none; }
}

/* Pricing */
.pricing--right .quote-box { order: 2; }
.wot-section--pricing.no-quote .pricing__inner { grid-template-columns: 1fr; max-width: 760px; }
.pricing__intro { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.5; margin-bottom: 8px; max-width: 590px; }
.pricing__content .btn { margin-top: 36px; }
.accordion--prices { margin-top: 24px; }
.accordion--prices .accordion__item { padding: clamp(16px, 1.6vw, 24px) 0; }
.accordion--prices .accordion__title { font-weight: var(--title-weight); font-size: clamp(20px, 1.7vw, 24px); } /* Services prices: 24px on desktop */

.quote-box { position: relative; max-width: 561px; }

.quote-box__card {
	position: relative;
	z-index: 1;
	background: var(--color-blush);
	border: 2px solid var(--color-coral-soft);
	border-radius: var(--radius-lg);
	padding: clamp(60px, 6vw, 96px) clamp(28px, 4vw, 66px) 0;
	overflow: hidden;
}
.quote-box__mark { position: absolute; top: clamp(8px, 1vw, 16px); left: clamp(24px, 4vw, 66px); font-size: clamp(58px, 7.15vw, 117px); line-height: 1; color: var(--color-coral); } /* 65% of the original 90px / 11vw / 180px */
.quote-box__text { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.6; color: var(--color-text); padding-top: clamp(14px, 1.6vw, 26px); margin-bottom: 20px; }
.quote-box__name { font-weight: 700; font-size: var(--fs-small); color: var(--color-text); text-align: left; margin-bottom: clamp(24px, 2.6vw, 40px); }
.quote-box__link {
	display: flex;
	align-items: center;
	gap: 20px;
	background: var(--color-coral);
	color: var(--color-white);
	font-size: clamp(15px, 1.1vw, 18px);
	font-weight: 500;
	line-height: 1.5;
	margin: 0 calc(-1 * clamp(28px, 4vw, 66px));
	padding: 28px clamp(28px, 4vw, 66px);
	transition: background-color 0.2s ease;
}
.quote-box__link:hover { background: var(--color-coral-strong); }
.quote-box__link i { font-size: clamp(28px, 2.8vw, 45px); }

/* ==========================================================================
   Image / text boxes
   ========================================================================== */
.info-boxes__intro { margin-bottom: clamp(28px, 3vw, 48px); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(30px, 6vw, 100px); align-items: start; }
.info-boxes__intro .eyebrow { grid-column: 1 / -1; }
.info-boxes__intro .section-heading { margin-bottom: 0; }
.info-boxes__intro .section-intro { margin-bottom: 0; max-width: none; }
.info-boxes__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(20px, 2.4vw, 38px);
}
.cols-3 .info-boxes__grid { grid-template-columns: repeat(3, 1fr); }
.info-box {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.info-box.has-image:hover { transform: translateY(-6px); }
.info-box.bg-white { border: 2px solid var(--color-coral-soft); background: var(--color-cream-light); }
.info-box.bg-blush { border: 2px solid var(--color-coral-soft); background: var(--color-cream-light); }
.info-box.bg-coral { border: 2px solid var(--color-text); }
.info-box__image img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.info-box__body { padding: clamp(28px, 3.4vw, 54px) clamp(24px, 3.4vw, 54px); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.info-box.has-image .info-box__body { padding-top: clamp(22px, 2.4vw, 36px); }
.info-box__head { display: block; }
.info-box.has-image .info-box__head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.info-box.has-image .info-box__title { margin-bottom: 0; }
/* Info boxes: optional centred intro, icon beside the title, and an inline line + button underneath. */
.section-heading__line { display: block; } /* a heading entered on several lines keeps each on its own line */
.info-boxes--centred-intro .info-boxes__intro { display: block; text-align: center; }
.info-boxes--centred-intro .info-boxes__intro .section-heading { max-width: 960px; margin-left: auto; margin-right: auto; }
.info-boxes--centred-intro .info-boxes__intro .section-intro { margin: 16px auto 0; max-width: 720px; }
.info-boxes--icon-beside .info-box__head { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 28px); margin-bottom: clamp(14px, 1.6vw, 24px); }
.info-boxes--icon-beside .info-box__icon { font-size: clamp(38px, 3.4vw, 52px); margin-bottom: 0; }
.info-boxes--icon-beside .info-box__title { margin-bottom: 0; }
.info-boxes__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px clamp(24px, 3vw, 44px); margin-top: clamp(32px, 4vw, 56px); text-align: center; }
.info-boxes__cta-text { margin: 0; font-weight: var(--title-weight); font-size: clamp(20px, 1.9vw, 30px); line-height: 1.3; color: var(--color-navy); }
.info-box__icon { font-size: clamp(60px, 6.2vw, 100px); color: var(--color-text); margin-bottom: clamp(12px, 1.4vw, 20px); line-height: 1; }
.info-box.has-image .info-box__icon { font-size: clamp(26px, 2.2vw, 35px); color: var(--color-coral); margin-bottom: 10px; }
.info-box.is-dark .info-box__icon { color: var(--color-white); }
.info-box__title { font-weight: var(--title-weight); font-size: var(--fs-h3); line-height: 1.5; margin-bottom: 12px; color: var(--color-text); }
.info-box.has-image .info-box__title { font-weight: var(--title-weight); font-size: var(--fs-title); line-height: 1.3; }
.info-box.is-dark .info-box__title { color: var(--color-white); }
.info-box .prose p { font-size: var(--fs-body); }
.info-box .btn { margin-top: 28px; }
.info-box.is-dark .prose ul li::before { color: var(--color-text); }
.info-box:not(.is-dark) .prose ul li::before { color: var(--color-coral); }
.info-box:not(.has-image) .prose ul li::before { content: '\f00d'; color: var(--color-coral); }
.info-box.is-dark:not(.has-image) .prose ul li::before { content: '\f00c'; color: var(--color-text); }

/* ==========================================================================
   Icon columns
   ========================================================================== */
.icon-columns__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(28px, 3.4vw, 54px) clamp(36px, 5vw, 80px);
	margin-top: 36px;
}
.cols-3 .icon-columns__grid { grid-template-columns: repeat(3, 1fr); }
.cols-4 .icon-columns__grid { grid-template-columns: repeat(4, 1fr); }
.icon-column { display: flex; gap: 18px; align-items: flex-start; }
.icon-column__icon { font-size: clamp(40px, 3.6vw, 58px); color: var(--color-coral); width: 1.25em; flex: 0 0 auto; text-align: center; margin-top: 0; line-height: 1; }
.icon-column__title { font-weight: var(--title-weight); font-size: var(--fs-title); color: var(--color-text); margin-bottom: 8px; }
.icon-column p { font-size: var(--fs-body); }

/* ==========================================================================
   Post feed
   ========================================================================== */
.feed-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 36px;
}
.feed-filters__label { font-weight: 700; font-size: var(--fs-small); color: var(--color-text); margin-right: 6px; }
.feed-filters__pill {
	background: var(--color-coral-deep);
	color: var(--color-white);
	font-size: var(--fs-small);
	font-weight: 700;
	padding: 6px 20px;
	border-radius: 8px;
	border: 2px solid var(--color-coral-deep);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}
/* Every pill is coral with a coral border; the one currently selected turns navy. */
.feed-filters__pill.is-active { background: var(--color-navy); border-color: var(--color-navy); }
.feed-filters__pill:hover { transform: translateY(-3px) rotate(-2deg); }
.feed-intro { margin-bottom: 40px; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.feed-intro .section-heading, .feed-intro .section-intro { margin: 0; max-width: none; color: inherit; }
.feed-intro .section-intro { color: var(--color-text); line-height: 1.6; }
.feed-intro .section-heading { color: var(--color-text-strong); }
.feed-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.4vw, 38px);
}
.cols-2 .feed-grid { grid-template-columns: repeat(2, 1fr); }
.post-card {
	background: #fdf7f6;
	border: 2px solid #e38c7f;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: none;
	position: relative;
	transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
/* Every card image gets the same frame, so cards line up whatever the source image's shape. No zoom on the image itself. */
.post-card__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-blush); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
/* Learn (post feed): the image box follows the image, so nothing is cropped. Portfolio cards keep the fixed frame. */
.wot-section--post-feed .post-card__image { aspect-ratio: auto; }
.wot-section--post-feed .post-card__image img { height: auto; object-fit: initial; }
/* Whole card is the link (the title's link stretches over it). */
.post-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
/* Hover: the whole card scales up a touch and fills coral with white copy and a matching border. */
@media (hover: hover) {
	.post-card:hover { background-color: var(--color-coral-deep); border-color: var(--color-coral-deep); transform: scale(1.01); }
	.post-card:hover .post-card__cat,
	.post-card:hover .post-card__title,
	.post-card:hover .post-card__title a,
	.post-card:hover .post-card__excerpt,
	.post-card:hover .link-arrow,
	.post-card:hover .portfolio-card__meta,
	.post-card:hover .portfolio-card__client,
	.post-card:hover .portfolio-card__link { color: var(--color-white); }
	.post-card:hover .portfolio-card__type { background: rgba(255, 255, 255, 0.22); color: var(--color-white); }
}
.post-card__cat,
.post-card__title a,
.post-card__excerpt,
.post-card .link-arrow { transition: color 0.3s ease; }
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } }
.post-card__body { padding: clamp(18px, 1.8vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__cat { font-size: var(--fs-small); color: var(--color-text); }
.post-card__title { font-size: var(--fs-title); font-weight: var(--title-weight); line-height: 1.3; color: var(--color-text); }
.post-card--excerpt .post-card__title { font-weight: var(--title-weight); font-size: clamp(19px, 1.55vw, 24px); }
.post-card__title a:hover { color: var(--color-coral-strong); }
.post-card__excerpt { font-size: clamp(15px, 1.06vw, 17px); line-height: 1.6; color: var(--color-text); }
.post-card__link { margin-top: auto; font-size: var(--fs-small); padding-top: 12px; }
.feed-empty { text-align: center; padding: 40px 0; }

.pagination,
.navigation.pagination .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: clamp(40px, 4vw, 64px);
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 8px;
	background: var(--color-blush);
	color: var(--color-coral-strong);
	font-weight: 700;
	font-size: var(--fs-small);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--color-coral-deep); color: var(--color-white); transform: translateY(-3px); }

/* ==========================================================================
   Contact
   ========================================================================== */
.wot-section--contact { padding: clamp(36px, 4vw, 64px) 0; }
/* The section above already has its own bottom padding, so the CTA needs less on top. */
.wot-section + .wot-section--contact { padding-top: clamp(16px, 2vw, 32px); }
.contact__inner { display: block; }
.contact__card {
	background: var(--color-coral);
	border-radius: var(--radius-lg);
	padding: clamp(32px, 4.4vw, 70px) clamp(24px, 6vw, 118px) clamp(36px, 5vw, 84px);
	max-width: 983px;
	margin: 0 auto;
}
.contact.card-navy .contact__card { background: var(--color-navy); }
.contact__heading {
	color: var(--color-white);
	font-weight: var(--title-weight);
	font-size: var(--fs-h2);
	line-height: 1.5;
	letter-spacing: -0.015em;
	margin-bottom: 8px;
}
.contact__heading strong { --mark-bg: var(--color-navy); }
.contact.card-navy .contact__heading strong,
.contact.card-white .contact__heading strong { --mark-bg: var(--color-coral-deep); }
.contact__subtext { color: var(--color-white); font-size: var(--fs-lead); line-height: 1.65; margin-bottom: clamp(24px, 3vw, 40px); }
.contact__notice {
	padding: 14px 20px;
	border-radius: var(--radius-sm);
	margin-bottom: 24px;
	font-weight: 500;
}
.contact__notice--success { background: var(--color-white); color: var(--color-navy); }
.contact__notice--error { background: var(--color-text-strong); color: var(--color-white); }

/* Beside an image */
.contact--with-image .contact__inner {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}
.contact--with-image .contact__card { max-width: none; margin: 0; }
.contact--image-left .contact__media { order: -1; }
/* Like image and text: the form card is centred beside the image, and when the card runs taller than the image the image stays at the top. */
.contact--with-image .contact__media { align-self: start; }
.contact--with-image .contact__card-wrap { align-self: center; }
.contact--with-image .contact__img { border-radius: 21px; box-shadow: var(--shadow-card); max-height: 640px; }

/* White "card" = no card, form sits straight on the page */
.contact.card-white .contact__card { background: transparent; padding: 0; }
.contact.card-white .contact__heading { color: var(--color-text-strong); font-size: var(--fs-hero); line-height: 1.2; }
.contact.card-white .contact__subtext { color: var(--color-text); }
.contact.card-white .contact-form__field input,
.contact.card-white .contact-form__field select,
.contact.card-white .contact-form__field textarea { background: var(--color-cream-light); border: 2px solid rgba(242, 133, 104, 0.4); }
/* Focus: the same 2px border turns full coral (no extra ring, so the thickness never jumps). */
.contact.card-white .contact-form__field input:focus,
.contact.card-white .contact-form__field select:focus,
.contact.card-white .contact-form__field textarea:focus { border-color: var(--color-coral); box-shadow: none; }
.contact.card-white .contact-form .btn,
.contact.card-white .contact-form .btn:hover { --btn-bg: var(--color-coral); --btn-shadow: rgba(242, 133, 104, 0.4); }

.contact-form__honeypot { position: absolute; left: -9999px; }
.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(10px, 1.7vw, 26px);
	margin-bottom: clamp(10px, 1.7vw, 26px);
}
.contact-form__field { display: flex; flex-direction: column; margin-bottom: clamp(10px, 1.7vw, 26px); }
.contact-form__row .contact-form__field { margin-bottom: 0; }
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
	background: var(--color-blush);
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	padding: clamp(18px, 1.9vw, 30px) clamp(18px, 2vw, 31px);
	font-family: inherit;
	font-size: var(--fs-body);
	letter-spacing: -0.015em;
	color: var(--color-text-strong);
	width: 100%;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder { color: var(--color-text-strong); opacity: 1; }
.contact-form__field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23433331' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 24px center; }
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--color-navy); }
.contact-form__field textarea { resize: vertical; min-height: clamp(110px, 10vw, 156px); }
.contact-form__privacy { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.contact-form__privacy a { color: inherit; text-decoration: underline; }
.contact-form .btn { margin-top: clamp(8px, 1.4vw, 20px); min-height: clamp(56px, 5.4vw, 86px); padding: 0 clamp(28px, 3.4vw, 54px); }

/* ==========================================================================
   Entry (default page / post content)
   ========================================================================== */
.entry { padding-top: 56px; padding-bottom: 72px; max-width: 880px; }
.entry__title { font-weight: var(--title-weight); font-size: var(--fs-h2); color: var(--color-navy); margin-bottom: 24px; }
.entry .prose h2 { font-size: var(--fs-h3); color: var(--color-navy); margin: 32px 0 12px; }
.entry .prose img { border-radius: 16px; margin: 24px 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-cream); padding: clamp(48px, 5vw, 80px) 0 clamp(24px, 3vw, 40px); }
.site-footer__inner {
	display: flex;
	align-items: flex-start;
	gap: 40px clamp(48px, 6vw, 88px);
	margin-bottom: clamp(32px, 4vw, 60px);
}
.footer-brand__logo { height: clamp(52px, 5vw, 80px); width: auto; margin-bottom: clamp(24px, 3vw, 48px); }
.footer-brand__email { display: inline-flex; align-items: center; gap: 0.55em; font-size: clamp(17px, 1.4vw, 22px); font-weight: 600; color: var(--color-text); }
.footer-brand__email i { color: var(--color-coral); font-size: 0.9em; -webkit-text-stroke: 0.5px currentColor; } /* Regular weight plus a hairline stroke: a touch bolder than the Light default */
.footer-brand__email:hover { color: var(--color-coral-strong); }
.footer-brand__social { display: flex; gap: 17px; margin-top: clamp(20px, 2vw, 28px); }
.footer-brand__social a {
	width: 58px; height: 58px;
	border-radius: 50%;
	background: var(--color-coral-soft);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-white);
	font-size: 24px;
	transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}
.footer-brand__social a:hover { background: var(--color-coral); transform: translateY(-4px) rotate(-8deg); }
.footer-brand { margin-right: auto; }
.footer-col { text-align: left; flex: 0 0 auto; }
.site-footer__sep { margin: 0 0.5em; opacity: 0.5; }
.footer-col__title { font-weight: var(--title-weight); font-size: var(--fs-body); color: var(--color-text); margin-bottom: 18px; }
.footer-col__list li { margin-bottom: 12px; }
.footer-col__list a { font-size: var(--fs-small); color: var(--color-text); }
.footer-col__list a:hover { color: var(--color-coral-strong); }
.site-footer__bottom {
	padding-top: 24px;
	font-size: var(--fs-small);
	color: var(--color-text);
	display: flex; align-items: center; justify-content: center; gap: 16px 24px; flex-wrap: wrap;
}
.site-footer__bottom p { margin: 0; text-align: center; }
.site-footer__bottom a { text-decoration: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.services-cards__grid,
	.cols-3 .services-cards__grid { grid-template-columns: repeat(2, 1fr); }
	.services-cards__grid.has-highlight { grid-template-columns: 1fr; }
	.service-card.is-highlight { margin: 0; padding-top: 40px; padding-bottom: 40px; border-radius: 0; }
	.image-text__inner,
	.badges-text__inner,
	.accordion-text__inner,
	.pricing__inner,
	.plain-text--two_column .plain-text__inner,
	.contact--with-image .contact__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.image-text--right .image-text__media,
	.badges-text--right .badges-text__badges,
	.accordion-text--right .accordion-text__content,
	.pricing--right .quote-box { order: 0; }
	.image-text__media,
	.badges-text__badges,
	.accordion-text__media,
	.contact__media { margin: 0 auto; max-width: 560px; }
	.contact--with-image .contact__media { order: 2; }
	.hero__inner { grid-template-columns: 1fr; padding-bottom: 100px; }
	.hero--inner .hero__inner { padding-bottom: 90px; }
	.hero__content { order: 1; }
	.hero__media { order: 2; margin-top: 40px; }
	.hero--home .hero__content { text-align: center; }
	.hero--home .hero__actions { justify-content: center; }
	.hero--home .hero__subtitle { margin-left: auto; margin-right: auto; }
	.feed-grid,
	.cols-3 .info-boxes__grid { grid-template-columns: repeat(2, 1fr); }
	.cols-4 .icon-columns__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner { flex-wrap: wrap; }
	.footer-brand { flex: 1 0 100%; }
	
}

@media (max-width: 782px) {
	.info-boxes__intro, .feed-intro { grid-template-columns: 1fr; row-gap: 14px; }
	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--color-white);
		flex-direction: column;
		align-items: flex-start;
		padding: 24px var(--container-pad) 32px;
		box-shadow: 0 12px 24px rgba(0,0,0,0.08);
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}
	.site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
	.nav-menu { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
	.nav-menu .menu-item-has-children > a::after { display: none; }
	.nav-menu .sub-menu {
		position: static;
		min-width: 0;
		margin: 10px 0 0;
		padding: 0 0 0 16px;
		background: none;
		border: 0;
		border-left: 2px solid var(--color-coral-soft);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.nav-menu .sub-menu::before { display: none; }
	.nav-menu .sub-menu a { padding: 8px 0; white-space: normal; color: var(--color-navy); }
	.nav-menu .sub-menu a:hover,
	.nav-menu .sub-menu .current_page_item > a { color: var(--color-coral-strong); }
	.nav-cta { margin-top: 16px; }
	.nav-toggle { display: flex; }

	.services-cards__grid,
	.cols-2 .services-cards__grid,
	.cols-3 .services-cards__grid,
	.info-boxes__grid,
	.cols-3 .info-boxes__grid,
	.icon-columns__grid,
	.cols-3 .icon-columns__grid,
	.cols-4 .icon-columns__grid,
	.feed-grid,
	.cols-2 .feed-grid { grid-template-columns: 1fr; }
	.contact-form__row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; } /* gap 0: the fields' own margin-bottom spaces them evenly */
	.contact-form__row .contact-form__field { margin-bottom: 10px; }
	.site-footer__inner { flex-direction: column; }
	.site-footer__bottom { flex-direction: column; align-items: center; }
	.site-footer__bottom p { text-align: center; }
	.testimonial__card { padding-left: 24px; padding-right: 24px; }
	.hero__floating-card { display: none; }
	.hero__actions { flex-direction: column; align-items: flex-start; }
	.hero--home .hero__actions { align-items: center; }
}

/* ---- Blob placement (centre x/y, width/height as % of the thing it sits behind) ---- */
.hero__media { width: fit-content; margin-left: auto; margin-right: auto; }
.hero--home .hero__blob  { --bx: 53%; --by: 50%; --bw: 117%; --bh: 112%; --br: -4deg; opacity: 0.7; }
.hero--inner .hero__blob { --bx: 63.5%; --by: 57.7%; --bw: 133%; --bh: 128%; --br: -24deg; opacity: 0.7; }
.accordion-text__media .blob { --bx: 86.4%; --by: 35.8%; --bw: 113%; --bh: 92%; }
.image-text__media .blob { --bx: 74%; --by: 34%; --bw: 112%; --bh: 92%; }
.image-text--left .image-text__media .blob { --bx: 26%; --by: 62%; }
.image-text--cutout .image-text__media .blob { --bx: 40%; --by: 58%; --bw: 105%; --bh: 92%; }
.badges-text__badges .blob { --bx: 7%; --by: 50%; --bw: 127%; --bh: 127%; opacity: 0.4; }
.quote-box .blob { --bx: 2.4%; --by: 64.4%; --bw: 123%; --bh: 99%; }
.contact__media .blob { --bx: 62%; --by: 58%; --bw: 128%; --bh: 118%; --br: -20deg; }
.contact__card-wrap { position: relative; max-width: 983px; margin: 0 auto; }
.contact__card-wrap > .contact__card { position: relative; z-index: 1; }
.contact__blob { --bx: 24%; --by: 38%; --bw: 70.5%; --bh: 78%; --br: -125deg; }
.contact--with-image .contact__card-wrap { max-width: none; }

/* ---- Lava-lamp drift: slow, subtle, out of step with each other ----
   Uses the individual translate/rotate/scale properties so it layers on top of the placement transform. */
@keyframes blob-drift {
	0%   { translate: 0 0; rotate: 0deg; }
	33%  { translate: 1.6% -2.4%; rotate: 3.5deg; }
	66%  { translate: -1.8% 1.8%; rotate: -2.5deg; }
	100% { translate: 1.2% 2.2%; rotate: 2deg; }
}
@keyframes blob-wobble {
	0%   { scale: 1 1; }
	30%  { scale: 1.055 0.95; }
	60%  { scale: 0.96 1.05; }
	100% { scale: 1.04 0.97; }
}
@media (prefers-reduced-motion: no-preference) {
	.blob {
		animation: blob-drift 23s ease-in-out infinite alternate, blob-wobble 17s ease-in-out infinite alternate;
		will-change: translate, rotate, scale;
	}
	.blob--2 { animation-duration: 27s, 19s; animation-delay: -8s, -3s; }
	.blob--3 { animation-duration: 21s, 15s; animation-delay: -4s, -9s; }
	.blob--4 { animation-duration: 29s, 21s; animation-delay: -13s, -6s; }
	.blob--1 { animation-delay: -11s, -5s; }
}

/* ==========================================================================
   Portfolio grid: client cards, sector / type filters, link-out cards
   ========================================================================== */
.client-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(clamp(210px, 19vw, 280px), 1fr));
	gap: clamp(14px, 1.6vw, 24px);
	margin-bottom: clamp(32px, 4vw, 56px);
}
.client-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(18px, 1.8vw, 26px);
	background: var(--color-cream-light);
	border: 2px solid var(--color-coral-soft);
	border-radius: var(--radius-md);
	transition: background-color 0.35s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s ease;
}
.client-card__logo { display: flex; align-items: center; height: 48px; }
.client-card__logo img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; transition: filter 0.35s ease; }
/* Everything inside fades with the card, instead of snapping to white while the background is still mid-fade. */
.client-card__name, .client-card__text, .client-card__count { transition: color 0.35s ease; }
.client-card__sector { transition: background-color 0.35s ease, color 0.35s ease; }
.client-card__name { font-weight: var(--title-weight); font-size: var(--fs-title); color: var(--color-navy); line-height: 1.1; }
.client-card__sector {
	align-self: flex-start;
	padding: 2px 12px;
	border-radius: 999px;
	background: var(--color-coral-deep);
	color: var(--color-white);
	font-size: clamp(12px, 0.85vw, 14px);
	font-weight: 700;
}
.client-card__text { font-size: clamp(13px, 0.95vw, 15px); line-height: 1.5; color: var(--color-text); }
.client-card__count { margin-top: auto; padding-top: 4px; font-size: clamp(13px, 0.95vw, 15px); font-weight: 700; color: var(--color-coral-strong); }
.client-card.is-active { background: var(--color-navy); border-color: var(--color-navy); }
.client-card.is-active .client-card__name,
.client-card.is-active .client-card__text,
.client-card.is-active .client-card__count { color: var(--color-white); }
.client-card.is-active .client-card__logo img { filter: brightness(0) invert(1); }
@media (hover: hover) {
	.client-card:not(.is-active):hover { background-color: var(--color-coral-deep); border-color: var(--color-coral-deep); transform: translateY(-4px); }
	.client-card:not(.is-active):hover .client-card__name,
	.client-card:not(.is-active):hover .client-card__text,
	.client-card:not(.is-active):hover .client-card__count { color: var(--color-white); }
	.client-card:not(.is-active):hover .client-card__sector { background: var(--color-white); color: var(--color-coral-deep); }
	.client-card:not(.is-active):hover .client-card__logo img { filter: brightness(0) invert(1); }
	.client-card.is-active:hover { background-color: var(--color-navy-dark); }
}

.feed-filters-wrap { margin-bottom: clamp(20px, 2.4vw, 32px); display: grid; gap: 14px; }
.feed-filters-wrap .feed-filters { margin-bottom: 0; }
.feed-filters__count { opacity: 0.7; font-size: 0.92em; margin-left: 2px; }
.feed-filters__clear { justify-self: start; font-weight: 700; color: var(--color-coral-strong); font-size: var(--fs-small); }
.feed-filters__clear:hover { text-decoration: underline; }
.portfolio-count { font-size: var(--fs-small); color: var(--color-text); margin-bottom: 20px; }

/* Portfolio filters: Sector and Type as dropdowns styled like the filter buttons, with the count on the right. */
.feed-filters-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.feed-filters-bar .portfolio-count { margin: 0; }
.feed-filters-bar .feed-filters-bar__count { margin-left: auto; }
.feed-dropdown { position: relative; }
.feed-dropdown__trigger { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; user-select: none; }
.feed-dropdown__trigger::-webkit-details-marker { display: none; }
.feed-dropdown__trigger::marker { content: ''; }
.feed-dropdown__trigger:focus-visible { outline: 3px solid var(--color-navy); outline-offset: 3px; }
.feed-dropdown__chevron { font-size: 0.7em; transition: transform 0.2s ease; }
.feed-dropdown[open] .feed-dropdown__chevron { transform: rotate(180deg); }
.feed-dropdown[open] > .feed-dropdown__trigger { transform: none; }
.feed-dropdown__menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	z-index: 30;
	width: max-content;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--color-navy);
	border-radius: var(--radius-sm);
	box-shadow: 0 12px 32px rgba(35, 57, 96, 0.28);
}
.feed-dropdown__menu li { margin: 0; }
.feed-dropdown__menu a,
.feed-dropdown__menu .is-empty { display: flex; justify-content: space-between; gap: 28px; padding: 9px 14px; border-radius: 8px; color: var(--color-white); font-size: var(--fs-small); font-weight: 600; transition: color 0.2s ease; }
.feed-dropdown__menu a:hover,
.feed-dropdown__menu a:focus-visible,
.feed-dropdown__menu a.is-current { color: var(--color-coral); }
.feed-dropdown__menu .is-empty { opacity: 0.45; cursor: default; }
@media (max-width: 640px) {
	.feed-filters-bar .feed-filters-bar__count { flex-basis: 100%; margin-left: 0; }
	.feed-dropdown__menu { max-width: calc(100vw - 48px); }
	.feed-dropdown ~ .feed-dropdown .feed-dropdown__menu { left: auto; right: 0; } /* keep later menus on screen */
}

.portfolio-card .post-card__image { position: relative; }
.portfolio-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	text-align: center;
	font-weight: 700;
	font-size: var(--fs-h3);
	color: var(--color-white);
	background: var(--color-navy);
}
.portfolio-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: clamp(13px, 0.9vw, 14px); }
.portfolio-card__client { font-weight: 700; color: var(--color-navy); }
.portfolio-card__type {
	padding: 1px 10px;
	border-radius: 999px;
	background: var(--color-blush);
	color: var(--color-coral-strong);
	font-weight: 700;
}
.portfolio-card .post-card__title { font-size: clamp(18px, 1.4vw, 22px); }
.portfolio-card .post-card__title a::after { content: ''; position: absolute; inset: 0; } /* whole card is the link */
.portfolio-card { position: relative; }
.portfolio-card__link {
	margin-top: auto;
	padding-top: 14px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	font-size: var(--fs-small);
	color: var(--color-coral);
}
.portfolio-card__go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--color-coral-deep);
	color: var(--color-white);
	font-size: 15px;
	transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.portfolio-card__go i { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (hover: hover) {
	.portfolio-card:hover .portfolio-card__go { transform: scale(1.08); }
	.portfolio-card:hover .portfolio-card__go i { transform: translate(2px, -2px); }
}

/* Portfolio cards: flat (no shadow), cream fill, 2px rose border; the fill warms on hover. */
.portfolio-card {
	background: #fdf7f6;
	border: 2px solid #e38c7f;
	box-shadow: none;
}
@media (hover: hover) {
	/* Colour and scale come from the shared .post-card hover; the arrow button flips to white on the coral fill. */
	.portfolio-card:hover { box-shadow: none; }
	.portfolio-card:hover .portfolio-card__go { background: var(--color-white); color: var(--color-coral-deep); }
}
.portfolio-archive { margin-top: clamp(28px, 3vw, 44px); text-align: center; }
.portfolio-archive .link-arrow::before { content: '\f08e'; }
.feed-filters__pill.is-empty,
.client-card.is-empty { opacity: 0.4; cursor: default; pointer-events: none; }

/* ==========================================================================
   Single post hero: wide 3:2 image, wider/smaller title, date beside the category
   ========================================================================== */
.hero--single .hero__inner { grid-template-columns: 1fr 1.2fr; }
.hero--single .hero__heading { font-size: clamp(28px, 3vw, 46px); line-height: 1.25; margin-bottom: 0; }
.hero--single .hero__media { width: 100%; min-height: 0; }
.hero--single .hero__portrait { width: 100%; max-width: 960px; height: auto; aspect-ratio: 960 / 640; object-fit: cover; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; font-size: var(--fs-small); line-height: 1.3; }
.hero__meta-cat { font-weight: 700; color: var(--color-coral); }
.hero__meta-date { color: var(--color-text); }
.hero__meta-cat + .hero__meta-date::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 14px; border-radius: 50%; background: var(--color-text); vertical-align: middle; }

/* ==========================================================================
   Happy Clients: two-column testimonial cards, left aligned, filterable
   ========================================================================== */
.testimonials--grid { padding: clamp(40px, 4vw, 64px) 0 clamp(60px, 6vw, 96px); }
.testimonials-grid__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: calc(var(--avatar-size, 100px) / 2 + clamp(28px, 3vw, 48px)) clamp(20px, 2.6vw, 40px);
	margin-top: clamp(56px, 5vw, 80px);
	--avatar-size: clamp(80px, 6.4vw, 100px);
}
.testimonials-grid__list .testimonial-tile {
	margin-top: 0;
	text-align: left;
	align-items: flex-start;
	justify-content: flex-start;
	padding: calc(var(--avatar-size) / 2 + clamp(28px, 3vw, 44px)) clamp(24px, 3vw, 44px) clamp(28px, 3vw, 44px);
	transition: background-color 0.3s ease, transform 0.3s ease;
}
.testimonials-grid__list .testimonial__avatar { left: clamp(24px, 3vw, 44px); transform: none; }
.testimonials-grid__list .testimonial__quote { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.6; margin-bottom: 22px; }
.testimonials-grid__list .testimonial__attribution { align-items: flex-start; margin-top: auto; gap: 14px; }
.testimonials-grid__list .testimonial__who { font-size: var(--fs-small); text-align: left; }
.testimonials-grid__list .testimonial-tile[hidden] { display: none; }
@media (hover: hover) {
	.testimonials-grid__list .testimonial-tile:hover { transform: translateY(-4px); }
}
.testimonials-grid .feed-filters { margin-bottom: 0; }
@media (max-width: 1024px) {
	.hero--single .hero__inner,
	.hero--inner .hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.testimonials-grid__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Scroll reveal (classes are added by main.js, only when motion is allowed)
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s ease var(--reveal-delay, 0ms), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
}

/* Home hero: larger landscape main image, portrait card sitting lower and further to the left. */
.hero--home .hero__inner { grid-template-columns: 0.9fr 1.1fr; }
.hero--home .hero__portrait {
	width: clamp(300px, 36vw, 560px);
	height: auto;
	aspect-ratio: 1.2 / 1;
	object-position: 45% 50%;
}
.hero--home .hero__media { min-height: 0; }
.hero--home .hero__floating-card { left: -20%; bottom: -18%; width: clamp(190px, 19vw, 290px); }
.hero--home .hero__floating-card img { aspect-ratio: 1 / 1; object-position: 50% 10%; }
@media (max-width: 1024px) {
	.hero--home .hero__inner { grid-template-columns: 1fr; }
}

/* Home hero blob: a much calmer drift than the other blobs, so it stays tucked behind the main image. */
@keyframes blob-drift-soft {
	0%   { translate: 0 0; rotate: 0deg; scale: 1 1; }
	33%  { translate: 2.2% -2.6%; rotate: 4deg; scale: 1.06 0.96; }
	66%  { translate: -2.4% 2.2%; rotate: -3.5deg; scale: 0.96 1.05; }
	100% { translate: 1.6% 2.4%; rotate: 2.5deg; scale: 1.04 0.98; }
}
@media (prefers-reduced-motion: no-preference) {
	.hero--home .hero__blob { animation: blob-drift-soft 16s ease-in-out infinite alternate; }
}

/* Latest pieces slider (service pages): a horizontal scroll-snap track with arrows, swipe and mouse drag. */
.card-slider__track {
	display: flex;
	gap: clamp(16px, 2vw, 28px);
	overflow-x: auto;
	overflow-y: hidden; /* overflow-x: auto makes y scrollable too: a few px of overflow made the track bob when scrolling the page over it */
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 10px 6px 24px;
	margin: -10px -6px 0;
	touch-action: pan-y pinch-zoom;
	cursor: grab;
}
.card-slider__track::-webkit-scrollbar { display: none; }
.card-slider.is-dragging .card-slider__track { scroll-snap-type: none; cursor: grabbing; user-select: none; -webkit-user-select: none; }
.card-slider__track > .post-card { flex: 0 0 calc((100% - 2 * clamp(16px, 2vw, 28px)) / 2.35); scroll-snap-align: start; }
.card-slider__track img { -webkit-user-drag: none; }
.card-slider .slider-controls { margin-top: 8px; }
@media (max-width: 768px) {
	.card-slider__track > .post-card { flex-basis: 86%; }
}
.slider-controls__btn.is-disabled { opacity: 0.35; pointer-events: none; }

/* Cutout intro (About "Hello, I'm Libby"): the figure stands on a wavy edge, with the next section's wave overlapping her base.
   The next section takes the wave in its own background colour. */
.wot-section--image-text.image-text--cutout { padding-bottom: 0; overflow: hidden; } /* the blob is cut off at the section edge, under the next section's wave */
.image-text--cutout .image-text__inner { align-items: end; }
/* The next section's wave overlaps the bottom of this one, so keep the button clear of it (the image stays bottom-aligned, standing on the wave). */
.image-text--cutout .image-text__content { align-self: center; padding-bottom: calc(clamp(40px, 5.3vw, 85px) + clamp(28px, 3vw, 48px)); }
.image-text--cutout .image-text__media { align-self: end; }
.image-text--cutout .image-text__img { height: clamp(460px, 40vw, 590px); max-height: none; width: auto; display: block; }
.image-text--cutout .image-text__media .blob { --bx: 50%; --by: 54%; --bw: 100%; --bh: 106%; }
.image-text--cutout + .wot-section { padding-top: clamp(64px, 7vw, 110px); }
.image-text--cutout + .wot-section::before {
	content: '';
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	top: calc(-1 * clamp(40px, 5.3vw, 85px) + 1px);
	height: clamp(40px, 5.3vw, 85px);
	background: inherit;
	transform: scaleY(-1);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 84.4472' preserveAspectRatio='none'%3E%3Cpath d='M0 59.1683C0 59.1683 409.536 105.8 734.498 72.3934C1059.46 38.9864 1600 72.3934 1600 72.3934V0H0V59.1683Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 84.4472' preserveAspectRatio='none'%3E%3Cpath d='M0 59.1683C0 59.1683 409.536 105.8 734.498 72.3934C1059.46 38.9864 1600 72.3934 1600 72.3934V0H0V59.1683Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

/* Inner heroes: centre the content between the navigation and the wave line.
   The wave hangs below the hero box, so the visible bottom edge sits about --wave-depth lower than the box itself.
   Making the bottom padding (top padding minus that depth) gives equal space above and below. */
.hero.hero--inner .hero__inner {
	--hero-pad-top: clamp(56px, 6vw, 96px);
	--wave-depth: calc(clamp(40px, 5.3vw, 85px) * 0.78);
	padding-top: var(--hero-pad-top);
	padding-bottom: max(20px, calc(var(--hero-pad-top) - var(--wave-depth)));
}

/* Home hero on tablet and mobile: same composition as desktop. Larger laptop image, portrait card bottom right,
   and the two buttons side by side with 20px between. */
@media (max-width: 1024px) {
	.hero--home .hero__media { width: 100%; max-width: 560px; margin-top: 36px; }
	.hero--home .hero__portrait { width: 100%; max-width: none; }
	.hero--home .hero__floating-card { display: block; left: auto; right: -2%; bottom: -14%; width: clamp(120px, 34%, 200px); border-radius: 16px; }
	.hero--home .hero__inner { padding-bottom: clamp(70px, 14vw, 110px); }
	.hero--home .hero__actions { flex-direction: row; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 20px; padding-right: 0; }
}
@media (max-width: 420px) {
	.hero--home .hero__actions .btn { padding-left: clamp(14px, 4.4vw, 20px); padding-right: clamp(14px, 4.4vw, 20px); }
}

/* Latest pieces slider: edge to edge. The track breaks out of the container to the full viewport width, but the first card
   still lines up with the page content. */
.card-slider {
	--edge: max(var(--container-pad), calc((100vw - var(--container-width)) / 2 + var(--container-pad)));
	width: 100vw;
	margin-left: calc(50% - 50vw);
}
.card-slider__track {
	margin: -10px 0 0;
	padding: 10px var(--edge) 24px;
	scroll-padding-left: var(--edge);
}
.card-slider__track > .post-card { flex: 0 0 clamp(300px, 29vw, 470px); }
.card-slider .slider-controls { padding-left: var(--edge); }
@media (max-width: 768px) {
	.card-slider__track > .post-card { flex-basis: 82vw; }
}

/* Logo strip, inline style: the title sits beside the logos on one row, with tight spacing. */
.logo-strip--inline { padding: clamp(20px, 2.4vw, 36px) 0; }
.logo-strip__wrap--inline { display: flex; align-items: center; justify-content: center; gap: 20px 36px; }
.logo-strip__wrap--inline .section-heading { margin: 0; text-align: left; flex: 0 0 auto; font-size: clamp(20px, 1.8vw, 28px); }
.logo-strip__wrap--inline .section-heading + .logo-strip__inner { margin-top: 0; }
.logo-strip__wrap--inline .logo-strip__inner { flex: 0 1 auto; justify-content: center; gap: 16px clamp(24px, 3vw, 48px); }
.logo-strip--inline .logo-strip__logo { max-height: 46px; max-width: 150px; }
.wot-section--image-text:has(+ .logo-strip--inline) { padding-bottom: clamp(28px, 3vw, 48px); }
.logo-strip--inline + .wot-section { padding-top: clamp(40px, 4vw, 64px); }
@media (max-width: 900px) {
	.logo-strip__wrap--inline { flex-direction: column; align-items: center; text-align: center; }
	.logo-strip__wrap--inline .section-heading { text-align: center; }
}

/* Sticky header: white over the page, cream while it floats over the hero. */
.site-header.is-fixed.is-over-hero { background-color: var(--color-cream); }

/* Cutout intro on tablet and mobile: text first, figure last so she still stands on the wave. */
@media (max-width: 1024px) {
	.image-text--cutout .image-text__media { order: 2; margin-top: 8px; }
	.image-text--cutout .image-text__content { padding-bottom: 0; }
	.image-text--cutout .image-text__inner { gap: 24px; }
	.image-text--cutout .image-text__img { height: clamp(380px, 70vw, 520px); }
}

/* "I get it..." intro straight into the two boxes: keep the gap between them modest. */
.wot-section--plain-text:has(+ .wot-section--info-boxes) { padding-bottom: clamp(12px, 1.5vw, 24px); }
.wot-section--plain-text + .wot-section--info-boxes { padding-top: clamp(12px, 1.5vw, 24px); }

/* Icon columns ("Value driven content"): centred heading, duotone icons in navy and coral. */
.wot-section--icon-columns .section-heading,
.wot-section--icon-columns .section-intro { text-align: center; margin-left: auto; margin-right: auto; }
.icon-column__icon.fa-duotone {
	--fa-primary-color: var(--color-navy);
	--fa-secondary-color: var(--color-coral);
	--fa-primary-opacity: 1;
	--fa-secondary-opacity: 1;
}
/* Icon columns on a dark background: white icon with the coral accent, white headings. */
.is-dark .icon-column__icon.fa-duotone { --fa-primary-color: var(--color-white); --fa-secondary-color: var(--color-coral); --fa-secondary-opacity: 1; }
.is-dark .icon-column__title { color: var(--color-white); }
/* Icon columns: centred icon-above-text style, optional rounded box, closing text and button. */
.icon-columns--centred .icon-column { flex-direction: column; align-items: center; text-align: center; gap: clamp(20px, 1.9vw, 30px); }
.icon-columns--centred .icon-column__icon { width: auto; }
.icon-columns__subheading { text-align: center; font-weight: var(--title-weight); font-size: var(--fs-h3); line-height: 1.35; color: var(--color-navy); max-width: 820px; margin: 0 auto; }
.icon-columns__panel.is-boxed {
	margin-top: clamp(24px, 3vw, 44px);
	padding: clamp(28px, 4vw, 64px) clamp(22px, 4vw, 64px);
	background: var(--color-cream-light);
	border: 2px solid var(--color-coral-soft);
	border-radius: var(--radius-md);
}
.icon-columns__panel.is-boxed .icon-columns__grid { margin-top: clamp(24px, 3vw, 44px); }
/* Box colours. Dark boxes: white text and icons, with the accent flipped so it still shows on coral. */
.icon-columns__panel.is-boxed.is-panel-white { background: var(--color-white); }
.icon-columns__panel.is-boxed.is-panel-coral { background: var(--color-coral); border-color: var(--color-coral); }
.icon-columns__panel.is-boxed.is-panel-navy { background: var(--color-navy); border-color: var(--color-navy); }
.icon-columns__panel.is-dark .icon-columns__subheading,
.icon-columns__panel.is-dark .icon-column__title,
.icon-columns__panel.is-dark .icon-column p,
.icon-columns__panel.is-dark .icon-columns__after { color: var(--color-white); }
.icon-columns__panel.is-dark .icon-column__icon { color: var(--color-white); }
.icon-columns__panel.is-panel-coral .icon-column__icon.fa-duotone { --fa-primary-color: var(--color-white); --fa-secondary-color: var(--color-navy); --fa-secondary-opacity: 1; }
/* Bolder item text; with Centred off the icon sits beside it, and in a box each item is centred in its column. */
.icon-columns--bold .icon-column p { font-weight: 600; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.35; }
.icon-columns--panel-only:not(.icon-columns--centred) .icon-column { align-items: center; justify-content: center; }
@media (max-width: 782px) { .icon-columns--panel-only:not(.icon-columns--centred) .icon-column { justify-content: flex-start; } }
/* A section that is only a box (no heading or intro): modest gaps, so stacked boxes read as one group. */
.icon-columns--panel-only { padding-top: clamp(12px, 1.5vw, 24px); padding-bottom: clamp(12px, 1.5vw, 24px); }
.icon-columns--panel-only .icon-columns__panel.is-boxed { margin-top: 0; }
.icon-columns--panel-only + .icon-columns--panel-only { padding-top: 0; }
.icon-columns--panel-only:not(:has(+ .icon-columns--panel-only)) { padding-bottom: clamp(56px, 5vw, 80px); }
.wot-section--plain-text:has(+ .icon-columns--panel-only) { padding-bottom: clamp(12px, 1.5vw, 24px); }
.icon-columns__after { max-width: 920px; margin: clamp(28px, 3.4vw, 52px) auto 0; text-align: center; }
.icon-columns__cta { text-align: center; margin-top: clamp(28px, 3.4vw, 48px); }
.testimonials--card .testimonial__logo.testimonial__logo--colour,
.testimonials--grid .testimonial__logo.testimonial__logo--colour { filter: none; }

/* Intro text straight into a row of service cards: keep the gap modest. */
.wot-section--plain-text:has(+ .wot-section--service-cards) { padding-bottom: clamp(8px, 1.2vw, 20px); }
.wot-section--plain-text + .wot-section--service-cards { padding-top: clamp(8px, 1.2vw, 20px); }

/* FAQ accordion ("Why use a human copywriter and not Claude?"): centred intro, then a simple accordion with a duotone icon beside each question. */
.faq__inner { max-width: 1040px; }
.faq__head { text-align: center; }
.faq__head .section-heading { margin-bottom: 8px; }
.faq__sub { font-size: calc(var(--fs-title) + 4px); font-weight: var(--title-weight); color: var(--color-navy); margin: 0 auto clamp(8px, 1vw, 14px); }
.faq__quote { max-width: 760px; margin-left: auto; margin-right: auto; }
.faq__intro { max-width: 820px; margin: clamp(22px, 2.4vw, 36px) auto 0; }
.faq__intro p { font-weight: 600; color: var(--color-navy); }
.faq-accordion { margin-top: clamp(28px, 3.4vw, 52px); border-top: 1px solid rgba(67, 51, 49, 0.18); }
.faq-item__icon.fa-duotone {
	--fa-primary-color: var(--color-navy);
	--fa-secondary-color: var(--color-coral);
	--fa-primary-opacity: 1;
	--fa-secondary-opacity: 1;
	font-size: clamp(26px, 2.3vw, 36px);
	width: 1.3em;
}
.faq-item__panel { padding-right: clamp(0px, 2vw, 32px); }
.faq-item__panel .prose p,
.accordion__panel.faq-item__panel .prose p { max-width: 780px; }
.faq-item__text + .faq-item__text,
.faq-points + .faq-item__text,
.faq-item__text + .faq-points { margin-top: clamp(18px, 2vw, 28px); }
.faq-item__text h3 { font-size: calc(var(--fs-title) + 1px); font-weight: var(--title-weight); color: var(--color-navy); margin: clamp(18px, 1.8vw, 26px) 0 6px; line-height: 1.3; }
.faq-item__text h3:first-child { margin-top: 0; }
.faq-item__text .btn { margin-top: 8px; margin-bottom: 6px; }
.faq-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); padding: clamp(20px, 2.4vw, 36px); background: var(--color-white); border: 2px solid var(--color-coral-soft); border-radius: var(--radius-md); }
.faq-point { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.faq-point .icon-column__icon { width: auto; font-size: clamp(34px, 3vw, 48px); }
.faq-point .icon-column__title { font-size: var(--fs-title); font-weight: var(--title-weight); color: var(--color-navy); margin-bottom: 6px; }
.faq-point p { font-size: calc(var(--fs-body) - 1px); line-height: 1.45; margin: 0; }
@media (max-width: 782px) {
	.faq-points { grid-template-columns: 1fr; }
	.faq-item__panel { padding-left: 0; }
}
.faq-item__text .btn { color: var(--color-white); text-decoration: none; } /* beat the coral link colour of .prose a */

/* CTA heading beside an image: sized so "Book your ... copywriting project" holds to two lines. */
.contact.contact--with-image .contact__heading { font-size: clamp(26px, 3.3vw, 50px); }

/* Home services accordion carries seven services: tighter rows so it stays close to the height of the photo. */
.wot-section--accordion-text .accordion { margin-top: 20px; }
.wot-section--accordion-text .accordion__item { padding: clamp(11px, 1.05vw, 16px) 0; }
.wot-section--accordion-text .accordion__panel { padding-top: 10px; }

/* Proportions: body text and links in accordions, and text under an icon, sit about 2px below the base body size. */
.accordion__panel { font-size: calc(var(--fs-body) - 2px); }
.accordion__panel .prose p,
.accordion__panel .prose li { font-size: inherit; }
.icon-columns--centred .icon-column p { font-size: calc(var(--fs-body) - 2px); }
.icon-columns--bold.icon-columns--centred .icon-column p { font-size: calc(clamp(16px, 1.25vw, 20px) - 2px); }
.info-box .prose p,
.info-box .prose li { font-size: calc(var(--fs-body) - 2px); }
.faq-point p { font-size: calc(var(--fs-body) - 2px); }
.service-card__link { font-size: calc(var(--fs-small) - 2px); }

/* Service cards: 24px titles, 18px text and lists. */
.service-card__title { font-size: clamp(20px, 1.67vw, 24px); }
.service-card__text,
.has-highlight .service-card__text,
.service-card__list li { font-size: clamp(16px, 1.25vw, 18px); }

/* Portfolio filter dropdowns: navy border and text on a 10% navy tint; navy fill with white text once a filter is applied. */
.feed-filters__pill.feed-dropdown__trigger {
	background: rgba(35, 57, 96, 0.1);
	border-color: var(--color-navy);
	color: var(--color-navy);
}
.feed-filters__pill.feed-dropdown__trigger.is-active {
	background: var(--color-navy);
	border-color: var(--color-navy);
	color: var(--color-white);
}

/* Portfolio cards without a thumbnail: the client's logo in white on the navy panel (text name if there is no logo). */
.portfolio-card__placeholder .portfolio-card__logo {
	width: auto;
	height: auto;
	max-width: 58%;
	max-height: 38%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

/* About FAQ intro: balanced heading, lighter sub-heading, centred pull quote with a bigger quote and the company logo. */
.faq__head .section-heading { max-width: 760px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.faq__sub { font-weight: 400; }
.faq__quote { text-align: center; }
.faq__quote .plain-text__quote-text { font-size: clamp(22px, 2vw, 30px); line-height: 1.45; margin-bottom: 20px; }
.faq__quote .plain-text__quote-who { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.faq__quote .plain-text__quote-who cite { font-size: clamp(15px, 1.25vw, 19px); }
.faq__quote-logo { display: block; max-height: 40px; width: auto; max-width: 180px; margin-top: 12px; }

/* About FAQ: text about 12% smaller than before (never below 14.5px so it stays readable on phones). */
.wot-section--faq .faq__sub { font-size: max(16px, calc((var(--fs-title) + 4px) * 0.88)); }
.wot-section--faq .faq__quote .plain-text__quote-text { font-size: clamp(19px, 1.76vw, 26.5px); }
.wot-section--faq .faq__quote .plain-text__quote-who cite { font-size: max(14.5px, calc(clamp(15px, 1.25vw, 19px) * 0.88)); }
.wot-section--faq .faq__intro p { font-size: max(15px, calc(var(--fs-body) * 0.88)); }
.wot-section--faq .accordion__title { font-size: max(16px, calc((var(--fs-title) + 4.5px) * 0.88)); }
.wot-section--faq .accordion__panel { font-size: max(14.5px, calc((var(--fs-body) - 2px) * 0.88)); }
.wot-section--faq .faq-item__text h3 { font-size: max(15px, calc((var(--fs-title) + 1px) * 0.88)); }
.wot-section--faq .faq-point p { font-size: max(14.5px, calc((var(--fs-body) - 2px) * 0.88)); }
.wot-section--faq .faq-point .icon-column__title { font-size: max(15px, calc(var(--fs-title) * 0.88)); }

/* About FAQ answers: full width of the accordion, no side padding or max-width on the text. */
.wot-section--faq .accordion__panel.faq-item__panel { padding-left: 0; padding-right: 0; }
.wot-section--faq .accordion__panel p,
.wot-section--faq .accordion__panel .prose p,
.wot-section--faq .accordion__panel.faq-item__panel .prose p,
.wot-section--faq .faq-item__text p { max-width: none; }

/* About FAQ answers: nudged back up (about 5% under the original size). */
.wot-section--faq .accordion__panel { font-size: max(15px, calc((var(--fs-body) - 2px) * 0.95)); }
.wot-section--faq .faq-point p { font-size: max(15px, calc((var(--fs-body) - 2px) * 0.95)); }
.wot-section--faq .faq-item__text h3 { font-size: max(15.5px, calc((var(--fs-title) + 1px) * 0.98)); }
.wot-section--faq .faq-point .icon-column__title { font-size: max(15.5px, calc(var(--fs-title) * 0.98)); }

/* A CTA straight after a coloured section (cream, blush, coral, navy) gets its full top padding back: the reduced padding above only makes sense when the section before it is also white, so the two paddings add up. */
.wot-section:not(.bg-white) + .wot-section--contact { padding-top: clamp(36px, 4vw, 64px); }

/* ==========================================================================
   Cookie banner (only output when Google Analytics is switched on)
   ========================================================================== */
.cookie-banner[hidden] { display: none; }
.cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1000;
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(18px, 2vw, 26px) clamp(18px, 2.4vw, 32px);
	background: var(--color-white);
	color: var(--color-text);
	border: 2px solid rgba(242, 133, 104, 0.5);
	border-radius: 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}
.cookie-banner__title { margin: 0 0 6px; font-weight: 800; font-size: 18px; color: var(--color-navy); }
.cookie-banner__text { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.cookie-banner__text a { color: var(--color-coral-strong); text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner__actions .btn { min-height: 48px; padding: 0 28px; margin: 0; flex: 1 1 140px; justify-content: center; }

/* Accreditation badges (badges + text) on phones: tiles keep their full size, the logos inside are smaller with more padding. */
@media (max-width: 600px) {
	.badges-text__badges img { padding: 36px; }
}


/* Home services accordion on phones: titles 2px smaller (so they stay on one line) and a touch more room per row. */
@media (max-width: 600px) {
	.wot-section--accordion-text .accordion__title { font-size: calc(var(--fs-title) + 2.5px); }
	.wot-section--accordion-text .accordion__item { padding: 15px 0; }
}

/* "Less time feeling deflated. More time feeling elated." on phones: one line each (font scales with the screen width). */
@media (max-width: 600px) {
	.info-boxes__intro .section-heading { font-size: 6.2vw; }
	.info-boxes__intro .section-heading__line { display: block; white-space: nowrap; }
}

/* Decorative blobs must never cover text: copy columns sit above the blob that belongs to the image/card beside them. */
.image-text__content,
.accordion-text__content,
.badges-text__content,
.pricing__content { position: relative; z-index: 2; }

/* Footer email on phones: bigger, easier to read and tap. */
@media (max-width: 600px) {
	.footer-brand__email { font-size: 20px; }
}

/* Mobile menu: big items, "Services" has an arrow button and its pages stay tucked away until it is tapped. */
.submenu-toggle { display: none; }
@media (max-width: 782px) {
	.site-nav { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; padding-top: 16px; }
	.nav-menu { gap: 4px; }
	.nav-menu > li { width: 100%; }
	.nav-menu > li > a { display: inline-block; padding: 10px 0; font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; }
	.nav-menu .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.nav-menu .menu-item-has-children > a { flex: 0 1 auto; }
	.submenu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		margin-left: 4px;
		padding: 0;
		background: none;
		border: 0;
		color: var(--color-coral-strong);
		cursor: pointer;
	}
	.submenu-toggle__chevron {
		width: 12px;
		height: 12px;
		border-right: 3px solid currentColor;
		border-bottom: 3px solid currentColor;
		transform: translateY(-3px) rotate(45deg);
		transition: transform 0.2s ease;
	}
	.is-sub-open > .submenu-toggle .submenu-toggle__chevron { transform: translateY(3px) rotate(225deg); }
	.nav-menu .menu-item-has-children > .sub-menu { display: none; flex: 0 0 100%; margin: 4px 0 8px; }
	.nav-menu .menu-item-has-children.is-sub-open > .sub-menu { display: block; }
	.nav-menu .sub-menu a { padding: 10px 0; font-size: 20px; font-weight: 600; }
	.nav-cta { margin-top: 20px; }
}

/* Mobile menu panel: hero cream, and it starts at the top of the page behind the logo and toggle so nothing is clipped. */
@media (max-width: 782px) {
	.site-header__logo,
	.nav-toggle { position: relative; z-index: 3; }
	.site-nav {
		top: 0;
		z-index: 2;
		background: var(--color-cream);
		padding-top: 96px;
		max-height: 100vh;
		max-height: 100dvh;
	}
}

/* Mobile menu "Get in touch" button: bigger (also in the sticky header) and closer to the links above it. */
@media (max-width: 782px) {
	.site-nav { gap: 0; }
	.site-nav .nav-cta,
	.site-header.is-fixed .site-nav .nav-cta {
		--btn-dx: 6px;
		--btn-dy: 6px;
		margin-top: 26px;
		min-height: 64px;
		padding: 0 30px;
		font-size: 22px;
	}
}

/* Service pages ("Some of my ... clients", inline style): same phone ticker as the Home logos. */
@media (max-width: 600px) {
	.logo-strip--inline .logo-strip__inner { display: none; }
	.logo-strip--inline .logo-marquee--logos {
		display: block;
		align-self: stretch;
		--marquee-gap: 36px;
		margin-top: 0;
	}
	.logo-strip--inline .logo-marquee--logos .logo-strip__logo { flex: 0 0 auto; width: auto; max-width: 120px; max-height: 44px; opacity: 0.4; }
	.logo-strip--inline .logo-strip__wrap--inline { gap: 18px; }
}
