﻿/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
	--navy:        #1a2e5c;
	--navy-dark:   #112049;
	--orange:      #d62828;
	--orange-dark: #b71c1c;
	--white:       #ffffff;
	--off-white:   #f8f9fc;
	--gray-light:  #f2f3f7;
	--gray-mid:    #dde1ea;
	--text:        #333333;
	--muted:       #666b7a;
	--line:        #e0e3eb;
	--shadow-sm:   0 2px 8px rgba(26, 46, 92, 0.08);
	--shadow-md:   0 8px 28px rgba(26, 46, 92, 0.12);
	--shadow-lg:   0 20px 52px rgba(26, 46, 92, 0.16);
	--container:   1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: var(--text);
	background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { display: block; }

.container {
	width: min(var(--container), calc(100% - 2.5rem));
	margin: 0 auto;
}

h1, h2, h3, h4 {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	color: var(--navy);
	line-height: 1.1;
}
p { margin: 0.75rem 0 0; line-height: 1.7; }
p:first-child { margin-top: 0; }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border: none;
	border-radius: 999px;
	padding: 0.85rem 1.6rem;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
	white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
	background: var(--orange);
	color: var(--white);
	box-shadow: 0 10px 28px rgba(214, 40, 40, 0.34);
}
.button-primary:hover {
	background: var(--orange-dark);
	box-shadow: 0 14px 32px rgba(183, 28, 28, 0.42);
}
.button-secondary {
	background: var(--white);
	color: var(--navy);
	border: 2px solid var(--navy);
}
.button-secondary:hover { background: var(--gray-light); }
.button-wide { width: 100%; }

.section-label {
	margin: 0 0 0.6rem;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--navy);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 0.85rem 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	line-height: 1;
}
.brand-script,
.brand-tld {
	font-family: 'Pacifico', cursive;
	font-size: 1.55rem;
	color: var(--navy);
}
.brand-leaf { font-size: 1rem; }
.brand-logo {
	max-height: 46px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}
.main-nav a {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--navy);
	padding: 0.2rem 0;
	border-bottom: 2px solid transparent;
	transition: border-color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.is-active { border-bottom-color: var(--orange); }
.nav-sep {
	color: var(--gray-mid);
	font-size: 0.85rem;
	user-select: none;
}
.mobile-menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
}
.mobile-menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--navy);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu-panel {
	display: none;
	border-top: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	box-shadow: 0 14px 28px rgba(17, 32, 73, 0.08);
}
.mobile-menu-inner {
	display: grid;
	gap: 0.5rem;
	padding: 1rem 0 1.1rem;
}
.mobile-menu-inner a {
	padding: 0.85rem 0.2rem;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--navy);
	text-transform: uppercase;
	border-bottom: 1px solid rgba(224, 227, 235, 0.7);
}
.mobile-menu-inner a.is-active {
	color: var(--orange);
}
.mobile-menu-inner .mobile-menu-cta {
	margin-top: 0.4rem;
	border-bottom: 0;
	text-transform: uppercase;
}
.site-header.mobile-menu-open .mobile-menu-panel {
	display: block;
}
.site-header.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.site-header.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
	opacity: 0;
}
.site-header.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}
.header-cta { font-size: 0.8rem; }

.hero-section {
	position: relative;
	background-color: #e8dbd4;
	background-size: cover;
	background-position: left center;
	background-repeat: no-repeat;
	min-height: 480px;
	overflow: hidden;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 480px;
}



