/* E + Me Designs — site
   Colours come from the dashboard as custom properties on #eme-root. */

.eme {
	--pink: #ec1b7a;
	--blue: #1f4fd8;
	--ink: #141018;
	--body: #54525e;
	--paper: #ffffff;
	--blush: #fdeaf2;
	--line: #f0dfe6;
	--mq: 38s;

	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--hand: "Caveat", "Segoe Script", cursive;
	--script: "Yellowtail", "Brush Script MT", cursive;

	--gut: clamp(18px, 4.4vw, 60px);
	--wrap: 1280px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--back: cubic-bezier(.34, 1.56, .64, 1);

	position: relative;
	color: var(--body);
	background: var(--paper);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Our own page templates skip the theme's styles, so nothing else removes the
   browser's default 8px body margin — which left a white strip down each side. */
body.eme-canvas { margin: 0; padding: 0; }

/* When the theme's own wrapper is around us, break out of its padding. */
.eme.eme--bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.eme *, .eme *::before, .eme *::after { box-sizing: border-box; }
.eme img { max-width: 100%; height: auto; display: block; }
.eme h1, .eme h2, .eme h3 { color: var(--ink); font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.015em; }
.eme p { margin: 0 0 1em; }
.eme a { color: inherit; text-decoration: none; }
.eme ul, .eme ol { margin: 0; padding: 0; }
.eme figure, .eme blockquote { margin: 0; }
.eme button { font: inherit; color: inherit; }
.eme :focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.eme .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eme .script { font-family: var(--script); color: var(--pink); font-weight: 400; letter-spacing: 0; padding: 0 .06em; }
.eme .pink { color: var(--pink); }

.eme .ph-empty { display: block; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--blush), #fff); }

/* Neutralise the theme's content styles. One class + element, which ties rules
   like ".entry-content p" and wins on load order; the design's own two-class
   rules below outrank it. */
.eme section, .eme header, .eme footer, .eme main, .eme nav,
.eme li, .eme form, .eme fieldset { margin: 0; padding: 0; }
.eme ul, .eme ol { list-style: none; }
.eme svg { margin: 0; max-width: 100%; }
.eme input, .eme textarea, .eme select { font-family: inherit; line-height: inherit; text-transform: none; }
.eme button { background: none; border: 0; text-transform: none; }

/* ---------------------------------------------------------------- motion */

.eme-js [data-reveal] {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity .9s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.eme-js [data-reveal="left"] { transform: translateX(-40px); }
.eme-js [data-reveal="right"] { transform: translateX(40px); }
.eme-js [data-reveal="zoom"] { transform: translateY(30px) scale(.95); }
.eme-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 900px) {
	.eme-js [data-reveal="left"]:not(.is-in),
	.eme-js [data-reveal="right"]:not(.is-in) { transform: translateY(28px); }
}
/* Belt and braces: nothing inside the site may widen the page. "clip" rather
   than "hidden", so the sticky header keeps working. */
@supports (overflow: clip) {
	.eme { overflow-x: clip; }
}

/* Handwriting writes itself on. */
.eme-js .fx-script .script,
.eme-js .fx-script [data-note] { clip-path: inset(0 102% -20% 0); }
.eme-js .fx-script [data-reveal].is-in .script { clip-path: inset(0 -6% -20% 0); transition: clip-path 1.1s var(--ease) calc(var(--d, 0s) + .35s); }
.eme-js .fx-script [data-note].is-in { clip-path: inset(0 -6% -20% 0); transition: clip-path 1.2s var(--ease) .3s; }

/* Fixed, so the hearts live in the window rather than being spread over the
   whole page — on a long page most of them would otherwise be off screen. */
.eme .eme-sky { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.eme .eme-float { position: absolute; top: var(--y); left: var(--x); width: var(--s); height: var(--s); opacity: 0; animation: eme-rise var(--t) linear var(--delay) infinite, eme-breathe var(--t) ease-in-out var(--delay) infinite; }
.eme .eme-float svg { width: 100%; height: 100%; }
/* Each heart drifts up its own distance, fading in on the way and out at the
   top, so they appear and disappear the way the splash page's do. */
@keyframes eme-rise {
	from { transform: translate3d(0, 0, 0) rotate(0deg); }
	to { transform: translate3d(var(--dx, 0px), calc(var(--rise, 160px) * -1), 0) rotate(var(--rot, 12deg)); }
}
@keyframes eme-breathe {
	0%, 100% { opacity: 0; }
	22%, 68% { opacity: var(--o); }
}

.eme > * { position: relative; z-index: 1; }

.eme-trail { position: fixed; z-index: 70; pointer-events: none; will-change: transform, opacity; }
.eme-trail svg { width: 100%; height: 100%; display: block; }

/* Logo motion: a slow shine sweeps the wordmark and the + turns over. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
	.eme.fx-logo .nav .logo__mark {
		background: linear-gradient(100deg, var(--ink) 38%, color-mix(in srgb, var(--pink) 60%, #fff) 50%, var(--ink) 62%) 0 0 / 300% 100%;
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		animation: eme-shine 7s ease-in-out 2s infinite;
	}
}
/* The + keeps its own colour, since the wordmark's text is clipped to a gradient. */
.eme.fx-logo .nav .logo__plus { color: var(--ink); -webkit-text-fill-color: currentColor; }
.eme.fx-logo .logo__plus { animation: eme-turn 8s cubic-bezier(.45, 0, .2, 1) 1.4s infinite; }
.eme.fx-logo .nav .logo:hover .logo__plus { color: var(--pink); }
@keyframes eme-shine { 0%, 62% { background-position: 118% 0; } 100% { background-position: -18% 0; } }
@keyframes eme-turn {
	0%, 52% { transform: rotate(0deg); }
	62% { transform: rotate(120deg); animation-timing-function: cubic-bezier(.33, 0, .25, 1); }
	76% { transform: rotate(342deg); }
	84% { transform: rotate(368deg); }
	92%, 100% { transform: rotate(360deg); }
}

/* ---------------------------------------------------------------- header */

.eme .nav { padding: clamp(12px, 1.4vw, 18px) 0; background: var(--paper); }
.eme .nav--sticky { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px); transition: padding .35s var(--ease), box-shadow .35s ease, background .35s ease; }
.eme .nav--sticky.is-stuck { padding: 10px 0; box-shadow: 0 10px 30px -22px rgba(20, 16, 24, .5); }
.admin-bar .nav--sticky { top: 32px; }

.eme .nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.eme .logo { display: inline-block; text-decoration: none; line-height: 1; }
.eme .logo__img { max-height: 84px; width: auto; transition: max-height .35s var(--ease); }
.eme .is-stuck .logo__img { max-height: 54px; }
.eme .logo__mark { position: relative; display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.7vw, 62px); color: var(--ink); letter-spacing: -.03em; line-height: 1; transition: font-size .35s var(--ease); }
.eme .logo__plus { display: inline-block; transition: color .4s ease; }
.eme .logo:hover .logo__plus { color: var(--pink); }
.eme .is-stuck .logo__mark { font-size: clamp(29px, 3.3vw, 42px); }
.eme .logo__tag { display: block; margin-top: 3px; font-size: clamp(12px, 1.05vw, 14.5px); letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.eme .logo__tag .script { font-size: 1.55em; line-height: 0; }
.eme .logo__heart { display: inline-block; width: 11px; height: 11px; margin-left: 3px; fill: var(--pink); vertical-align: 1px; }

.eme .nav__links { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); margin-left: auto; }
.eme .nav__links a { position: relative; text-decoration: none; color: var(--ink); font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; padding: 6px 0; }
.eme .nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--pink); transition: right .4s var(--ease); }
.eme .nav__links a:hover::after { right: 0; }
.eme .nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.eme .eme-cart { display: inline-flex; }
.eme .nav__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	background: var(--blush);
	color: var(--ink);
	text-decoration: none;
	transition: background .25s ease, color .25s ease, transform .25s ease;
}
.eme .nav__cart:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }
.eme .nav__cart svg { display: block; width: 23px; height: 23px; flex: none; }
.eme .nav__cart-count {
	position: absolute;
	top: -6px;
	right: -7px;
	display: grid;
	place-items: center;
	min-width: 23px;
	height: 23px;
	padding: 0 3px;
	border: 2px solid var(--paper);
	border-radius: 999px;
	background: var(--pink);
	color: #fff;
	font: 700 11px/1 var(--sans);
	font-variant-numeric: tabular-nums;
}

