/* RYMIA Header & Footer Control */

:root {
	--rhfc-emerald: #0C3A2C;
	--rhfc-verdant: #14543F;
	--rhfc-gold: #C2A468;
	--rhfc-ivory: #F8F5EE;
	--rhfc-ink: #1A1A16;
	--rhfc-line: rgba(26, 26, 22, 0.12);
	--rhfc-light-line: rgba(248, 245, 238, 0.18);
	--rhfc-font-display: "Cormorant Garamond", "Times New Roman", serif;
	--rhfc-font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--rhfc-gutter: clamp(1rem, 2.8vw, 3rem);
	--rhfc-max: 1680px;
}

.rhfc-container {
	width: 100%;
	max-width: var(--rhfc-max);
	margin-inline: auto;
	padding-inline: var(--rhfc-gutter);
}

.rhfc-container--narrow {
	max-width: 1040px;
}

.rymia-hfc-header,
.rymia-hfc-footer,
.rhfc-drawer,
.rhfc-overlay {
	box-sizing: border-box;
	font-family: var(--rhfc-font-sans);
	letter-spacing: 0;
}

.rymia-hfc-header *,
.rymia-hfc-header *::before,
.rymia-hfc-header *::after,
.rymia-hfc-footer *,
.rymia-hfc-footer *::before,
.rymia-hfc-footer *::after,
.rhfc-drawer *,
.rhfc-drawer *::before,
.rhfc-drawer *::after {
	box-sizing: border-box;
}

.rymia-hfc-header a,
.rymia-hfc-footer a,
.rhfc-drawer a {
	color: inherit;
	text-decoration: none;
}

.rymia-hfc-header {
	position: relative;
	z-index: 900;
	background: color-mix(in srgb, var(--rhfc-ivory) 92%, transparent);
	color: var(--rhfc-ink);
	border-bottom: 1px solid transparent;
	backdrop-filter: saturate(140%) blur(16px);
	transition: border-color 220ms ease, background 220ms ease;
}

.rymia-hfc-header--sticky {
	position: sticky;
	top: 0;
}

.rymia-hfc-header.is-scrolled {
	border-bottom-color: var(--rhfc-line);
	background: color-mix(in srgb, var(--rhfc-ivory) 96%, transparent);
}

.rhfc-announcement {
	background: var(--rhfc-emerald);
	color: var(--rhfc-ivory);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.rhfc-announcement__inner {
	min-height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 3vw, 2.25rem);
	text-align: center;
}

.rhfc-announcement__inner > a,
.rhfc-announcement__inner > span {
	color: var(--rhfc-gold);
}

.rhfc-utility-nav ul,
.rhfc-primary-nav ul,
.rhfc-mobile-nav ul,
.rhfc-mobile-utility ul,
.rhfc-footer-col ul,
.rhfc-footer-contact ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rhfc-utility-nav ul,
.rhfc-primary-nav ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
}

.rhfc-utility-nav a {
	color: rgba(248, 245, 238, 0.82);
}

.rhfc-utility-nav a:hover {
	color: var(--rhfc-gold);
}

.rhfc-header-inner {
	min-height: 92px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
}

.rhfc-nav-side {
	display: flex;
	align-items: center;
	min-width: 0;
}

.rhfc-brand {
	justify-self: center;
	text-align: center;
}

.rhfc-brand a,
.rhfc-footer-brand > a {
	display: inline-grid;
	justify-items: center;
	line-height: 1;
}

.rhfc-logo {
	width: auto;
	max-width: min(220px, 52vw);
	max-height: 74px;
	object-fit: contain;
}

.rhfc-wordmark {
	display: block;
	font-family: var(--rhfc-font-display);
	font-size: clamp(1.65rem, 1.16rem + 1.35vw, 2.35rem);
	font-weight: 500;
	letter-spacing: 0.5em;
	text-indent: 0.5em;
	color: var(--rhfc-emerald);
	white-space: nowrap;
}

