@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600;700&display=swap");

:root {
	--background: #f7f5f2;
	--foreground: #2c2421;
	--card: #f1edea;
	--primary: #81313e;
	--primary-foreground: #f7f5f2;
	--secondary: #dfd1c3;
	--secondary-foreground: #2c2421;
	--muted: #e9e6e2;
	--muted-foreground: #7e6f67;
	--accent: #3a6478;
	--accent-foreground: #f7f5f2;
	--border: #ded9d3;
	--wine-dark: #541c25;
	--white: #ffffff;
	--white-muted: #d9d9d9;
	--black: #000000;
	--shadow: #2c2421;
	--radius: 8px;
	--container: 1400px;
	--header-height: 64px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Source Sans 3", sans-serif;
	background: var(--background);
	color: var(--foreground);
}

body.modal-open {
	overflow: hidden;
}

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

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

button,
input,
textarea {
	font: inherit;
}

button {
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.container {
	width: min(100% - 32px, var(--container));
	margin: 0 auto;
}

.narrow {
	max-width: 768px;
}

.center {
	text-align: center;
}

.bg-background {
	background: var(--background);
}

.bg-card {
	background: var(--card);
}

.bg-muted {
	background: var(--muted);
}

.section-eyebrow {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--primary);
}

.section-title,
.hero-title,
.banner-title,
.quote-text,
.modal-title,
.contact-cta-title,
.product-title,
.footer-brand,
.site-brand {
	font-family: "Playfair Display", serif;
}

.section-title {
	margin: 0 0 24px;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	line-height: 1.1;
	font-weight: 700;
	color: var(--foreground);
}

.section-title.single-line {
	margin-bottom: 16px;
}

.section-copy {
	max-width: 640px;
	margin: 0 auto;
	font-size: 18px;
	line-height: 1.75;
	color: var(--muted-foreground);
}

.section-copy + .section-copy {
	margin-top: 28px;
}

.section-copy-large {
	font-size: clamp(1.125rem, 2vw, 1.3rem);
}

.text-gradient-wine {
	font-style: italic;
	background: linear-gradient(90deg, var(--primary), var(--wine-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: var(--radius);
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	transition: opacity 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button-primary {
	background: var(--primary);
	color: var(--primary-foreground);
}

.button-primary:hover {
	opacity: 0.92;
}

.button-secondary {
	border: 2px solid var(--primary);
	color: var(--primary);
	background: transparent;
}

.button-secondary:hover {
	background: var(--primary);
	color: var(--primary-foreground);
}

.button-large {
	padding: 16px 32px;
}

.button-full {
	width: 100%;
}

.site-nav {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	padding: 0;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-nav.is-scrolled {
	background: color-mix(in srgb, var(--background) 90%, transparent);
	backdrop-filter: blur(16px);
	border-color: var(--border);
	box-shadow: 0 6px 26px color-mix(in srgb, var(--shadow) 8%, transparent);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
}

.site-brand {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary);
}

.desktop-nav,
.footer-links {
	display: flex;
	align-items: center;
	gap: 32px;
}

.nav-link,
.footer-link {
	font-family: "Playfair Display", serif;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.25s ease;
}

.nav-link:hover,
.footer-link:hover {
	color: var(--primary);
}

.mobile-nav-toggle {
	display: none;
	position: relative;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.mobile-nav-toggle span {
	position: absolute;
	left: 0;
	width: 24px;
	height: 2px;
	background: var(--foreground);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-toggle span:nth-child(1) {
	transform: translateY(-7px);
}

.mobile-nav-toggle span:nth-child(2) {
	transform: translateY(0);
}

.mobile-nav-toggle span:nth-child(3) {
	transform: translateY(7px);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(0) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(0) rotate(-45deg);
}

.mobile-nav {
	background: var(--background);
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}

.mobile-nav-inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px 0;
}

.mobile-nav-link {
	font-size: 1rem;
	font-weight: 500;
	color: var(--foreground);
}

.hero-section {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	overflow: hidden;
}

.hero-video,
.parallax-media img,
.quote-image-wrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		color-mix(in srgb, var(--background) 70%, transparent) 0%,
		color-mix(in srgb, var(--background) 40%, transparent) 45%,
		var(--background) 100%
	);
}

.hero-content {
	position: relative;
	z-index: 1;
	padding-top: 80px;
	text-align: center;
}

.hero-title {
	margin: 0 0 24px;
	font-size: clamp(3rem, 10vw, 6rem);
	line-height: 1.05;
	font-weight: 700;
}

.hero-text {
	max-width: 680px;
	margin: 0 auto 40px;
	font-family: "Playfair Display", serif;
	font-size: clamp(1.25rem, 2.5vw, 2rem);
	font-weight: 600;
	line-height: 1.45;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.content-section {
	padding: 96px 0;
}

.section-heading {
	margin-bottom: 64px;
}

.image-banner {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-banner-tall {
	height: 320px;
}

.image-banner-medium {
	height: 280px;
}

.image-banner-quote {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 420px;
}

.parallax-media {
	position: absolute;
	inset: -20% 0;
	will-change: transform;
}

.quote-image-wrap {
	position: absolute;
	inset: 0;
}

.banner-overlay {
	position: absolute;
	inset: 0;
}

.banner-overlay-medium {
	background: color-mix(in srgb, var(--black) 50%, transparent);
}

.banner-overlay-strong {
	background: color-mix(in srgb, var(--black) 55%, transparent);
}

.banner-overlay-heavy {
	background: color-mix(in srgb, var(--black) 70%, transparent);
}

.banner-content,
.quote-content {
	position: relative;
	z-index: 1;
	padding: 0 24px;
	text-align: center;
}

.banner-title {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--white);
	text-shadow: 0 2px 8px color-mix(in srgb, var(--black) 70%, transparent);
}

.banner-text {
	max-width: 520px;
	margin: 12px auto 0;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--white);
	text-shadow: 0 1px 4px color-mix(in srgb, var(--black) 60%, transparent);
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	max-width: 1040px;
	margin: 0 auto;
}

.product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--background);
	box-shadow: 0 18px 40px color-mix(in srgb, var(--shadow) 10%, transparent);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card.is-empty,
.product-card[hidden],
.faq-item.is-empty {
	display: none !important;
}

.product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 24px 48px color-mix(in srgb, var(--shadow) 13%, transparent);
}