.ph-card {
	font-family: 'Pacifico', cursive;
	font-size: 1.5rem;
	color: var(--navy);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 0.6rem 0.8rem;
	border-radius: 6px;
	background: var(--white);
	box-shadow: var(--shadow-md);
}
.ph-card-back {
	width: 140px;
	height: 200px;
	transform: rotate(-8deg) translate(30px, 10px);
	background: linear-gradient(135deg, #fff8f4, #fff0e8);
}
.ph-card-front {
	width: 140px;
	height: 200px;
	transform: rotate(3deg) translate(-10px, -10px);
	gap: 0.4rem;
	z-index: 2;
}
.ph-card-photo {
	width: 100%;
	height: 120px;
	border-radius: 4px;
	background: linear-gradient(135deg, #c8dff0, #adc9e0);
}

.hero-text-side {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 3rem 4rem;
}
.hero-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(2.4rem, 4.5vw, 4rem);
	font-weight: 900;
	color: var(--navy);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin-bottom: 1.1rem;
}
.hero-sub {
	font-size: 1rem;
	color: var(--muted);
	margin-bottom: 1.6rem;
	line-height: 1.65;
}

.about-mac-section {
	padding: 3rem 0;
	background: linear-gradient(180deg, #fff 0%, #f9fafc 100%);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.about-mac-inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 1.5rem;
	align-items: start;
}
.about-mac-copy h2 {
	font-size: clamp(1.55rem, 2.4vw, 2.2rem);
	font-weight: 900;
	margin: 0.35rem 0 0.8rem;
	line-height: 1.2;
}
.about-mac-copy p {
	color: var(--muted);
	margin: 0.75rem 0 0;
	line-height: 1.7;
}
.about-mac-points {
	display: grid;
	gap: 0.8rem;
}
.about-point {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 1rem 1.05rem;
	box-shadow: var(--shadow-sm);
}
.about-point h3 {
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0 0 0.35rem;
}
.about-point p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--muted);
	line-height: 1.55;
}

.steps-section {
	background: var(--gray-light);
	padding: 3.5rem 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.steps-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 2.5rem;
}
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
.step-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 2rem 1.5rem;
	text-align: center;
	box-shadow: var(--shadow-sm);
}
.step-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 1.2rem;
	color: var(--navy);
}
.step-icon svg {
	width: 100%;
	height: 100%;
}
.step-card h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 0.6rem;
}
.step-card p {
	color: var(--muted);
	font-size: 0.94rem;
	line-height: 1.6;
	margin: 0;
}

.ink-section {
	padding: 4rem 0;
	background: var(--white);
}
.ink-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: center;
}
.ink-image-side {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	background: #e8edf5;
	min-height: 300px;
}
.ink-image-side img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
.ink-photo-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2.5rem 2rem;
	background: linear-gradient(135deg, #e6ecf7 0%, #d5dff5 100%);
}
.ink-addr-lines {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	font-family: 'Pacifico', cursive;
	font-size: 1rem;
	color: var(--navy);
	line-height: 1.5;
}
.ink-pen {
	width: 14px;
	height: 90px;
	background: linear-gradient(180deg, #c8a45a, #6b5020);
	border-radius: 2px 2px 0 0;
	transform: rotate(-30deg);
	margin-top: 1.5rem;
	position: relative;
	box-shadow: 2px 4px 12px rgba(0,0,0,0.2);
}
.ink-pen::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 12px solid #3a2a08;
}
.ink-text-side h2.ink-heading {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	font-weight: 900;
	margin: 0.5rem 0 1rem;
	line-height: 1.15;
}
.ink-text-side p { color: var(--muted); }

