/* =========================================================================
   QUACKORIA — The World of Ducks
   Brand stylesheet. Colour tokens are printed by the Customizer, so the
   :root values below are only fallbacks.
   ========================================================================= */

:root {
	--q-navy: #011E38;
	--q-teal: #016B8E;
	--q-gold: #FDB302;
	--q-cream: #FDF4DD;
	--q-sky: #62BDE5;
	--q-orange: #DD6B01;
	--q-green: #556651;
	--q-white: #FFFFFF;

	--q-ink: var(--q-navy);
	--q-muted: #4a5a6a;
	--q-line: rgba(1, 30, 56, .12);
	--q-accent: var(--q-teal);

	--q-radius: 16px;
	--q-radius-lg: 20px;
	--q-radius-sm: 12px;
	--q-shadow: 0 2px 6px rgba(1, 30, 56, .06), 0 12px 28px rgba(1, 30, 56, .07);
	--q-shadow-sm: 0 1px 3px rgba(1, 30, 56, .07), 0 6px 16px rgba(1, 30, 56, .06);
	--q-max: 1200px;
	--q-narrow: 760px;

	--q-font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--q-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Accent per section ------------------------------------------------------ */
.quack-accent-teal   { --q-accent: var(--q-teal); }
.quack-accent-gold   { --q-accent: var(--q-gold); }
.quack-accent-sky    { --q-accent: var(--q-sky); }
.quack-accent-orange { --q-accent: var(--q-orange); }
.quack-accent-green  { --q-accent: var(--q-green); }
.quack-accent-navy   { --q-accent: var(--q-navy); }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--q-cream);
	color: var(--q-ink);
	font-family: var(--q-font-body);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
	font-family: var(--q-font-head);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	color: var(--q-navy);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

a { color: var(--q-teal); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
	outline: 3px solid var(--q-gold);
	outline-offset: 2px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--q-gold); color: var(--q-navy);
	padding: .75rem 1.25rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; width: auto; height: auto; clip: auto; }

.quack-container {
	width: min(100% - 2.5rem, var(--q-max));
	margin-inline: auto;
}
.quack-narrow { max-width: var(--q-narrow); }

/* Buttons ----------------------------------------------------------------- */
.quack-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	font-family: var(--q-font-head);
	font-weight: 600;
	font-size: .98rem;
	line-height: 1;
	padding: .95rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
	text-decoration: none !important;
	min-height: 48px;
}
.quack-btn:hover { transform: translateY(-2px); box-shadow: var(--q-shadow-sm); }
.quack-btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.quack-btn-sm { padding: .65rem 1.1rem; font-size: .88rem; min-height: 40px; }

.quack-btn-gold { background: var(--q-gold); color: var(--q-navy); }
.quack-btn-teal { background: var(--q-teal); color: #fff; }
.quack-btn-navy { background: var(--q-navy); color: #fff; }
.quack-btn-ghost { background: transparent; color: var(--q-navy); border-color: var(--q-line); }

/* Header ------------------------------------------------------------------ */
.quack-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--q-line);
}
.quack-header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 76px;
}
.quack-brand { display: flex; align-items: center; gap: .8rem; flex: 0 0 auto; }
.quack-brand .custom-logo { max-height: 58px; width: auto; }
.quack-brand-tagline {
	display: none;
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--q-teal);
	font-weight: 600;
}
@media (min-width: 1080px) { .quack-brand-tagline { display: inline; } }

/* Brand badge (the official Quackoria mark) */
.quack-badge-link { display: inline-flex; align-items: center; text-decoration: none !important; }
.quack-badge { height: 58px; width: auto; display: block; }
.quack-footer .quack-badge { height: 96px; }
@media (max-width: 620px) { .quack-badge { height: 48px; } }

.quack-wordmark {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-family: var(--q-font-head);
	font-weight: 800;
	font-size: 1.45rem;
	color: var(--q-navy);
	letter-spacing: -.02em;
	text-decoration: none !important;
}
.quack-wordmark-q {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 13px;
	background: var(--q-gold);
	color: var(--q-navy);
	font-size: 1.35rem;
	line-height: 1;
}

.quack-nav { margin-inline-start: auto; }
.quack-nav-list {
	display: flex;
	align-items: center;
	gap: .35rem;
	list-style: none;
	margin: 0; padding: 0;
}
.quack-nav-list li { position: relative; }
.quack-nav-list a {
	display: block;
	padding: .65rem .9rem;
	font-family: var(--q-font-head);
	font-weight: 600;
	font-size: .86rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--q-navy);
	border-radius: 999px;
	text-decoration: none !important;
}
.quack-nav-list a:hover,
.quack-nav-list .current-menu-item > a { background: var(--q-cream); color: var(--q-teal); }

