/* ==========================================================================
   Jewelry Showcase — main stylesheet
   Ivory / deep-purple / warm-orange watercolor gallery palette.
   Plain CSS, no build step.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Jost:wght@400;500;600&display=swap');

:root {
	--color-bg: #f8f1e6;
	--color-bg-alt: #f2e8d9;
	--color-ink: #2c241e;
	--color-ink-soft: #6f6156;
	--color-purple: #6a4a78;
	--color-purple-dark: #4f3559;
	--color-purple-deep: #2c1d33;
	--color-purple-pale: #e6d9ec;
	--color-orange: #d97c3f;
	--color-orange-dark: #b8622c;
	--color-gold: #c69a4a;
	--color-white: #fffdf9;
	--color-border: #e6d9c8;

	--font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--wrap-width: 1200px;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow-card: 0 14px 34px rgba(44, 29, 38, 0.14);
}

/* -------------------------------------------------------------------- */
/* Reset & base                                                         */
/* -------------------------------------------------------------------- */

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.18;
	margin: 0 0 0.5em;
	color: var(--color-ink);
}

h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--color-purple); outline-offset: 3px; }

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.wrap {
	max-width: var(--wrap-width);
	margin: 0 auto;
	padding: 0 32px;
}

.section { padding: 84px 0; }
.section__heading { text-align: center; }
.section__eyebrow {
	display: block;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-orange);
	margin-bottom: 0.7em;
}
.section__intro {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 2.5em;
	color: var(--color-ink-soft);
}
.section__more { text-align: center; margin-top: 2.5em; }

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */

.btn, .btn-schedule {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0.95em 1.9em;
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn--primary, .btn-schedule {
	background: var(--color-orange);
	color: var(--color-white);
}
.btn--primary:hover, .btn-schedule:hover {
	background: var(--color-orange-dark);
	transform: translateY(-1px);
}

.btn--ghost {
	background: transparent;
	border-color: var(--color-purple);
	color: var(--color-purple);
}
.btn--ghost:hover { background: var(--color-purple); color: var(--color-white); }

.btn--gold-outline {
	background: transparent;
	border-color: rgba(230, 210, 180, 0.6);
	color: #f0dcae;
}
.btn--gold-outline:hover { background: rgba(230, 210, 180, 0.12); }

.btn-schedule--nav {
	padding: 0.65em 1.5em;
	font-size: 0.72rem;
	background: transparent;
	border-color: var(--color-purple);
	color: var(--color-purple);
}
.btn-schedule--nav:hover { background: var(--color-purple); color: var(--color-white); }

/* -------------------------------------------------------------------- */
/* Watercolor washes — CSS blurred blobs, no image assets                */
/* -------------------------------------------------------------------- */

.wash { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; }
.wash--purple { background: var(--color-purple); opacity: 0.4; }
.wash--orange { background: var(--color-orange); opacity: 0.35; }
.wash--gold { background: var(--color-gold); opacity: 0.3; }

/* -------------------------------------------------------------------- */
/* Image placeholder — shown until the client uploads a real photo      */
/* -------------------------------------------------------------------- */

.ph-image {
	position: relative;
	width: 100%; height: 100%;
	overflow: hidden;
	background: linear-gradient(135deg, var(--color-purple-pale), #f0d9c8);
	display: flex; align-items: center; justify-content: center;
}
.ph-image::before {
	content: '';
	position: absolute; inset: 0;
	background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.5), transparent 55%);
}
.ph-image__label {
	position: relative;
	font-family: var(--font-body);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(44, 29, 38, 0.55);
	background: rgba(255, 253, 249, 0.85);
	padding: 0.7em 1.1em;
	border-radius: var(--radius-sm);
}

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */

.site-header {
	background: var(--color-bg);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 40;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 8px;
	padding-bottom: 8px;
	gap: 24px;
}

.site-header__brand { display: flex; align-items: center; }
.site-header__brand img,
.site-header__brand .custom-logo { height: 72px; width: auto; }

