/* Rashelle Stetman theme */
:root {
	--ink: #1e1d1b;
	--gesso: #f3f3f1;
	--paper: #ffffff;
	--pencil: #6e6b66;
	--rule: #d8d5cf;
	--panel: #a8804f;
	--night: #262421;
	--serif: "Bodoni Moda", "Didot", Georgia, serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 56px);
	--space: clamp(72px, 10vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--gesso);
	color: var(--ink);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--panel); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space) 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }

.icon { display: inline-flex; width: 22px; height: 22px; }
.icon svg { width: 100%; height: 100%; }

/* Type */
.h-display {
	font-family: var(--serif);
	font-weight: 400;
	font-optical-sizing: auto;
	font-size: clamp(38px, 5.2vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.015em;
}
.h-display--md { font-size: clamp(34px, 4vw, 56px); margin-bottom: 32px; }

/* Buttons and links */
.btn {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--ink);
	background: var(--ink);
	color: var(--gesso);
	font: 500 15px/1 var(--sans);
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--gesso); }
.btn--light { background: var(--gesso); border-color: var(--gesso); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--gesso); }

.link {
	display: inline-block;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--panel);
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}
.link:hover { text-decoration-thickness: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--gesso); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header__inner { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.wordmark { font: 500 23px/1 var(--serif); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; }
.wordmark--lg { font-size: 32px; }
.site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.site-nav .menu { display: flex; gap: 30px; }
.site-nav a { font-size: 15px; text-decoration: none; padding: 6px 0; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--panel); }
.site-nav__merch { padding-left: 30px !important; border-left: 1px solid var(--rule); }
.site-header__tools { display: flex; gap: 6px; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.nav-toggle { display: none; }

/* Hero */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; align-items: end; gap: 0; }
.hero__text { position: relative; z-index: 2; padding-bottom: clamp(16px, 4vw, 72px); }
.hero__name {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(56px, 9vw, 148px);
	line-height: .86;
	letter-spacing: -0.035em;
	margin-bottom: 44px;
}
.hero__name span { display: block; }
.hero__name span + span { padding-left: .4em; font-style: italic; }
.hero__lede { max-width: 30em; font-size: 18px; color: var(--ink); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__figure { position: relative; margin-left: auto; width: min(100%, 640px); }
.hero__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

/* Wall label */
.label { padding-top: 14px; font-size: 14px; line-height: 1.45; }
.label__title { display: block; font: italic 400 19px/1.3 var(--serif); margin-bottom: 2px; }
.label__meta { display: block; color: var(--pencil); }
.label__price { margin-top: 6px; font-weight: 500; }
.label__price.is-sold { color: var(--pencil); font-weight: 400; }
.label--overlay { position: absolute; left: -1px; bottom: -1px; background: var(--gesso); padding: 14px 20px 4px 0; }

/* Proof */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 44px 0; }
.proof__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: baseline; }
.proof__lead { color: var(--pencil); font-size: 16px; max-width: 26em; }
.proof__lead em { color: var(--ink); font-family: var(--serif); font-size: 1.08em; }
.proof__names { display: flex; flex-wrap: wrap; gap: 10px 34px; font: 400 clamp(20px, 2vw, 26px)/1.3 var(--serif); }