.quack-nav-list .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 210px;
	background: #fff;
	border: 1px solid var(--q-line);
	border-radius: var(--q-radius-sm);
	box-shadow: var(--q-shadow);
	padding: .4rem;
	list-style: none;
	margin: 0;
	display: none;
}
.quack-nav-list li:hover > .sub-menu,
.quack-nav-list li:focus-within > .sub-menu { display: block; }
.quack-nav-list .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .95rem; }

.quack-header-tools { display: flex; align-items: center; gap: .35rem; }
.quack-search-toggle, .quack-nav-toggle {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border: 1px solid var(--q-line);
	background: #fff;
	border-radius: 14px;
	font-size: 1.25rem;
	color: var(--q-navy);
	cursor: pointer;
}
.quack-nav-toggle { display: none; }
.quack-burger, .quack-burger::before, .quack-burger::after {
	display: block; width: 20px; height: 2px; background: var(--q-navy); border-radius: 2px;
	position: relative; content: "";
}
.quack-burger::before { position: absolute; top: -6px; }
.quack-burger::after { position: absolute; top: 6px; }

.quack-search-panel {
	border-top: 1px solid var(--q-line);
	background: #fff;
	padding: 1rem 0 1.25rem;
}
.quack-searchform { display: flex; gap: .6rem; }
.quack-searchfield {
	flex: 1;
	padding: .9rem 1.1rem;
	border: 2px solid var(--q-line);
	border-radius: 999px;
	font: inherit;
	background: var(--q-cream);
	color: var(--q-ink);
	min-height: 48px;
}
.quack-searchfield:focus { border-color: var(--q-teal); outline: none; }

@media (max-width: 1024px) {
	.quack-nav-toggle { display: grid; }
	.quack-nav {
		position: fixed;
		inset: 76px 0 auto 0;
		background: #fff;
		border-bottom: 1px solid var(--q-line);
		box-shadow: var(--q-shadow);
		padding: .75rem 1.25rem 1.5rem;
		display: none;
	}
	.quack-nav.is-open { display: block; }
	.quack-nav-list { flex-direction: column; align-items: stretch; gap: .1rem; }
	.quack-nav-list a { padding: .95rem .75rem; font-size: 1rem; }
	.quack-nav-list .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: .75rem; }
}

/* Breadcrumbs ------------------------------------------------------------- */
.quack-crumbs {
	font-size: .84rem;
	color: var(--q-muted);
	padding: .9rem 0 0;
}
.quack-crumbs a { color: var(--q-muted); }
.quack-crumbs span[aria-hidden] { margin: 0 .45rem; opacity: .5; }
.quack-crumb-current { color: var(--q-navy); font-weight: 500; }

/* Hero -------------------------------------------------------------------- */
.quack-hero {
	position: relative;
	background:
		radial-gradient(1100px 480px at 15% -10%, rgba(98, 189, 229, .35), transparent 60%),
		linear-gradient(160deg, var(--q-cream) 0%, #fff 62%);
	padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem);
	overflow: hidden;
}
.quack-hero.has-image { background-size: cover; background-position: center; }
.quack-hero.has-image::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(253, 244, 221, .96) 0%, rgba(253, 244, 221, .72) 45%, rgba(253, 244, 221, .2) 100%);
}
.quack-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.quack-hero-title {
	font-size: clamp(2.8rem, 7vw, 5rem);
	font-weight: 800;
	margin-bottom: .1em;
	letter-spacing: -.03em;
}
.quack-hero-tagline {
	font-family: var(--q-font-head);
	font-size: clamp(1.25rem, 2.6vw, 1.8rem);
	font-weight: 700;
	color: var(--q-teal);
	margin-bottom: .2em;
}
.quack-hero-line {
	font-family: var(--q-font-head);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-size: .85rem;
	color: var(--q-orange);
	margin-bottom: 1.1em;
}
.quack-hero-note { max-width: 46ch; color: var(--q-muted); font-size: 1.05rem; }
.quack-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.quack-hero-mascot { display: grid; place-items: center; }
.quack-mascot { max-width: min(360px, 100%); filter: drop-shadow(0 24px 34px rgba(1, 30, 56, .18)); }
.quack-hero-wave {
	position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
	background: linear-gradient(180deg, rgba(253, 244, 221, 0) 0%, var(--q-cream) 92%);
	pointer-events: none;
}

