/* ==========================================================
   Millo Media — Sponsorships & Advertising (2026)
   ========================================================== */

:root {
	--ink: #1b1530;
	--ink-soft: #3a3450;
	--muted: #6b6880;
	--bg: #faf8f5;
	--card: #ffffff;
	--line: #ece8e3;
	--coral: #fc6161;
	--coral-dark: #e44a4a;
	--coral-soft: #fff0ee;
	--peach: #ff9a6b;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 1px 2px rgba(27, 21, 48, .04), 0 12px 32px -12px rgba(27, 21, 48, .14);
	--shadow-lg: 0 2px 4px rgba(27, 21, 48, .06), 0 24px 60px -20px rgba(27, 21, 48, .28);
	--font-head: 'Poppins', system-ui, sans-serif;
	--font-body: 'Work Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	padding: 40px 0 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background:
		radial-gradient(900px 520px at 8% -8%, rgba(252, 97, 97, .14), transparent 70%),
		radial-gradient(800px 480px at 95% 2%, rgba(255, 154, 107, .14), transparent 70%),
		var(--bg);
	background-repeat: no-repeat;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	font-family: var(--font-head);
	color: var(--ink);
	letter-spacing: -.02em;
}

a { color: var(--coral); }

.wrapper {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}

.max500 { max-width: 460px; width: 90%; margin: 0 auto; }
.max700 { max-width: 760px; width: 100%; margin: 0 auto; }
/* Logo images have white backgrounds; multiply blends them into the page */
.max500 img, .max700 img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.nomarg { margin-top: 0; margin-bottom: 0; }

/* ---------- Header ---------- */
header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

header p { margin: 0; }

header p:last-child {
	margin-top: 14px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------- Hero ---------- */
.hero {
	text-align: center;
	padding: 56px 0 24px;
}

.hero h1 {
	margin: 0 auto 32px;
	max-width: 900px;
	font-size: clamp(34px, 6vw, 64px);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -.035em;
}

.hero h1 .highlight {
	background: linear-gradient(95deg, var(--coral) 10%, var(--peach) 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ctas {
	margin-bottom: 64px;
	font-size: 13px;
	color: var(--muted);
	line-height: 2.2;
}

a.button {
	display: inline-block;
	padding: 16px 32px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--coral), var(--coral-dark));
	color: #fff;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 10px 24px -8px rgba(252, 97, 97, .65);
	transition: transform .2s ease, box-shadow .2s ease;
}

a.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -10px rgba(252, 97, 97, .75);
}

a.button:active { transform: translateY(0); }

.ctas a:not(.button) {
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 2px solid rgba(252, 97, 97, .35);
	transition: border-color .2s ease;
}

.ctas a:not(.button):hover { border-color: var(--coral); }

.hero > p:not(.max700) {
	margin: 0 0 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--muted);
}

.hero .max700 {
	font-size: 14px;
	color: var(--muted);
}

.hero .max700 img {
	margin-bottom: 8px;
	filter: grayscale(1);
	opacity: .65;
	transition: filter .4s ease, opacity .4s ease;
}

.hero .max700 img:hover {
	filter: none;
	opacity: 1;
}

/* ---------- Testimonials ---------- */
.testimonials {
	display: flex;
	gap: 24px;
	margin: 40px 0 96px;
}

.testimonials .col {
	position: relative;
	flex: 1;
	padding: 40px 32px 32px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
}

.testimonials .col::before {
	content: "\201C";
	position: absolute;
	top: 6px;
	left: 24px;
	font-family: Georgia, serif;
	font-size: 80px;
	line-height: 1;
	color: var(--coral);
	opacity: .18;
}

.testimonials p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-soft);
}

.testimonials strong, .testimonials b {
	color: var(--ink);
	font-weight: 600;
	background: linear-gradient(transparent 62%, rgba(252, 97, 97, .2) 62%);
}

.testimonials img.avatar {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--card), 0 0 0 6px var(--coral-soft);
}

