@font-face {
  font-family: DM;
  src: url(dm-sans.woff2) format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Bricolage;
  src: url(bricolage.woff2) format('woff2');
  font-display: swap;
  font-weight: 200 900;
}
:root {
  --paper: #f7f7f0;
  --black: #21241f;
  --sub: #596052;
  --line: #d2d4c8;
  --acid: #b7ef26;
  --lime: #8ace00;
  --display: Bricolage, Arial, sans-serif;
  --sans: DM, Arial, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font: 16px/1.48 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
select,
summary,
.custom-color {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
}
button,
input,
select,
textarea {
  border-radius: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #507200;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 10;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 0;
}
header {
  border-bottom: 1px solid var(--line);
}
.mast,
main,
footer {
  max-width: 1280px;
  width: calc(100% - 10vw);
  margin: auto;
}
.mast {
  height: 74px;
  display: flex;
  align-items: center;
  gap: clamp(26px, 4.6vw, 82px);
}
.wordmark {
  font: 800 27px/1 var(--display);
  letter-spacing: -1.9px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.record-mark {
  display: inline-block;
  position: relative;
  width: 31px;
  height: 31px;
  border-radius: 100%;
  margin-right: 9px;
  background: repeating-radial-gradient(
    circle,
    #161915 0 1.4px,
    #474d41 1.8px 2.4px
  );
}
.record-mark:after {
  content: '';
  position: absolute;
  inset: 9px;
  border: 4px solid var(--acid);
  border-radius: 50%;
  background: var(--black);
}
.brand-period {
  color: #5a8100;
}
.mast nav {
  display: flex;
  align-self: stretch;
  gap: 27px;
}
.mast nav a {
  display: grid;
  align-items: center;
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
}
.mast nav a[aria-current] {
  color: var(--black);
}
.mast nav a[aria-current]:after {
  content: '';
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
}
.saved-link {
  margin-left: auto;
  border: 1px solid #a5aa99;
  border-radius: 22px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 700;
}
.saved-link span:first-child {
  margin-right: 4px;
}
.saved-link:hover,
.aux button:hover {
  background: #e9eadf;
}
.intro {
  padding: clamp(32px, 4vw, 57px) 0 25px;
}
.intro h1 {
  font: 800 clamp(44px, 5.9vw, 87px)/0.98 var(--display);
  letter-spacing: -0.074em;
  margin: 0;
}
.period {
  color: #557900;
}
.intro p {
  margin: 13px 0 0;
  color: var(--sub);
  max-width: 760px;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: -0.016em;
}
.crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font: 11px/1.5 var(--mono);
  margin-bottom: 17px;
  color: var(--sub);
}
.crumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.workbench {
  background: #fcfcf7;
  border: 1px solid #b8bcad;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(310px, 0.9fr);
  box-shadow: 0 3px 0 #252b1710;
}
.preview-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #e8eadf;
  border-right: 1px solid #b8bcad;
}
.work-top,
.preview-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 23px;
  gap: 9px;
}
.work-top {
  background: #e7e9dd;
  border-bottom: 1px solid #c3c7b6;
}
.mini-label,
.preview-foot {
  font: 11px/1.3 var(--mono);
  letter-spacing: 0.06em;
}
.mini-label {
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #aee51c;
  border: 1px solid #48511e;
  border-radius: 100%;
}
.view-switch {
  font: 12px/1.3 var(--sans);
  border: 1px solid #a4ab96;
  padding: 5px 10px;
  background: #eff1e7;
  border-radius: 20px;
  font-weight: 600;
}
.view-switch[aria-pressed='true'] {
  background: #272a22;
  color: white;
}
.stage {
  isolation: isolate;
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 310px;
  padding: 30px 0;
  overflow: hidden;
  background-color: #dde0d2;
  background-image:
    linear-gradient(123deg, #ffffff50, #a9b49c33),
    linear-gradient(90deg, #8b937c1e 1px, transparent 1px),
    linear-gradient(#8b937c1e 1px, transparent 1px);
  background-size:
    auto,
    24px 24px,
    24px 24px;
}
.stage:after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 65px #59624b14;
}
.sleeve-set {
  --art-ratio: 1;
  display: flex;
  position: relative;
  width: min(78%, 465px);
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.23s ease;
}
.canvas-wrap {
  width: 76%;
  position: relative;
  aspect-ratio: var(--art-ratio);
  transform: rotate(-6deg);
  box-shadow:
    1px 1px 0 #7b7f63,
    0 3px 1px #1113,
    4px 16px 17px -8px #25281970,
    13px 23px 29px -19px #080b0270;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.canvas-wrap:before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 1px 0 2px #ffffee5c,
    inset -1px -1px 2px #11220045;
  z-index: 2;
}
.canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #8ace00;
}
.vinyl {
  width: 73%;
  aspect-ratio: 1;
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  border-radius: 100%;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0 1.3px,
      #fff1 1.6px,
      transparent 2.1px
    ),
    conic-gradient(
      from -45deg,
      #11120f,
      #373a34 12%,
      #0c0c0b 24%,
      #282b25 37%,
      #090908 49%,
      #42443e 66%,
      #080907 78%,
      #262724 90%,
      #11120f
    );
  box-shadow:
    3px 13px 17px -7px #1c201a8f,
    inset 0 0 2px 2px #262821;
}
.vinyl i {
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #111 0 4%,
    #d2e8a9 4.3%,
    #c4d8a2 65%,
    #91a478 67%
  );
}
.art-only,
.non-square {
  justify-content: center;
}
.art-only .vinyl,
.non-square .vinyl {
  display: none;
}
.art-only .canvas-wrap,
.non-square .canvas-wrap {
  transform: none;
}
.art-only .canvas-wrap {
  width: 70%;
}
.non-square .canvas-wrap {
  width: auto;
  height: clamp(255px, 25vw, 345px);
  max-width: 100%;
}
.sleeve-set.wide .canvas-wrap {
  width: 100%;
  height: auto;
}
.preview-foot {
  border-top: 1px solid #c3c7b6;
  background: #edf0e5;
  letter-spacing: 0.015em;
  min-height: 43px;
  color: #505848;
}
.preview-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.preview-foot i {
  display: inline-block;
  background: #afb5a4;
  width: 3px;
  height: 3px;
  border-radius: 50%;
}
.corner-icon {
  font-size: 17px;
}
.controls {
  padding: 24px clamp(18px, 2.3vw, 36px) 17px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}