@media (max-width: 860px) {
	.quack-hero-inner { grid-template-columns: 1fr; text-align: center; }
	.quack-hero-note { margin-inline: auto; }
	.quack-hero-actions { justify-content: center; }
	.quack-hero-mascot { order: -1; }
	.quack-mascot { max-width: 220px; }
}

/* Worlds grid ------------------------------------------------------------- */
.quack-worlds { padding: 0 0 clamp(1.5rem, 4vw, 3rem); margin-top: -2rem; position: relative; z-index: 2; }
.quack-worlds-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: .9rem;
}
@media (min-width: 620px) { .quack-worlds-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .quack-worlds-grid { grid-template-columns: repeat(6, 1fr); } }
.quack-world {
	background: #fff;
	border: 1px solid var(--q-line);
	border-top: 4px solid var(--q-accent);
	border-radius: var(--q-radius);
	padding: 1.25rem 1.25rem 1.1rem;
	box-shadow: var(--q-shadow-sm);
	display: flex;
	flex-direction: column;
	gap: .35rem;
	color: var(--q-navy);
	text-decoration: none !important;
	transition: transform .16s ease, box-shadow .16s ease;
}
.quack-world:hover { transform: translateY(-4px); box-shadow: var(--q-shadow); }
.quack-world-name { font-family: var(--q-font-head); font-weight: 700; font-size: 1.02rem; }
.quack-world-tag { font-size: .87rem; color: var(--q-muted); line-height: 1.45; }
.quack-world-go { margin-top: auto; color: var(--q-accent); font-weight: 700; }

/* Bands ------------------------------------------------------------------- */
.quack-band { padding: clamp(2.5rem, 5vw, 4.25rem) 0; }
.quack-band-cream { background: var(--q-cream); }
.quack-band-white { background: #fff; }
.quack-band-navy { background: var(--q-navy); }
.quack-band-navy .quack-band-title,
.quack-band-navy .quack-band-sub,
.quack-band-navy .quack-band-link { color: #fff; }
.quack-band-navy .quack-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.quack-band-navy .quack-card-title a,
.quack-band-navy .quack-card-text,
.quack-band-navy .quack-card-meta { color: #fff; }
.quack-band-navy .quack-card-text { opacity: .82; }

.quack-band-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}
.quack-band-title { margin: 0; position: relative; padding-left: 1rem; }
.quack-band-title::before {
	content: "";
	position: absolute; left: 0; top: .15em; bottom: .15em;
	width: 5px; border-radius: 4px; background: var(--q-accent);
}
.quack-band-sub { margin: .5rem 0 0 1rem; color: var(--q-muted); font-size: .98rem; }
.quack-band-link { font-family: var(--q-font-head); font-weight: 600; white-space: nowrap; color: var(--q-teal); }

/* Grid & cards ------------------------------------------------------------ */
.quack-grid { display: grid; gap: 1.4rem; }
.quack-grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.quack-grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.quack-card {
	background: #fff;
	border: 1px solid var(--q-line);
	border-radius: var(--q-radius);
	overflow: hidden;
	box-shadow: var(--q-shadow-sm);
	display: flex;
	flex-direction: column;
	transition: transform .16s ease, box-shadow .16s ease;
}
.quack-card:hover { transform: translateY(-4px); box-shadow: var(--q-shadow); }

.quack-card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--q-cream); overflow: hidden; }
.quack-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.quack-card:hover .quack-card-media img { transform: scale(1.04); }
.quack-card-video .quack-card-media { aspect-ratio: 9 / 16; }
.quack-card-product .quack-card-media { aspect-ratio: 1 / 1; }
.quack-card-story .quack-card-media { aspect-ratio: 4 / 5; }

.quack-card-play {
	position: absolute; inset: auto auto 12px 12px;
	width: 42px; height: 42px;
	display: grid; place-items: center;
	background: var(--q-gold); color: var(--q-navy);
	border-radius: 50%;
	font-size: .95rem;
	box-shadow: var(--q-shadow-sm);
}
.quack-card-play-video { background: var(--q-orange); color: #fff; }
.quack-card-badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--q-navy); color: #fff;
	font-family: var(--q-font-head); font-weight: 600; font-size: .72rem;
	letter-spacing: .08em; text-transform: uppercase;
	padding: .35rem .7rem; border-radius: 999px;
}