.eme .nav__burger { display: none; width: 44px; height: 38px; padding: 8px 6px; background: none; border: 0; cursor: pointer; }
.eme .nav__burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.eme .nav__burger span + span { margin-top: 6px; }
.eme .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.eme .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.eme .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */

.eme .hero { padding: clamp(8px, 1.2vw, 18px) 0 clamp(30px, 5vw, 60px); }
.eme .hero__in { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); align-items: center; gap: clamp(20px, 2.4vw, 40px); max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); }

.eme .hero__head { max-width: 14ch; font-size: clamp(34px, 4.3vw, 56px); font-weight: 500; letter-spacing: -.025em; }
.eme .hero__head .script { font-size: 1.06em; }
.eme .hero__eyebrow { margin: clamp(22px, 3vw, 38px) 0 6px; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.eme .hero__text { max-width: 30em; font-size: 17px; }
.eme .hero__foot { margin: 14px 0 0 4px; font-size: 13.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #7a7482; }

.eme .hero__art { position: relative; }
/* The words always sit above the photo, so nothing can ever cover them. */
.eme .hero__copy { position: relative; z-index: 2; }
.eme .photo { position: relative; margin: 0; overflow: hidden; border-radius: 26px; background: var(--blush); }
.eme .photo--hero { border-radius: 0; aspect-ratio: 5 / 4; background: var(--paper); overflow: visible; }
.eme .photo__slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.6s ease; }
.eme .photo__slide.is-on { opacity: 1; }
.eme .photo__slide img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); will-change: transform; }
/* The photo melts into the page on its left edge, as in the design. */
.eme .photo__fade { position: absolute; inset: -1px -1px -1px -2px; pointer-events: none; background:
	linear-gradient(to right, var(--paper) 0%, color-mix(in srgb, var(--paper) 72%, transparent) 14%, transparent 42%),
	linear-gradient(to bottom, var(--paper) 0%, transparent 9%),
	linear-gradient(to top, var(--paper) 0%, transparent 9%); }