.gallery-section {
	padding: 3.5rem 0;
	background: linear-gradient(135deg, #f9f4eb 0%, #f3ede3 100%);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.gallery-title {
	text-align: center;
	margin: 0 0 0.4rem;
	font-size: 2rem;
	font-weight: 900;
}
.gallery-subtitle {
	text-align: center;
	margin: 0 0 2.5rem;
	color: var(--muted);
	font-size: 1.05rem;
}
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 320px));
	justify-content: center;
	gap: 1.4rem;
	margin-bottom: 2rem;
	margin-top: 1.5rem;
}
.gallery-card {
	background: transparent;
	border: 0;
	padding: 0;
	box-shadow: none;
	width: min(100%, 320px);
	margin: 0 auto;
	display: grid;
	gap: 0.7rem;
}
.gallery-flip-scene {
	perspective: 1200px;
	width: 100%;
	justify-self: center;
}
.gallery-flip-card {
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.65s ease;
}
.gallery-flip-card.is-flipped {
	transform: rotateY(180deg);
}
.gallery-flip-face {
	backface-visibility: hidden;
}
.gallery-flip-back {
	position: absolute;
	inset: 0;
	transform: rotateY(180deg);
}
.gallery-image-wrap {
	width: 100%;
	aspect-ratio: 5 / 7;
	height: auto;
	border-radius: 4px;
	overflow: hidden;
	background: #ece6db;
}
.gallery-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 12px solid #ffffff;
	box-shadow: 0 16px 34px rgba(20, 16, 12, 0.3), 0 3px 10px rgba(20, 16, 12, 0.18);
	transition: transform 0.2s ease;
}
.gallery-card:hover .gallery-image-wrap img {
	transform: scale(1.02);
}
.gallery-flip-button {
	justify-self: center;
	min-width: 130px;
	padding: 0.58rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.03em;
}
.gallery-card-content {
	padding: 0.95rem 0.15rem 0.2rem;
}
.gallery-card-content h3 {
	font-size: 1.06rem;
	margin: 0 0 0.4rem;
}
.gallery-card-content p {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.5;
}
.gallery-card-content {
	display: none;
}
.gallery-cta {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.business-section {
	background: var(--gray-light);
	border-top: 1px solid var(--line);
	padding: 3rem 0;
}
.business-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.business-copy h2 {
	font-size: 2rem;
	font-weight: 900;
	margin: 0.4rem 0 0.6rem;
}
.business-copy p { color: var(--muted); }

.site-footer {
	background: var(--navy);
	color: rgba(255,255,255,0.75);
	padding: 3rem 0 0;
}

/* ── multi-column body ── */
.footer-body {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand {
	display: inline-flex;
	align-items: baseline;
	gap: 0.15rem;
	text-decoration: none;
}
.footer-brand .brand-script { color: #fff; font-family: 'Pacifico', cursive; font-size: 1.35rem; }
.footer-brand .brand-tld    { color: var(--orange); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; }
.footer-brand .brand-leaf   { font-size: 1rem; }
.footer-logo { height: 36px; width: auto; }
.footer-tagline {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.65);
	max-width: 300px;
}
.footer-location { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

.footer-col-heading {
	margin: 0 0 0.85rem;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.footer-links a {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.65);
	text-decoration: none;
	transition: color 0.15s ease;
}
.footer-links a:hover { color: #fff; }

/* social icons on dark bg */
.site-footer .social-links { margin-top: 0.25rem; }
.site-footer .social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 999px;
	background: transparent;
	color: rgba(255,255,255,0.7);
	transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.site-footer .social-link svg { width: 16px; height: 16px; }
.site-footer .social-link:hover {
	transform: translateY(-1px);
	border-color: var(--orange);
	color: var(--orange);
}

/* ── bottom bar ── */
.footer-bottom { padding: 1rem 0; }
.footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.footer-bottom p {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255,255,255,0.45);
}
.payment-badges { display: flex; gap: 0.4rem; }
.pay-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 0 0.55rem;
	border: 1.5px solid var(--gray-mid);
	border-radius: 4px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.65rem;
	font-weight: 800;
	color: var(--navy);
	letter-spacing: 0.03em;
	background: var(--white);
}

/* Shared styles retained for form/admin pages */
.form-hero {
	background: linear-gradient(135deg, #edf3fd, #fdf3ec);
	padding: 2.5rem 0;
	border-bottom: 1px solid var(--line);
}
.form-hero-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.form-hero h1 {
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 0.5rem;
}
.form-hero p { color: var(--muted); max-width: 50ch; }
.form-note {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 1rem 1.2rem;
	font-size: 0.9rem;
	max-width: 280px;
}
.form-note strong { display: block; margin-bottom: 0.25rem; color: var(--navy); }

.order-section { padding: 2rem 0 3.5rem; }
.order-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(380px, 440px);
	gap: 1.75rem;
	align-items: start;
}
.order-form-card,
.info-card,
.auth-card,
.thank-you-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 1.75rem;
	box-shadow: var(--shadow-sm);
}
.order-sidebar { display: grid; gap: 1rem; }
.accent-card { background: linear-gradient(135deg, #fff8f2, #fffdf8); }

.card-preview-card {
	position: static;
}

.preview-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.45rem;
	margin-bottom: 0.9rem;
}

.preview-tab {
	border: 1px solid var(--gray-mid);
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	font-family: 'Montserrat', sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.55rem 0.8rem;
	cursor: pointer;
}

.preview-tab.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--white);
}

