/* ==========================================================================
   etsy.warren.digital — Etsy-styled design system
   Warren Velázquez · pitch for Head of Design Operations
   Light warm marketplace UI. No framework. No build step.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@1,9..144,600..900&display=swap");

/* ---------- tokens ---------- */
:root {
  --es-orange: #f1641e;
  --es-orange-dk: #d2540f;
  --es-orange-soft: #fdece3;

  --es-ink: #222222;
  --es-ink-2: #595959;
  --es-ink-3: #77726b;

  --es-line: #dddcd8;
  --es-line-soft: #eeedea;

  --es-canvas: #ffffff;
  --es-cream: #faf6f1;
  --es-toast: #fdebd2;
  --es-mint: #dbede7;
  --es-lav: #edeafb;
  --es-sky: #e6f1fb;

  --es-star: #222222;
  --es-good: #1f7a4d;
  --es-warn: #a2601a;

  --es-wrap: 1220px;
  --es-r-sm: 6px;
  --es-r: 12px;
  --es-r-lg: 18px;
  --es-r-pill: 999px;

  --es-shadow-1: 0 1px 2px rgba(34, 34, 34, .06), 0 2px 8px rgba(34, 34, 34, .05);
  --es-shadow-2: 0 2px 6px rgba(34, 34, 34, .08), 0 12px 28px rgba(34, 34, 34, .10);
  --es-shadow-3: 0 18px 60px rgba(34, 34, 34, .22);

  --es-ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--es-canvas);
  color: var(--es-ink);
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }

:where(a, button, [tabindex], input, summary):focus-visible {
  outline: 3px solid var(--es-orange);
  outline-offset: 2px;
  border-radius: var(--es-r-sm);
}

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

/* ---------- layout helpers ---------- */
.es-wrap { width: 100%; max-width: var(--es-wrap); margin: 0 auto; padding: 0 24px; }
.es-section { padding: 64px 0; }
.es-section.tight { padding: 40px 0; }
.es-section.cream { background: var(--es-cream); }
.es-section.toast { background: var(--es-toast); }
.es-center { text-align: center; }
.es-mt-8 { margin-top: 8px; }
.es-mt-16 { margin-top: 16px; }
.es-mt-24 { margin-top: 24px; }
.es-mt-40 { margin-top: 40px; }
.es-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.es-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.es-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* ---------- type ---------- */
.es-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--es-ink-3);
}
.es-h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 700; letter-spacing: -.022em; }
.es-h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; letter-spacing: -.02em; }
.es-h3 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; }
.es-serif {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-style: italic; font-weight: 700;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.es-lead {
  max-width: 68ch; margin: 12px 0 0;
  font-size: clamp(16px, 1.5vw, 18px); color: var(--es-ink-2);
}
.es-note {
  margin: 16px 0 0; padding: 14px 16px;
  background: var(--es-toast);
  border: 1px solid rgba(34, 34, 34, .08);
  border-radius: var(--es-r);
  font-size: 14.5px; color: var(--es-ink);
}
.es-note strong { font-weight: 700; }
.es-fine { font-size: 13px; color: var(--es-ink-3); }

.es-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; font-size: 13.5px; color: var(--es-ink-2);
}
.es-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--es-line); }

.es-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border: 1px solid var(--es-line); border-radius: var(--es-r-pill);
  background: var(--es-canvas);
  font-size: 12.5px; font-weight: 600; color: var(--es-ink-2); white-space: nowrap;
}