.eme .photo img { width: 100%; height: 100%; object-fit: cover; }
.eme .photo--tilt { transition: transform .5s var(--ease), box-shadow .5s ease; will-change: transform; }
.eme .photo--tilt:hover { box-shadow: 0 40px 70px -50px rgba(20, 16, 24, .7); }

.eme .note {
	position: absolute;
	z-index: 2;
	isolation: isolate;
	margin: 0;
	font-family: var(--hand);
	font-weight: 600;
	font-size: clamp(22px, 2.3vw, 31px);
	line-height: 1.12;
	color: var(--blue);
	text-align: center;
	transform: rotate(-4deg);
	pointer-events: none;
	text-shadow: 0 1px 10px rgba(255, 255, 255, .95), 0 0 24px rgba(255, 255, 255, .9), 0 0 44px rgba(255, 255, 255, .75);
}
.eme .note::before {
	content: "";
	position: absolute;
	inset: -34% -22%;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, .5) 62%, rgba(255, 255, 255, 0));
	filter: blur(3px);
}
.eme .note--hero { top: clamp(12px, 5%, 40px); right: clamp(14px, 7%, 86px); }
.eme .note--about { left: clamp(10px, 4%, 34px); top: 34%; text-align: left; transform: rotate(-9deg); }
.eme .note__heart { display: block; width: 26px; height: 24px; margin: 4px auto 0; fill: none; stroke: var(--blue); stroke-width: 3; }
.eme .note--about .note__heart { margin-left: 8px; }

/* -------------------------------------------------------------- the form */

