.collective {
  --cl-ink: var(--charcoal);
  --cl-soft: var(--charcoal-soft);
  --cl-hair: var(--gold-hairline, rgba(169, 131, 78, .45));
  --cl-ok: var(--sage-deep);
  --cl-warn: var(--gold);
  --cl-bad: var(--rose, #a85a56);
}

.collective .cl-section .cl-head { margin-bottom: 36px; }
.collective .cl-band { background: var(--white); }
.collective .cl-img-empty { display: block; width: 100%; height: 100%; background: var(--cream-deep); }
.collective .cl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.collective .cl-btn-sm { padding: 9px 18px; font-size: .7rem; display: inline-block; }
.collective .cl-more { text-align: center; margin: 36px 0 0; }
.collective .cl-more a:not(.btn-outline) { color: var(--cl-ink); border-bottom: 1px solid var(--cl-hair); padding-bottom: 2px; text-decoration: none; }
.collective .cl-fineprint { font-size: .82rem; margin-top: 28px; }
.collective a.btn-elan, .collective a.btn-outline { text-decoration: none; display: inline-block; text-align: center; }

/* Hero */
.cl-hero { background: var(--cream-deep); padding: 48px 0 56px; overflow: hidden; }
.cl-hero-grid { display: grid; gap: 40px; align-items: center; }
.cl-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.cl-hero-lead { font-size: 1.05rem; line-height: 1.7; color: var(--cl-soft); max-width: 44ch; margin: 0 0 28px; }
.cl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.cl-spread { position: relative; aspect-ratio: 10 / 7; }
.cl-spread-1 { aspect-ratio: 10 / 9; }
.cl-spread-item {
  position: absolute;
  width: 46%;
  aspect-ratio: 4 / 5;
  background: var(--white);
  padding: 7px 7px 26px;
  border-radius: 4px;
  box-shadow: 0 22px 40px -26px rgba(38, 32, 25, .55);
  transition: transform .5s var(--ease, ease);
  text-decoration: none;
}
.cl-spread-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.cl-spread-item:nth-child(1) { left: 2%; top: 18px; transform: rotate(-4deg); z-index: 2; }
.cl-spread-item:nth-child(2) { left: 30%; top: 0; transform: rotate(2.5deg); z-index: 3; }
.cl-spread-item:nth-child(3) { right: 0; top: 34px; transform: rotate(-1.5deg); z-index: 1; }
.cl-spread-1 .cl-spread-item { left: 50%; width: 62%; transform: translateX(-50%) rotate(-2deg); }
.cl-spread-2 .cl-spread-item:nth-child(2) { left: auto; right: 4%; }
.cl-spread-item:hover { transform: rotate(0) translateY(-6px); z-index: 4; }

.cl-tag {
  position: absolute;
  left: 14px;
  bottom: 8px;
  max-width: calc(100% - 28px);
  padding: 3px 10px 3px 18px;
  background: var(--cream);
  border: 1px solid var(--cl-hair);
  border-radius: 3px 10px 10px 3px;
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--cl-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cl-tag::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.cl-hero-frame {
  border: 1px solid var(--cl-hair);
  border-radius: 4px;
  padding: 32px 28px;
  background: var(--cream);
  display: grid;
  gap: 6px;
}
.cl-hero-frame span {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  line-height: 1.25;
  color: var(--cl-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.cl-hero-frame span:last-child { border-bottom: 0; padding-bottom: 0; }

/* Categories */
.cl-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cl-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--cl-ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .3s ease;
}
.cl-cat:hover { border-color: var(--gold); color: var(--cl-ink); }
.cl-cat-name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; position: relative; z-index: 1; }
.cl-cat-count { font-size: .76rem; color: var(--cl-soft); margin-top: 6px; position: relative; z-index: 1; }
.cl-cat.has-img { aspect-ratio: 3 / 4; min-height: 0; border: 0; color: var(--white); }
.cl-cat.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cl-cat.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 23, 17, .62), transparent 58%); }
.cl-cat.has-img .cl-cat-count { color: rgba(255, 253, 250, .85); }
.cl-cat.has-img:hover { color: var(--white); }
.cl-cat.has-img:hover img { transform: scale(1.04); }