.es-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--es-r-pill);
  background: var(--es-orange-soft); color: var(--es-orange-dk);
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
}
.es-badge--star { background: var(--es-lav); color: #4b3a9e; }
.es-badge--mint { background: var(--es-mint); color: #1a5f4a; }
.es-badge--toast { background: var(--es-toast); color: #8a5312; }
.es-badge--sky { background: var(--es-sky); color: #14568c; }
.es-badge--lav { background: var(--es-lav); color: #4b3a9e; }
.es-badge--met { background: var(--es-mint); color: #1a5f4a; }
.es-badge--partial { background: var(--es-toast); color: #8a5312; }

.es-prose { max-width: 74ch; }
.es-prose p { margin: 0 0 14px; color: var(--es-ink-2); font-size: 15.8px; }
.es-prose p:last-child { margin-bottom: 0; }
.es-prose strong { color: var(--es-ink); font-weight: 700; }
.es-prose h4 {
  margin: 24px 0 8px; font-size: 16px; letter-spacing: 0;
}

/* ---------- buttons ---------- */
.es-btn {
  --btn-bg: var(--es-orange);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 0; border-radius: var(--es-r-pill);
  background: var(--btn-bg); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .18s var(--es-ease), transform .18s var(--es-ease), box-shadow .18s var(--es-ease);
}
.es-btn:hover { background: var(--es-orange-dk); transform: translateY(-1px); box-shadow: var(--es-shadow-1); }
.es-btn:active { transform: translateY(0); }
.es-btn-primary { --btn-bg: var(--es-orange); }
.es-btn-dark { --btn-bg: var(--es-ink); }
.es-btn-dark:hover { background: #000; }
.es-btn-outline {
  background: transparent; color: var(--es-ink);
  border: 1.5px solid var(--es-ink);
}
.es-btn-outline:hover { background: var(--es-ink); color: #fff; }
.es-btn-ghost {
  background: var(--es-canvas); color: var(--es-ink);
  border: 1.5px solid var(--es-line);
}
.es-btn-ghost:hover { background: var(--es-cream); color: var(--es-ink); border-color: var(--es-ink-3); }
.es-btn-sm { padding: 9px 16px; font-size: 14px; }
.es-btn-block { width: 100%; }

.es-btn-heart {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 50%; border: 1.5px solid var(--es-line);
  background: var(--es-canvas); color: var(--es-ink-2);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: all .18s var(--es-ease);
}
.es-btn-heart:hover { border-color: var(--es-ink); color: var(--es-ink); transform: scale(1.06); }
.es-btn-heart[aria-pressed="true"] { color: var(--es-orange); border-color: var(--es-orange); background: var(--es-orange-soft); }

/* ---------- nav ---------- */
.es-nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--es-canvas);
  border-bottom: 1px solid var(--es-line-soft);
}
.es-nav-inner {
  max-width: var(--es-wrap); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 18px;
}
.es-logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  text-decoration: none; flex: 0 0 auto;
}
.es-word {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic; font-weight: 900;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-size: 28px; letter-spacing: -.02em;
  color: var(--es-orange);
}
.es-logo .es-sub {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--es-ink-3); margin-left: 4px;
}

.es-search {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--es-ink); border-radius: var(--es-r-pill);
  background: var(--es-canvas);
  padding: 3px 3px 3px 16px;
  transition: box-shadow .18s var(--es-ease);
}
.es-search:focus-within { box-shadow: 0 0 0 3px var(--es-orange-soft); }
.es-search input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: none; background: transparent;
  font: inherit; font-size: 15px; color: var(--es-ink); padding: 8px 0;
}
.es-search input::placeholder { color: var(--es-ink-3); }
.es-search button {
  flex: 0 0 38px; width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: var(--es-orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .18s var(--es-ease);
}
.es-search button:hover { background: var(--es-orange-dk); }

.es-nav-icons { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.es-nav-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--es-ink); text-decoration: none;
  transition: background .18s var(--es-ease);
  position: relative;
}
.es-nav-icon:hover { background: var(--es-cream); }
.es-nav-icon .count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: var(--es-r-pill);
  background: var(--es-orange); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
}
.es-nav-cta { flex: 0 0 auto; }
.es-nav-burger { display: none; }

/* category bar */
.es-catbar {
  border-bottom: 1px solid var(--es-line-soft);
  background: var(--es-canvas);
  position: sticky; top: 69px; z-index: 55;
}
.es-catbar-inner {
  max-width: var(--es-wrap); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 26px;
  overflow-x: auto; scrollbar-width: none;
}
.es-catbar-inner::-webkit-scrollbar { display: none; }
.es-catbar a {
  position: relative; flex: 0 0 auto;
  padding: 13px 0; text-decoration: none;
  font-size: 14.5px; font-weight: 600; color: var(--es-ink-2);
  white-space: nowrap;
  transition: color .16s var(--es-ease);
}
.es-catbar a:hover { color: var(--es-ink); }
.es-catbar a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--es-ink); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--es-ease);
}
.es-catbar a:hover::after { transform: scaleX(1); }
.es-catbar a[aria-current="page"] { color: var(--es-ink); }
.es-catbar a[aria-current="page"]::after { transform: scaleX(1); background: var(--es-orange); }

/* ---------- breadcrumb ---------- */
.es-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  font-size: 13px; color: var(--es-ink-3); margin: 0 0 18px;
}
.es-crumb a { text-decoration: none; }
.es-crumb a:hover { text-decoration: underline; }
.es-crumb .sep { opacity: .6; }

/* ---------- listing hero (the "item" = Warren) ---------- */
.es-listing-hero { padding: 32px 0 56px; }
.es-listing-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px;
  align-items: start;
}