.eme .jform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eme .jform__fields { display: grid; gap: 10px; }
.eme .jform__lab { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.eme .jform__in {
	width: 100%;
	padding: 14px 20px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font: 400 16px/1.4 var(--sans);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
.eme .jform__in::placeholder { color: #b3abb6; }
.eme .jform__in:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 16%, transparent); }
.eme .jform__msg { margin: 10px 0 0; font-size: 15px; font-weight: 500; color: var(--pink); }
.eme .jform__msg.is-ok { color: var(--ink); }

/* Hero pill: one rounded box holding the field and the button. */
.eme .jform--inline .jform__fields {
	display: flex;
	align-items: center;
	gap: 0;
	max-width: 470px;
	padding: 5px 5px 5px 0;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	transition: border-color .25s, box-shadow .25s;
}
.eme .jform--inline:focus-within .jform__fields { border-color: var(--pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 14%, transparent); }
.eme .jform--inline .jform__in { border: 0; box-shadow: none; padding-left: 24px; min-width: 0; flex: 1; }
.eme .jform--inline .jform__in:focus { box-shadow: none; }
.eme .jform--inline .jform__btn { flex: none; }

.eme .btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	background: var(--pink);
	color: #fff;
	font: 600 13.5px/1 var(--sans);
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: transform .35s var(--back), box-shadow .35s ease, color .3s;
}
.eme .btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.eme .btn:hover, .eme .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 30px -18px color-mix(in srgb, var(--pink) 80%, #000); }
.eme .btn:hover::before, .eme .btn:focus-visible::before { transform: none; }
.eme .btn:active { transform: translateY(0) scale(.98); }
.eme .btn__arw { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.eme .btn:hover .btn__arw { transform: translateX(5px); }

.eme .btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.eme .btn--ghost::before { background: var(--pink); }
.eme .btn--ghost:hover { color: #fff; border-color: var(--pink); }
.eme .btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.eme .btn--line::before { background: var(--ink); }
.eme .btn--line:hover { color: #fff; }

.eme .btn__busy { display: none; gap: 5px; }
.eme .btn__busy i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: eme-dots 1s ease-in-out infinite; }
.eme .btn__busy i:nth-child(2) { animation-delay: .15s; }
.eme .btn__busy i:nth-child(3) { animation-delay: .3s; }
.eme .is-busy .btn__label { display: none; }
.eme .is-busy .btn__busy { display: inline-flex; }
@keyframes eme-dots { 50% { transform: translateY(-6px); } }

/* --------------------------------------------------------- bead ribbon */

.eme .mq { overflow: hidden; padding: 16px 0; background: var(--blush); border-block: 1px solid color-mix(in srgb, var(--pink) 14%, transparent); }
.eme .mq__track { display: flex; width: max-content; animation: eme-mq var(--mq) linear infinite; }
.eme .mq__set { display: flex; align-items: center; }
.eme .mq__w { padding: 0 6px; font-size: 13.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.eme .mq__bead { width: 22px; height: 22px; margin: 0 16px; fill: var(--pink); flex: none; }
.eme .mq__gl { fill: #fff; opacity: .55; }
@keyframes eme-mq { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- about */

.eme .about { padding: clamp(64px, 9vw, 130px) 0; }
.eme .about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(34px, 6vw, 92px); max-width: var(--wrap); margin: 0 auto; padding-right: var(--gut); }
.eme .about__art { position: relative; }
.eme .photo--about { border-radius: 0 26px 26px 0; aspect-ratio: 11 / 8; }
.eme .about__copy { text-align: center; }
.eme .about__head { font-size: clamp(30px, 4.2vw, 54px); font-weight: 500; }
.eme .about__sub { margin: 14px auto 0; max-width: 24em; font-size: clamp(17px, 1.5vw, 21px); color: #6a6472; }
.eme .rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: clamp(20px, 3vw, 34px) auto; max-width: 420px; }
.eme .rule i { flex: 1; height: 1.5px; background: var(--pink); }
.eme .rule__heart { width: 24px; height: 22px; fill: var(--pink); animation: eme-beat 2.4s ease-in-out infinite; }
@keyframes eme-beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.18); } 26% { transform: scale(.97); } 38% { transform: scale(1.08); } }
.eme .about__quote { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.35; color: var(--ink); }

/* -------------------------------------------------------------- promises */

.eme .promise { padding: clamp(26px, 4vw, 54px) 0 clamp(64px, 8vw, 116px); }
.eme .promise__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.eme .promise__it { padding: 10px clamp(14px, 2vw, 30px); text-align: center; }
.eme .promise__it + .promise__it { border-left: 1.5px solid color-mix(in srgb, var(--pink) 30%, transparent); }
.eme .promise__ic { display: block; color: var(--pink); }
.eme .promise__ic .ic { width: 42px; height: 42px; margin: 0 auto 12px; transition: transform .45s var(--back); }
.eme .promise__it:nth-child(4n) .promise__ic { color: var(--blue); }
.eme .promise__it:hover .ic { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.eme .promise__it h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); line-height: 1.5; }
.eme .promise__it p { margin: 8px 0 0; font-size: 15px; color: #7a7482; }

/* ------------------------------------------------------------ shop strip */

.eme .shop {
	display: grid;
	grid-template-columns: 1.15fr repeat(3, 1fr);
	align-items: stretch;
	grid-auto-rows: var(--tile-h);
	gap: 6px;
	padding: 6px 0;
	background: var(--paper);
	--tile-h: clamp(260px, 26vw, 360px);
}
.eme .shop__panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	padding: clamp(30px, 4vw, 54px) clamp(24px, 3.4vw, 56px);
	background: var(--blush);
}
.eme .shop__eyebrow { margin: 0; font-size: clamp(13px, 1.1vw, 15px); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--pink) 82%, #000); line-height: 1.9; }
.eme .shop__heart { width: 26px; height: 24px; fill: var(--pink); }

.eme .shop__tile {
	position: relative;
	display: block;
	overflow: hidden;
	height: 100%;
	background: var(--blush);
	text-decoration: none;
	isolation: isolate;
}
.eme .shop__shot { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--blush); }
.eme .shop__shot img,
.eme .shop__shot .ph-empty {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: transform 1s var(--ease);
}
.eme .shop__shot img { transform: scale(1.14); transform-origin: center top; }
.eme .shop__tile::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(14, 10, 18, .82) 0%, rgba(14, 10, 18, .45) 26%, rgba(14, 10, 18, .05) 55%, rgba(14, 10, 18, 0) 75%);
	opacity: 0;
	transition: opacity .45s ease;
}
.eme .shop__tile:hover .shop__shot img,
.eme .shop__tile:focus-visible .shop__shot img { transform: scale(1.2); }
.eme .shop__tile:hover::after,
.eme .shop__tile:focus-visible::after { opacity: 1; }
.eme .shop__tile--no-caption::after { display: none; }

