/*
 * Squibble patterns: batch 1.
 * Every rule here starts with .sqp, the class on the outer group of each
 * pattern, so nothing in this file can change anything Louise has built.
 * Fonts: uses the fonts the theme already loads (DM Sans, Archivo Black).
 */

.sqp {
	--sqp-plum: #462139;
	--sqp-off: #FFFAF4;
	--sqp-purple: #5945A1;
	--sqp-pink: #FFA0E3;
	--sqp-orange: #FF9466;
	--sqp-blue: #A0E8FF;
	--sqp-ink: var(--sqp-plum);
	--sqp-ground: var(--sqp-off);
	--sqp-eyebrow: var(--sqp-purple);
	--sqp-link: var(--sqp-purple);
	--sqp-display: "Archivo Black", "Arial Black", sans-serif;
	--sqp-text: "DM Sans", system-ui, sans-serif;
	--sqp-pad-x: clamp(20px, 6vw, 120px);
	--sqp-plum-80: rgba(70, 33, 57, 0.82);
	--sqp-plum-20: rgba(70, 33, 57, 0.20);
	--sqp-cream-86: rgba(255, 250, 244, 0.86);
	--sqp-radius: 20px;
	--sqp-shadow-card: 0 35.5px 43.31px rgba(233, 204, 170, 0.45);
	--sqp-shadow-dark: 0 35.5px 43.31px rgba(0, 0, 0, 0.25);
	--sqp-script: var(--sq-font-script, "Caveat Brush", cursive);
	background: var(--sqp-ground);
	color: var(--sqp-ink);
	font-family: var(--sqp-text);
	box-sizing: border-box;
}
.sqp *, .sqp *::before, .sqp *::after { box-sizing: border-box; }

/* Bands */
.sqp.sqp-bg-plum { --sqp-ink: var(--sqp-off); --sqp-ground: var(--sqp-plum); --sqp-eyebrow: var(--sqp-pink); --sqp-link: var(--sqp-pink); }
.sqp.sqp-section { padding: 100px clamp(20px, 6vw, 86.4px); margin-block: 0 !important; background: var(--sqp-ground); color: var(--sqp-ink); }
.sqp.sqp-section--tight { padding-top: 70px; }
/* When the theme's crossfade is running it paints the page behind the
   sections, the same as Louise's own sections. */
.sq-canvas-live .sqp.sqp-section { background: transparent; }
.sqp.sqp-hero { padding-top: 100px; }
.sqp .sqp-hero__copy { max-width: none; display: flex; flex-direction: column; gap: 26px; }
.sqp .sqp-hero__copy :is(.sqp-lede, .sqp-body) { max-width: 560px; }
.sqp .sq-crumbs { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(70, 33, 57, 0.62); }
.sqp .sq-crumbs a { color: inherit; text-decoration: none; }
.sqp .sq-crumbs__here { color: var(--sqp-ink); font-weight: 700; }

/* Layout. The theme's own block spacing is reset inside a pattern and
   replaced with gaps, so spacing is the same whatever theme settings say. */
.sqp :is(h1, h2, h3, h4, p, ul, ol, figure, details) { margin: 0; }
.sqp .wp-block-group > *, .sqp .wp-block-buttons > * { margin-block: 0; }
.sqp .sqp-container { max-width: 1200px; margin-inline: auto; padding-inline: 0; display: flex; flex-direction: column; gap: 26px; }
.sqp .sqp-stack { display: flex; flex-direction: column; gap: 26px; }
.sqp .sqp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.sqp .sqp-split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
.sqp .sqp-split--middle { align-items: center; }
@media (max-width: 860px) { .sqp .sqp-split, .sqp .sqp-split--wide { grid-template-columns: 1fr; gap: 40px; } .sqp.sqp-section { padding-block: 64px; } }

