/* OMNI Global additions: loaded after main.css on every page. */

:root {
	--lid-yellow: #FFD23F;
	--lid-yellow-dark: #F2C200;
	--ink: #1a1a1a;
	--tags-blue: #1E4BB8;
	--tags-blue-dark: #183C93;
}

/* Typography: no orphan words */
p, li { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

/* Smooth scrolling for in-page links (Explore Our Work, Give Today) */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

/* Yellow buttons, used only for the lid campaign */
.button.lid,
.wrapper.style3 .button.lid {
	background-color: var(--lid-yellow);
	border-color: var(--lid-yellow) !important;
	color: var(--ink) !important;
	box-shadow: none;
}
.button.lid:hover,
.wrapper.style3 .button.lid:hover {
	background-color: var(--lid-yellow-dark);
}
.button.lid:focus-visible,
.lid-card a:focus-visible,
.covers a:focus-visible,
.contact-list a:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

/* Homepage: Our Work */
.work-group-title {
	margin: 2.5rem 0 1rem;
}
.lid-card {
	display: flex;
	align-items: center;
	gap: 2rem;
	text-align: left;
	background: #ffffff;
	border: 2px solid var(--lid-yellow);
	border-radius: 1rem;
	padding: 2rem 2.5rem;
	margin: 0 auto 1.5rem;
	max-width: 52rem;
}
.lid-card .lid-icon {
	flex: 0 0 auto;
	width: 6rem;
	height: 6rem;
	border-radius: 50%;
	background: var(--lid-yellow);
	color: var(--ink);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.5rem;
}
.lid-card h3 { margin-bottom: 0.5rem; }
.lid-card p { margin-bottom: 1.25rem; }
.lid-card ul.actions { margin-bottom: 0; }
.kicker {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--lid-yellow);
	padding: 0.5rem 0.85rem;
	border-radius: 0.3rem;
	margin-bottom: 0.85rem;
}
.more-soon {
	font-style: italic;
	opacity: 0.8;
}
@media screen and (max-width: 736px) {
	.lid-card {
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
		gap: 1rem;
	}
	.lid-card .lid-icon { width: 4.5rem; height: 4.5rem; font-size: 2rem; }
}

/* Drink Covers page */
.covers-hero h1 { margin-bottom: 1rem; }
.covers-hero .lead { font-size: 1.25em; max-width: 40rem; }
.covers .inner > section + section { margin-top: 3.5rem; }

.stat-callout {
	background: var(--ink);
	color: #ffffff;
	border-radius: 1rem;
	padding: 2rem 2.5rem;
}
.stat-callout p {
	color: #ffffff;
	font-size: 1.4em;
	line-height: 1.5;
	margin: 0;
}
.stat-callout strong { color: var(--lid-yellow); }

.goal { font-size: 1.15em; }

.tier-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
}
.tier-grid li {
	padding: 1.5rem 1rem;
	margin: 0;
	border: 1px solid #e0e0e0;
	border-radius: 1rem;
	text-align: center;
	background: #ffffff;
}
.tier-grid .amount {
	display: block;
	font-size: 2em;
	font-weight: 800;
	color: var(--ink);
	line-height: 1.2;
}
.tier-grid .covered {
	display: block;
	margin-top: 0.35rem;
}
.tier-grid li.tier-top {
	background: var(--lid-yellow);
	border-color: var(--lid-yellow);
	color: var(--ink);
}
.tier-grid li.tier-top .covered { color: var(--ink); font-weight: 700; }
.tier-note { font-style: italic; }

.sponsor-box {
	background: #f4f4f4;
	border-radius: 1rem;
	padding: 2rem 2.5rem;
}

.donate-block {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	border: 3px solid var(--ink);
	border-radius: 1rem;
	padding: 2rem 2.5rem;
}
.donate-block .qr {
	flex: 0 0 auto;
	width: 220px;
	height: 220px;
	background: #ffffff;
}
.donate-block .qr img { display: block; width: 100%; height: 100%; }
.donate-block .site { word-break: break-word; }

.closing {
	text-align: center;
	font-size: 1.3em;
	font-weight: 700;
	color: var(--ink);
}
.small-print { font-size: 0.85em; opacity: 0.85; }

@media screen and (max-width: 736px) {
	.tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tier-grid .amount { font-size: 1.6em; }
	.stat-callout, .sponsor-box { padding: 1.5rem; }
	.stat-callout p { font-size: 1.15em; }
	.donate-block {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
		padding: 1.5rem;
		gap: 1.5rem;
	}
	.donate-block .qr { margin: 0 auto; }
}

/* Footer contact list */
.contact-list {
	list-style: none;
	padding: 0;
}
.contact-list li {
	padding-left: 0;
	margin-bottom: 0.4rem;
}
.contact-list i {
	width: 1.5rem;
	text-align: center;
	margin-right: 0.5rem;
}

/* "Coming soon" label (neutral, not campaign yellow) */
.soon {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffffff;
	background: var(--ink);
	padding: 0.5rem 0.85rem;
	border-radius: 0.3rem;
	margin-bottom: 0.85rem;
}

/* Plain icon tile in place of a product picture (OMNI Tags, coming soon) */
.icon-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-height: 22rem;
	background: #f4f4f4;
	border-radius: 0.5rem;
	color: var(--ink);
	font-size: 5rem;
}
.product-card .icon-tile {
	aspect-ratio: auto;
	height: 12rem;
	font-size: 4rem;
	margin-bottom: 1rem;
}

/* Homepage logo circle: soft pulsing glow */
@media (prefers-reduced-motion: no-preference) {
	#intro .image {
		animation: logo-glow 3s ease-in-out infinite;
	}
}
@keyframes logo-glow {
	0%, 100% { box-shadow: 0 0 18px 4px rgba(0, 0, 0, 0.35); }
	50% { box-shadow: 0 0 28px 8px rgba(0, 0, 0, 0.45); }
}

/* OMNI Tags featured card: the lid card design in blue */
.lid-card.tags-card { border-color: var(--tags-blue); }
.tags-card .lid-icon { background: var(--tags-blue); color: #ffffff; }
.kicker.tags { background: var(--tags-blue); color: #ffffff; }
.button.tags {
	background-color: var(--tags-blue);
	border-color: var(--tags-blue) !important;
	color: #ffffff !important;
	box-shadow: none;
}
.button.tags:hover { background-color: var(--tags-blue-dark); }
.button.tags:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
}

/* OMNI Tags featured card with product photo */
:root { --tags-tint: #EAF0FD; }
.lid-card.tags-card {
	padding: 0;
	gap: 0;
	align-items: stretch;
	overflow: hidden;
}
.tags-card .tags-media {
	flex: 0 0 44%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tags-tint);
	padding: 2rem;
}
.tags-card .tags-photo {
	display: block;
	width: 100%;
	max-width: 20rem;
	height: auto;
	filter: drop-shadow(0 12px 18px rgba(30, 75, 184, 0.25));
}
.tags-card .tags-body {
	flex: 1 1 auto;
	align-self: center;
	padding: 2.5rem;
}
@media screen and (max-width: 736px) {
	.lid-card.tags-card { flex-direction: column; align-items: stretch; }
	.tags-card .tags-media { padding: 1.5rem; }
	.tags-card .tags-photo { max-width: 16rem; }
	.tags-card .tags-body { padding: 1.5rem; text-align: center; }
}

/* The template's reset sets section { display: block }, which overrides [hidden] */
#innovations[hidden] { display: none; }
