.studio-body {
  background: #080907;
  color: #f2ede2;
}

.studio-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 110px) 0;
}

.studio-hero {
  display: grid;
  gap: 18px;
  max-width: 980px;
  padding: clamp(28px, 6vw, 64px) 0 clamp(38px, 7vw, 84px);
}

.studio-kicker {
  margin: 0;
  color: #b89458;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.studio-hero h1,
.studio-step h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.studio-hero h1 {
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: .88;
}

.studio-hero p:not(.studio-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(242, 237, 226, .72);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.studio-workbench {
  display: grid;
  gap: 28px;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid rgba(242, 237, 226, .14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 0%, rgba(184, 148, 88, .18), transparent 32%),
    rgba(242, 237, 226, .035);
}

.studio-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(242, 237, 226, .16);
}

.studio-progress span {
  padding: 13px;
  background: #080907;
  color: rgba(242, 237, 226, .46);
  font-size: .78rem;
  font-weight: 820;
}

.studio-progress span.is-active,
.studio-progress span.is-done {
  color: #f2ede2;
}

.studio-progress span.is-active {
  background: rgba(184, 148, 88, .18);
}

.studio-step {
  display: grid;
  gap: 22px;
}

.studio-step[hidden] {
  display: none;
}

.studio-step h2 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: .95;
}

.studio-type-grid,
.studio-template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(242, 237, 226, .16);
  border-left: 1px solid rgba(242, 237, 226, .16);
}

.studio-type-grid button {
  display: grid;
  min-height: 260px;
  gap: 14px;
  align-content: space-between;
  padding: clamp(20px, 3vw, 30px);
  border: 0;
  border-right: 1px solid rgba(242, 237, 226, .16);
  border-bottom: 1px solid rgba(242, 237, 226, .16);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.studio-type-grid button:hover,
.studio-type-grid button:focus-visible,
.studio-type-grid button.is-selected {
  background: rgba(184, 148, 88, .12);
}

.studio-type-grid span {
  color: #b89458;
  font-family: Consolas, "SFMono-Regular", monospace;
}

.studio-type-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.studio-type-grid small {
  color: rgba(242, 237, 226, .62);
  line-height: 1.55;
}

.studio-form label,
.studio-radio-row {
  display: grid;
  gap: 8px;
  color: rgba(242, 237, 226, .78);
  font-weight: 780;
}

.studio-form input,
.studio-form select,
.studio-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 237, 226, .18);
  border-radius: 8px;
  background: rgba(242, 237, 226, .06);
  color: #f2ede2;
  font: inherit;
}

.studio-form textarea {
  resize: vertical;
}

.studio-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.studio-radio-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
  padding: 0;
  margin: 0;
}

.studio-radio-row legend {
  grid-column: 1 / -1;
}

.studio-radio-row label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(242, 237, 226, .18);
  border-radius: 999px;
}

.studio-note,
.studio-status {
  margin: 0;
  color: rgba(242, 237, 226, .58);
  line-height: 1.6;
}

.studio-generating {
  min-height: 320px;
  place-items: center;
  text-align: center;
}

.studio-loader {
  width: 88px;
  aspect-ratio: 1;
  border: 1px solid rgba(184, 148, 88, .45);
  border-radius: 50%;
  animation: studio-spin 1.4s linear infinite;
}

.studio-loader::before {
  display: block;
  width: 42px;
  aspect-ratio: 1;
  margin: 22px;
  border-radius: 50%;
  background: #f2ede2;
  box-shadow: -12px 2px 0 -4px #080907;
  content: "";
}

.studio-result-layout {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.studio-card-wrap {
  display: grid;
  place-items: center;
}

.studio-share-card {
  position: relative;
  display: grid;
  width: min(420px, 100%);
  aspect-ratio: 1080 / 1350;
  overflow: hidden;
  padding: 34px;
  align-content: space-between;
  border: 1px solid rgba(242, 237, 226, .14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 148, 88, .26), transparent 34%),
    #080907;
  color: #f2ede2;
}

.studio-share-card::before {
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(242, 237, 226, .08);
  content: "";
}

.studio-share-card header,
.studio-share-card footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 850;
}