.card-preview-shell {
	position: relative;
	min-height: 430px;
	border: 1px solid #d5d8df;
	border-radius: 10px;
	overflow: hidden;
	background: #ececec;
}

.card-preview-stage {
	position: relative;
	min-height: 430px;
}

.card-preview-face {
	position: absolute;
	inset: 0;
	padding: 1.2rem;
	transition: opacity 0.2s ease;
}

.card-preview-front {
	display: grid;
	place-items: center;
	background: #ececec;
}

.card-front-stand {
	position: relative;
	width: min(300px, 84%);
	aspect-ratio: 5 / 7;
	filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.14));
}

.card-front-behind {
	position: absolute;
	top: 8px;
	right: 0;
	width: 94%;
	height: 94%;
	border: 1px solid #b9bcc3;
	background: #f4f4f4;
}

.card-front-cover {
	position: relative;
	z-index: 1;
	width: 94%;
	height: 100%;
	border: 1px solid #b9bcc3;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transform: rotate(-1deg);
}

.card-front-cover::after {
	content: none;
}

.card-front-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	border-radius: 0;
	background: #ffffff;
}

.card-front-placeholder {
	width: 100%;
	height: 100%;
	border: 0;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 1.2rem;
	color: var(--muted);
	font-size: 0.9rem;
	background: #ffffff;
}

.card-preview-inside {
	display: grid;
	place-items: center;
	background: #ececec;
}

.card-open-spread {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: min(100%, 500px);
	aspect-ratio: 10 / 7;
	background: #ffffff;
	border: 1px solid #b9bcc3;
	border-radius: 0;
	padding: 0;
	gap: 0;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.card-inside-panel {
	position: relative;
	padding: 1.35rem 1.15rem;
	background: #ffffff;
}

.card-inside-panel-left {
	background: #ffffff;
}

.card-inside-panel-right {
	display: grid;
	align-content: start;
	gap: 0.6rem;
	border-left: 1px solid #d7d9dd;
	overflow: hidden;
}

.card-inside-gutter {
	position: absolute;
	top: 0;
	right: -1px;
	width: 0;
	height: 100%;
	background: transparent;
}

.card-inside-to,
.card-inside-from {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #29334c;
}

.card-inside-message {
	margin: 0;
	color: #222938;
	font-size: 0.93rem;
	line-height: 1.58;
	white-space: pre-wrap;
	min-height: 92px;
}

.card-inside-heading {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.03rem;
	font-weight: 800;
	color: #16284f;
	line-height: 1.3;
}

.card-preview-shell[data-preview-side='front'] .card-preview-inside,
.card-preview-shell[data-preview-side='inside'] .card-preview-front {
	opacity: 0;
	pointer-events: none;
}

.card-preview-shell[data-preview-side='front'] .card-preview-front,
.card-preview-shell[data-preview-side='inside'] .card-preview-inside {
	opacity: 1;
	pointer-events: auto;
}

.hidden {
	display: none !important;
}

.image-crop-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
}

.cropper-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 27, 52, 0.72);
}

.cropper-dialog {
	position: relative;
	width: min(820px, calc(100% - 2rem));
	background: var(--white);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	z-index: 1;
}

.cropper-header {
	padding: 1rem 1.1rem;
	border-bottom: 1px solid var(--line);
}

.cropper-header h3 {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--navy);
}

.cropper-header p {
	margin-top: 0.35rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.cropper-body {
	position: relative;
	height: min(62vh, 520px);
	overflow: hidden;
	background: #e3e8f2;
}

.cropper-body img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	min-height: 0;
	opacity: 1;
}

.cropper-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.6rem;
	padding: 1rem 1.1rem;
	border-top: 1px solid var(--line);
}

/* CropperJS layer tuning: keep crop area clear and borders readable */
.cropper-container .cropper-modal {
	background: rgba(16, 27, 52, 0.5) !important;
	opacity: 1 !important;
}

.cropper-container .cropper-face {
	opacity: 0 !important;
	background-color: transparent !important;
}

.cropper-container .cropper-view-box {
	outline: 2px solid #ffffff;
	box-shadow: 0 0 0 1px rgba(17, 32, 73, 0.85);
}

.order-form,
.compact-form { display: grid; gap: 1.1rem; }