.es-gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.es-thumbs { display: flex; flex-direction: column; gap: 10px; }
.es-thumb {
  width: 72px; height: 72px; padding: 0;
  border: 1.5px solid var(--es-line); border-radius: var(--es-r-sm);
  background: var(--es-cream); overflow: hidden; cursor: pointer;
  transition: border-color .16s var(--es-ease), transform .16s var(--es-ease);
}
.es-thumb img, .es-thumb svg { width: 100%; height: 100%; object-fit: cover; }
.es-thumb:hover { border-color: var(--es-ink-3); transform: translateY(-1px); }
.es-thumb[aria-current="true"] { border-color: var(--es-ink); border-width: 2px; }

.es-gallery-main {
  position: relative; border-radius: var(--es-r-lg); overflow: hidden;
  background: var(--es-cream); border: 1px solid var(--es-line-soft);
  aspect-ratio: 4 / 3;
}
.es-gallery-main img, .es-gallery-main svg {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
}
.es-gallery-main .es-gallery-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
}
/* single-image gallery (about hero): keep the portrait from towering on wide screens */
.es-gallery--solo { grid-template-columns: minmax(0, 1fr); }
.es-gallery--solo .es-gallery-main {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  max-height: 460px;
}
.es-gallery--solo .es-gallery-main img { object-position: center 18%; }
@media (max-width: 1040px) {
  .es-gallery--solo .es-gallery-main { max-height: 380px; }
}

.es-gallery-cap {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
  color: #fff; font-size: 13px; font-weight: 600;
}

.es-listing-panel { padding-top: 4px; }
.es-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  margin: 4px 0 2px;
}
.es-price .v { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.es-price .l { font-size: 13px; font-weight: 600; color: var(--es-ink-3); }
/* role variant: sits under an H1, so it must not compete with it */
.es-price--role { flex-direction: column; gap: 3px; }
.es-price--role .v { font-size: clamp(17px, 1.9vw, 20px); font-weight: 700; }

.es-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.es-rating .stars { color: var(--es-star); letter-spacing: 1px; font-size: 15px; }
.es-rating .n { color: var(--es-ink-2); text-decoration: underline; text-underline-offset: 2px; }

.es-highlights { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.es-highlights li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px;
  font-size: 15px; color: var(--es-ink-2);
}
.es-highlights li .ic {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--es-mint); color: #1a5f4a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex: 0 0 22px; margin-top: 1px;
}
.es-highlights li strong { color: var(--es-ink); font-weight: 700; }

.es-buybox {
  margin-top: 24px; padding: 20px;
  border: 1px solid var(--es-line); border-radius: var(--es-r-lg);
  background: var(--es-cream);
}
.es-buybox-actions { display: flex; align-items: center; gap: 10px; }
.es-buybox-actions .es-btn { flex: 1 1 auto; }
.es-ship {
  margin: 14px 0 0; padding-top: 14px;
  border-top: 1px solid var(--es-line);
  font-size: 13.5px; color: var(--es-ink-2);
}
.es-ship strong { color: var(--es-ink); }
.es-ship p { margin: 0 0 6px; }
.es-ship p:last-child { margin-bottom: 0; }

/* ---------- "item details" table (the JD → proof panel) ---------- */
.es-details {
  border: 1px solid var(--es-line); border-radius: var(--es-r-lg);
  overflow: hidden; background: var(--es-canvas);
}
.es-details-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 16px 20px; background: var(--es-cream);
  border-bottom: 1px solid var(--es-line);
}
.es-details-head .es-details-logo {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--es-r-pill);
  background: var(--es-ink); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.es-details-head .t { font-weight: 700; font-size: 15px; }
.es-details-head .s { font-size: 13px; color: var(--es-ink-3); margin-left: auto; }

.es-details-row {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 0; border-bottom: 1px solid var(--es-line-soft);
}
.es-details-row:last-child { border-bottom: 0; }
.es-details-row:nth-child(even) { background: #fcfbf9; }
.es-details-req, .es-details-proof { padding: 18px 20px; font-size: 15px; }
.es-details-req {
  border-right: 1px solid var(--es-line-soft);
  color: var(--es-ink); font-weight: 600;
}
.es-details-proof { color: var(--es-ink-2); }
.es-details-proof strong { color: var(--es-ink); font-weight: 700; }
.es-details-req .label, .es-details-proof .label {
  display: block; margin-bottom: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--es-ink-3);
}
.es-details-proof .label { color: var(--es-orange-dk); }
.es-details-cta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
}