.testimonials p span {
	display: block;
	margin-top: 20px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------- Rate sheet ---------- */
.ratesheet {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.ratesheet .title {
	margin: 0 0 40px;
	text-align: center;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
	font-weight: 700;
	scroll-margin-top: 24px;
}

/* ---------- Table ---------- */
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

th, td {
	font-weight: normal;
	text-align: left;
}

/* Section header band */
thead th {
	padding: 24px 20px;
	background: var(--ink);
	color: #fff;
	vertical-align: bottom;
	text-align: center;
}

thead th:first-child {
	text-align: left;
	padding-left: 28px;
	border-top-left-radius: var(--radius);
}

thead th:last-child { border-top-right-radius: var(--radius); }

thead tr:empty { display: none; }

th h2, th p { margin: 0; }

th:first-child h2 {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	scroll-margin-top: 24px;
}

th:not(:first-child) h2 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, .6);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

th p {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .6);
}

th p span {
	display: inline-block;
	margin: 6px 0 2px;
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: #fff;
}

th img.icon.visit {
	height: 11px;
	width: auto;
	filter: invert(1);
	opacity: .5;
	transition: opacity .2s ease;
}

th a:hover img.icon.visit { opacity: 1; }

/* Placement rows */
tbody td {
	padding: 20px;
	background: var(--card);
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
	transition: background-color .2s ease;
}

tbody td:first-child {
	width: 44%;
	padding-left: 28px;
	border-left: 1px solid var(--line);
}

tbody td:last-child { border-right: 1px solid var(--line); }

tbody td:not(:first-child) { text-align: center; }

tbody tr:nth-last-child(2) td:first-child { border-bottom-left-radius: var(--radius); }
tbody tr:nth-last-child(2) td:last-child { border-bottom-right-radius: var(--radius); }

tbody tr:hover td { background: #fffaf8; }

/* Spacer row between sections */
tbody tr:empty { height: 48px !important; }

td p {
	margin: 0;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
}

td p span { display: inline-block; vertical-align: middle; }

td p.small {
	margin-top: 4px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: normal;
	line-height: 1.5;
	color: var(--muted);
}

/* Preview (see / hear) buttons */
td img.icon {
	height: 27px;
	margin-left: 8px;
	padding: 7px;
	border-radius: 50%;
	background: var(--coral-soft);
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease, filter .2s ease;
}

td img.icon:hover {
	background: var(--ink);
	filter: invert(1);
	transform: scale(1.08);
}

/* Prices */
.price {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 9px;
	background: var(--coral-soft);
	color: var(--coral-dark);
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* ---------- Case studies ---------- */
.case-studies { margin-bottom: 96px; }

.case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.case-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.case-logo {
	display: flex;
	align-items: center;
	height: 36px;
	margin-bottom: 20px;
}

.case-logo img {
	height: 28px;
	max-width: 160px;
	width: auto;
	object-fit: contain;
	object-position: left center;
}

.case-logo-placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 100%;
	border: 1px dashed var(--line);
	border-radius: var(--radius-sm);
	font-size: 12px;
	color: var(--muted);
}

.case-card p { margin: 0; }

.case-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 8px !important;
	font-family: var(--font-head);
	font-size: 18px;
}

.case-meta span {
	font-family: var(--font-body);
	font-size: 13px;
	color: var(--muted);
}

.case-placements {
	flex: 1;
	margin-bottom: 20px !important;
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
}

.case-clicks {
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}

.case-clicks strong {
	display: block;
	font-family: var(--font-head);
	font-size: 28px;
	line-height: 1.2;
	color: var(--coral-dark);
}

@media (max-width: 1000px) {
	.case-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Guarantee ---------- */
.click-guarantee {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 760px;
	margin: 48px auto 96px;
	padding: 24px 28px;
	background: var(--card);
	border: 1px solid var(--line);
	border-left: 4px solid #2bb24c;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.click-guarantee-badge {
	flex-shrink: 0;
	height: 31px;
}

.click-guarantee h3 {
	margin: 0 0 4px;
	font-size: 20px;
	font-weight: 700;
}

.click-guarantee p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted);
}