.quack-card-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.quack-card-kicker {
	margin: 0;
	font-family: var(--q-font-head); font-weight: 600;
	font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--q-accent);
}
.quack-card-title { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.quack-card-title a { color: var(--q-navy); text-decoration: none !important; }
.quack-card-title a:hover { color: var(--q-teal); }
.quack-card-text { margin: 0; font-size: .93rem; color: var(--q-muted); }
.quack-card-meta { margin: auto 0 0; font-size: .82rem; color: var(--q-teal); font-weight: 500; }
.quack-card .quack-btn { align-self: flex-start; margin-top: .4rem; }

/* Page heads & archives --------------------------------------------------- */
.quack-page-head {
	background: linear-gradient(180deg, #fff 0%, var(--q-cream) 100%);
	padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--q-line);
}
.quack-eyebrow {
	font-family: var(--q-font-head); font-weight: 600;
	font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--q-accent); margin: 0 0 .5rem;
}
.quack-page-title { margin: 0 0 .4rem; }
.quack-page-sub { margin: 0; color: var(--q-muted); max-width: 62ch; font-size: 1.05rem; }

.quack-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.quack-chip {
	display: inline-block;
	padding: .5rem 1rem;
	border-radius: 999px;
	border: 1px solid var(--q-line);
	background: #fff;
	color: var(--q-navy);
	font-size: .86rem;
	font-weight: 500;
	text-decoration: none !important;
}
.quack-chip:hover { border-color: var(--q-accent); color: var(--q-accent); }
.quack-chip.is-active { background: var(--q-navy); border-color: var(--q-navy); color: #fff; }

.quack-archive { padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem); }

.quack-empty { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.quack-empty .quack-hero-actions { justify-content: center; }
.quack-404 .quack-mascot-404 { max-width: 200px; margin: 0 auto 1.5rem; }
.quack-search-inline { max-width: 520px; margin: 1.5rem auto 0; }

.quack-pagination { margin-top: 2.5rem; }
.quack-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.quack-pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 46px; height: 46px; padding: 0 .85rem;
	border-radius: 14px; border: 1px solid var(--q-line);
	background: #fff; color: var(--q-navy);
	font-weight: 600; text-decoration: none !important;
}
.quack-pagination .page-numbers.current { background: var(--q-navy); color: #fff; border-color: var(--q-navy); }

/* Single ------------------------------------------------------------------ */
.quack-post-head, .quack-game-head, .quack-story-head {
	padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.75rem);
}
.quack-title { margin: 0 0 .5rem; }
.quack-lede { font-size: 1.16rem; color: var(--q-muted); max-width: 62ch; }
.quack-meta { font-size: .88rem; color: var(--q-teal); font-weight: 500; margin: 0; }

.quack-hero-figure { margin: 0 0 2rem; border-radius: var(--q-radius-lg); overflow: hidden; box-shadow: var(--q-shadow); }
.quack-hero-figure img { width: 100%; }

.quack-article-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.quack-article-wrap:has(.quack-sidebar) { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 900px) {
	.quack-article-wrap:has(.quack-sidebar) { grid-template-columns: minmax(0, 1fr); }
}

.quack-prose { font-size: 1.06rem; }
.quack-prose h2 { margin-top: 2rem; }
.quack-prose h3 { margin-top: 1.5rem; }
.quack-prose ul, .quack-prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.quack-prose li { margin-bottom: .5em; }
.quack-prose img, .quack-prose figure { border-radius: var(--q-radius); overflow: hidden; }
.quack-prose blockquote {
	margin: 1.5rem 0;
	padding: 1rem 1.4rem;
	border-left: 5px solid var(--q-gold);
	background: var(--q-cream);
	border-radius: 0 var(--q-radius-sm) var(--q-radius-sm) 0;
	font-size: 1.08rem;
}
.quack-prose-story { font-size: 1.14rem; line-height: 1.8; }
.quack-prose-story p:first-of-type::first-letter {
	float: left;
	font-family: var(--q-font-head);
	font-size: 3.4rem;
	line-height: .85;
	font-weight: 800;
	color: var(--q-teal);
	margin: .1rem .6rem 0 0;
}

.quack-listblock { margin: 1.75rem 0; }
.quack-listblock h2 { font-size: 1.2rem; margin-bottom: .6rem; }
.quack-listblock-box {
	background: var(--q-cream);
	border: 1px solid var(--q-line);
	border-left: 5px solid var(--q-accent);
	border-radius: var(--q-radius-sm);
	padding: 1.25rem 1.4rem;
}
.quack-listblock ul { margin: 0; padding-left: 1.2rem; }
.quack-listblock li { margin-bottom: .45em; }

