/*
 * pixel6-theme: Rio's Frozen Dessert design system.
 *
 * 0. Fonts
 * 1. Tokens          8. Cards & grids          15. Contact
 * 2. Base            9. Home: hero             16. Careers
 * 3. Typography     10. Home: products/media   17. Forms (CF7 + Rio's Rewards)
 * 4. Utilities      11. Banner & CTA strip     18. Posts, prose, comments
 * 5. Buttons        12. Page hero              19. Footer
 * 6. Header & nav   13. Flavors & chips        20. 404
 * 7. Sections       14. Rewards                21. Responsive / motion
 */

/* 0. Fonts (self-hosted, SIL Open Font License, see assets/fonts) ------- */
@font-face {
	font-family: "Fredoka";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/fredoka-latin-variable.woff2") format("woff2");
}

@font-face {
	font-family: "Yellowtail";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/yellowtail-latin-400.woff2") format("woff2");
}

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--blue: #0a5fc4;
	--blue-dark: #084a99;
	--pink: #f0567f;
	--pink-dark: #c23a62;
	--orange: #f58a25;
	--orange-dark: #c46a12;
	--navy: #0e2347;

	--bg: #fff9f6;
	--card: #fff;
	--ink: #10264a;
	--mute: #56668a;
	--line: #f0dfe3;

	--tint-pink: #ffe3ea;
	--tint-blue: #e4effc;
	--tint-orange: #ffebd6;

	--radius-sm: 14px;
	--radius: 24px;
	--radius-lg: 36px;
	--shadow-sm: 0 1px 2px rgba(16, 38, 74, 0.06);
	--shadow: 0 1px 2px rgba(16, 38, 74, 0.05), 0 10px 30px rgba(16, 38, 74, 0.07);
	--shadow-lg: 0 2px 4px rgba(16, 38, 74, 0.05), 0 22px 50px rgba(16, 38, 74, 0.12);

	--font: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-script: "Yellowtail", "Brush Script MT", cursive;

	--wrap: 1180px;
	--gutter: clamp(20px, 4vw, 32px);
	--header-h: 76px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.nav-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

[hidden] {
	display: none !important;
}

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

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 22px 0;
}

.icon {
	flex: none;
}

/* 3. Typography ---------------------------------------------------------- */
h1,
h2,
h3,
h4,
.h3 {
	margin: 0 0 0.5em;
	font-family: var(--font);
	line-height: 1.12;
	letter-spacing: -0.01em;
}

h1 {
	color: var(--blue);
	font-size: clamp(2.5rem, 6vw, 4.25rem);
	font-weight: 700;
}

h2 {
	color: var(--pink);
	font-size: clamp(1.85rem, 3.8vw, 2.75rem);
	font-weight: 600;
}