.product-image-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--muted);
}

.product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-card:hover .product-image {
	transform: scale(1.05);
}

.product-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.product-title {
	margin: 0 0 8px;
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	line-height: 1.15;
	font-weight: 600;
}

.product-price {
	margin: 0 0 10px;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--primary);
}

.product-price.is-empty {
	display: none;
}

.product-description {
	flex: 1;
	margin: 0 0 20px;
	font-size: 0.95rem;
	line-height: 1.75;
	color: var(--muted-foreground);
}

.mackenzie-section {
	padding: 80px 0;
}

.mackenzie-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 48px;
	align-items: center;
	max-width: 1120px;
	margin: 0 auto;
}

.media-card {
	max-width: 280px;
	margin: 0 auto;
}

.mackenzie-grid .media-card:first-child {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: 0 18px 42px color-mix(in srgb, var(--shadow) 15%, transparent);
}

.mackenzie-grid .media-card:first-child img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.media-card img,
.artist-image-frame img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	box-shadow: 0 18px 42px color-mix(in srgb, var(--shadow) 15%, transparent);
}

.mackenzie-copy {
	text-align: center;
}

.mackenzie-title {
	font-size: clamp(2rem, 3.2vw, 2.8rem);
	margin-bottom: 16px;
}

.mackenzie-text {
	max-width: 360px;
	font-size: 0.95rem;
}

.inline-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--accent);
}

.inline-link-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: inherit;
}

.inline-link-icon svg {
	width: 1em;
	height: 1em;
}

.inline-link:hover {
	text-decoration: underline;
}

.media-card-caption .media-caption {
	max-width: 280px;
	margin: 8px auto 0;
	font-size: 0.75rem;
	font-style: italic;
	line-height: 1.5;
	text-align: center;
	color: var(--muted-foreground);
}

.artist-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: center;
}

.artist-media {
	order: 1;
}

.artist-copy {
	order: 2;
}

.artist-copy .section-eyebrow,
.artist-copy .section-title,
.artist-copy .section-copy,
.artist-copy .divider-copy {
	margin-left: 0;
	margin-right: 0;
}

.artist-image-frame {
	max-width: 520px;
	margin: 0 auto;
}

.artist-title {
	margin-bottom: 24px;
}

.divider-copy {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
}

.divider-line {
	flex: 1;
	height: 1px;
	background: var(--border);
}

.divider-text {
	margin: 0;
	font-family: "Playfair Display", serif;
	font-size: 0.95rem;
	font-style: italic;
	color: var(--muted-foreground);
}

.faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--background);
	overflow: hidden;
}

.faq-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 22px 24px;
	text-align: left;
	font-family: "Playfair Display", serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--foreground);
	transition: color 0.25s ease;
}

.faq-trigger:hover {
	color: var(--primary);
}

.faq-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.faq-icon svg {
	width: 24px;
	height: 24px;
	transition: transform 0.2s ease;
	transform: rotate(180deg);
	color: currentColor;
}

.faq-item.is-open .faq-icon svg {
	transform: rotate(0deg);
}

.faq-panel {
	max-height: 0;
	padding: 0 24px;
	overflow: hidden;
	transition: max-height 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.is-open .faq-panel {
	padding-bottom: 22px;
}

.faq-answer {
	margin: 0;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--muted-foreground);
}