.quack-faq { margin: 2.25rem 0; }
.quack-faq h2 { margin-bottom: .8rem; }
.quack-faq-item {
	border: 1px solid var(--q-line);
	border-radius: var(--q-radius-sm);
	background: #fff;
	padding: .1rem .25rem;
	margin-bottom: .6rem;
}
.quack-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: .95rem 1.1rem;
	font-family: var(--q-font-head);
	font-weight: 600;
	color: var(--q-navy);
	display: flex; justify-content: space-between; gap: 1rem;
}
.quack-faq-item summary::-webkit-details-marker { display: none; }
.quack-faq-item summary::after { content: "+"; color: var(--q-accent); font-size: 1.3rem; line-height: 1; }
.quack-faq-item[open] summary::after { content: "–"; }
.quack-faq-answer { padding: 0 1.1rem .9rem; color: var(--q-muted); }

.quack-sources { margin: 2rem 0; font-size: .94rem; }
.quack-sources h2 { font-size: 1.1rem; }
.quack-sources ul { padding-left: 1.2rem; margin: 0; }

.quack-notice {
	background: #fff;
	border: 1px solid var(--q-line);
	border-left: 5px solid var(--q-orange);
	border-radius: var(--q-radius-sm);
	padding: 1.1rem 1.3rem;
	margin: 1.75rem 0;
	font-size: .95rem;
}
.quack-notice-care { border-left-color: var(--q-green); background: rgba(85, 102, 81, .06); }
.quack-notice-shop { border-left-color: var(--q-gold); }

.quack-taglist { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; }

.quack-sidebar .widget {
	background: #fff;
	border: 1px solid var(--q-line);
	border-radius: var(--q-radius);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
}
.quack-sidebar .widget-title { font-size: 1.05rem; }

/* Story head -------------------------------------------------------------- */
.quack-story-head-inner { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: center; }
.quack-story-cover { margin: 0; border-radius: var(--q-radius-lg); overflow: hidden; box-shadow: var(--q-shadow); }
@media (max-width: 720px) { .quack-story-head-inner { grid-template-columns: 1fr; } .quack-story-cover { max-width: 220px; } }

/* Game player ------------------------------------------------------------- */
.quack-player {
	background: var(--q-navy);
	border-radius: var(--q-radius-lg);
	overflow: hidden;
	box-shadow: var(--q-shadow);
	margin-bottom: 2rem;
}
.quack-player-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .7rem .9rem;
	background: rgba(255, 255, 255, .06);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	color: #fff;
	flex-wrap: wrap;
}
.quack-player-score { display: flex; align-items: baseline; gap: .5rem; font-family: var(--q-font-head); }
.quack-score-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.quack-score-value { font-size: 1.35rem; font-weight: 800; color: var(--q-gold); }
.quack-score-sep { opacity: .4; }
.quack-player-buttons { display: flex; gap: .4rem; flex-wrap: wrap; }
.quack-pbtn {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 13px;
	border: 1px solid rgba(255, 255, 255, .16);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 1rem;
	cursor: pointer;
	transition: background .15s ease;
}
.quack-pbtn[hidden] { display: none; }
.quack-pbtn:hover { background: var(--q-gold); color: var(--q-navy); border-color: var(--q-gold); }
.quack-pbtn[aria-pressed="true"] { background: var(--q-gold); color: var(--q-navy); }