h3,
.h3 {
	color: var(--blue);
	font-size: 1.3rem;
	font-weight: 600;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

/* 4. Utilities ----------------------------------------------------------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: calc(780px + 2 * var(--gutter));
}

.mute {
	color: var(--mute);
}

.lede {
	color: var(--mute);
	font-size: 1.15rem;
	max-width: 60ch;
}

.small {
	font-size: 0.92rem;
}

.center {
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 14px;
	padding: 5px 14px;
	border-radius: 99px;
	background: var(--card);
	box-shadow: var(--shadow-sm);
	color: var(--blue);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow--light {
	background: rgba(255, 255, 255, 0.16);
	box-shadow: none;
	color: #fff;
}

.text-link {
	color: var(--blue);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: rgba(10, 95, 196, 0.3);
	text-underline-offset: 3px;
	transition: color 0.15s, text-decoration-color 0.15s;
}

.text-link:hover {
	color: var(--pink);
	text-decoration-color: currentColor;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.notice-box {
	margin: 0;
	padding: 16px 18px;
	border-radius: var(--radius-sm);
	background: var(--tint-orange);
	color: var(--ink);
}

.empty-state {
	text-align: center;
	margin-inline: auto;
	max-width: 560px;
}

p.empty-state {
	margin-top: 24px;
	color: var(--mute);
}

/* 5. Buttons ------------------------------------------------------------- */
.btn,
.plugin-form button,
.plugin-form input[type="submit"],
.plugin-form .button,
.comment-form .submit {
	--btn-bg: var(--pink);
	--btn-edge: var(--pink-dark);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: 99px;
	background: var(--btn-bg);
	box-shadow: 0 4px 0 var(--btn-edge);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease;
}

.btn:hover,
.plugin-form button:hover,
.plugin-form input[type="submit"]:hover,
.plugin-form .button:hover,
.comment-form .submit:hover {
	color: #fff;
	transform: translateY(2px);
	box-shadow: 0 2px 0 var(--btn-edge);
}

.btn:active {
	transform: translateY(4px);
	box-shadow: 0 0 0 var(--btn-edge);
}

.btn--blue {
	--btn-bg: var(--blue);
	--btn-edge: var(--blue-dark);
}

.btn--orange {
	--btn-bg: var(--orange);
	--btn-edge: var(--orange-dark);
}

.btn--ghost,
.btn--ghost:hover {
	background: transparent;
	box-shadow: inset 0 0 0 2px var(--blue);
	color: var(--blue);
}

.btn--ghost:hover {
	background: var(--blue);
	color: #fff;
	transform: none;
}

.btn--on-dark,
.btn--on-dark:hover {
	background: transparent;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
	color: #fff;
}

.btn--on-dark:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: none;
}

.btn--sm {
	min-height: 40px;
	padding: 8px 18px;
	box-shadow: 0 3px 0 var(--btn-edge);
	font-size: 0.95rem;
}

/* 6. Header & nav -------------------------------------------------------- */
.skip-link:focus {
	position: fixed !important;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 249, 246, 0.92);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 24px rgba(16, 38, 74, 0.06);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: var(--wrap);
	min-height: var(--header-h);
	margin-inline: auto;
	padding: 10px var(--gutter);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
	color: var(--blue);
}

.brand img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	box-shadow: var(--shadow-sm);
}

.brand__name {
	font-family: var(--font-script);
	font-size: 2.1rem;
	line-height: 1;
	padding-top: 4px;
}

.brand--custom img {
	width: auto;
	height: auto;
	max-height: 56px;
	border-radius: 0;
	box-shadow: none;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-left: auto;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: block;
	padding: 8px 14px;
	border-radius: 99px;
	color: var(--ink);
	font-weight: 500;
	white-space: nowrap;
	transition: background-color 0.15s, color 0.15s;
}

.site-nav__list a:hover {
	background: var(--tint-blue);
	color: var(--blue);
}

.site-nav__list .current-menu-item > a,
.site-nav__list a[aria-current="page"] {
	background: var(--blue);
	color: #fff;
}

.nav-toggle {
	display: none;
	position: relative;
	width: 46px;
	height: 46px;
	margin-left: auto;
	border: 0;
	border-radius: 50%;
	background: var(--tint-blue);
	color: var(--blue);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2.5px;
	margin-left: -10px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
	top: 50%;
	margin-top: -1px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	left: 0;
	margin-left: 0;
}

.nav-toggle__bars::before {
	transform: translateY(-7px);
}

.nav-toggle__bars::after {
	transform: translateY(7px);
}

.is-open .nav-toggle__bars {
	background: transparent;
}

.is-open .nav-toggle__bars::before {
	background: var(--blue);
	transform: rotate(45deg);
}

.is-open .nav-toggle__bars::after {
	background: var(--blue);
	transform: rotate(-45deg);
}

/* 7. Sections ------------------------------------------------------------ */
.section {
	padding-block: clamp(56px, 8vw, 96px);
}

.section--blue {
	background: var(--tint-blue);
}

.section--pink {
	background: var(--tint-pink);
}

.section--orange {
	background: var(--tint-orange);
}

.section-head {
	margin-bottom: clamp(28px, 4vw, 44px);
}

.section-head h2 {
	margin-bottom: 0.3em;
}

.section-head--center {
	text-align: center;
}

.section-head--center .lede {
	margin-inline: auto;
}