/* ---------- "on Etsy since" career bar ---------- */
.es-since {
  border: 1px solid var(--es-line); border-radius: var(--es-r-lg);
  background: var(--es-canvas); padding: 22px 24px 18px;
}
.es-since-track {
  position: relative; display: flex; gap: 6px; height: 56px;
}
.es-since-seg {
  position: relative; flex: 1 1 0; border-radius: var(--es-r-sm);
  background: var(--es-cream); border: 1px solid var(--es-line-soft);
  transition: background .2s var(--es-ease);
}
.es-since-seg::after {
  content: attr(data-label);
  position: absolute; inset: auto 6px 8px 8px;
  font-size: 11.5px; font-weight: 700; color: var(--es-ink-2);
  line-height: 1.2;
}
.es-since-seg:nth-child(1) { background: #fdf6ee; }
.es-since-seg:nth-child(2) { background: var(--es-toast); }
.es-since-seg:nth-child(3) { background: var(--es-lav); }
.es-since-seg:nth-child(4) { background: var(--es-mint); }
.es-since-seg:nth-child(5) { background: var(--es-orange-soft); }
.es-since-seg:hover { filter: brightness(.97); }
.es-since-thumb {
  position: absolute; top: -8px; bottom: -8px; width: 4px;
  background: var(--es-orange); border-radius: var(--es-r-pill);
  box-shadow: 0 0 0 4px rgba(241, 100, 30, .18);
}
.es-since-thumb::after {
  content: "now"; position: absolute; top: -22px; left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px; border-radius: var(--es-r-pill);
  background: var(--es-orange); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.es-since-labels {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 26px; font-size: 12.5px; color: var(--es-ink-3); font-weight: 600;
}

/* ---------- rows / carousels ---------- */
.es-row-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.es-row-title { font-size: clamp(20px, 2.6vw, 27px); font-weight: 700; letter-spacing: -.018em; }
.es-row-title .accent { color: var(--es-orange); }
.es-row-sub { font-size: 13.5px; color: var(--es-ink-3); }
.es-row-scrollcue {
  display: none; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--es-orange-dk);
}
.es-row-scrollcue.show { display: inline-flex; }
.es-row-scrollcue .arrow { animation: es-nudge 1.6s var(--es-ease) infinite; }
@keyframes es-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

.es-row-viewport { position: relative; margin: 0 -8px; }
.es-row-scroll {
  display: flex; gap: 18px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding: 6px 8px 20px;
  scrollbar-width: thin;
}
.es-row-scroll::-webkit-scrollbar { height: 8px; }
.es-row-scroll::-webkit-scrollbar-thumb { background: var(--es-line); border-radius: var(--es-r-pill); }
.es-row-scroll > * { scroll-snap-align: start; flex: 0 0 290px; }

.es-row-viewport::before, .es-row-viewport::after {
  content: ""; position: absolute; top: 0; bottom: 20px; width: 56px;
  pointer-events: none; z-index: 2; opacity: 0; transition: opacity .2s var(--es-ease);
}
.es-row-viewport::before { left: 0; background: linear-gradient(to right, var(--es-canvas), transparent); }
.es-row-viewport::after { right: 0; background: linear-gradient(to left, var(--es-canvas), transparent); }
.es-row-viewport.scrollable:not(.at-start)::before { opacity: 1; }
.es-row-viewport.scrollable:not(.at-end)::after { opacity: 1; }

/* ---------- desktop: rows become a wrapping grid ----------
   Every card is visible at once, the way an actual Etsy listing grid works.
   The carousel is a small-screen affordance only — below 1041px the flex/
   scroll rules above take back over, and app.js re-enables the arrows and
   the "Scroll →" cue automatically because the row overflows again. */
@media (min-width: 1041px) {
  .es-row-viewport { margin: 0; }
  .es-row-viewport::before,
  .es-row-viewport::after { content: none; }

  .es-row-scroll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 6px 0 0;
  }
  .es-row-scroll > * { flex: none; scroll-snap-align: none; }

  /* the carousel chrome has nothing left to do.
     Specificity is deliberate: the base .es-row-arrow rule is declared later
     in this file, so a single-class selector here would lose the cascade. */
  .es-row-viewport .es-row-arrow.prev,
  .es-row-viewport .es-row-arrow.next { display: none; }
  .es-row-scrollcue,
  .es-row-scrollcue.show { display: none; }
}

