body {
  background: #f6deea;
  color: #472239;
}
.atelier {
  --paper: #f6deea;
  --ink: #472239;
  --accent: #82224b;
  font-family: "DM Sans", sans-serif;
}
.mast {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 4%;
  background: #421d39;
  color: #ffedf5;
}
.mast > a:first-child {
  font:
    400 30px "Instrument Serif",
    serif;
}
.mast > a:last-child {
  padding: 8px 16px;
  border: 1px solid #f0c6d9;
  border-radius: 30px;
  font-size: 14px;
}
.sets {
  padding: 6%;
}
.set-heading,
.appointment-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.atelier h2 {
  font:
    400 clamp(42px, 5.5vw, 85px) / 0.95 "Instrument Serif",
    serif;
  letter-spacing: -0.045em;
  margin: 0;
}
.set-heading p,
.appointment-card > div {
  max-width: 40ch;
}
.set-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.sample-set {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  padding: 21px;
  background: #ffeef2;
  border-top: 3px solid #834459;
}
.sample-set i {
  width: 31px;
  height: 43px;
  border-radius: 50% 50% 32% 32%;
  background: #e8b5b5;
  box-shadow: inset -4px 0 4px #912b4e26;
}
.sample-2 i {
  background: #86294a;
}
.sample-3 i {
  background: repeating-linear-gradient(
    140deg,
    #f7cfdd 0 7px,
    #803452 8px 10px,
    #f7cfdd 11px 17px
  );
}
.sample-set span {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.sample-set strong {
  margin-top: 12px;
}
.appointment-card {
  background: #53203f;
  color: #fff0f5;
  padding: 5% 6%;
}
.appointment-card summary {
  cursor: pointer;
  text-decoration: underline;
}
.appointment-card h2 {
  color: inherit;
}
@media (max-width: 650px) {
  .mast > a:first-child {
    font-size: 23px;
  }
  .set-heading,
  .appointment-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .sets,
  .appointment-card {
    padding: 40px 6%;
  }
  .set-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .sample-set {
    grid-template-columns: 44px 1fr auto;
    align-items: center;
  }
  .sample-set i {
    grid-row: 1/3;
  }
  .sample-set small {
    grid-column: 2/4;
    grid-row: 2;
  }
  .sample-set strong {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
  }
}

.atelier {
  --inquiry-bg: #fff0f5;
  --inquiry-ink: #53283f;
  --inquiry-button: #76234e;
  --inquiry-button-text: #fff;
}
.atelier > header a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}
.atelier > header a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sample-set {
  text-decoration: none;
}
.sample-set:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mix-table {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 12px 8%;
  padding: 5% 8%;
  background: #efcce0;
}
.mix-table header {
  grid-row: 1/3;
}
.mix-table h2,
.art-study h2,
.set-notes h2,
.set-card h2 {
  font:
    400 clamp(43px, 5.6vw, 86px) / 0.95 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 13px 0;
}
.mix-table header p {
  max-width: 40ch;
}
.lab-tips {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4%;
  --polish: #b96f82;
}
.lab-tips i {
  position: relative;
  display: block;
  width: 12%;
  max-width: 56px;
  height: 91px;
  border-radius: 50% 50% 35% 35%;
  background: linear-gradient(125deg, #fff9, transparent 36%), var(--polish);
  box-shadow: 4px 6px 5px #62334f30;
  transition: background-color 0.32s;
}
.lab-tips i:nth-child(2),
.lab-tips i:nth-child(4) {
  height: 112px;
}
.lab-tips i:nth-child(3) {
  height: 122px;
}
.mix-table fieldset {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  border: 0;
  margin: 0;
  padding: 0;
}
.mix-table legend {
  font-weight: 700;
  margin-bottom: 6px;
}
.mix-table input {
  accent-color: #70254f;
}
.art-study {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 7%;
  margin: 5% 7%;
}
.art-study img {
  width: 100%;
  height: clamp(230px, 33vw, 480px);
  object-fit: cover;
}
.art-study figcaption {
  font-size: 12px;
  padding-top: 6px;
}
.art-study p + p {
  margin-top: 10px;
}
.set-notes {
  padding: 40px 7%;
  background: #4b293e;
  color: #fae8dd;
}
.set-notes dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.set-notes dl div {
  border-top: 1px solid #c79bac;
  padding-top: 12px;
}
.set-notes dt {
  font:
    26px "Instrument Serif",
    serif;
}
.set-notes dd {
  margin-top: 7px;
}
.set-card {
  margin: 5% auto;
  width: min(980px, 90%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 5%;
  background: #ffedde;
  border: 2px solid #6a3c53;
  border-radius: 0 64px 0 0;
}
.set-card form {
  display: grid;
  gap: 12px;
}
.set-card button {
  background: #682c51;
  color: white;
  border: 0;
  border-radius: 30px;
  padding: 9px 20px;
}
.petal-end {
  background: #432238;
  color: #fae6de;
  padding: 20px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.petal-end span {
  font:
    26px "Instrument Serif",
    serif;
}
.petal-end a {
  font-size: 13px;
}
@keyframes petal-tip {
  from {
    translate: 0 50px;
    rotate: -17deg;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
  }
}
.mix-table.in-view .lab-tips i {
  animation: petal-tip 0.85s cubic-bezier(0.23, 1, 0.3, 1) both;
}
.mix-table.in-view i:nth-child(2) {
  animation-delay: 0.08s;
}
.mix-table.in-view i:nth-child(3) {
  animation-delay: 0.16s;
}
.mix-table.in-view i:nth-child(4) {
  animation-delay: 0.24s;
}
.mix-table.in-view i:nth-child(5) {
  animation-delay: 0.32s;
}
@media (max-width: 650px) {
  .mix-table,
  .art-study,
  .set-card,
  .set-notes dl {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mix-table {
    padding-block: 30px;
  }
  .mix-table header {
    grid-row: auto;
  }
  .lab-tips {
    height: 135px;
  }
  .art-study {
    margin-block: 30px;
  }
  .set-card {
    margin-block: 30px;
    padding: 25px 6%;
  }
  .set-card br {
    display: none;
  }
  .petal-end {
    flex-wrap: wrap;
  }
}

#inquiry form label {
  display: grid;
  gap: 0.4em;
  align-content: start;
  min-width: 0;
}
#inquiry form :is(select, input, textarea) {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 0.7em;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
}
#inquiry form option {
  color: #202520;
  background: white;
}
#inquiry form output {
  display: block;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#inquiry form output:empty {
  display: none;
}
#inquiry button {
  cursor: pointer;
  min-height: 44px;
}
#inquiry a {
  color: inherit;
}