.rhfc-tagline {
	display: block;
	margin-top: 0.48rem;
	color: color-mix(in srgb, var(--rhfc-gold) 76%, var(--rhfc-ink));
	font-size: 0.56rem;
	font-weight: 500;
	letter-spacing: 0.42em;
	text-indent: 0.42em;
	text-transform: uppercase;
}

.rhfc-primary-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--rhfc-ink);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.rhfc-primary-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: var(--rhfc-gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 260ms ease;
}

.rhfc-primary-nav a:hover,
.rhfc-primary-nav .current-menu-item > a {
	color: var(--rhfc-emerald);
}

.rhfc-primary-nav a:hover::after,
.rhfc-primary-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.rhfc-actions {
	justify-self: end;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.7rem, 1.6vw, 1.35rem);
}

.rhfc-icon-button {
	position: relative;
	width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--rhfc-ink);
	cursor: pointer;
	transition: color 180ms ease;
}

a.rhfc-icon-button {
	display: inline-grid;
}

.rhfc-icon-button:hover {
	color: var(--rhfc-emerald);
}

.rhfc-icon-button svg {
	width: 21px;
	height: 21px;
}

.rhfc-cart-count {
	position: absolute;
	top: 1px;
	right: 0;
	min-width: 17px;
	height: 17px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--rhfc-emerald);
	color: var(--rhfc-ivory);
	font-size: 0.58rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}

