/* ==========================================================================
   Homepage sections.
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 96px; }
.hero__copy { max-width: 600px; }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 6px 12px; border-radius: var(--radius-sm);
	background: var(--c-surface); border: 1px solid var(--c-border);
	font-size: 14px; line-height: 1.5;
}
.hero__eyebrow-arrow { width: 15px; height: 15px; transition: transform var(--t-hover) var(--ease-out); }
.hero__eyebrow:hover .hero__eyebrow-arrow { transform: translateX(3px); }
.hero__title { font-size: var(--fs-h1); margin-top: 20px; max-width: 8.2em; }
.hero__text { margin-top: 24px; font-size: 20px; line-height: 1.6; letter-spacing: -0.02em; max-width: 450px; }
.hero__actions { margin-top: 20px; }
.hero__note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--c-muted); }
/* Arrow to the case-study cards: right on desktop (cards beside the copy), down when they stack below. */
.hero__note-arrow { width: 18px; height: 18px; flex: none; color: var(--c-blue); }
@media (max-width: 1023px) { .hero__note-arrow { rotate: 90deg; } }

.hero__cards { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 16px; margin-top: 120px; }
/* One layout per breakpoint; the others are display:none so their lazy images never load. */
.hero__cards--tablet, .hero__cards--mobile { display: none; }
.hero__col { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
a.hero-card { display: block; transition: box-shadow var(--t-hover) var(--ease-out); }
a.hero-card:hover, a.hero-card:focus-visible { box-shadow: 0 0 0 3px var(--c-accent); }
.hero-card { position: relative; aspect-ratio: 227 / 270; border-radius: 16px; overflow: hidden; background: var(--c-surface); }
/* A card stacks two faces (logo, story card); animations.js crossfades .is-current. */
.hero-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.hero-card__img.is-current { opacity: 1; }
/* Hover / keyboard focus shows the story card (ui.js adds .is-hover), quicker than the auto swaps. */
.hero-card.is-hover .hero-card__img { opacity: 0; transition-duration: 0.35s; }
.hero-card.is-hover .hero-card__story { opacity: 1; }
/* Story card (second face): the client's personal photo, then the headline stat and
   "Read the Case Study" — the same title / text style as the case-study cards. */
.hero-card__story { display: flex; flex-direction: column; padding: 8px 8px 12px; text-align: center; background: #fffaf2; }
.hero-card__photo { flex: 1; min-height: 0; width: 100%; object-fit: cover; border-radius: 10px; background: var(--c-surface); }
.hero-card__stat { margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: 21px; line-height: 1.05; letter-spacing: -0.02em; color: var(--c-text); text-wrap: balance; }
.hero-card__more { margin-top: 4px; font-size: 12px; line-height: 1.3; color: var(--c-muted); }
.hero-card__more::after { content: " \2192"; }
@media (max-width: 767px) {
	.hero-card__story { padding: 6px 6px 10px; }
	.hero-card__stat { margin-top: 8px; font-size: 16px; }
	.hero-card__more { font-size: 11px; }
}

@media (max-width: 1023px) {
	.hero { padding-top: 48px; padding-bottom: 72px; }
	.hero__cards { margin-top: 64px; }
	.hero__cards--desktop { display: none; }
	.hero__cards--tablet { display: grid; }
}
@media (max-width: 767px) {
	.hero { padding-top: 40px; padding-bottom: 56px; }
	.hero__copy { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
	.hero__title { max-width: 7em; }
	.hero__text { font-size: 17px; }
	.hero__cards { gap: 12px; margin-top: 44px; }
	.hero__cards--tablet { display: none; }
	.hero__cards--mobile { display: grid; }
	.hero__col { gap: 12px; }
	.hero-card { border-radius: 14px; }
}

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.span-third { grid-column: span 4; }
.span-two-thirds { grid-column: span 8; }
.span-half { grid-column: span 6; }
.span-quarter { grid-column: span 3; }

.service-card {
	position: relative; display: flex; flex-direction: column; height: 440px; overflow: hidden;
	border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border);
}
.service-card__graphic { position: relative; flex: 1; min-height: 0; }
.service-card__body { padding: 0 24px 24px; }
.service-card__title { font-size: var(--fs-h3); }
.service-card__text { margin-top: 10px; max-width: 380px; color: var(--c-muted); line-height: 1.6; }

.service-card--image { border: 0; background: none; }
.service-card__photo { width: 100%; height: 100%; object-fit: cover; }

/* Networking: 16 tiles in one frame; animations.js lays them out 1 → 2 → 4 → 16 (only the first shows without JS). */
.multiply { position: absolute; inset: 16px 16px 8px; overflow: hidden; border-radius: 14px; background: var(--c-bg); }
.multiply__cell { position: absolute; inset: 0; padding: 1.5px; opacity: 0; }
.multiply__cell:first-child { opacity: 1; z-index: 1; } /* new tiles peel out from under it */
.multiply__img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

/* Social: the card is the phone screen. Posts fill the top edge to edge and scroll up (animations.js);
   the heart count and "liked by" line below follow the post on screen. */
.feed { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--c-bg); }
.feed__track { height: 100%; will-change: transform; }
.feed__post { position: relative; height: 100%; overflow: hidden; }
.feed__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed__tap {
	position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.55); opacity: 0; pointer-events: none;
}
.feed__burst {
	position: absolute; left: 50%; top: 50%; width: 34%; max-width: 96px; translate: -50% -50%;
	opacity: 0; pointer-events: none;
}
.feed__burst svg { display: block; width: 100%; height: auto; fill: var(--c-accent); filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.3)); }
.service-card--feed .feed__body { padding: 16px 20px 20px; } /* beats the mobile .service-card__body reset */
.feed__head .service-card__title { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
.feed__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feed__likes { display: flex; align-items: center; gap: 5px; flex: none; }
.feed__like { display: grid; flex: none; transform-origin: 50% 60%; }
.feed__heart { width: 22px; height: 22px; fill: none; stroke: var(--c-text); stroke-width: 1.8; stroke-linejoin: round; transition: fill 0.15s, stroke 0.15s; }
.feed__like.is-liked .feed__heart { fill: var(--c-accent); stroke: var(--c-accent); }
.feed__count { min-width: 3.2em; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--c-text); }
.feed__liked { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; line-height: 1.35; color: var(--c-muted); }
.feed__liked strong { font-weight: 700; color: var(--c-text); font-variant-numeric: tabular-nums; }
.feed__faces { display: flex; flex: none; }
.feed__face {
	position: relative; display: grid; place-items: center; width: 24px; height: 24px; overflow: hidden;
	border-radius: 50%; background: var(--c-white); box-shadow: 0 0 0 2px var(--c-surface);
}
.feed__face + .feed__face { margin-left: -8px; }
.feed__face--brand { z-index: 3; }
.feed__face:nth-child(2) { z-index: 2; }
.feed__logo { width: 100%; height: 100%; object-fit: cover; } /* the icon fills the circle, its corners rounded off */
.feed__face-img { width: 100%; height: 100%; object-fit: cover; }
.feed__face-img--alt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.feed__faces.is-alt .feed__face-img--alt { opacity: 1; } /* second pair, on every other post */
.service-card--feed .service-card__text { margin-top: 8px; font-size: 15px; line-height: 1.5; }
.service-card--multiply .service-card__body { padding-top: 4px; }

