:root {
  --ink: #2d211b;
  --muted: #776f66;
  --paper: #f5f1e9;
  --accent: #d9533b;
  --tint: #efe0d6;
  --line: #dcd5cb;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
#viewport:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
header {
  max-width: 1600px;
  margin: auto;
  padding: 28px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 950;
  font-size: 23px;
  letter-spacing: -1.4px;
  line-height: 0.82;
  text-decoration: none;
  position: relative;
  padding-bottom: 13px;
}
.smile {
  position: absolute;
  bottom: 0;
  right: 3px;
  width: 35px;
  height: 10px;
  border-bottom: 5px solid var(--accent);
  border-radius: 0 0 80% 80%;
  transform: rotate(-10deg);
}
.header-note,
.eyebrow,
footer {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
}
.header-note {
  margin-left: 45px;
}
.back {
  font-size: 12px;
  text-decoration: none;
}
main {
  max-width: 1600px;
  margin: auto;
  padding: 0 5%;
}
.intro {
  position: relative;
  padding: 35px 0 28px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
}
h1 {
  font-size: clamp(35px, 4vw, 60px);
  line-height: 1.03;
  letter-spacing: -2.7px;
  font-weight: 650;
  margin: 0;
}
h1 br {
  display: none;
}
h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
.intro > p:last-child {
  position: absolute;
  right: 0;
  bottom: 29px;
  font-size: 14px;
  color: var(--muted);
}
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 42px;
}
.stage {
  position: relative;
  min-height: 640px;
  background: var(--tint);
  border: 1px solid #ffffff88;
  border-radius: 20px;
  overflow: hidden;
  transition: background 0.5s;
}
.stage-tag,
.stage-number {
  position: absolute;
  z-index: 2;
  top: 26px;
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #5f5146;
}
.stage-tag {
  left: 27px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.stage-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.stage-number {
  right: 27px;
  font-variant-numeric: tabular-nums;
}
.background-word {
  position: absolute;
  left: 0;
  right: 0;
  top: 19%;
  text-align: center;
  color: var(--accent);
  opacity: 0.12;
  font-weight: 900;
  letter-spacing: -7px;
  font-size: clamp(65px, 10vw, 170px);
  pointer-events: none;
  line-height: 1;
}
#viewport {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: none;
}
#viewport:active {
  cursor: grabbing;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.loading {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 44%;
  text-align: center;
  font-size: 14px;
}
.loading:empty {
  display: none;
}
.zoom-tools {
  position: absolute;
  right: 22px;
  bottom: 89px;
  display: grid;
  background: #fff9;
  border: 1px solid #fff;
  border-radius: 30px;
  overflow: hidden;
}
.zoom-tools button {
  width: 39px;
  height: 39px;
  border: 0;
  background: transparent;
  font-size: 22px;
}
.zoom-tools button:hover {
  background: #fff;
}
.stage-bottom {
  position: absolute;
  bottom: 23px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #655b52;
}
.stage-bottom button {
  border: 1px solid #ffffffaa;
  border-radius: 20px;
  background: #fff9;
  padding: 10px 15px;
  font-size: 11px;
}
.stage-bottom button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.touch-hint {
  display: none;
}
aside {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}
h2 {
  font-size: 39px;
  letter-spacing: -1.7px;
  line-height: 1.04;
  margin: 0 0 12px;
  font-weight: 700;
}
.flavor-heading > p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 270px;
  min-height: 42px;
}
.flavor-heading .eyebrow {
  display: block;
  font-size: 9px;
  margin-bottom: 18px;
}
.flavor-list {
  margin-top: 22px;
  display: grid;
  gap: 7px;
}
.flavor-option {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  padding: 8px 11px;
  font-size: 12px;
  min-height: 47px;
}
.flavor-option:hover {
  background: #fff7;
}
.flavor-option[aria-pressed="true"] {
  background: #fff9;
  border-color: var(--accent);
  box-shadow: 0 3px 12px #2d211b04;
}
.swatch {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--sw);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px #0001;
}
.flavor-option .check {
  margin-left: auto;
  visibility: hidden;
}
.flavor-option[aria-pressed="true"] .check {
  visibility: visible;
  color: var(--accent);
}
.inspection {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.inspection .eyebrow {
  font-size: 9px;
  margin-bottom: 11px;
}
.view-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr;
  gap: 5px;
}
.view-buttons button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  padding: 8px 0;
  font-size: 11px;
}
.view-buttons button[aria-pressed="true"] {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.lid-toggle {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-size: 12px;
}
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
  border-radius: 9px;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 12px;
  margin-top: auto;
}
.download:hover {
  background: var(--accent);
}
.concept-note {
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin: 11px 0 0;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 0 22px;
  font-size: 8px;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .stage {
    min-height: 720px;
  }
}
@media (max-width: 1050px) {
  .studio {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .intro > p:last-child {
    position: static;
    margin-bottom: 0;
  }
  .stage {
    min-height: 655px;
  }
  h1 br {
    display: block;
  }
  .background-word {
    letter-spacing: -4px;
    font-size: 12vw;
  }
}
@media (max-width: 700px) {
  header {
    padding: 22px 5%;
  }
  .header-note {
    display: none;
  }
  .intro {
    padding-top: 26px;
    padding-bottom: 22px;
  }
  .intro .eyebrow {
    font-size: 9px;
  }
  h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  h1 br {
    display: none;
  }
  h1 em {
    display: block;
  }
  .intro > p:last-child {
    font-size: 12px;
    margin-top: 12px;
  }
  .studio {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stage {
    min-height: 0;
    height: 480px;
  }
  .background-word {
    top: 21%;
    font-size: 22vw;
  }
  .stage-tag,
  .stage-number {
    top: 20px;
  }
  .stage-tag {
    left: 18px;
  }
  .stage-number {
    right: 18px;
  }
  .stage-bottom {
    left: 18px;
    right: 18px;
    font-size: 10px;
  }
  .stage-bottom button {
    padding: 9px 11px;
  }
  .desktop-hint {
    display: none;
  }
  .touch-hint {
    display: inline;
  }
  aside {
    padding: 0;
  }
  .flavor-heading {
    position: relative;
  }
  .flavor-heading .eyebrow {
    margin-bottom: 10px;
  }
  h2 {
    font-size: 32px;
  }
  h2 br {
    display: none;
  }
  .flavor-heading > p {
    max-width: 100%;
    min-height: 0;
  }
  .flavor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
    gap: 6px;
  }
  .flavor-option {
    font-size: 11px;
    gap: 8px;
    padding: 8px;
  }
  .flavor-option:last-child {
    grid-column: 1/-1;
  }
  .inspection {
    margin-top: 18px;
  }
  .view-buttons button {
    padding: 12px;
  }
  .download {
    margin-top: 5px;
  }
  .concept-note {
    font-size: 10px;
  }
  footer {
    gap: 15px;
    font-size: 7px;
    line-height: 1.7;
  }
  .zoom-tools {
    right: 16px;
    bottom: 80px;
  }
  .stage-bottom > span {
    max-width: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
h1 em {
  margin-left: 0.12em;
}
@media (max-width: 1050px) {
  h1 em {
    margin-left: 0;
  }
}