.image-tools {
	margin-top: 0.6rem;
	display: grid;
	gap: 0.45rem;
}

.image-tools small {
	color: var(--muted);
	font-size: 0.8rem;
}

label { display: grid; gap: 0.4rem; }
label span {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--navy);
}
input, textarea, select {
	width: 100%;
	font: inherit;
	font-size: 0.97rem;
	color: var(--text);
	background: var(--white);
	border: 1.5px solid var(--gray-mid);
	border-radius: 6px;
	padding: 0.75rem 0.9rem;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
	border-color: var(--orange);
	box-shadow: 0 0 0 3px rgba(244, 114, 34, 0.12);
}
textarea { resize: vertical; }

.field-grid { display: grid; gap: 1rem; }
.field-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.alert {
	padding: 0.9rem 1.1rem;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 500;
}
.alert ul { margin: 0; padding-left: 1.2rem; }
.alert-error { background: #fff2ef; color: #b7422d; border: 1px solid rgba(183,66,45,0.22); }
.alert-success { background: #edf8f3; color: #1f7a5a; border: 1px solid rgba(31,122,90,0.22); }

.auth-section,
.thank-you-section { padding: 4rem 0; }
.auth-card,
.thank-you-card {
	max-width: 520px;
	margin: 0 auto;
}
.auth-card h1,
.thank-you-card h1 { font-size: 1.8rem; font-weight: 900; margin-bottom: 0.5rem; }

/* ─── CONTACT PAGE ─────────────────────────────────────────── */
.contact-section { padding: 4rem 0 5rem; }
.contact-shell {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 2rem;
}
.contact-intro h1 { font-size: 2rem; font-weight: 900; margin-bottom: 0.75rem; }
.contact-intro a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.contact-form { display: grid; gap: 1.25rem; }

/* ─── LEGAL PAGES (Privacy / Terms) ─────────────────────────── */
.legal-section { padding: 4rem 0 5rem; }
.legal-shell {
	max-width: 800px;
	margin: 0 auto;
	display: grid;
	gap: 2.5rem;
}
.legal-header h1 { font-size: 2rem; font-weight: 900; margin-bottom: 0.5rem; }
.legal-meta { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--muted); }
.legal-body { display: grid; gap: 0; }
.legal-body h2 {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 2rem 0 0.5rem;
	color: var(--navy);
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-body h3 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.4rem; color: var(--navy); }
.legal-body p { font-size: 0.97rem; line-height: 1.75; color: var(--text); }
.legal-body ul {
	margin: 0.5rem 0 0.75rem;
	padding-left: 1.4rem;
	display: grid;
	gap: 0.35rem;
}
.legal-body ul li { font-size: 0.97rem; line-height: 1.65; color: var(--text); }
.legal-body a { color: var(--navy); text-decoration: underline; }
.legal-body a:hover { color: var(--orange); }

.info-card h2 {
	font-size: 1.05rem;
	font-weight: 800;
	margin-bottom: 0.6rem;
	color: var(--navy);
}
.info-card ul {
	margin: 0;
	padding-left: 1.2rem;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.9;
}

.dashboard-section { padding: 1.5rem 0 3rem; }
.dashboard-shell,
.detail-shell { display: grid; gap: 1.25rem; }

.dashboard-topbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--line);
	margin-bottom: 0.25rem;
}
.dashboard-topbar h1 { font-size: 1.9rem; font-weight: 900; }
.dashboard-topbar p { color: var(--muted); margin-top: 0.3rem; }
.dashboard-topbar .section-kicker {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--orange);
	margin: 0 0 0.2rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}
.stat-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 1.25rem 1.4rem;
	box-shadow: var(--shadow-sm);
}
.stat-card span { display: block; font-size: 0.84rem; color: var(--muted); margin-bottom: 0.4rem; }
.stat-card strong { display: block; font-size: 2.2rem; font-family: 'Montserrat', sans-serif; font-weight: 900; color: var(--navy); }

.dashboard-panel,
.detail-grid article {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
}
.dashboard-panel h2 {
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--navy);
	margin-bottom: 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--line);
}

.dashboard-filters {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
}
.dashboard-filters input,
.dashboard-filters select {
	width: auto;
	flex: 1;
	min-width: 180px;
}

