:root {
  --velvet: #2E1230;
  --tray: #3B1B3C;
  --well: #240C25;
  --milk: #FBEFF2;
  --mauve: #CDADC4;
  --foil: #E8C988;
  --foil-hover: #F3DBA8;
  --line: rgba(232, 201, 136, 0.24);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease-rise: cubic-bezier(0.12, 0.8, 0.22, 1);
  --ease-squash: cubic-bezier(0.3, 0, 0.5, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--milk);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .07 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(110% 60% at 82% 0%, #46203F 0%, rgba(70, 32, 63, 0) 62%) no-repeat,
    var(--velvet);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 100;
  line-height: 1.06;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

a { color: inherit; }

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

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

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

/* Preview strip */
.preview {
  margin: 0;
  padding: 0.55rem var(--gutter);
  background: var(--foil);
  color: var(--velvet);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

/* Header */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.wordmark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.875rem;
  font-variation-settings: "SOFT" 100;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--foil);
  text-decoration: none;
}

.site-nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }

.site-nav a {
  color: var(--mauve);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.site-nav a:hover { color: var(--milk); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--foil);
  color: var(--velvet);
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--foil-hover); }

.btn:disabled,
.btn:disabled:hover {
  background: transparent;
  color: var(--mauve);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: not-allowed;
}

/* Hero */
.hero {
  display: grid;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(1.5rem, 6vw, 4.5rem) clamp(2.5rem, 7vw, 5.5rem);
}

@media (min-width: 860px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.75rem, 5.2vw + 1rem, 5.5rem);
  font-weight: 380;
  line-height: 1.02;
}

.hero-copy p {
  max-width: 30rem;
  margin: 1.25rem 0 2rem;
  color: var(--mauve);
  font-size: 1.1875rem;
}

.hero-stage {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 4% 2% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 186, 166, 0.2), rgba(232, 201, 136, 0.06) 62%, rgba(232, 201, 136, 0));
  pointer-events: none;
}

.hero .squishy { width: min(100%, 440px); --rise: 3.2s; }

@media (max-width: 859px) {
  .hero .squishy { width: min(82%, 340px); }
}

/* The squish */
.squishy {
  --rise: 2.4s;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: none;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}

.squishy svg { display: block; width: 100%; height: auto; overflow: visible; }

.squishy .body,
.squishy .photo {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: transform var(--rise) var(--ease-rise);
}

.squishy .shadow {
  fill: #14040F;
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--rise) var(--ease-rise);
}

.squishy.is-pressed .body,
.squishy.is-pressed .photo {
  transform: scale(1.15, 0.74);
  transition: transform 0.15s var(--ease-squash);
}

.squishy.is-pressed .shadow {
  transform: scaleX(1.2);
  transition: transform 0.15s var(--ease-squash);
}

.squishy .photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Sections */
.section { padding-block: clamp(2.5rem, 7vw, 5.5rem); }

.section > h2,
.section-head h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.25rem); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section-head p { margin: 0.5rem 0 0; color: var(--mauve); }

/* Filters */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  min-height: 40px;
  padding: 0.45rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--mauve);
  font: 600 0.9375rem/1 var(--body);
  cursor: pointer;
}

.chip:hover { color: var(--milk); border-color: rgba(232, 201, 136, 0.5); }

.chip[aria-pressed="true"] { background: var(--milk); border-color: var(--milk); color: var(--velvet); }

/* The tray */
.tray {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  grid-auto-flow: row dense;
  margin: 0;
  padding: clamp(10px, 1.6vw, 18px);
  list-style: none;
  border-radius: clamp(26px, 3vw, 40px);
  background: linear-gradient(#41203F, #351736);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

@media (min-width: 700px) { .tray { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .tray { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.well {
  display: flex;
  flex-direction: column;
  padding: clamp(0.6rem, 1.4vw, 1rem) clamp(0.75rem, 1.4vw, 1.1rem) clamp(0.85rem, 1.6vw, 1.2rem);
  border-radius: clamp(18px, 2.2vw, 28px);
  background: var(--well);
  box-shadow: inset 0 12px 26px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.well[hidden] { display: none; }

.well .squishy { aspect-ratio: 1; margin-bottom: 0.4rem; }

/* Large pieces take two slots in the box */
.well.is-large { grid-column: span 2; }

.well.is-large .squishy { aspect-ratio: 2 / 1; }

.well.is-large .squishy .photo { object-fit: contain; }

.tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(232, 201, 136, 0.55);
  border-radius: 999px;
  color: var(--foil);
  font: 700 0.75rem/1.2 var(--body);
  letter-spacing: 0.01em;
  vertical-align: 0.3em;
}

.well-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.well h3 {
  font-size: clamp(1.125rem, 1vw + 0.85rem, 1.5rem);
  font-weight: 480;
}

.price {
  flex: none;
  font-family: var(--display);
  font-size: 1.125rem;
  font-variation-settings: "SOFT" 100;
  color: var(--foil);
}

.line {
  flex: 1;
  margin: 0.35rem 0 1rem;
  color: var(--mauve);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.size { margin: -0.5rem 0 1rem; color: var(--milk); font-size: 0.875rem; }

.buy { width: 100%; min-height: 44px; padding: 0.6rem 1rem; font-size: 0.9375rem; }

.noscript { color: var(--mauve); }

/* Care */
.care-grid {
  display: grid;
  gap: 1.75rem 2.5rem;
  margin: clamp(1.25rem, 3vw, 2.25rem) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) { .care-grid { grid-template-columns: repeat(3, 1fr); } }

.care-grid h3 { margin-bottom: 0.4rem; font-size: 1.375rem; font-weight: 450; }

.care-grid p { max-width: 34ch; margin: 0; color: var(--mauve); }

/* Questions */
.questions { display: grid; gap: 1rem 3rem; }

@media (min-width: 860px) {
  .questions { grid-template-columns: 1fr 2fr; align-items: start; }
}

.faq details { border-bottom: 1px solid var(--line); }

.faq details:first-child { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--display);
  font-size: 1.3rem;
  font-variation-settings: "SOFT" 100;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--foil);
  font-family: var(--body);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2013"; }

.faq details p { max-width: 60ch; margin: 0 0 1.2rem; color: var(--mauve); }

/* Policies page */
.policy { max-width: 44rem; padding-block: clamp(1.25rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4.5rem); }

.policy h1 { font-size: clamp(2.25rem, 3.5vw + 1rem, 3.5rem); font-weight: 380; }

.policy .updated { margin: 0.75rem 0 0; color: var(--mauve); font-size: 0.9375rem; }

.policy section { padding-top: clamp(1.75rem, 4vw, 2.5rem); scroll-margin-top: 1rem; }

.policy h2 { margin-bottom: 0.6rem; font-size: 1.75rem; }

.policy h3 { margin: 1.25rem 0 0.4rem; font-size: 1.3rem; font-weight: 450; }

.policy p { max-width: 64ch; margin: 0 0 0.9rem; }

.policy ul { max-width: 64ch; margin: 0 0 0.9rem; padding-left: 1.2rem; }

.policy li { margin-bottom: 0.45rem; }

.policy li::marker { color: var(--foil); }

.policy a { color: var(--foil); }

/* Footer */
.site-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(1rem, 4vw, 3rem);
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--mauve);
  font-size: 0.9375rem;
}

.foot-mark {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  font-variation-settings: "SOFT" 100;
  color: var(--foil);
}

.site-foot a { color: var(--milk); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .squishy, .hero .squishy { --rise: 0.45s; }
}