/* The name (and price, when it comes from the shop). */
.eme .shop__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: grid;
	gap: 3px;
	padding: 20px 18px 18px;
	color: #fff;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .4s ease, transform .5s var(--ease);
}
.eme .shop__tile:hover .shop__cap,
.eme .shop__tile:focus-visible .shop__cap { opacity: 1; transform: none; }
.eme .shop__name { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; text-shadow: 0 1px 12px rgba(14, 10, 18, .8); }
.eme .shop__price { font-family: var(--serif); font-size: 17px; letter-spacing: 0; text-shadow: 0 1px 12px rgba(14, 10, 18, .8); }
.eme .shop__price del { opacity: .7; margin-right: 6px; }
.eme .shop__price ins { text-decoration: none; }

/* A little pink pill that slides in on hover. */
.eme .shop__peek {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--pink);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .35s ease, transform .45s var(--back);
}
.eme .shop__tile:hover .shop__peek,
.eme .shop__tile:focus-visible .shop__peek { opacity: 1; transform: none; }

/* Straight from the shop: the name and price stay on, over a soft gradient. */
.eme .shop--live .shop__tile::after { opacity: .85; }
.eme .shop--live .shop__cap { opacity: 1; transform: none; }
.eme .shop--live .shop__tile:hover::after { opacity: 1; }

/* Newest pieces, drifting right to left: square photo, name, price, View. */
/* It sits in the same centred column as the rest of the page; full width, the
   panel was pinned to the far left of a big screen with empty space on the right. */