@media (min-width: 1200px) {
  .es-row-scroll { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cream .es-row-viewport::before { background: linear-gradient(to right, var(--es-cream), transparent); }
.cream .es-row-viewport::after { background: linear-gradient(to left, var(--es-cream), transparent); }

.es-row-arrow {
  position: absolute; top: calc(50% - 20px); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--es-line); background: var(--es-canvas); color: var(--es-ink);
  box-shadow: var(--es-shadow-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity .2s var(--es-ease), transform .18s var(--es-ease);
}
.es-row-arrow .chev { font-size: 24px; line-height: 1; margin-top: -3px; }
.es-row-arrow.prev { left: -4px; }
.es-row-arrow.next { right: -4px; }
.es-row-arrow:hover { transform: scale(1.07); }
.es-row-arrow[disabled] { opacity: 0; pointer-events: none; }

/* ---------- listing cards ---------- */
.es-listing {
  position: relative; display: flex; flex-direction: column;
  height: 100%;
  background: var(--es-canvas); border-radius: var(--es-r);
  text-decoration: none; color: inherit; cursor: pointer;
  transition: transform .2s var(--es-ease);
}
.es-listing:hover { transform: translateY(-3px); }
.es-listing-art {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--es-r); border: 1px solid var(--es-line-soft);
  background:
    radial-gradient(120% 90% at 15% 10%, var(--es-toast), transparent 60%),
    radial-gradient(110% 100% at 90% 90%, var(--es-lav), transparent 62%),
    var(--es-cream);
  transition: box-shadow .2s var(--es-ease);
}
.es-listing:hover .es-listing-art { box-shadow: var(--es-shadow-2); }
.es-listing-art img, .es-listing-art > svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s var(--es-ease);
}
.es-listing:hover .es-listing-art img { transform: scale(1.05); }
.es-listing-art.es-art-contain img, .es-listing-art.es-art-contain > svg {
  object-fit: contain; padding: 16px;
}
.es-listing-art .glow {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .30), rgba(0, 0, 0, 0) 55%);
  opacity: 0; transition: opacity .25s var(--es-ease);
}
.es-listing-art.has-img .glow { opacity: 1; }
.es-topbadge { position: absolute; top: 10px; left: 10px; z-index: 3; }
.es-listing .heart {
  position: absolute; top: 8px; right: 8px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); color: var(--es-ink-2);
  box-shadow: var(--es-shadow-1); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; line-height: 1;
  transition: transform .16s var(--es-ease), color .16s var(--es-ease);
}
.es-listing .heart:hover { transform: scale(1.12); color: var(--es-orange); }
.es-listing .heart[aria-pressed="true"] { color: var(--es-orange); background: #fff; }
.es-listing .quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3;
  padding: 9px 12px; border-radius: var(--es-r-pill);
  background: rgba(255, 255, 255, .96); color: var(--es-ink);
  font-size: 13px; font-weight: 700; text-align: center;
  box-shadow: var(--es-shadow-1);
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s var(--es-ease), transform .2s var(--es-ease);
}
.es-listing:hover .quick, .es-listing:focus-visible .quick { opacity: 1; transform: translateY(0); }

/* body grows so the foot can sink — keeps the pills/CTAs on one baseline
   across every card in a row, left-aligned to the card edge */
.es-listing-body {
  padding: 12px 2px 4px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1 1 auto;
}
.es-listing-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--es-ink-3); text-transform: uppercase;
}
.es-listing-title { font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.es-listing-shop {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--es-ink-2);
}
.es-listing-shop .stars { color: var(--es-star); font-size: 12px; letter-spacing: .5px; }
.es-listing-desc { font-size: 13.8px; color: var(--es-ink-2); margin: 0; }
.es-listing-desc strong { color: var(--es-ink); font-weight: 700; }
.es-listing-foot {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto; padding-top: 10px;
}

/* ---------- capability cards (Because you're hiring for…) ---------- */
.es-cap {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px; border: 1px solid var(--es-line); border-radius: var(--es-r-lg);
  background: var(--es-canvas); height: 100%;
  transition: box-shadow .2s var(--es-ease), transform .2s var(--es-ease);
}
.es-cap:hover { box-shadow: var(--es-shadow-2); transform: translateY(-2px); }
.es-cap .ic {
  width: 40px; height: 40px; border-radius: var(--es-r);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--es-toast); color: var(--es-ink); font-size: 19px;
}
.es-cap:nth-child(2) .ic { background: var(--es-mint); }
.es-cap:nth-child(3) .ic { background: var(--es-lav); }
.es-cap:nth-child(4) .ic { background: var(--es-sky); }
.es-cap h3 { font-size: 17px; }
.es-cap p { margin: 0; font-size: 14.5px; color: var(--es-ink-2); }
.es-cap p strong { color: var(--es-ink); }