/* Makers */
.cl-makers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
.cl-maker { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cl-maker-mark, .cl-seller-mark, .cl-profile-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-deep);
  border: 1px solid var(--cl-hair);
  font-family: var(--serif);
  color: var(--cl-soft);
  flex: 0 0 auto;
  text-decoration: none;
}
.cl-maker-mark { width: 88px; height: 88px; font-size: 1.6rem; margin-bottom: 14px; }
.cl-maker-mark img, .cl-seller-mark img, .cl-profile-mark img { width: 100%; height: 100%; object-fit: cover; }
.cl-maker h3 { font-size: 1.2rem; margin: 0; line-height: 1.2; }
.cl-maker h3 a { color: inherit; text-decoration: none; }
.cl-maker-city { font-size: .78rem; color: var(--cl-soft); margin: 4px 0 0; }
.cl-maker-line {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--cl-soft);
  margin: 8px 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cl-maker .btn-outline { margin-top: auto; }

/* Search, chips, toolbar */
.cl-search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto 18px; }
.cl-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: .9rem;
}
.cl-search .btn-elan { padding: 11px 22px; }
.cl-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin-bottom: 22px;
  scrollbar-width: none;
}
.cl-chips::-webkit-scrollbar { display: none; }
.cl-chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--cl-ink);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: .8rem;
  text-decoration: none;
  white-space: nowrap;
}
.cl-chip:hover { border-color: var(--gold); color: var(--cl-ink); }
.cl-chip.is-on { background: var(--cl-ink); border-color: var(--cl-ink); color: var(--cream); }
.cl-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 14px; }
.cl-toolbar .cl-search { margin: 0; flex: 1 1 320px; }
.cl-sort select {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: .84rem;
  color: var(--cl-ink);
}
.cl-count { font-size: .84rem; margin: 0 0 18px; }

/* Listing cards */
.cl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
.cl-card { display: flex; flex-direction: column; }
.cl-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
}
.cl-card-media picture, .cl-card-media img { display: block; width: 100%; height: 100%; }
.cl-card-media img { object-fit: cover; transition: transform 1.1s var(--ease, ease); }
.cl-card:hover .cl-card-media img { transform: scale(1.04); }
.cl-flag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 253, 250, .9);
  color: var(--cl-ink);
  font-size: .64rem;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
}
.cl-card-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.cl-card-cat { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cl-soft); text-decoration: none; }
.cl-card-name { font-family: var(--serif); font-size: 1rem; line-height: 1.25; margin: 0; }
.cl-card-name a { color: inherit; text-decoration: none; }
.cl-card-price { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; margin: 2px 0 0; }
.cl-card-maker { font-size: .78rem; color: var(--cl-soft); margin: 0; }
.cl-card-maker a { color: var(--cl-ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.cl-card-link {
  margin-top: 8px;
  align-self: flex-start;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--cl-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--cl-hair);
  padding-bottom: 1px;
}

/* Empty states */
.cl-empty {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--cl-hair);
  border-radius: var(--radius);
  background: var(--cream);
}
.cl-band .cl-empty { background: var(--white); }
.cl-empty h3, .cl-empty h1 { font-size: 1.6rem; margin: 0 0 10px; }
.cl-empty p { color: var(--cl-soft); line-height: 1.7; margin: 0 0 20px; }
.cl-thanks { padding: 56px 28px; }
.cl-thanks .muted { font-size: .88rem; }

/* Why */
.cl-why-grid { display: grid; gap: 28px; }
.cl-why-grid > div { border-top: 1px solid var(--cl-hair); padding-top: 18px; }
.cl-why-grid h3 { font-size: 1.3rem; margin: 0 0 8px; line-height: 1.2; }
.cl-why-grid p { color: var(--cl-soft); line-height: 1.7; margin: 0; font-size: .92rem; }