.eme .shop.shop--scroll {
	grid-template-columns: minmax(260px, 1fr) minmax(0, 3.2fr);
	grid-auto-rows: auto;
	gap: clamp(10px, 1.4vw, 20px);
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 6px var(--gut);
}
.eme .shop--scroll .shop__panel { border-radius: 24px; }
.eme .shop__scroller {
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-behavior: auto;
	scrollbar-width: thin;
	scrollbar-color: color-mix(in srgb, var(--pink) 40%, transparent) transparent;
	padding: clamp(20px, 2.4vw, 32px) 0;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.eme .shop__scroller.is-auto { scrollbar-width: none; }
.eme .shop__scroller.is-auto::-webkit-scrollbar { display: none; }
.eme .shop__scroller:focus-visible { outline-offset: -3px; }
.eme .shop__track {
	display: flex;
	gap: clamp(14px, 1.6vw, 22px);
	width: max-content;
	margin: 0;
	padding: 0 clamp(18px, 2vw, 28px);
	list-style: none;
}
.eme .pcard { flex: none; width: clamp(168px, 16vw, 236px); margin: 0; padding: 0; }
.eme .pcard__link { display: flex; flex-direction: column; gap: 12px; height: 100%; color: var(--ink); text-decoration: none; }
.eme .pcard__img {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 18px;
	background: var(--blush);
	box-shadow: 0 14px 28px -22px rgba(20, 16, 24, .55);
	transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.eme .pcard__img img,
.eme .pcard__img .ph-empty {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: transform .9s var(--ease);
}
.eme .pcard__name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 2.7em; /* two lines, so every card's price lines up */
	padding: 0 2px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.eme .pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -4px; padding: 0 2px; }
.eme .pcard__price { font-family: var(--serif); font-size: 17px; line-height: 1.2; color: var(--ink); }
.eme .pcard__price del { opacity: .55; margin-right: 4px; font-size: .85em; }
.eme .pcard__price ins { text-decoration: none; color: var(--pink); }
.eme .pcard__price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eme .pcard__btn {
	flex: none;
	padding: 6px 15px;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	transition: background .3s, border-color .3s, color .3s;
}
.eme .pcard__link:hover .pcard__img,
.eme .pcard__link:focus-visible .pcard__img { transform: translateY(-4px); box-shadow: 0 22px 34px -22px color-mix(in srgb, var(--pink) 70%, #000); }
.eme .pcard__link:hover .pcard__img img,
.eme .pcard__link:focus-visible .pcard__img img { transform: scale(1.06); }
.eme .pcard__link:hover .pcard__btn,
.eme .pcard__link:focus-visible .pcard__btn { background: var(--pink); border-color: var(--pink); color: #fff; }
.eme .pcard__link:focus-visible { outline-offset: 4px; }

/* --------------------------------------------------------- custom orders */

.eme .custom { padding: clamp(70px, 9vw, 140px) 0; }
.eme .custom__in { max-width: 1060px; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.eme .custom__head h2 { font-size: clamp(28px, 4vw, 50px); font-weight: 500; }
.eme .custom__head p { margin: 16px auto 24px; max-width: 34em; }
.eme .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 40px); margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; list-style: none; text-align: left; }
.eme .steps__it { position: relative; padding: 28px 26px 24px; border: 1.5px solid var(--line); border-radius: 26px 26px 26px 4px; background: #fff; transition: transform .5s var(--back), border-color .4s, box-shadow .5s; }
.eme .steps__it:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--pink) 45%, transparent); box-shadow: 0 30px 50px -40px rgba(236, 27, 122, .8); }
.eme .steps__n { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 30px; font-style: italic; color: var(--pink); }
.eme .steps__it h3 { font-size: 22px; margin-bottom: 6px; }
.eme .steps__it p { margin: 0; font-size: 15.5px; }

/* --------------------------------------------------------- join the list */

.eme .join { padding: 0 var(--gut) clamp(70px, 9vw, 120px); }
.eme .join__in { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(46px, 6vw, 78px) clamp(24px, 5vw, 80px) clamp(34px, 4vw, 54px); background: var(--blush); border-radius: 210px 210px 30px 30px; text-align: center; }
.eme .join__heart { width: 40px; height: 36px; fill: var(--pink); animation: eme-beat 2.4s ease-in-out infinite; }
.eme .join__head { margin: 10px auto 0; max-width: 16ch; font-size: clamp(26px, 3.4vw, 42px); font-weight: 500; }
.eme .join__text { margin: 12px auto 22px; max-width: 34em; }
.eme .join .jform { max-width: 420px; margin: 0 auto; text-align: left; }
.eme .join .jform__fields { gap: 12px; }
.eme .join .btn { width: 100%; margin-top: 4px; }
.eme .join__done { display: grid; gap: 6px; justify-items: center; }
.eme .join__done h3 { font-size: clamp(24px, 3vw, 34px); }

/* ---------------------------------------------------------------- footer */

.eme .foot { padding: clamp(34px, 4vw, 52px) var(--gut) 24px; background: var(--ink); color: #cdc6d2; }
.eme .foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px clamp(24px, 4vw, 56px); max-width: 980px; margin: 0 auto; }
.eme .foot .logo__mark, .eme .foot .logo__tag { color: #fff; }
.eme .foot__note { margin: 10px 0 0; font-size: 14.5px; max-width: 30ch; }
.eme .foot__links { display: flex; flex-wrap: wrap; gap: 8px clamp(16px, 2vw, 30px); }
.eme .foot__links a { text-decoration: none; font-size: 15px; transition: color .25s; }
.eme .foot__links a:hover { color: #fff; }
.eme .foot__social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eme .foot__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; color: #fff; transition: transform .4s var(--back), background .3s, border-color .3s; }
.eme .foot__social a:hover { transform: translateY(-3px) rotate(-8deg); background: var(--pink); border-color: var(--pink); }
.eme .foot__social svg { width: 19px; height: 19px; }
.eme .foot__copy { max-width: 980px; margin: clamp(20px, 3vw, 32px) auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; text-align: center; }

/* --------------------------- the shop wearing the site's header + footer */

.eme-shop-page {
	margin: 0;
	background: var(--paper, #fff);
	color: var(--body, #54525e);
	font-family: var(--sans, inherit);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.eme-shop-page *, .eme-shop-page *::before, .eme-shop-page *::after { box-sizing: border-box; }
.eme-shop-page img { max-width: 100%; height: auto; }
.eme-shop a { color: var(--pink, #ec1b7a); }

.eme-shop {
	max-width: var(--shop-w, 1180px);
	margin: 0 auto;
	padding: clamp(26px, 4vw, 56px) clamp(18px, 4.4vw, 60px) clamp(50px, 7vw, 90px);
}
.eme-shop h1, .eme-shop h2, .eme-shop h3 {
	font-family: var(--serif, Georgia, serif);
	font-weight: 600;
	color: var(--ink, #141018);
	letter-spacing: -.015em;
	line-height: 1.12;
}
.eme-shop .woocommerce-breadcrumb {
	margin-bottom: 22px;
	font-size: 13px;
	letter-spacing: .04em;
	color: #7a7482;
}
.eme-shop .woocommerce-breadcrumb a { color: inherit; }
.eme-shop .woocommerce-breadcrumb a:hover { color: var(--pink, #ec1b7a); }
.eme-shop-page .eme-shop .woocommerce-products-header__title { font-size: clamp(30px, 4vw, 50px); margin: 0 0 18px; }
.eme-shop__title { font-size: clamp(30px, 4vw, 50px); margin: 0 0 22px; }
.eme-shop .woocommerce { margin: 0; }


/* Ordinary pages: a post, search results, the 404. */
.eme-page p, .eme-page ul, .eme-page ol, .eme-page blockquote { margin: 0 0 1.1em; }
/* Comfortable reading width for an ordinary page of text. */
.eme-page > p, .eme-page > ul, .eme-page > ol, .eme-page > h2, .eme-page > h3,
.eme-page > blockquote, .eme-page > .eme-shop__title { max-width: 68ch; }
.eme-page ul, .eme-page ol { padding-left: 1.4em; }
.eme-page li { margin-bottom: .4em; }
.eme-page h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 1.4em 0 .5em; }
.eme-page h3 { font-size: clamp(20px, 2vw, 26px); margin: 1.3em 0 .4em; }
.eme-page a { color: var(--pink, #ec1b7a); }
.eme-page img { border-radius: 18px; }
.eme-page__meta { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #7a7482; }
.eme-page__art { margin: 0 0 26px; }
.eme-page__list { list-style: none; padding: 0; display: grid; gap: 26px; }
.eme-page__list > li { padding-bottom: 22px; border-bottom: 1px solid #f0dfe6; }
.eme-page__list > li > a {
	display: block;
	font-family: var(--serif, Georgia, serif);
	font-size: clamp(21px, 2.2vw, 28px);
	color: var(--ink, #141018);
	text-decoration: none;
	line-height: 1.2;
}
.eme-page__list > li > a:hover { color: var(--pink, #ec1b7a); }
.eme-page__list p { margin: 6px 0 0; }
.eme-page__thumb { display: block; margin-bottom: 12px; }
.eme-page__btn {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	background: var(--pink, #ec1b7a);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
}
.eme-page__btn:hover { background: var(--ink, #141018); color: #fff; }
.eme-page .pagination, .eme-page .nav-links { margin-top: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.eme-page .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid #f0dfe6; text-decoration: none; }
.eme-page .page-numbers.current { background: var(--pink, #ec1b7a); color: #fff; border-color: transparent; }

/* The little Edit buttons, shown only to whoever can edit the site. */
.eme-edit {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--pink, #ec1b7a);
	color: #fff !important;
	font-family: var(--sans, sans-serif);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .25s ease, transform .25s ease;
	box-shadow: 0 10px 20px -12px rgba(20, 16, 24, .9);
}
.eme-edit:focus-visible { opacity: 1; transform: none; }
.eme section:hover > .eme-edit,
.eme header:hover > .eme-edit,
.eme footer:hover > .eme-edit,
.eme .shop:hover > .eme-edit,
.eme .mq:hover > .eme-edit { opacity: .95; transform: none; }
.eme-edit:hover { background: var(--ink, #141018); }

/* Sections need to be positioned for the Edit button to sit on them. */
/* The header is left out: it is already positioned (sticky), and listing it
   here, later in the file at the same strength, quietly un-stuck it. */
.eme .hero, .eme .mq, .eme .about, .eme .promise,
.eme .shop, .eme .custom, .eme .join, .eme .foot { position: relative; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1040px) {
	.eme .shop { grid-template-columns: repeat(2, 1fr); }
	.eme .shop__panel { grid-column: 1 / -1; align-items: center; text-align: center; }
	.eme .shop { --tile-h: clamp(190px, 42vw, 300px); }
	.eme .shop__eyebrow { letter-spacing: .18em; }
	.eme .shop.shop--scroll { grid-template-columns: minmax(0, 1fr); }
	.eme .pcard { width: clamp(150px, 40vw, 220px); }
}

@media (max-width: 900px) {
	.eme .hero__in, .eme .about__in { grid-template-columns: 1fr; padding: 0 var(--gut); }
	.eme .hero__in { gap: 30px; }
	/* The shop strip goes edge to edge on phones, like the big photos. */
	.eme .shop.shop--scroll { padding: 6px 0; gap: 0; }
	.eme .shop--scroll .shop__panel { border-radius: 0; }
	/* Both big photos run edge to edge: out through the page gutter on each side. */
	.eme .hero__art { order: -1; }
	.eme .hero__art, .eme .about__art { margin-inline: calc(-1 * var(--gut)); max-width: none; }
	.eme .photo--hero, .eme .photo--about { border-radius: 0; aspect-ratio: 4 / 3; overflow: hidden; }
	.eme .photo__slide { border-radius: inherit; }
	.eme .photo__fade { display: none; }
	.eme .note--about { left: calc(var(--gut) + 4px); }
	.eme .note--hero { right: calc(var(--gut) + 4px); }
	.eme .promise__in { gap: 6px 0; }
	.eme .promise__it + .promise__it { border-left: 0; }
	.eme .promise__it:nth-child(2n) { border-left: 1.5px solid color-mix(in srgb, var(--pink) 30%, transparent); }

	.eme .nav__burger { display: block; }
	.eme .nav__links {
		position: absolute;
		left: 0; right: 0; top: 100%;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 10px var(--gut) 22px;
		background: var(--paper);
		box-shadow: 0 24px 40px -30px rgba(20, 16, 24, .8);
		clip-path: inset(0 0 100% 0);
		visibility: hidden;
		pointer-events: none;
		transition: clip-path .45s var(--ease), visibility .45s;
	}
	.eme .nav__links a { width: 100%; padding: 12px 0; font-size: 19px; border-bottom: 1px solid var(--line); }
	.eme .nav.is-open .nav__links { clip-path: inset(0 0 -30% 0); visibility: visible; pointer-events: auto; }
}

/* Phones: always two by two, with one line between the rows and none on top.
   (Auto-fit gave two columns on wider phones, and "every item after the first
   gets a top line" then put a line over the top-right item only.) */
@media (max-width: 620px) {
	.eme .promise__in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
	.eme .promise__it { padding: 22px 10px; }
	.eme .promise__it + .promise__it { border-left: 0; }
	.eme .promise__it:nth-child(2n) { border-left: 0; }
	.eme .promise__it:nth-child(n+3) { border-top: 1.5px solid color-mix(in srgb, var(--pink) 26%, transparent); }
	.eme .promise__it h3 { letter-spacing: .14em; }
	.eme .promise__it:last-child:nth-child(odd) { grid-column: 1 / -1; }

}

@media (max-width: 560px) {
	.eme { font-size: 16px; }
	.eme .hero__head { font-size: clamp(34px, 10vw, 46px); }
	.eme .note--hero { font-size: 21px; top: 10px; right: calc(var(--gut) + 4px); }

	/* The hero pill stacks, so the email field gets the full width. */
	.eme .jform--inline .jform__fields { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; border: 0; background: none; }
	.eme .jform--inline:focus-within .jform__fields { box-shadow: none; }
	.eme .jform--inline .jform__in { padding: 14px 20px; border: 1.5px solid var(--line); border-radius: 999px; }
	.eme .jform--inline .jform__in:focus { border-color: var(--pink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 16%, transparent); }
	.eme .jform--inline .jform__btn { width: 100%; }
	.eme .shop { grid-template-columns: repeat(2, 1fr); }
	.eme .shop__tile:last-child:nth-child(even) { grid-column: 1 / -1; }
	.eme .join__in { border-radius: 200px 200px 24px 24px; }
	.eme .foot__in { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	.eme *, .eme *::before, .eme *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
	.eme .eme-sky { display: none; }
	.eme-js .fx-script .script, .eme-js .fx-script [data-note] { clip-path: none; }
}
