:root {
  --clay: #efe6d6;
  --paper: #fbf6ec;
  --taupe: #d4c6b5;
  --ink: #2a201b;
  --ink-soft: #5e4c41;
  --marigold: #e9a23b;
  --coral: #ef8a7e;
  --pink: #f07f86;
  --tomato: #d2452f;
  --butter: #ead49a;
  --sage: #aeb79b;

  --display: "Fraunces", Georgia, serif;
  --body: "Bricolage Grotesque", system-ui, sans-serif;

  --slab: 0 6px 0 var(--ink);
  --slab-sm: 0 4px 0 var(--ink);
  --wobble: 46% 54% 52% 48% / 52% 46% 54% 48%;
  --radius: 28px 34px 30px 26px / 30px 26px 34px 28px;
  --max: 1180px;
  --ease: cubic-bezier(0.34, 1.4, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--clay);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%235a4334'%3E%3Ccircle cx='12' cy='18' r='1.3' opacity='.35'/%3E%3Ccircle cx='64' cy='9' r='.8' opacity='.3'/%3E%3Ccircle cx='131' cy='27' r='1.6' opacity='.28'/%3E%3Ccircle cx='170' cy='70' r='.9' opacity='.35'/%3E%3Ccircle cx='96' cy='58' r='1.1' opacity='.25'/%3E%3Ccircle cx='31' cy='92' r='.7' opacity='.4'/%3E%3Ccircle cx='148' cy='121' r='1.2' opacity='.3'/%3E%3Ccircle cx='72' cy='136' r='1.7' opacity='.22'/%3E%3Ccircle cx='15' cy='160' r='.9' opacity='.35'/%3E%3Ccircle cx='118' cy='168' r='.8' opacity='.3'/%3E%3Ccircle cx='52' cy='45' r='.6' opacity='.4'/%3E%3Ccircle cx='160' cy='158' r='.6' opacity='.4'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='40' cy='120' r='1.1' opacity='.6'/%3E%3Ccircle cx='110' cy='96' r='.9' opacity='.6'/%3E%3Ccircle cx='150' cy='40' r='1' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
  border-radius: 12px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}
.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}
h3 {
  font-size: 1.5rem;
}

em {
  font-style: italic;
  font-weight: 500;
}

p {
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
}

.squiggle {
  position: relative;
  white-space: nowrap;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.12em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 14 1, 22 11, 34 6 S 56 1, 68 6 S 92 11, 104 5 S 116 4, 118 6' fill='none' stroke='%23e9a23b' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center / 100% 100%;
  z-index: -1;
}

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

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font: 700 1rem/1.1 var(--body);
  color: var(--fg);
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--slab-sm);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 0 6px 0 var(--ink);
}
.btn:active {
  transform: translateY(3px) scale(0.98, 0.96);
  box-shadow: 0 1px 0 var(--ink);
}
.btn--light {
  --bg: var(--paper);
  --fg: var(--ink);
}
.btn--marigold {
  --bg: var(--marigold);
  --fg: var(--ink);
}
.btn--big {
  font-size: 1.15rem;
  padding: 1.1rem 1.8rem;
}
.btn .venmo-v {
  display: inline-grid;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background: #3d95ce;
  color: #fff;
  font-weight: 800;
  font-size: 0.85em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--clay) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 3px 3px rgba(60, 35, 20, 0.2));
}
.logo__word {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.nav a:hover {
  background: color-mix(in srgb, var(--marigold) 35%, transparent);
}
.nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Cutouts (real faces, background removed) ---------- */

.cutout {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 12px rgba(60, 35, 20, 0.22));
}

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

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.4rem;
}
.hero h1 em,
.page-head h1 em {
  color: var(--tomato);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.crew {
  position: relative;
  aspect-ratio: 1 / 0.95;
  max-width: 580px;
  width: 100%;
  margin-inline: auto;
}
.crew__face {
  position: absolute;
  transform: rotate(var(--r, 0deg));
}

/* ---------- Sections ---------- */

section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.page-head {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 1rem;
}
.page-head h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin-bottom: 1rem;
}