.quack-player-stage { position: relative; width: 100%; padding-top: var(--quack-ratio, 56.25%); background: #000; }
.quack-player-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

.quack-player:fullscreen { display: flex; flex-direction: column; background: var(--q-navy); border-radius: 0; }
.quack-player:fullscreen .quack-player-stage { flex: 1; padding-top: 0; }
.quack-player:fullscreen .quack-player-bar { flex: 0 0 auto; }

.quack-controls { margin: 2rem 0; }
.quack-controls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.quack-keys { list-style: none; margin: 0; padding: 0; }
.quack-keys li { display: flex; align-items: center; gap: .8rem; padding: .5rem 0; border-bottom: 1px dashed var(--q-line); }
.quack-keys kbd {
	font-family: var(--q-font-body);
	font-weight: 600;
	font-size: .82rem;
	background: var(--q-navy);
	color: #fff;
	border-radius: 8px;
	padding: .35rem .65rem;
	min-width: 62px;
	text-align: center;
}

/* Video ------------------------------------------------------------------- */
.quack-videoframe {
	position: relative;
	margin: 0 auto 2rem;
	border-radius: var(--q-radius-lg);
	overflow: hidden;
	background: #000;
	box-shadow: var(--q-shadow);
	max-width: 100%;
}
.quack-videoframe-9-16 { max-width: 420px; }
.quack-videoframe iframe,
.quack-videoframe video,
.quack-videoframe img { width: 100%; aspect-ratio: auto; display: block; border: 0; }
.quack-videoframe-9-16 iframe { aspect-ratio: 9 / 16; height: auto; }
.quack-videoframe-16-9 iframe { aspect-ratio: 16 / 9; height: auto; }
.quack-videoframe-1-1 iframe { aspect-ratio: 1 / 1; height: auto; }

/* Product ----------------------------------------------------------------- */
.quack-product-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.quack-product-media { position: relative; border-radius: var(--q-radius-lg); overflow: hidden; box-shadow: var(--q-shadow); background: var(--q-cream); }
.quack-price { font-family: var(--q-font-head); font-weight: 800; font-size: 1.9rem; color: var(--q-navy); margin: .25rem 0 1rem; }
@media (max-width: 800px) { .quack-product-inner { grid-template-columns: 1fr; } }

/* Did You Know ------------------------------------------------------------ */
.quack-fact { background: var(--q-gold); padding: clamp(2rem, 4vw, 3rem) 0; }
.quack-fact-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.quack-fact-label {
	font-family: var(--q-font-head); font-weight: 700;
	letter-spacing: .18em; text-transform: uppercase; font-size: .8rem;
	color: var(--q-navy); opacity: .75; margin: 0;
}
.quack-fact-text {
	font-family: var(--q-font-head); font-weight: 700;
	font-size: clamp(1.2rem, 2.6vw, 1.75rem);
	color: var(--q-navy); max-width: 60ch; margin: 0 0 .75rem;
	line-height: 1.35;
}

/* Newsletter -------------------------------------------------------------- */
.quack-newsletter { background: var(--q-teal); color: #fff; padding: clamp(2rem, 4vw, 3rem) 0; }
.quack-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.quack-newsletter h2 { color: #fff; margin-bottom: .25rem; }
.quack-newsletter p { margin: 0; opacity: .9; }

/* Footer ------------------------------------------------------------------ */
.quack-footer { background: var(--q-navy); color: rgba(255, 255, 255, .82); }
.quack-footer a { color: rgba(255, 255, 255, .82); }
.quack-footer a:hover { color: var(--q-gold); }
.quack-footer-top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 2.5rem;
	padding: clamp(2.5rem, 5vw, 4rem) 0 2.5rem;
}
.quack-footer .quack-wordmark { color: #fff; }
.quack-footer-line { font-family: var(--q-font-head); font-weight: 600; color: var(--q-gold); margin: .9rem 0 .5rem; font-size: .92rem; }
.quack-footer-about { font-size: .93rem; max-width: 46ch; }
.quack-footer-nav h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.quack-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .93rem; }
.quack-socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.quack-social {
	width: 42px; height: 42px;
	display: grid; place-items: center;
	border-radius: 12px;
	background: rgba(255, 255, 255, .09);
	color: #fff;
	font-weight: 700;
	text-decoration: none !important;
}
.quack-social:hover { background: var(--q-gold); color: var(--q-navy); }
.quack-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 1.25rem 0;
	font-size: .85rem;
}
.quack-footer-bottom .quack-container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.quack-footer-bottom p { margin: 0; }
.quack-footer-note { opacity: .6; }
@media (max-width: 820px) { .quack-footer-top { grid-template-columns: 1fr; gap: 2rem; } }

/* WooCommerce light touches ----------------------------------------------- */
.quack-woo { padding: 2.5rem 0 4rem; }
.woocommerce ul.products li.product a img { border-radius: var(--q-radius-sm); }
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--q-gold);
	color: var(--q-navy);
	border-radius: 999px;
	font-family: var(--q-font-head);
	font-weight: 600;
	padding: .9rem 1.5rem;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--q-navy); color: #fff; }

/* Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.quack-card:hover, .quack-world:hover, .quack-btn:hover { transform: none; }
}

/* Print ------------------------------------------------------------------- */
@media print {
	.quack-header, .quack-footer, .quack-player, .quack-related, .quack-newsletter, .quack-fact { display: none !important; }
	body { background: #fff; }
}