.contact-shell {
	max-width: 1040px;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.contact-card,
.contact-cta {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px;
	transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-card:hover {
	border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
	transform: translateY(-1px);
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius);
	background: color-mix(in srgb, var(--primary) 10%, transparent);
	color: var(--primary);
	transition: background-color 0.25s ease;
}

.contact-card:hover .contact-icon {
	background: color-mix(in srgb, var(--primary) 20%, transparent);
}

.contact-icon svg {
	width: 20px;
	height: 20px;
}

.contact-label {
	display: block;
	font-weight: 600;
	color: var(--foreground);
}

.contact-value {
	display: block;
	font-size: 0.95rem;
	color: var(--muted-foreground);
}

.contact-cta {
	margin-top: 48px;
	padding: 32px;
	text-align: center;
}

.contact-cta-title {
	margin: 0 0 12px;
	font-size: 2rem;
	font-weight: 700;
}

.contact-cta .section-copy {
	margin-bottom: 24px;
}

.quote-content {
	max-width: 960px;
}

.quote-text {
	margin: 0 0 24px;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.2;
	font-style: italic;
	font-weight: 500;
	color: var(--white);
	text-shadow: 0 2px 8px color-mix(in srgb, var(--black) 70%, transparent);
}

.quote-attribution {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--white) 80%, var(--white-muted));
	text-shadow: 0 1px 4px color-mix(in srgb, var(--black) 50%, transparent);
}

.site-footer {
	padding: 48px 0;
	background: var(--foreground);
}

.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.footer-brand {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--background);
}

.footer-tagline,
.footer-meta,
.footer-link {
	color: color-mix(in srgb, var(--background) 60%, transparent);
}

.footer-tagline {
	margin: 4px 0 0;
	font-size: 0.95rem;
}

.footer-bottom {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid color-mix(in srgb, var(--background) 10%, transparent);
	text-align: center;
}

.footer-meta {
	margin: 0;
	font-size: 0.95rem;
}

.footer-meta + .footer-meta {
	margin-top: 8px;
}

.footer-meta a:hover {
	color: var(--background);
}

.modal-shell {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 24px;
}

.modal-shell[hidden] {
	display: none;
}

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--black) 62%, transparent);
}

.modal-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 560px);
	max-height: calc(100vh - 96px);
	display: flex;
	flex-direction: column;
	padding: 24px 24px 20px;
	border-radius: var(--radius);
	background: var(--background);
	box-shadow: 0 24px 60px color-mix(in srgb, var(--shadow) 18%, transparent);
}

.modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 18px;
	height: 18px;
}

.modal-close span {
	position: absolute;
	top: 8px;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--foreground);
}

.modal-close span:first-child {
	transform: rotate(45deg);
}

.modal-close span:last-child {
	transform: rotate(-45deg);
}

.modal-dialog .modal-title {
	margin: 0 0 6px;
	font-size: 1.35rem;
	font-weight: 700;
}

.modal-dialog .modal-description {
	margin: 0 0 14px;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--muted-foreground);
}

.modal-dialog .modal-description a {
	color: var(--primary);
	text-decoration: underline;
}

.modal-dialog .commission-form {
	display: grid;
	gap: 10px;
}

.modal-dialog .field-label {
	display: grid;
	gap: 4px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--foreground);
}

.modal-dialog .field-label input,
.modal-dialog .field-label textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--background);
	padding: 8px 10px;
	font-size: 0.9rem;
	color: var(--foreground);
}

.modal-dialog .field-label input::placeholder,
.modal-dialog .field-label textarea::placeholder {
	color: var(--muted-foreground);
}

.modal-dialog .field-label textarea {
	resize: none;
	min-height: 60px;
}

.modal-dialog .button {
	padding: 10px 16px;
	font-size: 0.9rem;
	margin-top: 4px;
}

/* Fallback for non-modal use of these classes */
.modal-title {
	margin: 0 0 12px;
	font-size: 2rem;
	font-weight: 700;
}

.modal-description {
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--muted-foreground);
}

.commission-form {
	display: grid;
	gap: 16px;
}

.field-label {
	display: grid;
	gap: 6px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--foreground);
}

.field-label input,
.field-label textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--background);
	padding: 12px 14px;
	color: var(--foreground);
}

.field-label input::placeholder,
.field-label textarea::placeholder {
	color: var(--muted-foreground);
}

.field-label textarea {
	resize: none;
}

[data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (min-width: 768px) {
	.image-banner-tall {
		height: 420px;
	}

	.image-banner-medium {
		height: 360px;
	}

	.image-banner-quote {
		height: 480px;
	}
}

@media (max-width: 991px) {
	.desktop-nav {
		display: none;
	}

	.mobile-nav-toggle {
		display: inline-flex;
	}

	.products-grid,
	.contact-grid,
	.mackenzie-grid,
	.artist-grid,
	.footer-top {
		grid-template-columns: 1fr;
	}

	.footer-top {
		display: grid;
		text-align: center;
	}

	.footer-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 18px 24px;
	}

	.artist-media {
		order: 2;
	}

	.artist-copy {
		order: 1;
		text-align: center;
	}

	.artist-copy .section-copy {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 767px) {
	.content-section {
		padding: 80px 0;
	}

	.hero-content {
		padding-top: 96px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: center;
	}

	.hero-actions .button,
	.contact-cta .button {
		width: 100%;
	}

	.button {
		width: auto;
	}

	.quote-text {
		font-size: 2rem;
	}
}