.site-header__name {
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 600;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 36px; height: 36px;
	background: none;
	border: none;
	cursor: pointer;
}
.nav-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-ink);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 30px;
}

.site-nav__list {
	display: flex;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a { color: var(--color-orange); }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding: 96px 0 90px; }
.hero .wash--purple { width: 480px; height: 480px; top: -180px; left: -160px; }
.hero .wash--orange { width: 460px; height: 460px; top: -80px; right: -180px; }

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 0.9fr;
	gap: 56px;
	align-items: center;
}

.hero__heading { margin-bottom: 0.3em; }
.hero__subheading {
	font-size: 1.1rem;
	color: var(--color-ink-soft);
	margin-bottom: 1.8em;
	max-width: 460px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__figure-frame {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	aspect-ratio: 4 / 5;
	background: var(--color-white);
}
.hero__figure-frame img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------------- */
/* Artwork grid & cards                                                  */
/* -------------------------------------------------------------------- */

.artwork-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 32px;
}

.artwork-card {
	display: block;
	background: var(--color-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.artwork-card:hover { transform: translateY(-4px); }

.artwork-card__image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-purple-pale); }
.artwork-card__image { width: 100%; height: 100%; object-fit: cover; }

.artwork-card__badge {
	position: absolute;
	top: 14px; left: 14px;
	padding: 0.3em 0.9em;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--color-white);
	color: var(--color-ink);
}
.artwork-card__badge--current { background: #e3ded1; color: #4a4335; }
.artwork-card__badge--upcoming { background: var(--color-purple-pale); color: var(--color-purple-dark); }
.artwork-card__badge--sold { background: var(--color-ink-soft); color: var(--color-white); }

.artwork-card__body { padding: 20px; }
.artwork-card__title { margin-bottom: 0.3em; font-size: 1.15rem; }
.artwork-card__teaser { color: var(--color-ink-soft); font-size: 0.92rem; margin: 0; }

/* -------------------------------------------------------------------- */
/* Gallery filters                                                       */
/* -------------------------------------------------------------------- */

.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 44px;
}
.gallery-filters__status { display: flex; gap: 8px; }