.rhfc-header-cta {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 1.15rem;
	border: 1px solid color-mix(in srgb, var(--rhfc-gold) 70%, transparent);
	color: var(--rhfc-emerald);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.rhfc-header-cta:hover {
	background: var(--rhfc-emerald);
	border-color: var(--rhfc-emerald);
	color: var(--rhfc-ivory);
}

.rhfc-mobile-toggle {
	display: none;
}

.rhfc-overlay {
	position: fixed;
	inset: 0;
	z-index: 920;
	background: rgba(12, 58, 44, 0.42);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 240ms ease, visibility 240ms ease;
}

.rhfc-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.rhfc-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 930;
	width: min(420px, 88vw);
	display: flex;
	flex-direction: column;
	background: var(--rhfc-ivory);
	color: var(--rhfc-ink);
	box-shadow: 0 24px 70px rgba(12, 58, 44, 0.18);
	transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rhfc-drawer--left {
	left: 0;
	transform: translateX(-102%);
}

.rhfc-drawer--right {
	right: 0;
	transform: translateX(102%);
}

.rhfc-drawer.is-open {
	transform: translateX(0);
}

.rhfc-drawer__head {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem var(--rhfc-gutter);
	border-bottom: 1px solid var(--rhfc-line);
	color: color-mix(in srgb, var(--rhfc-gold) 76%, var(--rhfc-ink));
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.rhfc-drawer__head button {
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	color: var(--rhfc-ink);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.rhfc-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 1.35rem var(--rhfc-gutter) 2rem;
}

.rhfc-mobile-nav a {
	display: block;
	padding: 1rem 0;
	border-bottom: 1px solid var(--rhfc-line);
	font-family: var(--rhfc-font-display);
	font-size: 1.45rem;
	line-height: 1.15;
	color: var(--rhfc-emerald);
}

.rhfc-mobile-utility {
	margin-top: 1.5rem;
}

.rhfc-mobile-utility a {
	display: block;
	padding: 0.5rem 0;
	color: color-mix(in srgb, var(--rhfc-ink) 70%, transparent);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

body.rymia-hfc-no-scroll {
	overflow: hidden;
}

.rhfc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.2rem;
	color: var(--rhfc-gold);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.34em;
	text-transform: uppercase;
}

.rhfc-eyebrow::before,
.rhfc-eyebrow::after {
	content: "";
	width: 1.8rem;
	height: 1px;
	background: currentColor;
}

.rymia-hfc-footer {
	background: color-mix(in srgb, var(--rhfc-emerald) 94%, black);
	color: var(--rhfc-ivory);
}

.rhfc-footer-grid {
	display: grid;
	grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(130px, 0.8fr)) minmax(190px, 0.95fr);
	gap: clamp(1.75rem, 3vw, 4rem);
	padding-block: clamp(3.75rem, 7vw, 6.5rem);
}

.rhfc-footer-brand .rhfc-wordmark {
	color: var(--rhfc-ivory);
}

.rhfc-footer-brand .rhfc-tagline {
	color: var(--rhfc-gold);
}

.rhfc-footer-brand p {
	margin: 1.35rem 0 0;
	max-width: 36ch;
	color: rgba(248, 245, 238, 0.7);
	font-size: 0.92rem;
	line-height: 1.75;
}

.rhfc-footer-col h3,
.rhfc-footer-contact h3 {
	margin: 0 0 1.15rem;
	color: var(--rhfc-gold);
	font-family: var(--rhfc-font-sans);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

.rhfc-footer-col li,
.rhfc-footer-contact li {
	margin-bottom: 0.7rem;
	color: rgba(248, 245, 238, 0.72);
	font-size: 0.9rem;
	line-height: 1.45;
}

.rhfc-footer-col a,
.rhfc-footer-contact a {
	color: rgba(248, 245, 238, 0.8);
}

.rhfc-footer-col a:hover,
.rhfc-footer-contact a:hover {
	color: var(--rhfc-gold);
}

.rhfc-socials {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 1.45rem;
}

.rhfc-socials a {
	width: 34px;
	height: 34px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--rhfc-light-line);
	color: var(--rhfc-ivory);
	transition: color 180ms ease, border-color 180ms ease;
}

.rhfc-socials a:hover {
	border-color: var(--rhfc-gold);
	color: var(--rhfc-gold);
}

.rhfc-socials svg {
	width: 18px;
	height: 18px;
}

.rhfc-footer-bottom {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.2rem;
	border-top: 1px solid color-mix(in srgb, var(--rhfc-gold) 25%, transparent);
	color: rgba(248, 245, 238, 0.58);
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 1180px) {
	.rhfc-header-cta {
		display: none;
	}

	.rhfc-footer-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rhfc-footer-brand {
		grid-column: span 3;
	}
}

@media (max-width: 900px) {
	.rhfc-utility-nav,
	.rhfc-primary-nav {
		display: none;
	}

	.rhfc-mobile-toggle {
		display: inline-grid;
	}

	.rhfc-header-inner {
		min-height: 76px;
		grid-template-columns: 44px minmax(0, 1fr) auto;
	}

	.rhfc-brand {
		justify-self: center;
	}

	.rhfc-wordmark {
		font-size: clamp(1.45rem, 6vw, 1.9rem);
		letter-spacing: 0.34em;
		text-indent: 0.34em;
	}

	.rhfc-tagline {
		display: none;
	}

	.rhfc-actions {
		gap: 0.2rem;
	}

	.rhfc-actions .rhfc-icon-button[aria-label="Account"] {
		display: none;
	}
}

@media (max-width: 720px) {
	.rhfc-announcement {
		font-size: 0.58rem;
		letter-spacing: 0.14em;
	}

	.rhfc-announcement__inner {
		min-height: 34px;
	}

	.rhfc-footer-grid {
		grid-template-columns: 1fr;
		padding-block: 3.25rem;
	}

	.rhfc-footer-brand {
		grid-column: auto;
	}

	.rhfc-footer-bottom {
		align-items: flex-start;
		flex-direction: column;
		font-size: 0.62rem;
	}

}

@media (max-width: 480px) {
	.rhfc-actions .rhfc-icon-button[aria-label="Search"] {
		display: none;
	}

	.rhfc-wordmark {
		max-width: 45vw;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