.petal-end {
  position: relative;
  padding-block: 4.5%;
  isolation: isolate;
  overflow: hidden;
}
.petal-end > span {
  font-size: clamp(30px, 6vw, 92px);
  line-height: 0.9;
}
.petal-end > a {
  position: relative;
  z-index: 1;
}
.set-card {
  margin-block: 4%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.atelier {
  background: #f9f4f9;
  color: #321b37;
}
.mast {
  background: #e4ff51;
  color: #302136;
  padding: 14px 5%;
  border-bottom: 2px solid #3b233e;
}
.mast > a:first-child,
.petal-end > span {
  font:
    800 clamp(24px, 3vw, 45px) / 1 "Bricolage Grotesque",
    sans-serif;
  letter-spacing: -0.065em;
}
.mast > a:last-child {
  border-color: currentColor;
}
.polish-bench {
  display: grid;
  grid-template-columns: 42% 58%;
  background: #bea6e6;
  border-bottom: 2px solid #3e2645;
}
.polish-window {
  position: relative;
  padding: 28px 8% 0;
  min-width: 0;
  overflow: hidden;
}
.polish-window > p {
  font:
    650 13px "Space Mono",
    monospace;
}
.polish-window h1 {
  font:
    800 clamp(64px, 8vw, 145px) / 0.83 "Archivo Black",
    Arial,
    sans-serif;
  letter-spacing: -0.08em;
  margin: 22px 0 -4px;
  position: relative;
  z-index: 1;
}
.polish-window figure {
  position: relative;
  width: 90%;
  margin: 0 0 0 auto;
  transform: rotate(-3deg);
  background: white;
  padding: 6px 6px 15px;
}
.polish-window img {
  width: 100%;
  height: clamp(100px, 13vw, 230px);
  object-fit: cover;
}
.polish-window figcaption {
  font:
    12px/1.5 "Space Mono",
    monospace;
  padding-top: 4px;
}
.polish-bench .mix-table {
  background: #f6d5ed;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 6% 9%;
  gap: 13px;
  border-left: 2px solid #55395b;
}
.mix-table header > p:first-child {
  display: none;
}
.atelier h2,
.atelier .mix-table h2,
.atelier .set-card h2,
.atelier .art-study h2,
.atelier .set-notes h2 {
  font:
    800 clamp(35px, 4vw, 61px) / 0.96 "Bricolage Grotesque",
    Arial,
    sans-serif;
  letter-spacing: -0.055em;
}
.polish-bench .lab-tips {
  height: 145px;
  background: #ffedf8;
  border: 1px solid #9d748c;
  border-radius: 50%;
  margin: 10px 0;
}
.mix-table fieldset label {
  border-radius: 30px;
  background: white;
  padding: 8px 12px;
  font-size: 14px;
}
.mix-table fieldset label:has(:checked) {
  background: #3b243f;
  color: white;
}
.atelier .sets {
  padding: 4% 5%;
  background: #faf8f8;
}
.atelier .set-grid {
  gap: 0;
  border: 1px solid #51354a;
}
.atelier .sample-set {
  border: 0;
  border-radius: 0;
  padding: 22px;
}
.atelier .sample-set + .sample-set {
  border-left: 1px solid #51354a;
}
.after-polish {
  background: #311d36;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.after-polish .art-study {
  padding: 7%;
  display: block;
  background: transparent;
}
.after-polish .art-study article {
  margin-top: 20px;
  color: white;
}
.after-polish .set-notes {
  padding: 10%;
  height: 100%;
  background: #3d2946;
  color: white;
}
.after-polish .set-notes dl {
  display: block;
}
.after-polish .set-notes dl div {
  padding: 13px 0;
  border-bottom: 1px solid #9d849f;
}
.atelier .set-card {
  border: 2px solid #36223d;
  border-radius: 0;
  box-shadow: 8px 8px #b89dd2;
  background: #f7f0ff;
}
.appointment-card {
  border-top: 2px solid #36223d;
}
@media (max-width: 680px) {
  .polish-bench,
  .after-polish {
    grid-template-columns: 1fr;
  }
  .polish-window {
    min-height: 187px;
    padding: 20px 5%;
  }
  .polish-window h1 {
    font-size: clamp(48px, 13vw, 80px);
    max-width: 56%;
    margin: 16px 0 0;
  }
  .polish-window figure {
    width: 36%;
    position: absolute;
    right: 5%;
    bottom: 9px;
  }
  .polish-window img {
    height: 105px;
  }
  .polish-window figcaption {
    font-size: 10px;
  }
  .polish-bench .mix-table {
    border-left: 0;
    border-top: 2px solid #55395b;
    padding: 24px 5%;
  }
  .polish-bench .lab-tips {
    height: 105px;
  }
  .polish-bench .lab-tips i {
    max-height: 85px;
  }
  .atelier .sample-set + .sample-set {
    border-left: 0;
    border-top: 1px solid #51354a;
  }
  .atelier .set-grid {
    grid-template-columns: 1fr;
  }
  .atelier .sample-set {
    padding: 16px;
  }
  .atelier .set-card {
    box-shadow: 4px 4px #b89dd2;
  }
}