/* Content Creation: 3D ring of reels */
.reel { position: absolute; inset: 0; display: grid; place-items: center; perspective: 900px; }
.reel__ring { position: relative; width: 92px; height: 150px; transform-style: preserve-3d; transform: rotateY(0deg); }
/* Each screen sits in a phone with a different case (a coloured rim around a black bezel). */
.reel__item {
	--case: #1e1e1e; /* most cases black; a couple stand out below */
	position: absolute; inset: 0; padding: 4px; border-radius: 17px;
	background: var(--case); box-shadow: 0 8px 18px rgba(30, 30, 30, 0.18), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
	transform: rotateY(calc(360deg / var(--count) * var(--i))) translateZ(112px);
}
.reel__item::before { /* black bezel */
	content: ""; position: absolute; inset: 4px; border-radius: 13px; background: #111;
}
.reel__item::after { /* camera island */
	content: ""; position: absolute; top: 9px; left: 50%; width: 24px; height: 6px; translate: -50% 0; border-radius: 3px; background: #111;
}
/* Screenshot starts below a solid black top strip (where the camera island sits), so logos at the top
   of a site are never hidden behind it or cut by the phone edge. */
.reel__img { position: absolute; inset: 20px 6px 6px; width: calc(100% - 12px); height: calc(100% - 26px); object-fit: cover; object-position: top; border-radius: 3px 3px 11px 11px; }
.reel__item:nth-child(8n + 3) { --case: var(--c-accent); }
.reel__item:nth-child(8n + 7) { /* candy-cane stripes */
	--case: #fff4e4;
	background-image: repeating-linear-gradient(135deg, var(--c-accent) 0 4px, transparent 4px 9px);
}