.section-cta {
	margin-top: 36px;
	text-align: center;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.split--top {
	align-items: start;
}

.split--contact {
	grid-template-columns: 0.85fr 1.15fr;
}

/* 8. Cards & grids ------------------------------------------------------- */
.grid {
	display: grid;
	gap: 24px;
}

.grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card {
	position: relative;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	box-shadow: var(--shadow);
}

.card--feature {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card--feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card--feature h3 {
	margin-bottom: 0.35em;
}

.card--feature p {
	margin: 0;
}

.card--cta {
	padding: 36px;
	text-align: center;
}

.card--form {
	padding: clamp(24px, 4vw, 40px);
	box-shadow: var(--shadow-lg);
}

.dot {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	border-radius: 18px;
	font-size: 1.65rem;
	line-height: 1;
}

.dot .icon {
	width: 28px;
	height: 28px;
}

.dot--pink {
	background: var(--tint-pink);
	color: var(--pink);
}

.dot--blue {
	background: var(--tint-blue);
	color: var(--blue);
}

.dot--orange {
	background: var(--tint-orange);
	color: var(--orange-dark);
}

/* 9. Home: hero ---------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px);
	background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.hero__title {
	margin-bottom: 0.35em;
}

.hero__title span {
	display: inline-block;
	color: var(--pink);
	font-family: var(--font-script);
	font-size: 1.12em;
	font-weight: 400;
	letter-spacing: 0;
}

.hero__lead {
	color: var(--mute);
	font-size: 1.2rem;
	max-width: 52ch;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hero__perks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 500;
}

.hero__perks li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hero__perks .icon {
	width: 18px;
	height: 18px;
	padding: 3px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
	stroke-width: 3;
}

.hero__stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	width: 100%;
	max-width: 540px;
	margin-inline: auto;
	border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
	background: var(--tint-pink);
	animation: pixel6-pop 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.hero__stage::before,
.hero__stage::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	z-index: 0;
}

.hero__stage::before {
	top: 6%;
	right: 4%;
	width: 18%;
	aspect-ratio: 1;
	background: var(--tint-orange);
}

.hero__stage::after {
	bottom: 10%;
	left: 2%;
	width: 11%;
	aspect-ratio: 1;
	background: var(--tint-blue);
}

.hero__art {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 4%;
	width: 80%;
}

.hero__art img {
	width: 46%;
	height: auto;
	filter: drop-shadow(0 18px 18px rgba(16, 38, 74, 0.12));
}

.hero__art img + img {
	width: 42%;
	transform: translateY(-6%) rotate(6deg);
}

.hero__photo {
	position: relative;
	z-index: 1;
	width: 82%;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__badge {
	position: absolute;
	z-index: 2;
	right: 4%;
	bottom: 12%;
	padding: 10px 18px;
	border-radius: 99px;
	background: var(--card);
	box-shadow: var(--shadow);
	color: var(--pink);
	font-weight: 600;
	transform: rotate(-5deg);
}

@keyframes pixel6-pop {
	from {
		opacity: 0;
		transform: scale(0.75) rotate(-6deg);
	}
}

/* 10. Home: products / media ------------------------------------------- */
.product {
	text-align: center;
}

.product__media {
	display: grid;
	place-items: center;
	height: 260px;
	margin-bottom: 22px;
	border-radius: 20px;
	overflow: hidden;
}

.product__media img {
	width: auto;
	height: 220px;
	transition: transform 0.3s ease;
}

.product:hover .product__media img {
	transform: translateY(-6px) rotate(-2deg);
}

.product__media--pink {
	background: var(--tint-pink);
}

.product__media--blue {
	background: var(--tint-blue);
}

.product__media--orange {
	background: var(--tint-orange);
}

.product p {
	max-width: 30ch;
	margin-inline: auto;
}

.media-frame {
	position: relative;
	isolation: isolate;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	background: var(--tint-blue);
	box-shadow: var(--shadow);
}

.media-frame::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: -1;
	border-radius: var(--radius-lg);
	background: var(--tint-orange);
}

.media-frame--pink {
	background: var(--tint-pink);
}

.media-frame img {
	width: 100%;
	height: 100%;
	border-radius: var(--radius-lg);
	object-fit: cover;
}

/* 11. Banner & CTA strip ----------------------------------------------- */
.banner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: clamp(32px, 5vw, 56px);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, var(--blue) 0%, #0d4fa3 100%);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.banner::before,
.banner::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
}