/* CTA band + closing */
.cl-cta { background: var(--cl-ink); color: var(--cream); padding: 64px 0; text-align: center; }
.cl-cta-inner { max-width: 720px; }
.cl-cta h2 { color: var(--cream); font-size: clamp(1.8rem, 4.4vw, 2.8rem); line-height: 1.1; margin: 0 0 16px; text-wrap: balance; }
.cl-cta p { color: rgba(247, 242, 236, .78); line-height: 1.75; margin: 0 auto 28px; max-width: 54ch; }
.collective .cl-btn-light { background: var(--cream); color: var(--cl-ink); }
.collective .cl-btn-light:hover { background: var(--white); color: var(--cl-ink); }
.cl-close { padding: 56px 0 64px; text-align: center; }
.cl-close h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 18px; text-wrap: balance; }
.cl-close-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.cl-close-links a { color: var(--cl-ink); text-decoration: none; border-bottom: 1px solid var(--cl-hair); padding-bottom: 2px; font-size: .9rem; }

/* Page chrome */
.cl-page { padding-top: 18px; }
.cl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: var(--cl-soft); margin-bottom: 14px; }
.cl-crumbs a { color: var(--cl-soft); text-decoration: none; }
.cl-crumbs a:hover { color: var(--cl-ink); }
.cl-page-title { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 10px; text-wrap: balance; }
.cl-page-lead { color: var(--cl-soft); line-height: 1.7; max-width: 60ch; margin: 0 0 8px; }
.cl-sub { font-size: 1.6rem; margin: 0 0 22px; }

/* Listing detail */
.cl-pdp { display: grid; gap: 26px; padding-bottom: 48px; }
.cl-gallery-main { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cream-deep); }
.cl-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.cl-thumbs::-webkit-scrollbar { display: none; }
.cl-thumb { flex: 0 0 auto; width: 64px; height: 80px; padding: 0; border: 1px solid transparent; border-radius: 8px; overflow: hidden; background: var(--cream-deep); cursor: pointer; opacity: .65; transition: opacity .2s ease, border-color .2s ease; }
.cl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-thumb.is-on, .cl-thumb:hover { opacity: 1; border-color: var(--gold); }
.cl-pdp-info h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.12; letter-spacing: -0.015em; margin: 8px 0 10px; text-wrap: balance; }
.cl-pdp-price { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin: 0 0 8px; }
.cl-pdp-price span { font-weight: 400; font-size: 1.05rem; color: var(--cl-soft); }
.cl-avail { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--cl-soft); margin: 0 0 20px; }
.cl-avail span { width: 8px; height: 8px; border-radius: 50%; background: var(--cl-ok); }
.cl-avail-made_to_order span { background: var(--cl-warn); }
.cl-avail-sold_out span { background: var(--cl-bad); }
.cl-seller {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  color: var(--cl-ink);
  text-decoration: none;
}
.cl-seller:hover { color: var(--cl-ink); }
.cl-seller-mark { width: 48px; height: 48px; font-size: 1rem; }
.cl-seller-by { display: block; font-size: .72rem; color: var(--cl-soft); }
.cl-seller strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.cl-seller-city { display: block; font-size: .78rem; color: var(--cl-soft); }
.cl-contact { display: grid; gap: 12px; margin-bottom: 22px; }
.cl-wa { display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; }
.cl-wa svg { width: 18px; height: 18px; }
.cl-ig { justify-self: center; font-size: .86rem; color: var(--cl-ink); text-decoration: none; border-bottom: 1px solid var(--cl-hair); padding-bottom: 1px; }
.cl-note { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; }
.cl-note h2 { font-family: var(--sans); font-size: .86rem; font-weight: 500; margin: 0 0 6px; }
.cl-note p { font-size: .86rem; line-height: 1.65; color: var(--cl-soft); margin: 0; }
.cl-desc { line-height: 1.75; color: var(--cl-soft); }
.cl-report { margin-top: 26px; font-size: .84rem; }
.cl-report summary { cursor: pointer; color: var(--cl-soft); display: inline-block; }
.cl-report form { margin-top: 14px; max-width: 420px; }