.studio-moon-mark {
  display: inline-block;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f2ede2;
  box-shadow: -10px 2px 0 -3px #080907;
}

.studio-share-card em,
.studio-share-card p,
.studio-share-card small,
.studio-share-card footer {
  color: rgba(242, 237, 226, .58);
  font-style: normal;
}

.studio-share-card p {
  margin: auto 0 0;
  color: #b89458;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.studio-share-card h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 8.5ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: .92;
  font-weight: 400;
}

.studio-share-card dl {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  margin: 0;
}

.studio-share-card dl div {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(242, 237, 226, .14);
}

.studio-share-card dt {
  color: #b89458;
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.studio-share-card dd {
  margin: 0;
  text-align: right;
}

.studio-card-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.studio-card-orbits span,
.studio-card-orbits i,
.studio-card-orbits b {
  position: absolute;
  border: 1px solid rgba(184, 148, 88, .2);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.studio-card-orbits span { top: 12%; right: -18%; width: 72%; height: 34%; }
.studio-card-orbits i { top: 23%; right: 8%; width: 44%; height: 23%; }
.studio-card-orbits b { top: 2%; right: -34%; width: 96%; height: 46%; }

.snapshot-public-body {
  min-height: 100vh;
}

.snapshot-public-shell {
  display: grid;
  min-height: 100vh;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
  place-items: center;
  gap: 28px;
}

.snapshot-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  color: #f2ede2;
  font-weight: 850;
  text-decoration: none;
}

.snapshot-card {
  position: relative;
  display: grid;
  width: min(500px, 100%);
  aspect-ratio: 1080 / 1350;
  overflow: hidden;
  padding: clamp(28px, 5vw, 44px);
  align-content: space-between;
  border: 1px solid rgba(242, 237, 226, .14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 148, 88, .26), transparent 34%),
    #080907;
  color: #f2ede2;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.snapshot-card header,
.snapshot-card footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 850;
}

.snapshot-moon {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f2ede2;
  box-shadow: -10px 2px 0 -3px #080907;
}

.snapshot-card em,
.snapshot-card p,
.snapshot-card small,
.snapshot-card footer {
  color: rgba(242, 237, 226, .58);
  font-style: normal;
}

.snapshot-card p {
  margin: auto 0 0;
  color: #b89458;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.snapshot-card h1 {
  position: relative;
  z-index: 2;
  max-width: 8.5ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 8vw, 5rem);
  font-weight: 400;
  line-height: .92;
}

.snapshot-card dl {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  margin: 0;
}

.snapshot-card dl div {
  display: grid;
  grid-template-columns: .45fr 1fr;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(242, 237, 226, .14);
}

.snapshot-card dt {
  color: #b89458;
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.snapshot-card dd {
  margin: 0;
  text-align: right;
}

.snapshot-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.snapshot-orbits span,
.snapshot-orbits i,
.snapshot-orbits b {
  position: absolute;
  border: 1px solid rgba(184, 148, 88, .2);
  border-radius: 50%;
  transform: rotate(-28deg);
}

.snapshot-orbits span { top: 12%; right: -18%; width: 72%; height: 34%; }
.snapshot-orbits i { top: 23%; right: 8%; width: 44%; height: 23%; }
.snapshot-orbits b { top: 2%; right: -34%; width: 96%; height: 46%; }

.snapshot-public-actions {
  display: grid;
  max-width: 680px;
  gap: 14px;
  text-align: center;
}

.snapshot-public-actions h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
}

.snapshot-public-actions p {
  margin: 0 auto;
  max-width: 560px;
  color: rgba(242, 237, 226, .7);
  line-height: 1.7;
}

.studio-actions,
.studio-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.studio-result-copy {
  display: grid;
  gap: 18px;
}

.studio-result-copy p {
  color: rgba(242, 237, 226, .68);
  line-height: 1.7;
}

@keyframes studio-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .studio-progress,
  .studio-type-grid,
  .studio-result-layout {
    grid-template-columns: 1fr;
  }

  .studio-field-pair,
  .studio-radio-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .studio-main {
    width: min(100% - 28px, 1240px);
  }

  .studio-radio-row {
    grid-template-columns: 1fr;
  }

  .studio-type-grid button {
    min-height: 190px;
  }
}