.banner::before {
	top: -80px;
	right: -60px;
	width: 260px;
	height: 260px;
	background: rgba(255, 255, 255, 0.08);
}

.banner::after {
	bottom: -110px;
	right: 22%;
	width: 200px;
	height: 200px;
	background: rgba(255, 255, 255, 0.06);
}

.banner__copy {
	max-width: 620px;
}

.banner h2 {
	margin-bottom: 0.25em;
	color: #fff;
}

.banner p {
	opacity: 0.92;
}

.banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cta-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--radius-lg);
	background: var(--tint-orange);
}

.cta-strip p {
	margin: 0;
}

/* 12. Page hero -------------------------------------------------------- */
.page-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px);
	background: var(--tint-pink);
	isolation: isolate;
}

.page-hero::before,
.page-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
}

.page-hero::before {
	top: -120px;
	right: -80px;
	width: 340px;
	height: 340px;
	background: rgba(255, 255, 255, 0.55);
}

.page-hero::after {
	bottom: -70px;
	right: 18%;
	width: 150px;
	height: 150px;
	background: rgba(245, 138, 37, 0.16);
}

.page-hero__title {
	margin-bottom: 0.2em;
	font-size: clamp(2.3rem, 5vw, 3.75rem);
}

.page-hero__intro {
	max-width: 60ch;
	margin: 0;
	color: var(--mute);
	font-size: 1.18rem;
}

.page-hero--center {
	text-align: center;
}

.page-hero--center .page-hero__intro {
	margin-inline: auto;
}

/* 13. Flavors & chips --------------------------------------------------- */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
}

.chip {
	min-height: 42px;
	padding: 8px 20px;
	border: 2px solid var(--line);
	border-radius: 99px;
	background: var(--card);
	color: var(--ink);
	cursor: pointer;
	font: inherit;
	font-weight: 500;
	transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.chip:hover {
	border-color: var(--blue);
	color: var(--blue);
}

.chip[aria-pressed="true"] {
	border-color: var(--blue);
	background: var(--blue);
	color: #fff;
}

.flavor {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flavor:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.flavor__media {
	aspect-ratio: 16 / 10;
	background: var(--tint-orange);
	overflow: hidden;
}

.flavor__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.flavor:hover .flavor__media img {
	transform: scale(1.05);
}

.flavor__body {
	padding: 20px 22px 24px;
}

.flavor__body h3 {
	margin-bottom: 6px;
}

.flavor__body p {
	margin-bottom: 10px;
	font-size: 0.97rem;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tag {
	padding: 3px 11px;
	border-radius: 99px;
	background: var(--tint-blue);
	color: var(--blue);
	font-size: 0.78rem;
	font-weight: 600;
}

.tag:nth-child(3n + 2) {
	background: var(--tint-pink);
	color: var(--pink-dark);
}

.tag:nth-child(3n + 3) {
	background: var(--tint-orange);
	color: var(--orange-dark);
}

/* 14. Rewards ---------------------------------------------------------- */
.steps {
	margin: 0;
	padding: 28px 0 0;
	list-style: none;
	counter-reset: step;
}

.step {
	padding-top: 48px;
}

.step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: -24px;
	left: 28px;
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--orange);
	box-shadow: 0 4px 0 var(--orange-dark);
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
}

.step:nth-child(3n + 2)::before {
	background: var(--pink);
	box-shadow: 0 4px 0 var(--pink-dark);
}

.step:nth-child(3n + 3)::before {
	background: var(--blue);
	box-shadow: 0 4px 0 var(--blue-dark);
}

.step__text p {
	margin: 0 0 0.6em;
}

.tiers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.tier {
	flex: 0 1 290px;
	padding: 32px 28px;
	border: 3px solid var(--orange);
	text-align: center;
}

.tier:nth-child(even) {
	border-color: var(--pink);
}

.tier__label {
	margin: 0;
	color: var(--mute);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tier__amount {
	margin: 2px 0 12px;
	color: var(--orange);
	font-size: clamp(2.8rem, 6vw, 3.8rem);
	font-weight: 700;
	line-height: 1;
}

.tier:nth-child(even) .tier__amount {
	color: var(--pink);
}

.tier__save {
	display: inline-block;
	margin: 0 0 10px;
	padding: 6px 16px;
	border-radius: 99px;
	background: var(--tint-blue);
	color: var(--blue);
	font-size: 1.1rem;
	font-weight: 600;
}

.tier__text {
	margin: 0;
}

.benefits {
	display: grid;
	gap: 20px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.benefit {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	color: var(--mute);
}

.benefit strong {
	display: block;
	color: var(--ink);
}

.benefit__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--blue);
	color: #fff;
}

.benefit__icon .icon {
	width: 16px;
	height: 16px;
	stroke-width: 3;
}

.form-note {
	margin-top: 18px;
	color: var(--mute);
	font-size: 0.85rem;
	line-height: 1.6;
}

.account-card {
	max-width: 720px;
	margin-inline: auto;
}

.account-card + p {
	margin-top: 22px;
}

/* 15. Contact ---------------------------------------------------------- */
.contact-info {
	display: grid;
	gap: 18px;
}

.info-card {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 24px;
}

.info-card h2 {
	margin-bottom: 0.3em;
}

.info-card p {
	margin: 0 0 0.5em;
}

.info-card__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--tint-blue);
	color: var(--blue);
}