/* Social Media Strategy: icon marquee */
.marquee {
	position: absolute; inset: 24px 0 0; display: flex; flex-direction: column; justify-content: center; gap: 22px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; gap: 56px; width: max-content; will-change: transform; }
.marquee__row:nth-child(2) .marquee__track { margin-left: -40px; }
.marquee__icon { color: #c9c4bb; flex: none; transition: color 0.45s ease; }
/* Random light-up: animations.js adds .is-lit with --glow (orange or blue): a plain colour change, no glow. */
.marquee__icon.is-lit { color: var(--glow); }
.marquee__icon.is-lit img.icon { filter: none; opacity: 1; }
.marquee__icon .icon { width: 30px; height: 30px; }
.marquee { z-index: 1; }
/* Searchlights: white beams pivoting just below the card's bottom edge, behind the icons and text.
   Hidden until animations.js fades them in and sweeps them (never shown with reduced motion);
   --a is each beam's base angle, --sway its current sweep. */
.strobes { position: absolute; top: -10%; bottom: -130px; left: 0; right: 0; pointer-events: none; }
.strobe {
	position: absolute; bottom: 0; left: var(--x); width: 120px; height: 120%; margin-left: -60px; opacity: 0;
	transform-origin: 50% 100%; transform: rotate(calc(var(--a, 0deg) + var(--sway, 0deg)));
	clip-path: polygon(47% 100%, 53% 100%, 100% 0, 0 0);
	background:
		linear-gradient(to right, transparent 44%, #fff 50%, transparent 56%), /* bright core */
		linear-gradient(to top, #fff, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0) 95%);
	-webkit-mask-image: linear-gradient(to top, #000 40%, transparent 95%);
	mask-image: linear-gradient(to top, #000 40%, transparent 95%);
	filter: drop-shadow(0 0 6px #fff);
}
.service-card--social .service-card__body { position: relative; z-index: 2; }

/* Performance Marketing: bar chart */
.bars { position: absolute; inset: 0; padding: 24px 24px 20px; display: flex; flex-direction: column; }
.bars__stat { font-family: var(--f-number); font-size: 28px; line-height: 1.2; color: var(--c-blue); }
.bars__label { font-size: 10px; margin-top: 8px; }
/* Each fill covers the whole plot and is clipped to --v (0–100), so the orange → blue
   switch at --bars-split is the same height on every bar (reads as one line across). */
.bars__chart { --bars-split: 14%; position: relative; flex: 1; min-height: 0; display: flex; gap: 8px; padding-top: 16px; }
.bars__col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bars__plot { position: relative; flex: 1; width: 58%; border-radius: 6px; background: rgba(250, 250, 250, 0.55); }
.bars__fill {
	position: absolute; inset: 0 24%;
	background: linear-gradient(to top, var(--c-accent) calc(var(--bars-split) - 3px), var(--c-blue) calc(var(--bars-split) + 3px));
	clip-path: inset(calc(100% - var(--v, 0) * 1%) 0 0 0 round 4px);
}
.bars__month { font-size: 9px; color: var(--c-muted); line-height: 1; height: 9px; white-space: nowrap; }

/* Analytics: smooth blue line + area fill; beacons are HTML so the stretched SVG can't squash them. */
.line-chart { position: absolute; inset: 32px 16px 0; }
.line-chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.line-chart__line { stroke: var(--c-blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.line-chart__beacon { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 3px var(--c-surface); }
.line-chart__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--c-accent); opacity: 0; }
.motion .line-chart__area,
.motion .line-chart__beacon { opacity: 0; }
@media (max-width: 479px) {
	.bars__chart { gap: 5px; }
	.bars__col:nth-child(even) .bars__month { visibility: hidden; }
}

/* Custom development: top-down line radar (sweep, idea blips, drifting clouds) */
.service-card--conic { border: 0; background: var(--c-blue-soft); justify-content: center; isolation: isolate; }
.radar { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #e4f1fa, var(--c-blue-soft)); }
.radar__ring, .radar__cross { fill: none; stroke: var(--c-blue); stroke-width: 1.2; opacity: 0.4; }
.radar__ring--dash { stroke-dasharray: 3 5; }
.radar__cross--diag { stroke-dasharray: 2 7; opacity: 0.25; }
.radar__trail { fill: var(--c-blue); }
.radar__beam { stroke: var(--c-blue); stroke-width: 2; stroke-linecap: round; }
.radar__hub { fill: var(--c-white); stroke: var(--c-blue); stroke-width: 2; }
.radar__blip { opacity: 0.22; }
.radar__blip.is-lit { opacity: 1; }
.radar__glyph { fill: var(--c-white); stroke: var(--c-blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.radar__blip--bulb .radar__glyph, .radar__blip--star .radar__glyph { stroke: var(--c-accent); }
.radar__blip--dot .radar__glyph { fill: var(--c-accent); stroke: var(--c-white); }
.radar__ping { fill: none; stroke: var(--c-accent); stroke-width: 1.2; opacity: 0; }
.radar__cloud-line circle { fill: none; stroke: var(--c-blue); stroke-width: 2.4; stroke-opacity: 0.45; }
.radar__cloud-fill circle { fill: #fff; }
.radar__cloud { opacity: 0.88; }
.service-card__center { padding: 24px; text-align: center; }
.conic__title { color: var(--c-text); }
.conic__text { margin: 8px auto 0; max-width: 340px; font-family: var(--f-display); font-weight: 700; font-size: 18px; line-height: 1.05; letter-spacing: -0.03em; color: var(--c-text); }

@media (max-width: 1023px) {
	.service-card { height: 400px; }
	.span-third, .span-two-thirds { grid-column: span 6; }
	.span-quarter { grid-column: span 6; }
	.service-card--conic { grid-column: 1 / -1; order: 1; }
	.service-card--image { height: 360px; }
}
@media (max-width: 767px) {
	.services__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.services__grid > * { grid-column: 1 / -1; }
	.service-card { height: auto; }
	.service-card__graphic { height: 260px; flex: none; }
	.service-card__body { padding: 0 24px 24px; }
	.service-card__text { font-size: 16px; }
	.service-card--image { height: 440px; order: 0; }
	.service-card--conic { order: 0; height: 440px; }
	.service-card--multiply .service-card__graphic { height: 320px; }
	.feed { flex: none; height: 380px; }
	.conic__text { font-size: 17px; }
}

/* ---------- Process ---------- */
.process__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin-inline: auto; }
.step {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; gap: 12px 14px; text-align: left; /* icon beside the title */
	padding: 20px 24px 24px; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border);
}
.step__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--c-surface) 90%, #1e1e1e); border: 1px solid var(--c-border); color: var(--c-blue); } /* grey tile, a shade darker than the card */
.step__icon .icon { width: 24px; height: 24px; }
.step__title { font-size: 22px; }
.step__text { grid-column: 1 / -1; max-width: 320px; font-size: 16px; line-height: 1.6; }
/* Light grey sketch behind each step (strategy plays, create stars, optimize graph), drawn in on scroll. */
.step__sketch { position: absolute; z-index: -1; right: -78px; bottom: -46px; width: 250px; height: auto; color: var(--c-text); opacity: 0.09; pointer-events: none; } /* bleeds off the bottom-right edge */

@media (max-width: 1023px) {
	.process__steps { gap: 12px; }
	.step { padding: 18px 18px 22px; }
}
@media (max-width: 767px) {
	.process__steps { grid-template-columns: 1fr; gap: 16px; }
	.step { padding: 18px 20px; }
}

/* ---------- Benefits ---------- */
.benefits__inner { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); column-gap: 96px; position: relative; }
.benefits__list::before { /* vertical separator, centred in the column gap */
	content: ""; position: absolute; top: 0; bottom: 0; left: -48px; width: 1px;
	background: var(--c-blue); opacity: 0.85;
}
.benefits__sticky { position: sticky; top: calc(var(--header-h) + 32px); }
/* Balanced over two lines: "Everything You" / "Need to Grow". */
.benefits__title { max-width: 11em; margin-top: 16px; }
.benefits__text { margin-top: 16px; max-width: 600px; line-height: 1.55; }

.benefits__list { position: relative; display: grid; gap: 60px; padding-block: 2px; }
.benefit__head { display: flex; align-items: center; gap: 12px; }
.benefit__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-blue); flex: none; }
.benefit__icon .icon { width: 20px; height: 20px; }
.benefit__title { font-size: 24px; }
.benefit__text { margin-top: 18px; max-width: 500px; font-size: 16px; line-height: 1.6; }

@media (max-width: 1023px) {
	.benefits__inner { grid-template-columns: 1fr; row-gap: 40px; }
	.benefits__list::before { display: none; }
	.benefits__sticky { position: static; }
	.benefits__intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 40px; border-bottom: 1px solid color-mix(in srgb, var(--c-blue) 85%, transparent); }
	.benefits__sticky { display: flex; flex-direction: column; align-items: center; }
	.benefits__title { max-width: 6.8em; }
	.tags { justify-content: center; max-width: 380px; }
	/* Tablets: grey cards two by two, text left-aligned; an odd last card sits centred. */
	.benefits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin-inline: auto; }
	.benefits__list > :last-child:nth-child(odd) { grid-column: 1 / -1; } /* odd last card spans the row */
	.benefit:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
	.benefit { padding: 20px; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); text-align: left; }
	.benefit__text { margin: 12px 0 0; }
	.benefit__icon { background: color-mix(in srgb, var(--c-surface) 90%, #1e1e1e); } /* grey tile on the grey card, as on the step icons */
}
@media (max-width: 767px) {
	.benefit__icon { width: 44px; height: 44px; }
	.benefit__icon .icon { width: 26px; height: 26px; }
	/* Phones: one card per row, icon and title side by side. */
	.benefits__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.benefit:last-child:nth-child(odd) { grid-column: auto; width: auto; justify-self: stretch; }
	.benefit { padding: 16px 18px; }
	.benefit__head { gap: 12px; }
	.benefit__title { font-size: 20px; }
	.benefit__text { margin-top: 10px; font-size: 16px; line-height: 1.5; }
	.tags { gap: 12px; }
	.tag { padding: 8px 14px; font-size: 14px; }
}

/* ---------- Icon spiral ---------- */
.impact { padding-bottom: 40px; overflow-x: clip; cursor: pointer; } /* rotating rings' corners must never widen the page */
.spiral { position: relative; width: min(840px, 100%); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; overflow-x: clip; }
.spiral__ring { position: absolute; inset: 0; will-change: transform; }
.spiral__item {
	position: absolute; left: 50%; top: 50%;
	width: calc(var(--size) * 1cqw * var(--scale)); aspect-ratio: 1;
	transform: translate(-50%, -50%) rotate(var(--angle)) translateX(calc(var(--radius) * 1cqw)) rotate(calc(var(--angle) * -1));
}
.spiral__icon {
	display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
	background: var(--c-surface); will-change: transform; scale: var(--pop, 1);
	/* Muted at rest: a grey a little darker than the page; pulses bring the colour back. */
	color: color-mix(in srgb, var(--c-text) 22%, var(--c-bg));
}
.spiral__icon img.icon { filter: grayscale(1); opacity: 0.4; }
/* Random pulse: animations.js adds .is-pulse with --glow (accent or blue) and --glow-dur. */
.motion .spiral__icon.is-pulse { animation: zs-icon-pulse var(--glow-dur, 1.6s) ease-in-out both; }
.motion .spiral__icon.is-pulse img.icon { animation: zs-icon-pulse-img var(--glow-dur, 1.6s) ease-in-out both; }
@keyframes zs-icon-pulse-img { 40%, 60% { filter: grayscale(0); opacity: 1; } }
@keyframes zs-icon-pulse {
	40%, 60% {
		scale: calc(var(--pop, 1) * 1.18);
		color: var(--glow);
		box-shadow: 0 0 0 0.2em color-mix(in srgb, var(--glow) 16%, transparent), 0 0 1.2em color-mix(in srgb, var(--glow) 45%, transparent);
	}
}
.spiral__icon .icon { width: 56%; height: 56%; }
.spiral__icon--tile { background: var(--c-surface); }
.spiral__icon--tile .icon { width: 64%; height: 64%; }

@media (max-width: 1023px) { .spiral { width: min(560px, 100%); } }
@media (max-width: 767px) { .spiral { width: min(92vw, 380px); } }

/* ---------- Testimonials ---------- */
.testimonial-slider { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; max-width: 1200px; margin-inline: auto; }
.testimonial-slider__content { position: relative; display: flex; flex-direction: column; }
.testimonial-slider__label { font-size: 16px; }
.testimonial-slider__quotes { flex: 1; display: grid; margin-top: 24px; }
.testimonial { display: flex; flex-direction: column; justify-content: space-between; grid-area: 1 / 1; }
.testimonial[hidden] { display: none; }
.testimonial__quote p { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 2.9vw, 40px); line-height: 1; letter-spacing: -0.04em; max-width: 15em; }
.testimonial__by { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; padding-right: 120px; }
.testimonial__name { font-family: var(--f-display); font-size: 16px; letter-spacing: -0.03em; }
.testimonial__role { font-size: 16px; }

.slider-controls { position: absolute; right: 0; bottom: 0; display: flex; gap: 8px; }
.slider-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--c-accent); color: var(--c-white); transition: opacity var(--t-swap), background-color var(--t-swap); }
.slider-btn .icon { width: 16px; height: 16px; fill: currentColor; }
.slider-btn .flip { transform: scaleX(-1); }
.slider-btn:disabled { opacity: 0.4; cursor: default; }
.slider-btn:not(:disabled):hover { background: var(--c-blue); }