.panel {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--slab);
  background: var(--paper);
}
.panel--butter {
  background: var(--butter);
}

/* ---------- Category tiles ---------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.cat-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--slab);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cat-tile:hover {
  transform: translateY(-5px) rotate(-0.8deg);
  box-shadow: 0 11px 0 var(--ink);
}
.cat-tile__media {
  aspect-ratio: 4 / 5;
  border-bottom: 2.5px solid var(--ink);
  overflow: hidden;
}
.cat-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-tile__body {
  padding: 1.1rem 1.3rem 1.3rem;
  display: grid;
  gap: 0.4rem;
}
.cat-tile__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.cat-tile__count {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* ---------- Product cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--slab);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:nth-child(3n + 2) {
  border-radius: 34px 26px 32px 28px / 26px 32px 28px 34px;
}
.card:nth-child(3n + 3) {
  border-radius: 26px 30px 34px 28px / 32px 28px 26px 30px;
}
.card:hover {
  transform: translateY(-4px) rotate(-0.6deg);
  box-shadow: 0 10px 0 var(--ink);
}
.card:nth-child(even):hover {
  transform: translateY(-4px) rotate(0.6deg);
}
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--taupe);
  border-bottom: 2.5px solid var(--ink);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__body {
  padding: 0.9rem 1.2rem 1.1rem;
}
.card__body .eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
}
.card__body h3 {
  font-size: 1.3rem;
}
.card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}
.price {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 700;
  font-size: 1.25rem;
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 0.5rem 0.95rem;
  font: 800 0.82rem/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--slab-sm);
  transform: rotate(6deg);
}
.badge--available {
  background: var(--sage);
  transform: rotate(-4deg);
}
.badge--available::before {
  content: "✿ ";
}
.badge--sold {
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  color: var(--paper);
  background: var(--tomato);
}
.badge--inline {
  position: static;
  display: inline-block;
  margin-bottom: 0.8rem;
}
.card--sold .card__media img {
  filter: saturate(0.55) brightness(0.92);
  transition: filter 0.3s;
}
.card--sold:hover .card__media img {
  filter: none;
}
.card__gone {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tomato);
}
.shop-group + .shop-group {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 2.5px dashed var(--ink);
}
.shop-group__head {
  max-width: 640px;
  margin-bottom: 1.6rem;
}
.shop-group__head h2 {
  margin: 0 0 0.4rem;
}
.shop-group__head p {
  margin: 0;
  font-size: 1.1rem;
}

/* ---------- Category buttons ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.filters button {
  font: 700 1rem var(--body);
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.filters button:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--marigold) 30%, var(--paper));
}
.filters button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Everyone ---------- */

.everyone {
  background: var(--ink);
  color: var(--paper);
}
.everyone .lede {
  color: color-mix(in srgb, var(--paper) 78%, transparent);
}
.everyone h2 em {
  color: var(--marigold);
}
.everyone__faces {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  margin-top: 3rem;
}
.everyone__faces .cutout:nth-child(odd) {
  transform: rotate(-4deg);
}
.everyone__faces .cutout:nth-child(even) {
  transform: rotate(5deg) translateY(1.2rem);
}
.everyone__faces .cutout {
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}

/* ---------- Follow ---------- */

.follow {
  text-align: center;
}
.follow .panel {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  padding-block: 3.2rem;
}
.follow__face {
  width: 130px;
  margin-bottom: 0.6rem;
  transform: rotate(-6deg);
}
.follow p {
  max-width: 32rem;
}

/* ---------- Item page ---------- */