.controls h2 {
  margin: 0;
  font: 760 clamp(22px, 2vw, 29px)/1.05 var(--display);
  letter-spacing: -0.06em;
}
.field {
  display: grid;
  gap: 6px;
}
.controls label,
.fieldtitle > span:first-child,
.controls summary {
  font-size: 13px;
  font-weight: 700;
}
.fieldtitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fieldtitle > span:last-child,
.advanced-grid output {
  color: #616953;
  font: 11px var(--mono);
}
textarea,
select {
  width: 100%;
  border: 1px solid #b8bdac;
  background: #fffefa;
  transition: border-color 0.18s;
}
.controls textarea {
  resize: vertical;
  min-height: 58px;
  padding: 9px 12px;
  line-height: 1.35;
  max-height: 190px;
}
.controls select {
  padding: 9px 12px;
  font-size: 14px;
}
.palette {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.sw,
.custom-color {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #14181040;
  background: var(--sw);
}
.sw[aria-pressed='true'] {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}
.custom-color {
  font-size: 18px;
  font-weight: bold;
  background: #fafaf3;
  border-style: dashed;
  border-color: #89907f;
  overflow: hidden;
}
.custom-color:focus-within {
  outline: 2px solid var(--black);
}
.custom-color input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.controls details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.controls summary {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.controls summary span {
  font-family: var(--mono);
  transition: transform 0.18s;
}
.controls details[open] summary span {
  transform: rotate(45deg);
}
summary::-webkit-details-marker {
  display: none;
}
.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-bottom: 15px;
}
.advanced-grid label {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.advanced-grid input[type='range'] {
  width: 100%;
  accent-color: #608c00;
}
.advanced-grid input[type='color'] {
  padding: 1px;
  border: 1px solid #b8bdac;
  width: 100%;
  height: 32px;
  background: white;
}
.advanced-grid output {
  margin-left: auto;
}
.advanced-grid .mirror {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}
.export {
  padding: 12px 14px;
  width: 100%;
  background: var(--black);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 #fff2;
}
.export span {
  color: var(--acid);
  margin-right: 6px;
  font-size: 17px;
}
.export:hover {
  background: #384324;
}
.aux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: -7px;
}
.aux button,
.guide-actions button,
.ideas button,
.library-card button {
  min-height: 35px;
  border: 1px solid #bac0ae;
  background: #f4f6ec;
  font: 600 12px var(--sans);
}
.status {
  margin: 0;
  font-size: 12px;
  color: #526c19;
}
.status:empty {
  display: none;
}
.section {
  margin-top: clamp(36px, 5vw, 73px);
}
.sectitle,
.card-details,
.guide-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sectitle {
  margin-bottom: 18px;
}
.sectitle h2,
.how h2 {
  font: 780 clamp(27px, 3.2vw, 45px)/1.04 var(--display);
  letter-spacing: -0.065em;
  margin: 0;
}
.sectitle a,
.how a,
.guide-grid a {
  font: 650 13px var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.template-card {
  display: block;
  min-width: 0;
}
.mini-frame {
  height: auto;
  aspect-ratio: 1.73;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #c4c8ae;
  border: 1px solid #242a161e;
  border-radius: 7px;
  position: relative;
}
.mini-cover,
.type-tile,
.color-tile {
  display: grid;
  place-items: center;
}
.mini-cover {
  width: 46%;
  aspect-ratio: 1;
  background: #8ace00;
  transform: rotate(-8deg);
  font:
    400 clamp(16px, 2vw, 34px)/0.97 Arial,
    sans-serif;
  letter-spacing: -0.07em;
  box-shadow: 3px 8px 11px #161b134d;
  text-align: center;
  transition: transform 0.25s;
}
.template-card:hover .mini-cover {
  transform: rotate(-3deg) scale(1.08);
}
.classic .mini-frame {
  background: repeating-linear-gradient(
    -38deg,
    #d8dfc4 0 15px,
    #ccd5b7 15px 17px
  );
}
.punch .mini-frame {
  background: #e8a3bd;
}
.punch .mini-cover {
  background: #ffabcf;
  color: #4a122d;
  transform: rotate(6deg);
  font-weight: 700;
}
.lyric .mini-frame {
  background: #cac3ee;
}
.lyric .mini-cover {
  background: #755ee8;
  color: #f6edff;
  aspect-ratio: 4/5;
  width: 37%;
  font:
    italic 500 clamp(15px, 1.4vw, 25px)/1 Georgia,
    serif;
  transform: rotate(-5deg);
}
.phone .mini-frame {
  background: #b8cadc;
}
.phone .mini-cover {
  background: #dde8f7;
  color: #273349;
  width: 25%;
  aspect-ratio: 9/16;
  transform: rotate(8deg);
  font-size: clamp(16px, 1.9vw, 31px);
}
.card-details {
  margin-top: 11px;
}
.card-details h3,
.notes h3,
.guide-grid h2,
.how h3,
.library-card h2 {
  margin: 0;
  font: 750 21px/1.2 var(--display);
  letter-spacing: -0.045em;
}
.card-details .arrow {
  font-size: 18px;
}
.template-card p,
.notes p {
  margin: 4px 0 0;
  color: var(--sub);
  font-size: 13px;
}
.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.notes > a {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 19px;
  background: #f1f2e8;
}
.notes > a > span:last-child {
  margin-left: auto;
}
.tile-symbol {
  font:
    500 28px Georgia,
    serif;
  flex: none;
  width: 40px;
}
.green-chip {
  height: 39px;
  background: var(--lime);
  border: 1px solid #696e4d;
}
.how {
  max-width: 740px;
}
.how p,
.guide-grid p {
  color: var(--sub);
  line-height: 1.65;
}
.how h3 {
  margin: 19px 0 9px;
}
.ideas,
.guide-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.ideas button,
.guide-actions button,
.library-card button {
  padding: 6px 12px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.guide-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding: 16px;
  background: #fcfcf6;
}
.guide-grid article h2 {
  margin-top: 15px;
}
.type-tile,
.color-tile {
  aspect-ratio: 1.5;
  background: var(--lime);
  border-radius: 4px;
  font:
    500 clamp(26px, 3.2vw, 52px)/1 Arial,
    sans-serif;
  letter-spacing: -0.08em;
}
.heavy {
  font-weight: 800;
  background: #ffabcf;
  color: #4a122d;
}
.serif {
  font-family: Georgia, serif;
  font-style: italic;
  background: #755ee8;
  color: #f6edff;
}
.color-tile {
  font: 650 clamp(20px, 2.7vw, 42px)/1 var(--mono);
  letter-spacing: -0.06em;
}
.library-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.library-card .thumb {
  width: 66px;
  height: 66px;
  object-fit: contain;
  background: #e8eadd;
}
.library-card h2 {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.library-card > div {
  min-width: 0;
  margin-right: auto;
}
.library-card p {
  margin: 4px 0;
  font: 11px var(--mono);
  color: var(--sub);
}
.library-card a,
.empty a {
  font-weight: 700;
  text-decoration: underline;
}
.empty {
  padding: 26px;
  border: 1px dashed #949c83;
  border-radius: 8px;
}
.empty h2,
.empty p {
  margin: 0 0 8px;
}
footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(45px, 6vw, 88px);
  padding: 25px 0 26px;
}
.footline,
.footbottom,
.footlinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footline .wordmark {
  font-size: 22px;
}
.footlinks a,
.footbottom {
  font-size: 12px;
  color: var(--sub);
}
.footlinks a:hover {
  text-decoration: underline;
}
.footbottom {
  margin-top: 19px;
}
.languages summary {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.languages div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 350px;
  margin: 6px 0;
}
.languages a:hover {
  text-decoration: underline;
}
@media (min-width: 1550px) {
  .stage {
    min-height: 425px;
  }
}
@media (max-width: 900px) {
  .mast,
  main,
  footer {
    width: calc(100% - 7vw);
  }
  .mast {
    gap: 30px;
  }
  .mast nav {
    gap: 16px;
  }
  .cards {
    gap: 12px;
  }
  .controls {
    padding: 20px 18px;
  }
  .workbench {
    grid-template-columns: minmax(0, 1.1fr) minmax(285px, 1fr);
  }
  .work-top,
  .preview-foot {
    padding: 12px 14px;
  }
  .preview-foot {
    font-size: 10px;
  }
  .guide-grid {
    gap: 12px;
  }
  .sleeve-set {
    width: 84%;
  }
}
@media (max-width: 670px) {
  .mast,
  main,
  footer {
    width: calc(100% - 32px);
  }
  .mast {
    height: auto;
    min-height: 65px;
    gap: 0;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .wordmark {
    font-size: 24px;
  }
  .mast .record-mark {
    width: 27px;
    height: 27px;
  }
  .mast nav {
    order: 3;
    width: 100%;
    gap: 23px;
    min-height: 32px;
  }
  .mast > .wordmark,
  .saved-link {
    margin-top: 11px;
    margin-bottom: 7px;
  }
  .mast nav a {
    font-size: 12px;
    padding: 0 0 6px;
  }
  .saved-link {
    padding: 5px 11px;
  }
  .intro {
    padding: 27px 0 18px;
  }
  .intro p {
    margin-top: 10px;
  }
  .workbench {
    grid-template-columns: 1fr;
  }
  .preview-side {
    border: 0;
    border-bottom: 1px solid #b8bcad;
  }
  .work-top {
    padding: 8px 13px;
  }
  .preview-foot {
    padding: 7px 13px;
    min-height: 33px;
  }
  .stage {
    min-height: 0;
    height: clamp(185px, 54vw, 305px);
    flex: none;
    padding: 16px;
  }
  .sleeve-set {
    width: min(79%, 320px);
  }
  .sleeve-set .canvas-wrap {
    max-height: clamp(149px, 42vw, 228px);
    width: auto;
    height: clamp(149px, 42vw, 228px);
  }
  .sleeve-set.wide .canvas-wrap {
    height: auto;
    width: 100%;
  }
  .art-only .canvas-wrap {
    aspect-ratio: var(--art-ratio);
  }
  .vinyl {
    width: 70%;
  }
  .controls {
    gap: 14px;
    padding: 19px 17px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .card-details h3 {
    font-size: 18px;
  }
  .notes,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid .type-tile,
  .guide-grid .color-tile {
    aspect-ratio: 2.8;
  }
  .notes a {
    padding: 14px;
  }
  .sectitle {
    align-items: baseline;
  }
  .sectitle a {
    font-size: 12px;
  }
  .section {
    margin-top: 36px;
  }
  .footlinks,
  .footline {
    align-items: flex-start;
    gap: 11px 16px;
  }
  .footline {
    flex-direction: column;
  }
  .library-card {
    gap: 9px;
    flex-wrap: wrap;
  }
  .aux,
  .export {
    min-height: 39px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