.testimonial-slider__media { display: grid; }
.testimonial-slider__photo { grid-area: 1 / 1; border-radius: 16px; overflow: hidden; aspect-ratio: 584 / 542; background: var(--c-surface); }
.testimonial-slider__photo[hidden] { display: none; }
.testimonial-slider__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 767px) {
	.testimonial-slider { grid-template-columns: 1fr; gap: 28px; }
	.testimonial__quote p { font-size: 24px; }
	.testimonial__by { margin-top: 28px; }
}

/* ---------- Service card links ---------- */
.service-card__title a, .conic__title a { color: inherit; }
.service-card__title a:focus-visible { outline: none; }
.service-card:has(.stretched-link:focus-visible) { box-shadow: 0 0 0 3px var(--c-accent); }
a.service-card { transition: box-shadow var(--t-hover) var(--ease-out); }
a.service-card:hover, a.service-card:focus-visible { box-shadow: 0 0 0 3px var(--c-accent); }
.service-card--image video, .service-card--image img { width: 100%; height: 100%; object-fit: cover; }
.marquee__icon img.icon { width: 30px; height: 30px; object-fit: contain; filter: grayscale(1); opacity: 0.55; }

/* ---------- Icon spiral: centre image + Get Started modal ---------- */
.spiral__centre {
	position: absolute; left: 50%; top: 50%; width: 30cqw; aspect-ratio: 1; translate: -50% -50%;
	display: grid; place-items: center; z-index: 2; border-radius: 50%;
}
button.spiral__centre { cursor: pointer; transition: transform var(--t-hover) var(--ease-out); }
button.spiral__centre:hover { transform: scale(1.04); }
button.spiral__centre:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 6px; }
button.spiral__centre.is-launching { outline: none; } /* the hut is away; no empty ring */
.spiral__centre-img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
/* "DO NOT CLICK!!" under the hut ("TAP" on touch screens); hidden while the hut is away. */
.spiral__dare {
	position: absolute; left: 50%; top: 93%; translate: calc(-50% + 10px) 0; width: 220px; /* nudged right of the hut centre */ white-space: nowrap; pointer-events: none;
	display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.35em; /* equal side columns keep "NOT" centred */
	font-size: 11px; font-weight: 800; letter-spacing: 0.08em; line-height: 1; color: var(--c-text); transition: opacity 0.2s;
}
.spiral__dare-do { text-align: right; }
.spiral__dare-end { text-align: left; }
.spiral__dare em { font-style: normal; color: var(--c-accent); } /* only "NOT" is orange */
.spiral__dare-tap { display: none; }
@media (hover: none) { .spiral__dare-click { display: none; } .spiral__dare-tap { display: inline; } }
button.spiral__centre.is-launching .spiral__dare { opacity: 0; }
/* Hut rocket (animations.js): .hut-rocket is the moving body; flame + smoke sit just under the hut's base, hidden at rest. */
.hut-rocket { position: relative; display: block; width: 100%; height: 100%; }
.hut-launch { position: absolute; left: 0; right: 0; top: 82%; height: 42%; pointer-events: none; }
/* Illustrated flame (inline SVG, points down) and ink-outlined cartoon smoke puffs. */
.hut-launch__flame { position: absolute; z-index: 1; left: 50%; top: -4%; width: 34%; height: auto; margin-left: -17%; opacity: 0; transform-origin: 50% 0; overflow: visible; }
.hut-launch__smoke {
	position: absolute; left: 50%; top: 10%; width: 22%; aspect-ratio: 1; margin-left: -11%; border-radius: 50%; opacity: 0;
	background: #fff4e4; border: 2px solid #2a211c; box-shadow: inset -5px -4px 0 rgba(42, 33, 28, 0.1);
}
.hut-launch__smoke::after { /* little highlight dot */
	content: ""; position: absolute; left: 24%; top: 22%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: #fff;
}
.hut-launch__smoke:nth-of-type(2), .hut-launch__smoke:nth-of-type(4) { width: 17%; margin-left: -8.5%; }