.info-card__icon--pink {
	background: var(--tint-pink);
	color: var(--pink);
}

.info-card__icon--orange {
	background: var(--tint-orange);
	color: var(--orange-dark);
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	transition: background-color 0.15s, transform 0.15s;
}

.social a:hover {
	background: var(--pink);
	transform: translateY(-2px);
}

.social--light {
	margin-top: 6px;
}

.social--light a {
	background: var(--tint-blue);
	color: var(--blue);
}

.social--light a:hover {
	background: var(--blue);
	color: #fff;
}

/* 16. Careers ---------------------------------------------------------- */
.jobs {
	display: grid;
	gap: 14px;
}

.job {
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.2s;
}

.job[open] {
	box-shadow: var(--shadow);
}

.job summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	padding: 20px 64px 20px 26px;
	position: relative;
	cursor: pointer;
	list-style: none;
}

.job summary::-webkit-details-marker {
	display: none;
}

.job summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 22px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border-radius: 50%;
	background: var(--tint-blue);
	color: var(--blue);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1;
	transition: transform 0.2s;
}

.job[open] summary::after {
	transform: rotate(45deg);
}

.job__title {
	color: var(--ink);
	font-size: 1.15rem;
	font-weight: 600;
}

.job__meta {
	color: var(--mute);
	font-size: 0.92rem;
}

.job__body {
	padding: 0 26px 24px;
}

.job__body .prose {
	margin-bottom: 18px;
}

/* 17. Forms (Contact Form 7, Rio's Rewards plugin, comments) ---------- */
.plugin-form form,
.comment-form {
	display: grid;
	gap: 14px;
	margin: 0;
}

.plugin-form > h2,
.plugin-form > .mute {
	margin-bottom: 0.4em;
}

.plugin-form > .mute {
	margin-bottom: 22px;
}

.plugin-form form p,
.comment-form p {
	margin: 0;
	max-width: none;
}

.plugin-form form br {
	display: none;
}

.plugin-form label,
.comment-form label {
	display: block;
	color: var(--ink);
	font-weight: 500;
}

.plugin-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

.plugin-form .row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.plugin-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.plugin-form select,
.plugin-form textarea,
.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 50px;
	margin: 6px 0 0;
	padding: 12px 16px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
	font: inherit;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.plugin-form textarea,
.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.plugin-form input:focus,
.plugin-form select:focus,
.plugin-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--blue);
	box-shadow: 0 0 0 4px rgba(10, 95, 196, 0.12);
	outline: none;
}