.filter-btn {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 0.5em 1.4em;
	font-family: var(--font-body);
	font-size: 0.85rem;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.filter-btn.is-active,
.filter-btn:hover {
	background: var(--color-purple);
	border-color: var(--color-purple);
	color: var(--color-white);
}

.gallery-filters__collection select {
	padding: 0.5em 1em;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: var(--color-white);
	font-family: var(--font-body);
}

.artwork-card[hidden] { display: none; }

/* -------------------------------------------------------------------- */
/* Featured / Current Pieces                                            */
/* -------------------------------------------------------------------- */

.current-pieces { background: var(--color-bg); }

/* -------------------------------------------------------------------- */
/* The Artist section                                                    */
/* -------------------------------------------------------------------- */

.artist { position: relative; overflow: hidden; background: var(--color-purple-deep); color: var(--color-white); }
.artist .wash--purple { width: 500px; height: 500px; top: -200px; left: 20%; opacity: 0.5; }
.artist .wash--gold { width: 360px; height: 360px; bottom: -160px; right: 10%; opacity: 0.18; }

.artist__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	min-height: 540px;
}
.artist__text { padding: 90px 64px; align-self: center; max-width: 480px; }
.artist__text h2 { color: var(--color-white); }
.artist__text p { color: rgba(255, 253, 249, 0.82); }
.artist__eyebrow { color: #e3a468; }

.artist__figure { position: relative; }
.artist__figure img,
.artist__figure .ph-image { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* -------------------------------------------------------------------- */
/* Private Viewings band                                                 */
/* -------------------------------------------------------------------- */

.viewings { position: relative; overflow: hidden; background: var(--color-bg-alt); }
.viewings .wash--orange { width: 420px; height: 420px; top: -160px; left: -100px; }
.viewings .wash--purple { width: 380px; height: 380px; bottom: -180px; right: -60px; }

.viewings__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
	padding: 56px 0;
}
.viewings__icon {
	flex: 0 0 auto;
	width: 68px; height: 68px;
	border-radius: 50%;
	background: var(--color-purple);
	color: var(--color-white);
	display: flex; align-items: center; justify-content: center;
}
.viewings__text { flex: 1 1 320px; }
.viewings__text h2 { margin-bottom: 0.3em; }
.viewings__text p { margin: 0; color: var(--color-ink-soft); }
.viewings__cta { flex: 0 0 auto; }

/* -------------------------------------------------------------------- */
/* Trust icons row                                                       */
/* -------------------------------------------------------------------- */

.trust { background: var(--color-bg); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust__icon { color: var(--color-purple); margin-bottom: 14px; }
.trust__item h3 {
	font-family: var(--font-body);
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 0.4em;
	color: var(--color-ink);
}
.trust__item p { font-size: 0.9rem; color: var(--color-ink-soft); margin: 0; }

/* -------------------------------------------------------------------- */
/* Single piece                                                          */
/* -------------------------------------------------------------------- */

.breadcrumbs {
	padding-top: 24px;
	font-size: 0.85rem;
	color: var(--color-ink-soft);
	display: flex;
	gap: 8px;
}
.breadcrumbs a:hover { color: var(--color-purple); }

.piece { padding: 32px 0 64px; }
.piece__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 48px;
	align-items: start;
}

.piece__gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.piece__photo-btn {
	padding: 0; border: none; background: none; cursor: zoom-in;
	border-radius: var(--radius); overflow: hidden;
}
.piece__photo { aspect-ratio: 4/5; object-fit: cover; width: 100%; }

.piece__title { margin-top: 0.4em; }
.piece__collections { color: var(--color-purple); font-size: 0.9rem; margin-bottom: 1em; }
.piece__description { color: var(--color-ink-soft); }

.piece__meta {
	display: grid;
	gap: 10px;
	margin: 1.5em 0;
	padding: 20px;
	background: var(--color-white);
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
}
.piece__meta > div { display: flex; justify-content: space-between; gap: 16px; }
.piece__meta dt { color: var(--color-ink-soft); }
.piece__meta dd { margin: 0; font-weight: 500; }

/* -------------------------------------------------------------------- */
/* Lightbox                                                              */
/* -------------------------------------------------------------------- */

.lightbox-overlay {
	position: fixed; inset: 0;
	background: rgba(26, 18, 30, 0.92);
	display: flex; align-items: center; justify-content: center;
	padding: 40px;
	z-index: 100;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay img { max-height: 88vh; max-width: 88vw; border-radius: var(--radius); }
.lightbox-close {
	position: absolute; top: 24px; right: 32px;
	background: none; border: none; color: var(--color-white);
	font-size: 2rem; cursor: pointer; line-height: 1;
}

/* -------------------------------------------------------------------- */
/* CTA / About teaser                                                    */
/* -------------------------------------------------------------------- */

.cta-schedule {
	background: var(--color-purple-deep);
	color: var(--color-white);
	text-align: center;
	padding: 76px 0;
}
.cta-schedule__heading { color: var(--color-white); }
.cta-schedule__text { color: rgba(255, 253, 249, 0.75); max-width: 520px; margin: 0 auto 1.8em; }

.about-teaser__inner { max-width: 720px; margin: 0 auto; text-align: center; }

.visit-studio__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 36px;
}
.visit-studio__address, .visit-studio__hours { margin: 0.2em 0; color: var(--color-ink-soft); }

/* -------------------------------------------------------------------- */
/* Journal / posts                                                       */
/* -------------------------------------------------------------------- */

.post-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 32px;
	margin-bottom: 40px;
}
.post-card {
	display: block;
	background: var(--color-white);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-card);
}
.post-card__image-wrap { aspect-ratio: 3/2; overflow: hidden; }
.post-card__image { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 18px 20px; }
.post-card__date { font-size: 0.8rem; color: var(--color-ink-soft); margin-bottom: 0.4em; }
.post-card__excerpt { color: var(--color-ink-soft); font-size: 0.95rem; }