.crumbs {
  padding-top: 2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.crumbs a {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: 1.5rem 4rem;
  align-items: start;
}
.item__media {
  position: sticky;
  top: 6rem;
  border: 2.5px solid var(--ink);
  border-radius: 40px 34px 44px 36px / 36px 44px 34px 40px;
  box-shadow: 0 8px 0 var(--ink);
  overflow: hidden;
  background: var(--taupe);
}
.item__media img {
  width: 100%;
  height: auto;
}
.item__info h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin: 0.2rem 0 1rem;
}
.item__desc {
  font-size: 1.12rem;
}
.details {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  border-top: 2px solid var(--ink);
}
.details li {
  padding: 0.65rem 0;
  border-bottom: 1.5px dashed color-mix(in srgb, var(--ink) 35%, transparent);
  display: flex;
  gap: 0.7rem;
}
.details li::before {
  content: "✿";
  color: var(--marigold);
}
.item__nav {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.buy {
  margin-top: 1.6rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--slab);
}
.buy fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.6rem;
}
.buy legend {
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 18px;
  cursor: pointer;
}
.option:has(input:checked) {
  background: var(--butter);
}
.option input {
  accent-color: var(--ink);
  width: 1.15rem;
  height: 1.15rem;
}
.option span {
  flex: 1;
}
.option small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.option b {
  font-family: var(--display);
}
.buy .btn--big {
  width: 100%;
  justify-content: center;
}
.buy__fine {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__art {
  position: sticky;
  top: 6rem;
}
.about__art > img {
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  box-shadow: 0 8px 0 var(--ink);
  transform: rotate(-3deg);
}
.about__text p {
  font-size: 1.12rem;
}
.draft-note {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px dashed var(--tomato);
  border-radius: 999px;
  color: var(--tomato);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.step {
  padding: 1.8rem 1.6rem 1.6rem;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--slab);
}
.step__num {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border: 2.5px solid var(--ink);
  border-radius: var(--wobble);
  background: var(--marigold);
}
.step:nth-child(2) .step__num {
  background: var(--coral);
}
.step:nth-child(3) .step__num {
  background: var(--sage);
}
.step h3 {
  margin-bottom: 0.5rem;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
}

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

.site-footer {
  position: relative;
  margin-top: 4rem;
  padding: 4.5rem 0 2rem;
  background: var(--ink);
  color: var(--paper);
}
.peek {
  position: absolute;
  top: -58px;
  left: 50%;
  width: 110px;
  height: 58px;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  transform: translateX(-50%);
  cursor: pointer;
}
.peek .face {
  width: 110px;
  height: auto;
  transform: translateY(18px);
  transition: transform 0.45s var(--ease);
}
.peek:hover .face,
.site-footer:hover .peek .face {
  transform: translateY(0);
}
.peek .eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 7s infinite;
}
.peek .blep-tongue {
  transform-box: fill-box;
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform 0.25s var(--ease);
}
.peek .is-blepping .blep-tongue {
  transform: scaleY(1);
}
.peek .is-blepping .eyes {
  animation: none;
  transform: scaleY(0.25);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer .logo__word {
  font-size: 1.5rem;
}
.site-footer p {
  color: color-mix(in srgb, var(--paper) 72%, transparent);
  max-width: 26rem;
}
.site-footer h4 {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marigold);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--marigold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.site-footer__base {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1.5px solid color-mix(in srgb, var(--paper) 18%, transparent);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--paper) 60%, transparent);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes blink {
  0%, 93%, 100% { transform: scaleY(1); }
  95.5% { transform: scaleY(0.08); }
}

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

@media (max-width: 900px) {
  .hero__grid,
  .item,
  .about {
    grid-template-columns: 1fr;
  }
  .crew {
    max-width: 460px;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .everyone__faces {
    grid-template-columns: repeat(3, 1fr);
  }
  .item__media {
    position: relative;
    top: 0;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo__word {
    font-size: 1.05rem;
  }
  .nav a {
    padding: 0.45rem 0.7rem;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
  .card__body {
    padding: 0.7rem 0.8rem 0.9rem;
  }
  .card__body h3 {
    font-size: 1.05rem;
  }
}

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