.table-wrap { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th,
.orders-table td {
	padding: 0.85rem 0.75rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
	font-size: 0.9rem;
}
.orders-table th {
	font-family: 'Montserrat', sans-serif;
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
	background: var(--off-white);
}
.orders-table td strong { display: block; color: var(--navy); font-weight: 700; }
.orders-table td span { display: block; color: var(--muted); font-size: 0.84rem; }
.orders-table a { color: var(--orange); font-weight: 700; }
.orders-table a:hover { text-decoration: underline; }
.empty-state { text-align: center; color: var(--muted); padding: 2rem !important; }

.status-pill {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 0.3rem 0.75rem;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	background: var(--gray-light);
	color: var(--navy);
}
.status-new,
.status-in_review { color: #8a5300; background: #fff4d7; }
.status-queued_for_print { color: #2a5f8a; background: #daeeff; }
.status-mailed,
.status-completed { color: #1f7a5a; background: #e6f8ef; }
.status-cancelled { color: #b7422d; background: #ffeceb; }

.detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.order-art-actions {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin: 0 0 0.9rem;
}
.uploaded-preview {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--off-white);
	margin-bottom: 1rem;
}
.uploaded-preview img { width: 100%; object-fit: cover; }
.detail-copy { display: grid; gap: 0.4rem; font-size: 0.95rem; }
.detail-copy h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.25rem; }
.production-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
}
.production-item {
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--off-white);
	padding: 0.8rem;
}
.production-item h3 {
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin: 0 0 0.35rem;
}
.production-item p {
	margin: 0;
	font-size: 0.94rem;
	line-height: 1.45;
}
.production-item-full {
	grid-column: 1 / -1;
}
.address-blocks {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.7rem;
	margin-bottom: 1rem;
}
.address-card {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.85rem;
	background: var(--off-white);
}
.address-card h3 {
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.5rem;
	color: var(--muted);
}
.address-card p {
	margin: 0.18rem 0;
	line-height: 1.45;
}

@media (max-width: 900px) {
	.main-nav, .header-cta { display: none; }
	.mobile-menu-toggle { display: inline-flex; }

	.hero-section { min-height: 360px; background-position: center center; }
	.hero-inner { grid-template-columns: 1fr; }
	.about-mac-inner { grid-template-columns: 1fr; }
	.hero-photo-side { display: none; }
	.hero-text-side { position: static; width: 100%; padding: 2.5rem 1.5rem; align-items: center; text-align: center; }
	.card-preview-shell,
	.card-preview-stage { min-height: 390px; }
	.card-front-stand { width: min(250px, 78%); }
	.card-open-spread { width: min(100%, 440px); }

	.steps-grid { grid-template-columns: 1fr; gap: 1rem; }
	.gallery-grid {
		grid-template-columns: repeat(auto-fit, minmax(210px, 300px));
		justify-content: center;
	}

	.ink-grid,
	.order-layout,
	.detail-grid { grid-template-columns: 1fr; }
	.production-grid { grid-template-columns: 1fr; }

	.business-inner { flex-direction: column; align-items: flex-start; }

	.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.dashboard-topbar { flex-direction: column; align-items: flex-start; }

	.field-grid.two-up,
	.field-grid.three-up { grid-template-columns: 1fr; }

	.card-preview-card {
		position: static;
	}
}

@media (max-width: 900px) {
	.footer-body { grid-template-columns: 1fr 1fr; }
	.footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
	.footer-body { grid-template-columns: 1fr; }
	.footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
	.stats-grid { grid-template-columns: 1fr 1fr; }
	.form-hero-shell { flex-direction: column; }
	.hero-heading { font-size: 2.2rem; }
	.card-preview-shell,
	.card-preview-stage { min-height: 330px; }
	.card-preview-face { padding: 0.8rem; }
	.card-front-stand { width: min(220px, 84%); }
	.card-open-spread { width: min(100%, 320px); transform: none; }
	.card-inside-panel { padding: 1rem 0.9rem; }
	.card-inside-heading { font-size: 0.95rem; }
	.card-inside-message { font-size: 0.87rem; line-height: 1.45; min-height: 72px; }
}

