:root {
  color-scheme: light;
  --cream: #f7efe4;
  --paper: #fffaf3;
  --ink: #2b2027;
  --wine: #582940;
  --lilac: #e3ccdc;
  --line: #d8c6c2;
  --display: "Instrument Serif", "Times New Roman", serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
}

.wrap {
  width: min(1050px, calc(100% - 40px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.studio-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--wine);
}

.studio-mark::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--lilac);
  transform: rotate(45deg);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 20px;
  padding-block: clamp(28px, 7vw, 80px) 40px;
}

.hero, .track {
  border-radius: 12px;
  padding: clamp(23px, 4vw, 42px);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  background: #31212c;
  color: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(#be93b0 1px, transparent 1.5px) 0 0 / 8px 8px;
  mask-image: radial-gradient(ellipse at 100% 100%, #000 15%, transparent 63%);
  opacity: .62;
  pointer-events: none;
}

h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(3.1rem, 6.7vw, 5.65rem); }
h1 em { color: var(--lilac); }
h2 { font-size: clamp(2.45rem, 4vw, 3.5rem); }

.hero p {
  max-width: 29ch;
  margin: 17px 0 23px;
  color: #ebdce4;
}

.track {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 5px 5px 0 #e8d8dd;
  align-content: center;
}

#order-help { margin: 12px 0 22px; color: #63555d; }
label { display: block; margin-bottom: 6px; font-weight: 700; }

input, button { font: inherit; }

input {
  width: 100%;
  min-height: 49px;
  border: 1px solid #a8959d;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 47px;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.request {
  align-self: flex-start;
  color: var(--ink);
  background: var(--lilac);
}

.lookup {
  width: 100%;
  margin-top: 10px;
  color: #fff;
  background: var(--wine);
  cursor: pointer;
}

.request:hover { background: #f0dcea; }
.lookup:hover { background: #713753; }
.lookup:disabled { opacity: .7; cursor: wait; }
:focus-visible { outline: 3px solid #9a5c86; outline-offset: 3px; }

#result { margin: 0; overflow-wrap: anywhere; }

#result:not(:empty) {
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--wine);
  background: #f0e3eb;
  font-weight: 600;
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { padding-block: 13px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero { min-height: 0; }
  h1 { font-size: clamp(2.6rem, 11vw, 4.2rem); }
}