.plugin-form input[type="checkbox"],
.plugin-form input[type="radio"] {
	width: 18px;
	height: 18px;
	margin-right: 6px;
	vertical-align: -3px;
	accent-color: var(--pink);
}

.plugin-form button,
.plugin-form input[type="submit"],
.plugin-form .button {
	width: auto;
	justify-self: start;
	margin-top: 4px;
}

.plugin-form a:not(.button):not(.btn) {
	color: var(--blue);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.plugin-form .wpcf7-spinner {
	align-self: center;
}

.plugin-form .wpcf7-not-valid-tip {
	margin-top: 4px;
	color: #c81e3a;
	font-size: 0.9rem;
}

.plugin-form .wpcf7-not-valid {
	border-color: #c81e3a !important;
}

.plugin-form .wpcf7 form .wpcf7-response-output {
	margin: 6px 0 0;
	padding: 14px 18px;
	border: 2px solid var(--line);
	border-radius: var(--radius-sm);
}

.plugin-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e9d62;
	background: #e9f7ef;
}

.plugin-form .wpcf7 form.failed .wpcf7-response-output,
.plugin-form .wpcf7 form.aborted .wpcf7-response-output,
.plugin-form .wpcf7 form.invalid .wpcf7-response-output,
.plugin-form .wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: var(--pink);
	background: var(--tint-pink);
}

.plugin-form table {
	width: 100%;
	border-collapse: collapse;
}