/* Section head */
.section__head { display: grid; grid-template-columns: 6fr 4fr 2fr; gap: 32px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section__head p { color: var(--pencil); max-width: 28em; }
.section__head .link { justify-self: end; }

/* Originals wall */
.art-wall { columns: 3; column-gap: clamp(20px, 3vw, 48px); }
.art { display: block; break-inside: avoid; margin-bottom: clamp(36px, 4.5vw, 64px); text-decoration: none; }
.art__frame { display: block; background: var(--paper); padding: clamp(10px, 1.4vw, 18px); box-shadow: 0 1px 0 var(--rule); transition: transform .35s ease; }
.art:hover .art__frame { transform: translateY(-4px); }
.art__frame img { width: auto; max-height: 560px; margin: 0 auto; }

/* Commissions */
.commissions { background: var(--paper); }
.commissions__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.commissions__intro { position: sticky; top: 120px; }
.commissions__intro p { color: var(--pencil); max-width: 26em; margin: 28px 0 36px; }
.commissions__list { display: grid; gap: clamp(40px, 5vw, 64px); }
.commission { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(20px, 3vw, 40px); align-items: center; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.commission:last-child { border-bottom: 0; padding-bottom: 0; }
.commission img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.commission h3 { font: 400 clamp(26px, 2.4vw, 34px)/1.1 var(--serif); margin-bottom: 14px; }
.commission p { color: var(--pencil); }

/* Brand */
.brand { background: var(--night); color: var(--gesso); }
.brand__head { display: grid; grid-template-columns: 5fr 5fr 2fr; gap: 32px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.brand__head p { color: #bdb8b0; max-width: 30em; }
.brand__head .btn { justify-self: end; white-space: nowrap; }
.brand__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 28px); }
.brand__item { display: flex; flex-direction: column; }
.brand__item:first-child { grid-row: span 2; }
.brand__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.brand__item:first-child .brand__img { flex: 1; aspect-ratio: auto; min-height: 320px; }
.brand__item:nth-child(4) { grid-column: span 2; }
.brand__item:nth-child(4) .brand__img { aspect-ratio: 2 / 1; }
.brand__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand__item figcaption { padding-top: 12px; font-size: 14px; color: #bdb8b0; display: flex; flex-direction: column; }
.brand__client { font: italic 400 19px/1.3 var(--serif); color: var(--gesso); }

/* Quote */
.quote blockquote { margin: 0; max-width: 1000px; }
.quote blockquote p { font: 400 clamp(28px, 3.6vw, 50px)/1.18 var(--serif); letter-spacing: -0.01em; text-indent: -0.4em; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote footer { margin-top: 32px; color: var(--pencil); font-size: 16px; }

/* Artist */
.artist { padding-top: 0; }
.artist__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 128px); align-items: center; }
.artist__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.artist__text p { max-width: 34em; margin-top: 22px; }
.artist__text .h-display { margin-bottom: 12px; }
.facts { margin: 40px 0; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.facts dt { color: var(--pencil); }

/* Shop */
.shop { padding-top: 0; }
.shop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.shop__panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); text-decoration: none; }
.shop__panel img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.shop__text { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); color: var(--pencil); font-size: 15px; }
.shop__title { font: 400 clamp(24px, 2.2vw, 30px)/1.15 var(--serif); color: var(--ink); }
.shop__text .link { margin-top: auto; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #bdb8b0; padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gesso); }
.site-footer__grid { display: grid; grid-template-columns: 5fr 2fr 2fr 2fr; gap: 40px; }
.site-footer__brand .wordmark { color: var(--gesso); display: inline-block; margin-bottom: 20px; }
.site-footer__brand p { max-width: 26em; }
.site-footer__head { color: var(--gesso); margin-bottom: 16px; font-weight: 500; }
.site-footer .menu li + li { margin-top: 8px; }
.socials { display: flex; gap: 6px; margin-left: -10px; }
.socials a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.site-footer__base { margin-top: 64px; font-size: 13px; }
.site-footer__base p { padding-top: 24px; border-top: 1px solid #3a3733; }

.page-body .prose { max-width: 720px; }

/* Responsive */
@media (max-width: 1100px) {
	.site-nav .menu { gap: 22px; }
	.site-header__inner { gap: 24px; }
	.art-wall { columns: 2; }
	.section__head, .brand__head { grid-template-columns: 1fr 1fr; }
	.section__head .link, .brand__head .btn { justify-self: start; }
	.shop__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: 76px 0 0 0; z-index: 49;
		flex-direction: column; align-items: flex-start; gap: 0;
		padding: 24px var(--gutter); background: var(--gesso);
		visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; }
	.site-nav li, .site-nav__merch { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .5s var(--ease); }
	.site-nav.is-open li, .site-nav.is-open .site-nav__merch { opacity: 1; transform: none; }
	.site-nav.is-open li:nth-child(2) { transition-delay: .05s; }
	.site-nav.is-open li:nth-child(3) { transition-delay: .1s; }
	.site-nav.is-open li:nth-child(4) { transition-delay: .15s; }
	.site-nav.is-open li:nth-child(5) { transition-delay: .2s; }
	.site-nav.is-open .site-nav__merch { transition-delay: .25s; }
	.site-nav .menu { flex-direction: column; gap: 0; width: 100%; }
	.site-nav a { display: block; font: 400 30px/1.2 var(--serif); padding: 12px 0; }
	.site-nav__merch { padding-left: 0 !important; border-left: 0; }
	.site-header__tools { margin-left: auto; }

	.hero__grid { grid-template-columns: 1fr; }
	.hero__name { margin-bottom: 28px; font-size: clamp(64px, 17vw, 128px); }
	.hero__text { padding-bottom: 40px; }
	.hero__figure { width: 100%; margin: 0; }
	.proof__grid { grid-template-columns: 1fr; gap: 20px; }
	.commissions__grid, .artist__grid { grid-template-columns: 1fr; }
	.commissions__intro { position: static; }
	.brand__grid { grid-template-columns: 1fr 1fr; }
	.brand__item:first-child { grid-column: span 2; grid-row: auto; }
	.brand__item:first-child .brand__img { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
	.brand__item:nth-child(4) .brand__img { aspect-ratio: 4 / 3; }
	.brand__item:nth-child(4) { grid-column: span 2; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: span 2; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.section__head, .brand__head { grid-template-columns: 1fr; gap: 18px; }
	.art-wall { columns: 1; }
	.commission { grid-template-columns: 1fr; }
	.commission img { aspect-ratio: 3 / 2; }
	.shop__panel { grid-template-columns: 1fr; }
	.shop__panel img { aspect-ratio: 3 / 2; }
	.hero__actions .btn { flex: 1 1 100%; justify-content: center; }
	.facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* Motion */
:root { --ease: cubic-bezier(.22, .9, .24, 1); }

.site-header { transition: border-color .2s, transform .45s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; }

/* Hero load sequence */
.hero__name .line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__name .line > span { display: block; }
.js .hero__name .line > span { transform: translateY(105%); }
.js .hero__lede, .js .hero__actions { opacity: 0; transform: translateY(18px); }
.js .hero__figure { clip-path: inset(100% 0 0 0); }
.js .hero__figure img { transform: scale(1.12); }
.js .hero__figure .label--overlay { opacity: 0; transform: translateX(-16px); }

.is-loaded .hero__name .line > span { transform: none; transition: transform 1.1s var(--ease); }
.is-loaded .hero__name .line--2 > span { transition-delay: .12s; }
.is-loaded .hero__figure { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease) .15s; }
.is-loaded .hero__figure img { transform: none; transition: transform 2.2s var(--ease) .15s; }
.is-loaded .hero__lede, .is-loaded .hero__actions { opacity: 1; transform: none; transition: opacity .9s ease .55s, transform .9s var(--ease) .55s; }
.is-loaded .hero__actions { transition-delay: .7s; }
.is-loaded .hero__figure .label--overlay { opacity: 1; transform: none; transition: opacity .7s ease 1.2s, transform .7s var(--ease) 1.2s; }

/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="wipe"] { opacity: 1; transform: none; overflow: hidden; }
.js [data-reveal="wipe"] img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.2s var(--ease), transform 1.8s var(--ease); }
.js [data-reveal="wipe"].is-in img { clip-path: inset(0 0 0 0); transform: none; }

.js [data-reveal-group] > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .7s var(--ease); }
.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* Image unveil inside art frames and brand tiles */
.art__frame, .brand__img, .commission img, .shop__panel img { overflow: hidden; }
.art__frame img, .brand__img img, .shop__panel img { transition: transform 1.2s var(--ease); }
.art:hover .art__frame img, .brand__item:hover .brand__img img, .shop__panel:hover img { transform: scale(1.04); }
.shop__panel { overflow: hidden; }

.js .art .art__frame, .js .brand__item .brand__img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease), transform .35s ease; transition-delay: var(--d, 0s); }
.js .art.is-in .art__frame, .js .brand__item.is-in .brand__img { clip-path: inset(0 0 0 0); }

.link { transition: text-decoration-thickness .2s, text-underline-offset .3s var(--ease); }
.link:hover { text-underline-offset: 9px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js [data-reveal-group] > *, .js .hero__name .line > span, .js .hero__lede, .js .hero__actions, .js .hero__figure .label--overlay { opacity: 1 !important; transform: none !important; }
	.js .hero__figure, .js [data-reveal="wipe"] img, .js .art .art__frame, .js .brand__item .brand__img { clip-path: none !important; }
	.js .hero__figure img, .js [data-reveal="wipe"] img { transform: none !important; }
}
