/*
 * fixthinks-theme/assets/css/layout.css
 *
 * Section-level "decoration" rules — squiggles between sections, hero
 * cluster positioning, dotted-grid backgrounds. Kept separate from
 * style.css so the design system can be reused without the marketing
 * fluff.
 */

.section--dotted {
	background-image: radial-gradient(circle, rgba(28, 36, 64, 0.08) 1px, transparent 1.4px);
	background-size: 18px 18px;
}

.section-rule {
	margin: 0 auto;
	max-width: var(--ft-maxw);
	padding: 0 24px;
}
.section-rule__line {
	border: 0; border-top: 2px dashed var(--ft-line);
	margin: 0;
}

.tasks-cluster {
	position: relative;
	min-height: 340px;
	display: grid;
	place-items: center;
}
.tasks-cluster .hero-sticky {
	position: absolute;
	transition: transform 200ms ease;
}
.tasks-cluster .hero-sticky:hover { transform: translateY(-3px) rotate(0deg); }

/* Marquee of "things we automate" — purely cosmetic ticker */
.marquee {
	overflow: hidden; border-top: 2px solid var(--ft-ink); border-bottom: 2px solid var(--ft-ink);
	background: var(--ft-sun); color: var(--ft-ink);
}
.marquee-track {
	display: flex; gap: 36px; padding: 14px 0;
	animation: ft-marquee 38s linear infinite;
	white-space: nowrap;
	font-family: var(--ft-font-display);
	font-weight: 600; font-size: 22px;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 18px; }
.marquee-track svg  { width: 22px; height: 22px; flex: 0 0 auto; }
@keyframes ft-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* "Stamp" callout, used to highlight quotes / numbers */
.stamp {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--ft-card); border: 2px solid var(--ft-ink);
	border-radius: 8px; padding: 8px 14px;
	box-shadow: var(--ft-shadow-pop);
	transform: rotate(-2deg);
	font-family: var(--ft-font-display); font-weight: 600;
}

/* Section heading + scribble combo */
.section-heading {
	display: flex; flex-direction: column; gap: 6px; margin-bottom: 36px;
	max-width: 720px;
}

/* Decoration positioning helpers */
.deco-rotated-r { transform: rotate(8deg); }
.deco-rotated-l { transform: rotate(-12deg); }

/* On the dark "section-ink" footer / CTA bands, raise the deco contrast */
.section-ink .deco { opacity: 0.4; filter: invert(0.05); }

/* Accent color tints for service card icon backgrounds */
.doodle-icon--sun   { color: #1c2440; background: #fff3c4; border: 2px solid #1c2440; border-radius: 16px; }
.doodle-icon--coral { color: #1c2440; background: #ffe1e1; border: 2px solid #1c2440; border-radius: 16px; }
.doodle-icon--mint  { color: #1c2440; background: #e3f6e6; border: 2px solid #1c2440; border-radius: 16px; }
.doodle-icon--lav   { color: #1c2440; background: #ece3fb; border: 2px solid #1c2440; border-radius: 16px; }
.doodle-icon--sky   { color: #1c2440; background: #dbeef9; border: 2px solid #1c2440; border-radius: 16px; }
/* Padding now lives on .card .doodle-icon directly in style.css. */

/* Image / SVG max widths for decorative blobs */
.deco-blob { width: 220px; height: 220px; }
.deco-blob--sun   { color: #ffd23f; opacity: 0.55; }
.deco-blob--coral { color: #ff6b6b; opacity: 0.25; }
.deco-blob--mint  { color: #7bd389; opacity: 0.35; }
.deco-blob--lav   { color: #a08bd6; opacity: 0.35; }

.deco-squiggle { color: var(--ft-ink); opacity: 0.55; width: 140px; }
.deco-sparkles { width: 80px; }
.deco-star     { width: 36px; }
.deco-dot-burst{ width: 60px; opacity: 0.7; }

/* CTA card (band-style) */
.cta-band {
	background: var(--ft-ink); color: var(--ft-paper);
	border-radius: var(--ft-r-lg);
	padding: 56px 40px; text-align: center;
	position: relative; overflow: hidden;
	border: 2px solid var(--ft-ink);
	box-shadow: 0 6px 0 #0c1228;
}
.cta-band h2 { color: var(--ft-paper); }
.cta-band .lead { color: rgba(253, 250, 243, 0.8); margin: 0 auto 24px; }
.cta-band .deco { opacity: 0.4; }
.cta-band .hero-ctas { justify-content: center; position: relative; z-index: 1; }