/* Creator profile */
.cl-profile { padding-bottom: 8px; }
.cl-profile-head { display: grid; gap: 20px; padding: 8px 0 12px; }
.cl-profile-mark { width: 112px; height: 112px; font-size: 2.2rem; }
.cl-profile-copy h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; letter-spacing: -0.015em; margin: 0; }
.cl-profile-story { color: var(--cl-soft); line-height: 1.75; max-width: 62ch; margin-top: 14px; }
.cl-profile-story p:last-child { margin-bottom: 0; }
.cl-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Join */
.cl-join { display: grid; gap: 32px; }
.cl-steps { list-style: none; counter-reset: step; padding: 0; margin: 26px 0; display: grid; gap: 16px; }
.cl-steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; }
.cl-steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold);
}
.cl-steps strong { font-weight: 500; }
.cl-steps span { color: var(--cl-soft); font-size: .9rem; line-height: 1.6; }
.cl-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.cl-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.cl-form legend { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: 14px; float: none; width: auto; }
.cl-field { margin-bottom: 16px; }
.cl-field .form-control, .cl-field .form-select { margin-bottom: 0; }
.cl-field input[type="file"] { padding: 10px; background: var(--cream); }
.cl-help { font-size: .78rem; color: var(--cl-soft); margin: 6px 0 0; line-height: 1.5; }
.cl-error { font-size: .8rem; color: var(--cl-bad); margin: 6px 0 0; }
.has-error .form-control, .has-error .form-select { border-color: var(--cl-bad); }
.cl-alert { background: var(--blush-soft); border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; font-size: .88rem; }
.cl-alert p { margin: 0; }
.cl-check { display: grid; grid-template-columns: 20px 1fr; gap: 4px 10px; align-items: start; margin-bottom: 12px; font-size: .88rem; line-height: 1.5; }
.cl-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--charcoal); }
.cl-check label { color: var(--cl-ink); }
.cl-check label a { color: var(--cl-ink); text-decoration: underline; text-decoration-color: var(--cl-hair); }
.cl-check .cl-error { grid-column: 2; margin: 0; }
.cl-form [data-cl-submit][disabled] { opacity: .65; cursor: progress; }

/* Prose */
.cl-prose { max-width: 760px; }
.cl-prose h2 { font-size: 1.45rem; margin: 34px 0 10px; }
.cl-prose p, .cl-prose li { color: var(--cl-soft); line-height: 1.75; }
.cl-prose ul { padding-left: 1.1rem; }
.cl-prose a { color: var(--cl-ink); }
.cl-prose-cta { margin-top: 36px; }

/* Pagination */
.cl-pages { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; font-size: .84rem; }

@media (min-width: 640px) {
  .cl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .cl-form { padding: 30px 28px; }
  .cl-cats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cl-makers { grid-template-columns: repeat(3, 1fr); }
  .cl-why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (min-width: 900px) {
  .cl-hero { padding: 72px 0 80px; }
  .cl-hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .cl-cat { min-height: 160px; padding: 22px; }
  .cl-cat-name { font-size: 1.45rem; }
  .cl-makers { grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); justify-content: center; gap: 36px 32px; }
  .cl-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 22px; }
  .cl-card-name { font-size: 1.15rem; }
  .cl-why-grid { grid-template-columns: repeat(4, 1fr); }
  .cl-pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 12px 0 64px; align-items: start; }
  .cl-pdp-info { position: sticky; top: 110px; }
  .cl-thumb { width: 72px; height: 90px; }
  .cl-profile-head { grid-template-columns: auto 1fr; gap: 36px; align-items: start; padding: 16px 0 24px; }
  .cl-profile-mark { width: 140px; height: 140px; font-size: 2.8rem; }
  .cl-join { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .cl-join-intro { position: sticky; top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .cl-spread-item, .cl-card-media img, .cl-cat img { transition: none; }
}

.collective .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.cl-contact > a.btn-elan, .cl-contact > a.btn-outline { width: 100%; }