/* Type */
.sqp .sqp-eyebrow { font-family: var(--sqp-display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sqp-eyebrow); line-height: 1.55; }
.sqp .sqp-display { font-family: var(--sqp-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.02em; color: var(--sqp-ink); text-wrap: balance; }
.sqp .sqp-h2 { font-family: var(--sqp-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.015em; color: var(--sqp-ink); text-wrap: balance; }
.sqp .sqp-h3 { font-family: var(--sqp-display); font-weight: 700; font-size: 21px; line-height: 1.16; letter-spacing: -0.01em; color: var(--sqp-ink); text-wrap: balance; }
.sqp .sqp-h4 { font-family: var(--sqp-display); font-weight: 700; font-size: 19px; line-height: 1.16; letter-spacing: -0.01em; color: var(--sqp-ink); text-wrap: balance; }
.sqp .sqp-h4 a { color: inherit; text-decoration: none; }
.sqp .sqp-lede { font-size: 16px; font-weight: 700; line-height: 1.55; max-width: 62ch; color: var(--sqp-ink); }
.sqp .sqp-body, .sqp p { font-size: 16px; line-height: 1.55; }
.sqp .sqp-body { max-width: 62ch; }
.sqp .sqp-small { font-size: 14.5px; line-height: 1.5; }
.sqp .sqp-accent { color: var(--sqp-purple); }
.sqp.sqp-bg-plum .sqp-accent { color: var(--sqp-pink); }
.sqp a { color: var(--sqp-link); }
.sqp .sqp-textlink a, .sqp a.sqp-textlink { font-weight: 700; font-size: 14.5px; text-decoration: none; color: var(--sqp-link); display: inline-flex; align-items: center; gap: 8px; }
.sqp .sqp-textlink a::after { content: "→"; transition: transform 180ms ease; }
.sqp .sqp-textlink a:hover { color: var(--sqp-orange); }
.sqp .sqp-textlink a:hover::after { transform: translateX(3px); }
.sqp .sqp-pink { color: var(--sqp-pink); } .sqp .sqp-orange { color: var(--sqp-orange); } .sqp .sqp-purple { color: var(--sqp-purple); }

/* Buttons */
.sqp .sqp-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.sqp .sqp-cta .wp-block-button__link { width: auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; padding: 6px 24px 6px 6px; border-radius: 999px; font-family: var(--sqp-text); font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; transition: background 0.2s ease, color 0.2s ease; }
.sqp .sqp-cta .wp-block-button__link::before { content: "→"; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; flex: none; }
.sqp .sqp-cta--primary .wp-block-button__link { background: var(--sqp-purple); color: #fff; }
.sqp .sqp-cta--primary .wp-block-button__link::before { background: #fff; color: var(--sqp-purple); }
.sqp .sqp-cta--primary .wp-block-button__link:hover { background: var(--sqp-plum); }
.sqp .sqp-cta--secondary .wp-block-button__link { background: var(--sqp-pink); color: var(--sqp-plum); }
.sqp .sqp-cta--secondary .wp-block-button__link::before { background: var(--sqp-plum); color: var(--sqp-pink); }
.sqp .sqp-cta--quiet .wp-block-button__link { background: transparent; color: var(--sqp-ink); gap: 11px; padding: 4px 16px 4px 4px; margin-left: -4px; transition: background 180ms ease, color 180ms ease, padding 180ms ease; }
.sqp .sqp-cta--quiet .wp-block-button__link::before { width: 36px; height: 36px; background: var(--sqp-purple); color: #fff; }
.sqp .sqp-cta--quiet .wp-block-button__link:hover { background: var(--sqp-purple); color: #fff; padding-right: 24px; }
.sqp .sqp-cta--text .wp-block-button__link { background: none; padding: 0; color: var(--sqp-link); font-size: 14.5px; }
.sqp .sqp-cta--text .wp-block-button__link::before { content: none; }
.sqp .sqp-cta--text .wp-block-button__link { gap: 8px; white-space: normal; text-align: left; }
.sqp .sqp-cta--text .wp-block-button__link::after { content: "→"; }

/* Lists with ticks and crosses: Squibble's own sticker icons */
.sqp .sqp-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sqp .sqp-list li { position: relative; padding-left: 39px; font-size: 16px; line-height: 1.55; }
.sqp .sqp-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; background: no-repeat center / contain; }
/* Tick and cross lists are the theme's Icon list block; these rules only
   set the spacing inside a pattern. */
.sqp .sq-icon-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sqp .sq-icon-list__item { display: flex; align-items: flex-start; gap: 13px; font-size: 16px; line-height: 1.55; margin: 0; }
.sqp .sq-icon-list__icon { width: var(--sq-icon-size, 26px); height: var(--sq-icon-size, 26px); flex: none; object-fit: contain; }
.sqp .sq-icon-list__item strong { color: var(--sqp-ink); }
.sqp .sqp-icons--small .sq-icon-list__item { font-size: 14.5px; }
.sqp .sqp-package .sq-icon-list { gap: 8px; margin-top: 6px; }
.sqp-section .sqp-split > .sq-icon-list { gap: 18px; }
.sqp .sqp-list li strong { color: var(--sqp-ink); }
.sqp .sqp-list--small li { font-size: 14.5px; padding-left: 34px; }
.sqp .sqp-list--small li::before { width: 23px; height: 20px; }

/* Three voices */
.sqp .sqp-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 12px; }
.sqp .sqp-voices { gap: 26px; margin-top: 18px; align-items: start; }
.sqp .sqp-voice { background: #fff; border: 1px solid rgba(70, 33, 57, 0.08); border-radius: var(--sqp-radius); padding: 26px; box-shadow: var(--sqp-shadow-card); position: relative; display: flex; flex-direction: column; gap: 13px; }
.sqp .sqp-voice:nth-child(1) { transform: rotate(-1.5deg); }
.sqp .sqp-voice:nth-child(2) { transform: rotate(1deg); margin-top: 18px; }
.sqp .sqp-voice:nth-child(3) { transform: rotate(-0.5deg); }
.sqp .sqp-voice__who { font-family: var(--sqp-display); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sqp-purple); }
.sqp .sqp-voice__says { font-size: 16px; line-height: 1.55; font-weight: 700; color: var(--sqp-plum); }
@media (max-width: 860px) { .sqp .sqp-voices { grid-template-columns: 1fr; } .sqp .sqp-voice { transform: none !important; } }

/* Before After. Without JavaScript both sides show, one under the other. */
.sqp .sqp-ba { display: flex; flex-direction: column; gap: 28px; }
.sqp .sqp-ba__side { display: flex; flex-direction: column; gap: 14px; }
.sqp .sqp-ba__tab { font-family: var(--sqp-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sqp-eyebrow); }
.sqp .sqp-ba.is-tabbed .sqp-ba__tab { display: none; }
.sqp .sqp-ba.is-tabbed .sqp-ba__side:not(.is-active) { display: none; }
.sqp .sqp-ba__switch { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 250, 244, 0.12); gap: 4px; align-self: flex-start; }
.sqp .sqp-ba__switch button { border: 0; border-radius: 999px; padding: 10px 20px; font: 700 15px/1 var(--sqp-text); background: transparent; color: var(--sqp-ink); cursor: pointer; }
.sqp .sqp-ba__switch button[aria-selected="true"] { background: var(--sqp-pink); color: var(--sqp-plum); }
.sqp:not(.sqp-bg-plum) .sqp-ba__switch { background: rgba(70, 33, 57, 0.08); }
.sqp:not(.sqp-bg-plum) .sqp-ba__switch button[aria-selected="true"] { background: var(--sqp-purple); color: #fff; }

/* Case card: always a plum card, photo on top, so the stat colours hold on any band. */
.sqp .sqp-casecard { margin: 0; width: 100%; max-width: 440px; justify-self: end; align-self: center; background: var(--sqp-plum); color: var(--sqp-off); border-radius: var(--sqp-radius); overflow: hidden; box-shadow: var(--sqp-shadow-dark); border: 1px solid rgba(255, 250, 244, 0.12); display: flex; flex-direction: column; }
.sqp .sqp-casecard__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.sqp .sqp-casecard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.sqp .sqp-casecard__client { font-family: var(--sqp-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sqp-pink); }
.sqp .sqp-casecard__line { font-family: var(--sqp-display); font-weight: 700; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.2; color: var(--sqp-off); }
.sqp .sqp-casecard__stats { display: flex; flex-wrap: wrap; gap: 14px 22px; padding: 6px 0 4px; }
.sqp .sqp-casecard__stats .sqp-stat { flex: 1 1 90px; }
.sqp .sqp-casecard .sqp-stat__n { font-size: clamp(24px, 2.4vw, 32px); color: var(--sqp-pink); }
.sqp .sqp-casecard .sqp-stat:nth-child(2) .sqp-stat__n { color: var(--sqp-orange); }
.sqp .sqp-casecard .sqp-stat:nth-child(3) .sqp-stat__n { color: var(--sqp-blue); }
.sqp .sqp-casecard .sqp-stat__l { font-size: 13px; color: var(--sqp-cream-86); opacity: 1; }
.sqp .sqp-casecard__links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.sqp .sqp-casecard .sqp-textlink a { color: var(--sqp-pink); }
.sqp .sqp-casecard .sqp-textlink a:hover { color: var(--sqp-off); }
.sqp .sqp-casecard__all { font-size: 13px; }
.sqp .sqp-casecard__all a { color: var(--sqp-cream-86); text-decoration: underline; text-underline-offset: 3px; }
.sqp .sqp-stat { display: flex; flex-direction: column; gap: 2px; }
.sqp .sqp-stat__n { font-family: var(--sqp-display); font-size: 32px; line-height: 1; }
.sqp .sqp-stat__l { font-size: 13px; line-height: 1.35; opacity: 0.8; }

/* Package picker. Stacked by default; a column of tabs beside one open card
   once the script runs on a wide screen. */
.sqp .sqp-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 12px; }
.sqp .sqp-package { background: #fff; color: var(--sqp-plum); border: 1px solid rgba(70, 33, 57, 0.08); border-radius: var(--sqp-radius); padding: 26px; display: flex; flex-direction: column; gap: 13px; box-shadow: var(--sqp-shadow-card); }
.sqp .sqp-package--dark { background: var(--sqp-plum); color: var(--sqp-off); --sqp-ink: var(--sqp-off); border-color: transparent; box-shadow: var(--sqp-shadow-dark); }
.sqp .sqp-package__name { font-family: var(--sqp-display); font-weight: 700; font-size: 21px; line-height: 1.16; color: inherit; }
.sqp .sqp-package__price { font-family: var(--sqp-display); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sqp-purple); }
.sqp .sqp-package--dark .sqp-package__price { color: var(--sqp-pink); }
.sqp .sqp-package__line { font-weight: 700; font-size: 16px; line-height: 1.55; }
.sqp .sqp-package .sqp-list { gap: 8px; margin-top: 6px; }
.sqp .sqp-package .wp-block-buttons { margin-top: auto !important; padding-top: 8px; }
@media (max-width: 960px) { .sqp .sqp-packages { grid-template-columns: 1fr; } }
.sqp .sqp-packages.is-tabbed { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 26px; align-items: start; }
.sqp .sqp-packages.is-tabbed .sqp-package:not(.is-active) { display: none; }
.sqp .sqp-packages.is-tabbed .sqp-package.is-active { animation: sqp-pop 300ms cubic-bezier(.22, 1, .36, 1) both; }
.sqp .sqp-packages__tabs { display: flex; flex-direction: column; gap: 20px; grid-row: 1 / span 3; }
.sqp .sqp-packages__tabs button { appearance: none; text-align: left; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-radius: var(--sqp-radius); border: 1px solid rgba(70, 33, 57, 0.08); background: #fff; color: var(--sqp-plum); box-shadow: var(--sqp-shadow-card); transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.sqp .sqp-packages__tabs button:hover { transform: translateY(-2px); }
.sqp .sqp-packages__tabs strong { font-family: var(--sqp-display); font-weight: 700; font-size: 19px; line-height: 1.16; }
.sqp .sqp-packages__tabs .sqp-packages__line { font-size: 12.5px; line-height: 1.4; color: rgba(70, 33, 57, 0.7); }
.sqp .sqp-packages__tabs .sqp-packages__price { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; letter-spacing: -0.02em; color: rgba(70, 33, 57, 0.58); }
.sqp .sqp-packages__tabs button[aria-selected="true"] { background: var(--sqp-plum); color: var(--sqp-off); }
.sqp .sqp-packages__tabs button[aria-selected="true"] :is(.sqp-packages__line, .sqp-packages__price) { color: var(--sqp-pink); }
@keyframes sqp-pop { from { opacity: 0; transform: rotate(-1deg) scale(0.98); } to { opacity: 1; transform: none; } }

/* Quote card: a tilted framed photo with a handwritten note, and a
   testimonial tucked over its bottom left corner. */
.sqp .sqp-quotecard { display: flex; flex-direction: column; width: 100%; max-width: 408px; justify-self: end; }
.sqp .sqp-quotecard__frame { position: relative; padding-top: 46px; }
.sqp .sqp-quotecard__photo { display: block; padding: 12px; background: var(--sqp-off); border: 1px solid var(--sqp-plum); border-radius: 16px; box-shadow: var(--sqp-shadow-card); transform: rotate(3deg); }
.sqp .sqp-quotecard__photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 72%; border-radius: 8px; }
.sqp .sqp-quotecard__note { position: absolute; top: 0; right: -18px; z-index: 1; display: flex; align-items: flex-end; gap: 4px; color: var(--sqp-purple); font-family: var(--sqp-script); font-size: clamp(20px, 1.9vw, 26px); line-height: 1; transform: rotate(-4deg); white-space: nowrap; pointer-events: none; padding-bottom: 26px; }
.sqp .sqp-quotecard__note::before { content: ""; width: 48px; height: 38px; margin-bottom: -26px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 70'%3E%3Cpath d='M84 8 C 60 2, 40 14, 46 30 C 52 46, 30 52, 18 44 C 10 38, 14 28, 22 34 C 30 40, 20 56, 8 62' fill='none' stroke='%235945A1' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M8 62 L 10 50 M8 62 L 19 60' fill='none' stroke='%235945A1' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.sqp .sqp-quotecard__quote { position: relative; z-index: 2; max-width: 400px; margin: -48px 0 0 calc(-1 * clamp(0px, 3vw, 48px)) !important; background: #fff; border-radius: var(--sqp-radius); padding: 16px 20px; box-shadow: var(--sqp-shadow-card); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; }
.sqp .sqp-quotecard__face img { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; display: block; }
.sqp .sqp-quotecard__body { display: flex; flex-direction: column; gap: 6px; }
.sqp .sqp-quotecard__text { font-size: 16px; line-height: 1.45; color: var(--sqp-plum); }
.sqp .sqp-quotecard__who { font-size: 12.5px; font-weight: 700; color: var(--sqp-plum); }
.sqp .sqp-quotecard__org { font-size: 12.5px; color: rgba(70, 33, 57, 0.78); }
@media (min-width: 861px) { .sqp .sqp-quotecard { margin-top: -80px; } }
/* A heading above a split with a quote card: keep it to the left column, so the card can rise beside it without running into a long heading. */
@media (min-width: 861px) { .sqp .sqp-container > .sqp-h2:has(+ .sqp-split > .sqp-quotecard) { max-width: calc(50% - 35px); } }
@media (max-width: 700px) { .sqp .sqp-quotecard__quote { margin: 16px 0 0 !important; max-width: none; } .sqp .sqp-quotecard__note { right: 0; } }

/* Proof block: two case cards and a plum quote card, three across. */
.sqp .sqp-proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px; align-items: stretch; }
.sqp .sqp-proof__card { background: #fff; color: var(--sqp-plum); border: 1px solid rgba(70, 33, 57, 0.08); border-radius: var(--sqp-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--sqp-shadow-card); transition: transform 240ms ease, box-shadow 240ms ease; }
.sqp .sqp-proof__card:hover { transform: translateY(-6px); box-shadow: 0 44px 52px rgba(233, 204, 170, 0.62); }
.sqp .sqp-proof__photo img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.sqp .sqp-proof__body { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 26px; flex: 1; }
.sqp .sqp-proof__body .sqp-small { color: var(--sqp-plum-80); }
.sqp .sqp-proof__fig { padding-top: 10px; }
.sqp .sqp-proof__n { display: block; font-family: var(--sqp-display); font-size: 46px; line-height: 0.92; letter-spacing: -0.03em; color: #3E35B8; }
.sqp .sqp-proof__card:nth-child(2) .sqp-proof__n { color: #8A6410; }
.sqp .sqp-proof__l { display: block; padding-top: 10px; max-width: 16ch; font-size: 14px; line-height: 1.4; color: rgba(70, 33, 57, 0.72); }
.sqp .sqp-proof__cta { margin-top: auto !important; padding-top: 4px; }
.sqp .sqp-proof__quote { background: var(--sqp-plum); color: var(--sqp-off); --sqp-ink: var(--sqp-off); border-radius: var(--sqp-radius); box-shadow: var(--sqp-shadow-dark); overflow: hidden; display: flex; flex-direction: column; gap: 26px; padding: 36px 26px 26px; position: relative; }
.sqp .sqp-proof__quote::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: #C59217; }
.sqp .sqp-proof__quote .sqp-h3 { color: var(--sqp-off); max-width: 14ch; }
.sqp .sqp-proof__mark { font-family: var(--sqp-display); font-size: 64px; line-height: 0.6; color: #C59217; height: 30px; }
.sqp .sqp-quote { font-size: 22px; line-height: 1.34; color: var(--sqp-off); text-wrap: pretty; }
.sqp .sqp-quote strong { color: inherit; }
.sqp .sqp-proof__who { margin-top: auto !important; display: flex; flex-direction: column; gap: 16px; }
.sqp .sqp-quote__who { font-weight: 700; font-size: 16px; color: var(--sqp-off); }
.sqp .sqp-quote__org { font-size: 16px; color: rgba(255, 250, 244, 0.78); }
.sqp .sqp-proof__all a { font-weight: 700; color: rgba(70, 33, 57, 0.75); text-decoration: underline; text-underline-offset: 4px; }
.sqp .sqp-proof__all a:hover { color: var(--sqp-plum); }

/* Is this you */
.sqp .sqp-fit { display: flex; flex-direction: column; gap: 18px; position: relative; }
.sqp .sqp-fit__items { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sqp .sqp-fit__items li { background: #fff; border: 2px solid rgba(70, 33, 57, 0.12); border-radius: 16px; padding: 12px 16px 12px 50px; position: relative; font-weight: 500; font-size: 15px; line-height: 1.4; }
.sqp .sqp-fit__items li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 6px; border: 2px solid rgba(70, 33, 57, 0.35); background: #fff no-repeat center / 12px; }
.sqp .sqp-fit.is-live .sqp-fit__items li { cursor: pointer; }
.sqp .sqp-fit__items li[aria-pressed="true"] { border-color: var(--sqp-purple); }
.sqp .sqp-fit__items li[aria-pressed="true"]::before { background-color: var(--sqp-purple); border-color: var(--sqp-purple); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.6 2.4L10 3.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sqp .sqp-fit__verdict { background: var(--sqp-plum); color: var(--sqp-off); --sqp-ink: var(--sqp-off); border-radius: 20px; padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.sqp .sqp-fit__one, .sqp .sqp-fit__many { font-family: var(--sqp-display); font-size: 20px; line-height: 1.25; }
.sqp .sqp-fit.is-live .sqp-fit__verdict { display: none; }
.sqp .sqp-fit.is-live.has-pick .sqp-fit__verdict { display: flex; }
.sqp .sqp-fit.is-live .sqp-fit__many, .sqp .sqp-fit.is-live.has-many .sqp-fit__one { display: none; }
.sqp .sqp-fit.is-live.has-many .sqp-fit__many { display: block; }
.sqp .sqp-fit:not(.is-live) .sqp-fit__many { display: none; }
.sqp .sqp-fit__sticker { position: absolute !important; right: -18px; top: -36px; width: 96px; transform: rotate(8deg); }
.sqp .sqp-fit__sticker img { width: 100%; height: auto; display: block; }

/* Blocks (rounded panels) */
.sqp .sqp-block { border-radius: var(--sqp-radius); padding: clamp(30px, 4vw, 50px); display: flex; flex-direction: column; gap: 16px; background: #fff; position: relative; box-shadow: 0 35.5px 43.31px rgba(0, 0, 0, 0.22); }
.sqp .sqp-block--plum, .sqp .sqp-block--purple { color: var(--sqp-off); --sqp-ink: var(--sqp-off); --sqp-eyebrow: var(--sqp-pink); --sqp-link: var(--sqp-pink); }
.sqp .sqp-block--plum { background: var(--sqp-plum); }
.sqp .sqp-block--purple { background: var(--sqp-purple); --sqp-link: var(--sqp-off); }
.sqp .sqp-block :is(.sqp-body, .sqp-small) { color: var(--sqp-cream-86); }
.sqp .sqp-block .sqp-lede, .sqp .sqp-block .sqp-body { max-width: 460px; }
.sqp .sqp-block .sqp-h3 { max-width: 26ch; }
.sqp .sqp-block--purple .sqp-textlink a:hover { color: var(--sqp-pink); }
.sqp .sqp-block--sticker { padding-right: min(440px, 48%); }
.sqp .sqp-block__sticker { position: absolute !important; top: 0; right: 0; width: min(420px, 46%); transform: translate(-20%, -15%); z-index: 1; pointer-events: none; }
.sqp .sqp-block__sticker img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .sqp .sqp-block--sticker { padding-right: clamp(30px, 4vw, 50px); padding-top: 190px; } .sqp .sqp-block__sticker { width: 220px; transform: translate(0, -20%); } }
.sqp :is(.sqp-block--plum, .sqp-block--close) .sqp-actions { flex-direction: column; align-items: flex-start; }

/* FAQ (core Details block) */
.sqp .sqp-faq { display: flex; flex-direction: column; gap: 10px; }
.sqp .sqp-faq__item { background: #fff; border: 1px solid rgba(70, 33, 57, 0.12); border-radius: 14px; overflow: hidden; }
.sqp .sqp-faq__item summary { list-style: none; cursor: pointer; padding: 17px 60px 17px 20px; font-family: var(--sqp-text); font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--sqp-plum); position: relative; }
.sqp .sqp-faq__item summary::-webkit-details-marker { display: none; }
.sqp .sqp-faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 999px; background: rgba(89, 69, 161, 0.12); color: var(--sqp-purple); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; line-height: 1; }
.sqp .sqp-faq__item[open] summary::after { content: "−"; }
.sqp .sqp-faq__item > p { padding: 0 20px 18px; max-width: 720px; color: var(--sqp-plum-80); }
.sqp .sqp-faq__media { position: relative; width: 100%; }
.sqp .sqp-faq__photo img { width: 100%; height: auto; display: block; }
.sqp .sqp-faq__sticker { position: absolute !important; left: 0; bottom: 4%; width: 26%; transform: rotate(-4deg); }
.sqp .sqp-faq__sticker img { width: 100%; height: auto; display: block; animation: sqp-wiggle 3s ease-in-out infinite; transform-origin: 60% 60%; }
@keyframes sqp-wiggle { 0%, 84%, 100% { transform: rotate(0deg); } 87% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } 93% { transform: rotate(-4deg); } 96% { transform: rotate(2deg); } }

/* Sector strip */
.sqp .sqp-sectorstrip { display: flex; flex-direction: column; gap: 14px; padding: 26px 0; border-top: 1px solid var(--sqp-plum-20); border-bottom: 1px solid var(--sqp-plum-20); }
.sqp .sqp-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sqp .sqp-pills li { padding: 0; }
.sqp .sqp-pills li::before { content: none; }
.sqp .sqp-pills li a { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--sqp-plum-20); font-weight: 700; font-size: 14.5px; white-space: nowrap; text-decoration: none; color: var(--sqp-plum); background: #fff; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.sqp .sqp-pills li a:hover { background: var(--sqp-purple); color: var(--sqp-off); transform: translateY(-2px); }

/* Case study row: reads the case studies, drifts sideways on scroll. */
.sqp.sqp-section--row { padding: clamp(24px, 3vw, 46px) 0 clamp(34px, 4vw, 60px); overflow: hidden; }
.sqp .sqp-row { margin: 0; }
.sqp .sqp-row__track { list-style: none; margin: 0; padding: 0 clamp(20px, 6vw, 120px); display: flex; width: max-content; gap: clamp(18px, 2vw, 28px); will-change: transform; }
.sqp .sqp-row__track > li { flex: none; width: clamp(230px, 23vw, 310px); margin: 0; }
.sqp .sqp-row__track > li:not(.has-post-thumbnail) { display: none; }
.sqp .sqp-row__tile { background: #fff; border-radius: 5px; padding: 12px 12px 0; box-shadow: 0 26px 40px rgba(233, 204, 170, 0.55); transition: transform 320ms cubic-bezier(.22, 1, .36, 1), box-shadow 320ms ease; }
.sqp .sqp-row__tile:hover { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 34px 52px rgba(233, 204, 170, 0.75); }
.sqp .sqp-row__media { margin: 0; background: #3A1A2F; aspect-ratio: 4 / 3; overflow: hidden; }
.sqp .sqp-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sqp .sqp-row__name { margin: 0; padding: 13px 2px 16px; font-family: var(--sqp-script); font-weight: 400; font-size: 21px; line-height: 1; color: var(--sqp-plum); }
.sqp .sqp-row__name a { color: inherit; text-decoration: none; }

/* Insights cards */
.sqp .sqp-insights__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sqp .sqp-insights__grid > li { margin: 0; display: flex; }
.sqp .sqp-card { background: #fff; color: var(--sqp-plum); border: 1px solid rgba(70, 33, 57, 0.08); border-radius: var(--sqp-radius); box-shadow: var(--sqp-shadow-card); padding: 26px; display: flex; flex-direction: column; gap: 13px; width: 100%; transition: transform 240ms ease, box-shadow 240ms ease; }
.sqp .sqp-card:hover { transform: translateY(-6px); box-shadow: 0 44px 52px rgba(233, 204, 170, 0.62); }
.sqp .sqp-insights__topic a { color: inherit; text-decoration: none; }
.sqp .sqp-insights__topic .wp-block-post-terms__separator { opacity: 0.6; }
.sqp .sqp-insights__card .sqp-small { color: var(--sqp-plum-80); }
.sqp .sqp-insights__card .wp-block-post-excerpt__excerpt { margin: 0; }
.sqp .sqp-readmore { margin-top: auto; display: inline-flex; align-items: center; gap: 11px; padding: 4px 16px 4px 4px; margin-left: -4px; border-radius: 999px; align-self: flex-start; font-weight: 700; font-size: 16px; color: var(--sqp-plum); text-decoration: none; transition: background 180ms ease, color 180ms ease, padding 180ms ease; }
.sqp .sqp-readmore::before { content: "→"; width: 36px; height: 36px; border-radius: 999px; background: var(--sqp-purple); color: var(--sqp-off); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sqp .sqp-readmore:hover { background: var(--sqp-purple); color: var(--sqp-off); padding-right: 24px; }

/* Plane trail */
.sqp.sqp-section--trail { padding: 0 0 clamp(24px, 3vw, 48px); overflow: hidden; }
.sqp .sqp-trail { position: relative; height: 34vh !important; min-height: 210px; max-height: 380px; margin: 0 !important; }
/* In the editor the script doesn't run, so show where the trail will fly. */
.editor-styles-wrapper .sqp .sqp-trail { background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M -40 168 C 220 168 240 40 470 44 C 700 48 690 172 920 158 C 1080 148 1140 96 1260 62' fill='none' stroke='%23FFA0E3' stroke-width='3.78' stroke-dasharray='14 11' stroke-linecap='round'/%3E%3C/svg%3E"); }
.sqp .sqp-trail svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sqp .sqp-trail__line { stroke: var(--sqp-pink); stroke-width: 3.78px; stroke-dasharray: 14 11; stroke-linecap: round; fill: none; }
.sqp .sqp-trail__plane { position: absolute; left: 0; top: 0; width: 62px; height: 60px; margin: -15.5px 0 0 -10.9px; transform-origin: 17.5% 25.9%; opacity: 0; pointer-events: none; will-change: transform; }
.sqp .sqp-trail__planeimg { display: none !important; }
.editor-styles-wrapper .sqp .sqp-trail__planeimg { display: block !important; width: 62px; margin: -60px 0 0 40% !important; }
.sqp .sqp-trail__plane img { display: block; width: 100%; height: 100%; transform: rotate(54.5deg); transform-origin: 17.5% 25.9%; }

/* Keep sticky headers from covering anchor targets */
.sqp.sqp-anchor-packages { scroll-margin-top: 100px; }

@media (prefers-reduced-motion: reduce) { .sqp * { transition: none !important; animation: none !important; } .sqp .sqp-trail__plane { display: none; } }
.sqp-page { margin-block: 0 !important; padding: 0 !important; }

/* 04 Offer: Steps with the untangle thread (0.1.9) */
.sqp .sqp-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--sqp-purple); margin: 0; }
.sqp .sqp-steps { position: relative; display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.sqp .sqp-steps__thread { position: relative; width: 100%; height: auto !important; aspect-ratio: 1200 / 170; margin: 0; }
.sqp .sqp-steps__thread svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sqp .sqp-steps__line { fill: none; stroke: var(--sqp-link); stroke-width: 3.4px; stroke-dasharray: 12 10; stroke-linecap: round; stroke-linejoin: round; }
.sqp .sqp-steps__plane { position: absolute; left: 0; top: 0; width: clamp(30px, 3.2vw, 44px); opacity: 0; pointer-events: none; transition: opacity 200ms linear; z-index: 2; }
.sqp .sqp-steps__plane img { display: block; width: 100%; height: auto; }
.sqp .sqp-steps__planeimg { display: none; }
.sqp .sqp-steps__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.sqp .sqp-step { gap: 10px; }
.sqp .sqp-step p:empty, .sqp .sqp-step h3:empty { display: none; }
.sqp .sqp-step__link { margin-top: auto; }
.sqp .sqp-step__note { color: var(--sqp-plum-80); }
.sqp .sqp-step--dark { background: var(--sqp-plum); color: var(--sqp-off); border-color: transparent; }
.sqp .sqp-step--dark .sqp-h3 { color: var(--sqp-off); }
.sqp .sqp-step--dark .sqp-small, .sqp .sqp-step--dark .sqp-step__note { color: rgba(255, 248, 238, 0.86); }
.sqp .sqp-step--dark .sqp-mono, .sqp .sqp-step--dark .sqp-eyebrow, .sqp .sqp-step--dark .sqp-textlink a { color: var(--sqp-pink); }
.sqp .sqp-steps--anim .sqp-step { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.sqp .sqp-steps--anim .sqp-step.is-in { opacity: 1; transform: none; }
@media (max-width: 860px) { .sqp .sqp-steps__thread, .sqp .sqp-steps__plane { display: none; } .sqp .sqp-steps--anim .sqp-step { opacity: 1; transform: none; } }
/* Optional lines left empty are hidden, so a page can skip them. */
.sqp p:empty { display: none; }

/* The 9 step rebrand audit: steps and "what you're looking for" notes
   inside the theme's article layout (0.1.9). */
.sq-prose .sqp-auditstep { margin: 0 0 40px; scroll-margin-top: 110px; }
.sq-prose .sqp-auditstep h3 { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; line-height: 1.3; color: var(--sq-plum, #462139); margin: 0 0 14px; }
.sq-prose .sqp-auditstep__n { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sq-purple, #5945A1); color: #fff; font-family: var(--sq-font-display, inherit); font-size: 15px; }
.sq-prose .sqp-lookfor { background: rgba(255, 160, 227, 0.16); border-left: 3px solid var(--sq-purple, #5945A1); border-radius: 0 10px 10px 0; padding: 16px 20px; margin-top: 8px; }
.sq-prose .sqp-lookfor p { margin: 0; }
.sq-prose .sqp-lookfor .sqp-lookfor__k { font-family: var(--sq-font-display, inherit); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sq-purple, #5945A1); margin-bottom: 6px; }
.sq-prose .sqp-audit__after { display: block; margin-top: 56px; }
.sqp-audit__cta { margin-top: 64px; }
@media print { .sq-article__rail, .sqp-audit__cta, header, footer, .sqp-section--trail { display: none !important; } }

/* 0.1.12 */
/* Cost band with its case card removed: the text takes the full width. */
.sqp .sqp-split--wide:has(.sqp-ba):not(:has(> .sqp-casecard, > .sqp-quotecard)) { grid-template-columns: minmax(0, 1fr); }
.sqp .sqp-split--wide:has(.sqp-ba):not(:has(> .sqp-casecard, > .sqp-quotecard)) .sqp-ba { max-width: 980px; }
/* Steps: optional lede under the heading and a pull line under the cards. */
.sqp .sqp-steps__outro { max-width: 900px; margin: 8px 0 0; }
/* What it's worth calculator. */
.sqp .sqp-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .sqp .sqp-calc { grid-template-columns: 1fr; } }
.sqp .sqp-calc__inputs { display: flex; flex-direction: column; gap: 18px; }
.sqp .sqp-calc__inputs .sqp-h3 { margin: 0 0 4px; }
.sqp .sqp-calc__field { display: flex; flex-direction: column; gap: 8px; }
.sqp .sqp-calc__label { margin: 0; display: flex; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 1.35; }
.sqp .sqp-calc__label strong { white-space: nowrap; font-family: var(--sqp-display); font-weight: 400; }
.sqp .sqp-calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(70, 33, 57, 0.14); accent-color: var(--sqp-purple); cursor: pointer; }
.sqp .sqp-calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sqp-purple); border: 3px solid var(--sqp-off); box-shadow: 0 2px 8px rgba(70, 33, 57, 0.3); }
.sqp .sqp-calc__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sqp-purple); border: 3px solid var(--sqp-off); }
.sqp .sqp-card--dark { background: var(--sqp-plum); color: var(--sqp-off); --sqp-ink: var(--sqp-off); border-color: transparent; box-shadow: var(--sqp-shadow-dark); }
.sqp .sqp-card--dark .sqp-eyebrow { color: var(--sqp-pink); }
.sqp .sqp-card--dark .sqp-body, .sqp .sqp-card--dark .sqp-small { color: rgba(255, 248, 238, 0.86); }
.sqp .sqp-calc__out { position: sticky; top: 110px; gap: 14px; }
.sqp .sqp-calc__big { margin: 0; font-family: var(--sqp-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--sqp-pink); }
.sqp .sqp-calc__rows { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.sqp .sqp-calc__row { display: flex; align-items: baseline; gap: 10px; }
.sqp .sqp-calc__row .sqp-calc__rowlabel { margin: 0; flex: 0 1 auto; font-size: 14px; color: rgba(255, 248, 238, 0.86); }
.sqp .sqp-calc__row .sqp-calc__leader { flex: 1 1 24px; border-bottom: 1px dotted rgba(255, 248, 238, 0.4); transform: translateY(-4px); }
.sqp .sqp-calc__row .sqp-calc__value { flex: 0 0 auto; font-weight: 700; white-space: nowrap; }
.sqp .sqp-calc__out .wp-block-buttons { margin-top: 6px; }
.sqp .sqp-calc:not(.is-live) .sqp-calc__big, .sqp .sqp-calc:not(.is-live) .sqp-calc__rows { display: none; }

/* ============================================================
   08 Case study sections (0.1.13). Canvas: *-Case-Study.dc.html.
   The theme already styles the sq- classes; this covers what the
   canvas did inline, and the gaps between real blocks.
   ============================================================ */
/* Blocks stacked inside these sections use the theme's sq-stack gaps, not WordPress's block gap. */
.sqp-section--cs.sqp-section--cs :where(.wp-block-group) > * { margin-block: 0; }
.sqp-section--cs p:empty:not(.sq-slot__n), .sqp-section--cs .sq-fact:has(> .sq-fact__k:empty) { display: none; }
.sqp-section--cs .sq-slot__l:not(:has(> p:not(:empty))) { display: none; }
.sqp-section--cs .sq-slot:not(:has(.sq-slot__l p:not(:empty))) { display: none; }

/* Figures: long numbers ("110,638", "3 months") at one size, tops aligned. */
.sqp-cs-figures .sq-stats { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.sqp-cs-figures .sq-stat--lead .sq-stat__n, .sqp-cs-figures .sq-stat__n { font-size: clamp(40px, 5.2vw, 86px); }
.sqp-cs-figures .sq-stat__l { min-height: 4.6em; }
.sqp-cs-figures .sqp-cs-note { max-width: 60ch; }
@media (max-width: 820px) { .sqp-cs-figures .sq-stats { grid-template-columns: minmax(0, 1fr); } .sqp-cs-figures .sq-stat__l { min-height: 0; } }

/* Frames */
.sqp-section--cs .sq-frame { position: relative; overflow: hidden; background: color-mix(in srgb, var(--cs1-dark, #0F4F6E) 80%, #000); }
.sqp-ar-16-9 { aspect-ratio: 16 / 9; }
.sqp-ar-1 { aspect-ratio: 1; }
.sqp-ar-4-3 { aspect-ratio: 4 / 3; }
.sqp-ar-2-1 { aspect-ratio: 2 / 1; }
.sqp-section--cs .sq-frame > .wp-block-image, .sqp-section--cs .sq-frame > .wp-block-video { position: absolute; inset: 0; margin: 0; }
.sqp-section--cs .sq-frame > .wp-block-image img, .sqp-section--cs .sq-frame > .wp-block-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sqp-section--cs .sq-frame.sqp-fit-contain > .wp-block-image img, .sqp-section--cs .sq-frame.sqp-fit-contain > .wp-block-video video { object-fit: contain; object-position: 50% 100%; }
.sqp-section--cs video:not([src]) { display: none; }

/* Photo pair: two photos side by side in one wide frame. */
.sqp-cs-pair { display: grid; grid-template-columns: 1fr 1fr; }
.sqp-section--cs .sqp-cs-pair > .wp-block-image { position: relative; inset: auto; height: 100%; }

/* Type tile: two type samples stacked in a coloured square. */
.sqp-cs-typetile { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(16px, 3.5%, 34px); padding: clamp(22px, 7%, 64px); }
.sqp-cs-typetile .wp-block-image { margin: 0; }
.sqp-cs-typetile img { display: block; width: 100%; height: auto; }
.sqp-cs-typetile__b img { width: 86%; }

/* Colour stripes: one column per colour. */
.sqp-cs-stripes { position: absolute; inset: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.sqp-cs-stripe { min-height: 100%; }

/* Proof: the quote card. */
.sqp-cs-proof__split { gap: clamp(30px, 5vw, 80px); }
.sqp-cs-quote { margin: 0; max-width: 880px; }
.sqp-cs-quote__mark { font-family: 'Archivo Black', sans-serif; font-size: clamp(38px, 4vw, 56px); line-height: 0.6; color: var(--cs1-highlight-2, #C076B6); }
.sqp-cs-quote .sq-testimonial__face .wp-block-image { margin: 0; }
.sqp-cs-quote .sq-testimonial__face:not(:has(img)) { display: none; }

/* Services: the whole card is the link. */
.sqp-cs-services .sq-card { position: relative; }
.sqp-cs-services .sq-cta a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.sqp-cs-services .sq-cta a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Closing call to action. */
.cs-cta .sqp-cs-cta__heading { grid-column: 1 / -1; margin: 0; padding: clamp(30px, 4vw, 54px) clamp(30px, 4vw, 54px) 0; max-width: none; }
.cs-cta .sqp-cs-pink { color: var(--sq-pink, #FFA0E3); }
.cs-cta .cs-cta__copy { padding-top: clamp(14px, 1.6vw, 24px); }
.cs-cta .sqp-cs-cta__link a { color: #FFC2EE; text-decoration: underline; }
.cs-cta .sqp-cs-cta__person { position: absolute; left: 50%; bottom: 6%; width: min(300px, 58%); transform: translateX(-52%) rotate(-3deg); filter: drop-shadow(0 18px 30px rgba(70, 33, 57, 0.2)); margin: 0; }
.cs-cta .sqp-cs-cta__person img { width: 100%; height: auto; display: block; }
.cs-cta .cs-cta__sticker .wp-block-image { margin: 0; }

/* A case study with its own closing band replaces the template's general one
   ("Feeling like your brand is holding you back?"). Case studies without one keep it. */
/* Collapsed rather than display:none: the theme's scroll canvas reads every band's
   position, and a band with no box reports the top of the screen, which pinned the
   whole page to the off-white. Transparent means the canvas skips it altogether. */
body:has(.sqp-section--cs.cs-cta-band) .sq-brand-callout { height: 0; min-height: 0; padding: 0 !important; margin: 0 !important; border: 0; overflow: hidden; visibility: hidden; background: transparent !important; }

/* Side-by-side pair of captioned cards (AI tools: without / with a design system). */
.sqp .sqp-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.sqp .sqp-pair > * { margin: 0; }
.sqp .sqp-paircard { background: #fff; border-radius: var(--sqp-radius); padding: 22px; box-shadow: var(--sqp-shadow-card); display: flex; flex-direction: column; gap: 14px; }
.sqp .sqp-paircard > * { margin: 0; }
.sqp .sqp-paircard img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.sqp .sqp-scriptnote { font-family: var(--sqp-script); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.15; color: var(--sqp-purple); }
.sqp .sqp-pair + .sqp-body { margin-top: 26px; max-width: 760px; }

/* 0.1.17 */
/* The full-width rule above now only applies to the cost band (it holds the before and after),
   so the FAQ and other wide splits keep their two columns. */

/* 0.1.18 */
/* Cost band with a quote card beside it keeps its two columns, like the case card. */
.sqp .sqp-split--wide:has(.sqp-ba) > .sqp-quotecard { justify-self: end; align-self: center; width: min(100%, 408px); }
/* Showreel: square looping video with a small caption. */
.sqp .sqp-split:has(> .sqp-reel) { align-items: center; }
.sqp .sqp-reel { display: flex; flex-direction: column; gap: 12px; align-self: center; justify-self: end; width: min(100%, 480px); }
.sqp .sqp-reel .wp-block-video { margin: 0; }
.sqp .sqp-reel video { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; background: #462139; box-shadow: 0 35.5px 43.31px rgba(233, 204, 170, 0.4); }
.sqp .sqp-reel__caption { margin: 0; font-size: 13px; color: rgba(70, 33, 57, 0.7); }

/* 0.1.20: the dark fourth service card (theme sq-card--dark) had plum link text on a plum card. */
.sq-card--dark .sq-btn--quiet .wp-block-button__link,
.sq-card--dark .sq-btn--quiet .wp-block-button__link:visited { color: #FFFAF4; }

/* 0.1.21: card rows sitewide. WordPress flow layout adds a top margin to every card
   after the first, which pushed cards 2 to 4 down, and buttons sat wherever the copy
   ended. Cards now start level and their buttons sit on one line at the bottom. */
.sq-grid > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
:is(.sq-grid, .sq-three__grid, .sq-mosaic__grid) > .sq-card { display: flex; flex-direction: column; }
:is(.sq-grid, .sq-three__grid, .sq-mosaic__grid) > .sq-card > .wp-block-buttons:last-of-type { margin-top: auto !important; }

/* 0.1.22: homepage client logo strip. Two rows of logos that scroll in opposite
   directions. Each row holds the logos twice so the loop is seamless. */
.sqp-logos { overflow: hidden; padding: clamp(30px, 4vw, 50px) 0 clamp(50px, 6vw, 80px); }
.sqp-logos .sqp-logos__track { display: flex !important; flex-wrap: nowrap !important; align-items: center; gap: 70px; width: max-content; max-width: none !important; margin: 0 !important; padding: 0 35px; animation: sqp-marquee 44s linear infinite; }
.sqp-logos .sqp-logos__track + .sqp-logos__track { margin-top: 22px !important; animation: sqp-marquee-rev 52s linear infinite; }
.sqp-logos .sqp-logos__track > * { margin: 0 !important; flex: none; }
.sqp-logos .sqp-logos__track img { display: block; height: 44px; width: auto; max-width: none; }
@keyframes sqp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sqp-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .sqp-logos .sqp-logos__track { animation: none; } }