/* ---------- steps ("Made to order" / 90-day plan) ---------- */
.es-steps { display: grid; gap: 12px; counter-reset: es-step; }
.es-step {
  display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px;
  padding: 20px 22px; border: 1px solid var(--es-line); border-radius: var(--es-r-lg);
  background: var(--es-canvas);
  transition: border-color .2s var(--es-ease), box-shadow .2s var(--es-ease);
}
.es-step:hover { border-color: var(--es-ink-3); box-shadow: var(--es-shadow-1); }
.es-step::before {
  counter-increment: es-step; content: counter(es-step);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--es-orange-soft); color: var(--es-orange-dk);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
}
.es-step h3 { font-size: 17px; margin-bottom: 5px; }
.es-step .when {
  display: inline-block; margin-bottom: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--es-ink-3);
}
.es-step p { margin: 0; font-size: 14.8px; color: var(--es-ink-2); }
.es-step p strong { color: var(--es-ink); font-weight: 700; }
.es-step .proof {
  display: block; margin-top: 9px; padding-top: 9px;
  border-top: 1px dashed var(--es-line);
  font-size: 13.5px; color: var(--es-ink-3);
}
.es-step .proof b { color: var(--es-ink-2); }

/* ---------- the marketplace (design system as goods) ---------- */
.es-market { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.es-good {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border-radius: var(--es-r-lg);
  border: 1px solid var(--es-line); background: var(--es-canvas);
}
.es-good .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.es-good h3 { font-size: 16.5px; }
.es-good .buyer {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--es-ink-3);
}
.es-good p { margin: 0; font-size: 14.3px; color: var(--es-ink-2); }
.es-good .fail {
  margin-top: auto; padding: 11px 13px; border-radius: var(--es-r);
  background: var(--es-cream); font-size: 13.3px; color: var(--es-ink-2);
}
.es-good .fail b { color: var(--es-ink); }

/* ---------- stats ---------- */
.es-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border: 1px solid var(--es-line); border-radius: var(--es-r-lg); overflow: hidden;
  background: var(--es-canvas);
}
.es-stat { padding: 26px 22px; border-right: 1px solid var(--es-line-soft); }
.es-stat:last-child { border-right: 0; }
.es-stat .v {
  font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 6px;
}
.es-stat .v .accent { color: var(--es-orange); }
.es-stat .l { font-size: 13.6px; color: var(--es-ink-2); }

/* ---------- reviews ---------- */
.es-review {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border: 1px solid var(--es-line); border-radius: var(--es-r-lg);
  background: var(--es-canvas); height: 100%;
}
.es-review .stars { color: var(--es-star); letter-spacing: 2px; font-size: 15px; }
.es-review blockquote {
  margin: 0; font-size: 15px; color: var(--es-ink); line-height: 1.6;
}
.es-review .who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.es-review .av {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  background: var(--es-toast); color: var(--es-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.es-review .n { font-size: 14.5px; font-weight: 700; }
.es-review .r { font-size: 12.8px; color: var(--es-ink-3); }
.es-review .item {
  padding-top: 11px; border-top: 1px solid var(--es-line-soft);
  font-size: 12.8px; color: var(--es-ink-3);
}
.es-review .item b { color: var(--es-ink-2); font-weight: 600; }

/* ---------- spotlight ---------- */
.es-spotlight {
  position: relative; padding: 34px;
  border: 1px solid var(--es-line); border-radius: var(--es-r-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--es-toast), transparent 58%),
    var(--es-canvas);
}
.es-spotlight .tag { position: absolute; top: -13px; left: 28px; }
.es-spotlight-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px;
}
.es-spotlight h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 14px; }
.es-spotlight .body { font-size: 15.5px; color: var(--es-ink-2); margin: 0 0 14px; }
.es-spotlight .body strong { color: var(--es-ink); font-weight: 700; }

.es-signals { display: grid; gap: 12px; align-content: start; }
.es-signal {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px;
  padding: 16px; border-radius: var(--es-r);
  background: var(--es-cream); border: 1px solid var(--es-line-soft);
}
.es-signal .ic {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--es-canvas); border: 1px solid var(--es-line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--es-orange-dk);
}
.es-signal .tx { font-size: 14px; color: var(--es-ink-2); }
.es-signal .tx strong { color: var(--es-ink); font-weight: 700; }