.plugin-form th,
.plugin-form td {
	padding: 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.plugin-form .notice,
.plugin-form .message,
.plugin-form .error,
.plugin-form .success {
	padding: 12px 16px;
	border-radius: var(--radius-sm);
}

.plugin-form h2,
.plugin-form h3,
.plugin-form h4 {
	color: var(--blue);
}

.rios-card {
	border: 0 !important;
}

/* Editor colour palette classes */
.has-rios-blue-color { color: #0a5fc4; }
.has-rios-pink-color { color: #f0567f; }
.has-rios-orange-color { color: #f58a25; }
.has-navy-color { color: #10264a; }
.has-cream-color { color: #fff9f6; }
.has-white-color { color: #fff; }
.has-rios-blue-background-color { background-color: #0a5fc4; }
.has-rios-pink-background-color { background-color: #f0567f; }
.has-rios-orange-background-color { background-color: #f58a25; }
.has-navy-background-color { background-color: #10264a; }
.has-cream-background-color { background-color: #fff9f6; }
.has-white-background-color { background-color: #fff; }

/* 18. Posts, prose, comments ------------------------------------------ */
.prose {
	font-size: 1.08rem;
}

.prose > * {
	max-width: 72ch;
}

.prose--wide > *,
.prose--tight > * {
	max-width: none;
}

.prose--wide {
	padding-block: clamp(40px, 6vw, 72px);
}

.prose--wide > :not(.alignfull):not(.alignwide) {
	max-width: calc(780px + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.prose--wide > .alignwide {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.prose--tight {
	font-size: 1rem;
}

.prose h2 {
	margin-top: 1.6em;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.prose h3 {
	margin-top: 1.4em;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li {
	margin-bottom: 0.35em;
}

.prose a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose a:hover {
	color: var(--pink);
}

.prose blockquote {
	margin: 1.5em 0;
	padding: 18px 24px;
	border-left: 4px solid var(--pink);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--tint-pink);
	font-size: 1.15rem;
}

.prose img,
.prose figure img {
	border-radius: var(--radius-sm);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.entry-media {
	display: block;
	margin: 0 0 32px;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-media img {
	width: 100%;
}

.edit-link {
	margin-top: 32px;
	font-size: 0.9rem;
}

.edit-link a {
	color: var(--blue);
	text-decoration: underline;
}

.page-links {
	margin-top: 24px;
	font-weight: 600;
}

.post-card {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

.post-card .entry-media {
	margin: 0;
	border-radius: 0;
	aspect-ratio: 4 / 3;
}

.post-card .entry-media img {
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 22px 24px 26px;
}

.post-card__date {
	margin-bottom: 6px;
	color: var(--mute);
	font-size: 0.85rem;
}

.post-card__title a:hover {
	color: var(--pink);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
}

.pagination .nav-links {
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 99px;
	background: var(--card);
	border: 1px solid var(--line);
	font-weight: 600;
}

.pagination .page-numbers.current {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

.post-navigation a {
	display: block;
	padding: 18px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--card);
}

.post-navigation a:hover {
	border-color: var(--blue);
}

.post-nav__label {
	display: block;
	color: var(--mute);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.post-nav__title {
	color: var(--blue);
	font-weight: 600;
}

.comments {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}

.comment-list {
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding-left: 28px;
	list-style: none;
}

.comment-body {
	margin-bottom: 18px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--card);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	font-size: 0.82rem;
	color: var(--mute);
}

.comment-content {
	margin-top: 10px;
}

/* 19. Footer ----------------------------------------------------------- */
.site-footer {
	padding-top: clamp(48px, 7vw, 80px);
	background: var(--navy);
	color: #c9d5ee;
	font-size: 0.97rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
	gap: 40px;
	padding-bottom: 48px;
}

.site-footer .brand {
	color: #fff;
	margin-bottom: 16px;
}

.site-footer .brand img {
	width: 64px;
	height: 64px;
}

.site-footer__brand p {
	max-width: 34ch;
}

.site-footer__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-footer__links,
.site-footer__contact {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	transition: color 0.15s;
}

.site-footer__links a:hover,
.site-footer__contact a:hover,
.site-footer__bottom a:hover {
	color: #ff9ab5;
}

.site-footer__links .current-menu-item > a {
	color: #fff;
}

.site-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.site-footer__contact .icon {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	color: #ff9ab5;
}

.site-footer__contact a {
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	text-underline-offset: 3px;
}

.site-footer__hours {
	margin: 0;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8fa0c4;
	font-size: 0.88rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__credit a {
	color: #fff;
}

/* 20. 404 ------------------------------------------------------------- */
.not-found {
	min-height: 64vh;
	display: grid;
	align-items: center;
}

.not-found__inner {
	display: grid;
	grid-template-columns: 0.6fr 1.4fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.not-found__art {
	width: 100%;
	max-width: 260px;
	height: auto;
	margin-inline: auto;
	transform: rotate(-8deg);
	filter: drop-shadow(0 20px 20px rgba(16, 38, 74, 0.12));
}

/* 21. Responsive / motion --------------------------------------------- */
@media (max-width: 960px) {
	:root {
		--header-h: 68px;
	}

	.nav-toggle {
		display: block;
	}

	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		max-height: calc(100vh - var(--header-h));
		max-height: calc(100dvh - var(--header-h));
		margin: 0;
		padding: 16px var(--gutter) 24px;
		overflow-y: auto;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px rgba(16, 38, 74, 0.1);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}

	.is-open .site-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.site-nav__list a {
		padding: 12px 16px;
		border-radius: var(--radius-sm);
		font-size: 1.1rem;
	}

	.site-nav__cta {
		width: 100%;
	}

	.brand__name {
		font-size: 1.85rem;
	}

	.brand img {
		width: 46px;
		height: 46px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

@media (max-width: 800px) {
	.hero__grid,
	.split,
	.split--contact,
	.not-found__inner {
		grid-template-columns: 1fr;
	}

	.hero__stage {
		max-width: 380px;
		order: -1;
	}

	.media-frame::before {
		inset: 12px -10px -12px 10px;
	}

	.not-found__art {
		max-width: 160px;
	}

	.banner {
		flex-direction: column;
		align-items: flex-start;
	}

	.cta-strip {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 1rem;
	}

	.hero__ctas .btn,
	.banner__actions .btn {
		flex: 1 1 auto;
	}

	.plugin-form .row {
		grid-template-columns: 1fr;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.site-footer__bottom {
		flex-direction: column;
	}

	.card {
		padding: 22px;
	}

	.card--form {
		padding: 24px 20px;
	}

	.info-card {
		flex-direction: column;
		gap: 12px;
	}

	.product__media {
		height: 220px;
	}

	.product__media img {
		height: 180px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.banner,
	.nav-toggle {
		display: none !important;
	}
}