/* ---------- Bottom CTA ---------- */
.bottom-cta {
	margin: 96px auto;
	padding: 56px 32px;
	text-align: center;
	background:
		radial-gradient(600px 240px at 50% 0%, rgba(252, 97, 97, .10), transparent 70%),
		var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.bottom-cta h2 {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.5vw, 36px);
	line-height: 1.15;
	font-weight: 700;
}

.bottom-cta > p {
	max-width: 520px;
	margin: 0 auto 28px;
	color: var(--muted);
}

.bottom-cta .ctas { margin-bottom: 0; }

.bottom-cta a.button {
	padding: 13px 44px;
	font-size: 18px;
}

/* ---------- Preview popup ---------- */
#overlay {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(27, 21, 48, .55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

#popup {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1000;
	width: min(720px, calc(100vw - 32px));
	max-height: 85vh;
	overflow: auto;
	padding: 48px 24px 24px;
	transform: translate(-50%, -50%);
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

#popup img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
}

#popup audio { width: 100%; }

#close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f3f1ee;
	color: var(--ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

#close:hover { background: var(--coral); color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
	body { padding-top: 24px; }

	.wrapper, .ratesheet { padding: 0 16px; }

	.hero { padding-top: 36px; }
	.ctas { margin-bottom: 44px; }

	.testimonials {
		flex-direction: column;
		gap: 16px;
		margin-bottom: 64px;
	}

	.testimonials .col { padding: 32px 22px 24px; }
	.testimonials p { font-size: 15px; }

	/* Stack the table into cards */
	table, thead, tbody, tr, th, td {
		display: block;
		width: 100% !important;
	}

	thead {
		padding: 20px 20px 8px;
		background: var(--ink);
		border-radius: var(--radius) var(--radius) 0 0;
	}

	thead th,
	thead th:first-child {
		padding: 12px 0;
		border-radius: 0;
		background: none;
	}

	thead th:first-child { padding-top: 0; }

	thead th:empty { display: none; }

	th:first-child h2 { font-size: 22px; }

	th:not(:first-child) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		border-top: 1px solid rgba(255, 255, 255, .1);
		text-align: left;
	}

	th:not(:first-child) p { text-align: right; }
	th p span { font-size: 22px; margin-top: 0; }

	tbody {
		margin-bottom: 32px;
		overflow: hidden;
		background: var(--card);
		border: 1px solid var(--line);
		border-top: 0;
		border-radius: 0 0 var(--radius) var(--radius);
	}

	tbody tr:empty { display: none; }

	tbody tr {
		padding: 18px 20px;
		border-bottom: 1px solid var(--line);
	}

	tbody tr:nth-last-child(2) { border-bottom: 0; }

	tbody td,
	tbody td:first-child,
	tbody td:last-child {
		padding: 0;
		border: 0;
		border-radius: 0 !important;
		background: none !important;
		text-align: left !important;
	}

	tbody td:first-child { margin-bottom: 12px; }

	tbody td:not(:first-child) {
		display: inline-block;
		width: auto !important;
		margin: 0 6px 6px 0;
	}

	td:empty { display: none !important; }

	.price { font-size: 14px; padding: 6px 14px; }

	.price::before {
		content: attr(data-brand) " \00B7 ";
		font-weight: 500;
		opacity: .75;
	}

	.case-studies { margin-bottom: 64px; }
	.bottom-cta { margin: 64px auto; padding: 40px 20px; }
	.case-grid { grid-template-columns: 1fr; gap: 16px; }

	.click-guarantee {
		flex-direction: column;
		text-align: center;
		gap: 12px;
		margin: 32px 0 64px;
		padding: 24px 20px;
		border-left-width: 1px;
		border-top: 4px solid #2bb24c;
	}
}