/* ---------- Blog carousel (> 3 posts) ---------- */
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); column-gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	padding-bottom: 8px; scrollbar-width: thin;
}
.carousel__slide { scroll-snap-align: start; display: flex; }
.carousel__slide > .post-card { width: 100%; }
.carousel.is-enhanced .carousel__track { scrollbar-width: none; }
.carousel.is-enhanced .carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.carousel__controls { display: none; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.carousel.is-enhanced .carousel__controls { display: flex; }
.carousel__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-white); border: 1px solid var(--c-border-strong); transition: opacity var(--t-swap), background-color var(--t-swap); }
.carousel__btn .icon { width: 20px; height: 20px; }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }
.carousel__btn:not(:disabled):hover { background: var(--c-surface); }
@media (max-width: 1023px) { .carousel__track { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 767px) { .carousel__track { grid-auto-columns: 85%; } }

/* ---------- Testimonial extras ---------- */
.testimonial__rating { color: var(--c-accent); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial__logo { max-height: 36px; width: auto; margin-bottom: 10px; }
.testimonial__source { font-size: 15px; color: var(--c-muted); }
.testimonial__source a { text-decoration: underline; text-underline-offset: 3px; }


/* Blog section: "View entire blog" — a plain orange text link, top right of the cards. */
.blog-preview__more { display: flex; justify-content: flex-end; margin: -8px 0 14px; }
.blog-preview__more a { font-weight: 600; color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.blog-preview__more a:hover { text-decoration-thickness: 2px; }

/* Story face caption: the client's mini logo beside the headline, text left-aligned next to it. */
.hero-card__caption { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 0 4px; text-align: left; }
.hero-card__badge { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--c-border); object-fit: cover; }
.hero-card__words { display: flex; flex-direction: column; min-width: 0; }
.hero-card__caption .hero-card__stat { margin-top: 0; font-size: 18px; text-wrap: pretty; }
.hero-card__caption .hero-card__more { margin-top: 3px; }
@media (max-width: 767px) {
	.hero-card__caption { gap: 7px; margin-top: 7px; padding: 0 2px; }
	.hero-card__badge { width: 30px; height: 30px; border-radius: 8px; }
	.hero-card__caption .hero-card__stat { font-size: 14px; }
}

/* South Creek Santa story card: Santa and Rudolph from the client's site, gently animated. */
.santa-scene { display: block; overflow: hidden; background: #16303a; }
.santa-scene svg { display: block; width: 100%; height: 100%; }
.santa-scene__wave { transform-box: fill-box; transform-origin: 90% 95%; animation: santa-wave 3.4s ease-in-out infinite; }
.santa-scene__ear { transform-box: fill-box; transform-origin: 0% 100%; animation: santa-twitch 5s ease-in-out infinite; }
.santa-scene__head { transform-box: fill-box; transform-origin: 80% 90%; animation: santa-nod 6s ease-in-out infinite; }
.santa-scene__glow { transform-box: fill-box; transform-origin: center; animation: santa-glow 1.8s ease-in-out infinite; }
.santa-scene__stars circle { animation: santa-twinkle 2.6s ease-in-out infinite; }
.santa-scene__stars circle:nth-child(2n) { animation-delay: -1.1s; }
.santa-scene__stars circle:nth-child(3n) { animation-delay: -1.9s; }
@keyframes santa-wave { 0%, 45%, 100% { transform: rotate(0); } 55% { transform: rotate(-14deg); } 65% { transform: rotate(6deg); } 75% { transform: rotate(-12deg); } 85% { transform: rotate(4deg); } }
@keyframes santa-twitch { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(-16deg); } 96% { transform: rotate(5deg); } }
@keyframes santa-nod { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
@keyframes santa-glow { 0%, 100% { opacity: 0.55; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes santa-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .santa-scene * { animation: none !important; } }