/* ---------- policies / how I work grid ---------- */
.es-policy {
  padding: 22px; border-radius: var(--es-r-lg);
  border: 1px solid var(--es-line); background: var(--es-canvas);
}
.es-policy h3 { font-size: 16.5px; margin-bottom: 8px; }
.es-policy p { margin: 0; font-size: 14.5px; color: var(--es-ink-2); }
.es-policy p strong { color: var(--es-ink); }
.es-policy .k {
  display: inline-block; margin-bottom: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--es-orange-dk);
}

/* ---------- qualification checklist ---------- */
.es-quals { display: grid; gap: 10px; }
.es-qual {
  display: grid; grid-template-columns: 28px minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px;
  align-items: start; padding: 18px 20px;
  border: 1px solid var(--es-line); border-radius: var(--es-r);
  background: var(--es-canvas);
}
.es-qual .mk {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  background: var(--es-mint); color: #1a5f4a;
}
.es-qual.partial .mk { background: var(--es-toast); color: #8a5312; }
.es-qual .req { font-size: 15px; font-weight: 600; }
.es-qual .prf { font-size: 14.5px; color: var(--es-ink-2); }
.es-qual .prf strong { color: var(--es-ink); font-weight: 700; }

/* ---------- modals ---------- */
.es-modal-scrim {
  position: fixed; inset: 0; z-index: 200;
  display: none; padding: 4vh 16px;
  background: rgba(34, 34, 34, .55);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.es-modal-scrim.open { display: block; animation: es-fade .2s var(--es-ease); }
@keyframes es-fade { from { opacity: 0; } to { opacity: 1; } }

.es-modal {
  width: 100%; max-width: 900px; margin: 0 auto;
  background: var(--es-canvas); border-radius: var(--es-r-lg);
  box-shadow: var(--es-shadow-3); overflow: hidden;
  animation: es-pop .24s var(--es-ease);
}
@keyframes es-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

.es-modal-hero {
  position: relative; padding: 26px 28px 22px;
  background:
    radial-gradient(85% 130% at 100% 0%, var(--es-toast), transparent 60%),
    var(--es-cream);
  border-bottom: 1px solid var(--es-line);
}
.es-modal-hero h2 { font-size: clamp(20px, 2.6vw, 27px); margin: 10px 0 0; padding-right: 44px; }
.es-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--es-line); background: var(--es-canvas); color: var(--es-ink);
  font-size: 20px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .16s var(--es-ease), transform .16s var(--es-ease);
}
.es-modal-close:hover { background: var(--es-ink); color: #fff; transform: rotate(90deg); }
.es-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.es-modal-body { padding: 0 28px 28px; }

.es-tabs {
  display: flex; gap: 22px; border-bottom: 1px solid var(--es-line);
  margin: 0 0 22px; overflow-x: auto; scrollbar-width: none;
}
.es-tabs::-webkit-scrollbar { display: none; }
.es-tab {
  position: relative; flex: 0 0 auto;
  padding: 16px 0; border: 0; background: none; cursor: pointer;
  font-size: 14.5px; font-weight: 700; color: var(--es-ink-3);
  transition: color .16s var(--es-ease);
  white-space: nowrap;
}
.es-tab:hover { color: var(--es-ink); }
.es-tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px;
  background: var(--es-orange); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--es-ease);
}
.es-tab[aria-selected="true"] { color: var(--es-ink); }
.es-tab[aria-selected="true"]::after { transform: scaleX(1); }

.es-tabpanel { animation: es-fade .2s var(--es-ease); }
.es-tabpanel[hidden] { display: none; }

/* ---------- footer ---------- */
.es-footer {
  margin-top: 40px; padding: 52px 0 34px;
  background: var(--es-cream); border-top: 1px solid var(--es-line);
}
.es-footer-inner {
  max-width: var(--es-wrap); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 34px;
}
.es-footer h4 {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--es-ink-3); margin: 0 0 14px;
}
.es-footer a {
  display: block; margin-bottom: 9px;
  font-size: 14.2px; color: var(--es-ink-2); text-decoration: none;
}
.es-footer a:hover { color: var(--es-orange-dk); text-decoration: underline; }
.es-footer .es-logo { margin-bottom: 14px; }
.es-footer .fine { font-size: 12.6px; color: var(--es-ink-3); margin: 0 0 10px; max-width: 46ch; }
.es-footer-bar {
  max-width: var(--es-wrap); margin: 34px auto 0; padding: 20px 24px 0;
  border-top: 1px solid var(--es-line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 12.6px; color: var(--es-ink-3);
}

/* ---------- CTA band ---------- */
.es-cta-band {
  padding: 52px 34px; border-radius: var(--es-r-lg);
  background:
    radial-gradient(80% 130% at 0% 0%, var(--es-toast), transparent 58%),
    radial-gradient(80% 130% at 100% 100%, var(--es-lav), transparent 58%),
    var(--es-cream);
  border: 1px solid var(--es-line); text-align: center;
}
.es-cta-band .es-lead { margin-left: auto; margin-right: auto; }
.es-cta-actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px;
}