.page--blog-single .blog-single__image { margin: 1.5em 0; border-radius: var(--radius); overflow: hidden; }

/* -------------------------------------------------------------------- */
/* FAQ accordion                                                         */
/* -------------------------------------------------------------------- */

.faq-list { margin-top: 2.5em; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid var(--color-border); padding: 20px 0; }
.faq-item__question {
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: 1.08rem;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
	content: '+';
	font-size: 1.4rem;
	color: var(--color-orange);
	flex-shrink: 0;
	transition: transform 0.15s ease;
}
.faq-item[open] .faq-item__question::after { transform: rotate(45deg); }
.faq-item__answer { color: var(--color-ink-soft); padding-top: 12px; }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------- */
/* About / Contact pages                                                 */
/* -------------------------------------------------------------------- */

.page { padding: 56px 0 64px; }
.page__title { text-align: center; }
.page__content { max-width: 680px; margin: 0 auto; color: var(--color-ink-soft); }

.page--about .about-portrait-wrap { max-width: 380px; margin: 0 auto 2.5em; }
.about-portrait-wrap img,
.about-portrait-wrap .ph-image { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-card); }

.page--contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-details { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 32px; }
.contact-details__item { margin-bottom: 1.4em; }
.contact-details__item h2 { font-size: 1.05rem; margin-bottom: 0.2em; }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */

.site-footer { position: relative; overflow: hidden; background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }
.site-footer .wash--purple { width: 360px; height: 360px; bottom: -180px; left: -100px; opacity: 0.22; }
.site-footer .wash--orange { width: 340px; height: 340px; top: -160px; right: -80px; opacity: 0.18; }

.site-footer__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: 32px;
	padding: 64px 24px 40px;
}
.site-footer__brand { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 0.4em; }
.site-footer__address, .site-footer__hours { color: var(--color-ink-soft); margin: 0.2em 0; }
.site-footer__col h4 {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1em;
	color: var(--color-ink);
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7em; font-size: 0.9rem; }
.site-footer__col a:hover { color: var(--color-purple); }
.site-footer__social { display: flex; gap: 10px; margin-top: 4px; }
.site-footer__social a {
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--color-purple);
	color: var(--color-white);
	display: flex; align-items: center; justify-content: center;
}
.site-footer__bottom {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 20px 24px;
	border-top: 1px solid var(--color-border);
	font-size: 0.82rem;
	color: var(--color-ink-soft);
}

/* -------------------------------------------------------------------- */
/* Pagination                                                            */
/* -------------------------------------------------------------------- */

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px; height: 36px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	color: var(--color-ink);
}
.pagination .page-numbers.current { background: var(--color-purple); border-color: var(--color-purple); color: var(--color-white); }

/* -------------------------------------------------------------------- */
/* Responsive                                                            */
/* -------------------------------------------------------------------- */

@media (max-width: 980px) {
	.hero__inner { grid-template-columns: 1fr; }
	.artist__grid { grid-template-columns: 1fr; }
	.artist__text { padding: 64px 32px; max-width: none; }
	.artist__figure img, .artist__figure .ph-image { min-height: 320px; }
	.trust__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.piece__inner,
	.page--contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.nav-toggle { display: flex; }

	.site-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--color-bg);
		border-bottom: 1px solid var(--color-border);
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 24px 28px;
		gap: 16px;
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; gap: 14px; }

	.trust__grid { grid-template-columns: 1fr; }

	.site-footer__inner { grid-template-columns: 1fr; text-align: center; }
	.site-footer__social { justify-content: center; }

	.piece__gallery { grid-template-columns: 1fr; }
}