/* ---------- scroll reveal ---------- */
.es-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--es-ease), transform .6s var(--es-ease);
}
.es-reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1040px) {
  .es-listing-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .es-details-head .s { margin-left: 0; width: 100%; }
  .es-market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-stat { border-bottom: 1px solid var(--es-line-soft); }
  .es-stat:nth-child(2n) { border-right: 0; }
  .es-spotlight-grid { grid-template-columns: 1fr; gap: 26px; }
  .es-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .es-search { display: none; }
  .es-nav-inner { gap: 12px; }
  .es-nav-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--es-line); background: var(--es-canvas); cursor: pointer;
    align-items: center; margin-left: auto;
  }
  .es-nav-burger span { display: block; width: 17px; height: 2px; background: var(--es-ink); border-radius: 2px; }
  .es-nav-cta { display: none; }
  .es-catbar { top: 69px; }
  .es-grid-3 { grid-template-columns: 1fr; }
  .es-qual { grid-template-columns: 28px minmax(0, 1fr); }
  .es-qual .prf { grid-column: 2; }
}

@media (max-width: 760px) {
  .es-section { padding: 46px 0; }
  .es-wrap { padding: 0 18px; }
  .es-nav-inner { padding: 12px 18px; }
  .es-catbar-inner { padding: 0 18px; gap: 20px; }
  .es-details-row { grid-template-columns: 1fr; }
  .es-details-req { border-right: 0; border-bottom: 1px solid var(--es-line-soft); }
  .es-grid-2 { grid-template-columns: 1fr; }
  .es-market { grid-template-columns: 1fr; }
  .es-gallery { grid-template-columns: 1fr; }
  .es-thumbs { flex-direction: row; order: 2; overflow-x: auto; padding-bottom: 4px; }
  .es-thumb { flex: 0 0 62px; width: 62px; height: 62px; }
  .es-since-track { height: 130px; flex-direction: column; }
  .es-since-seg::after { inset: auto auto 50% 12px; transform: translateY(50%); }
  .es-since-thumb { top: auto; bottom: 6px; left: 0 !important; right: 0; width: auto; height: 4px; }
  .es-since-thumb::after { top: -26px; left: 12px; transform: none; }
  .es-since-labels { flex-direction: column; gap: 4px; margin-top: 20px; }
  .es-modal-hero { padding: 22px 20px 18px; }
  .es-modal-body { padding: 0 20px 22px; }
  .es-spotlight { padding: 28px 20px; }
  .es-cta-band { padding: 40px 20px; }
  .es-footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .es-step { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .es-step::before { width: 38px; height: 38px; font-size: 15px; }
}

@media (max-width: 420px) {
  .es-wrap { padding: 0 14px; }
  .es-nav-inner { padding: 10px 14px; }
  .es-catbar-inner { padding: 0 14px; gap: 16px; }
  .es-word { font-size: 24px; }
  .es-row-scroll > * { flex: 0 0 245px; }
  .es-stats { grid-template-columns: 1fr; }
  .es-stat { border-right: 0; }
  .es-buybox { padding: 16px; }
  .es-buybox-actions { flex-wrap: wrap; }
  .es-buybox-actions .es-btn { flex: 1 1 100%; }
  .es-qual { padding: 14px; }
  .es-review, .es-cap, .es-policy, .es-good { padding: 18px; }
}

/* ---------- nav open state (mobile) ---------- */
.es-navlinks { display: none; }
.es-nav.nav-open .es-navlinks {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--es-canvas); border-bottom: 1px solid var(--es-line);
  box-shadow: var(--es-shadow-2); padding: 8px 18px 16px;
}
.es-nav.nav-open .es-navlinks a {
  padding: 12px 0; text-decoration: none; font-size: 16px; font-weight: 600;
  border-bottom: 1px solid var(--es-line-soft); color: var(--es-ink);
}
.es-nav { position: sticky; }
.es-nav-inner { position: relative; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .es-reveal { opacity: 1; transform: none; }
}

/* ---------- print ---------- */
@media print {
  .es-nav, .es-catbar, .es-row-arrow, .es-btn-heart, .es-listing .heart, .es-footer { display: none; }
  .es-reveal { opacity: 1; transform: none; }
  .es-modal-scrim { display: none !important; }
  body { font-size: 12px; }
}
