:root {
  --gold: #daa520;
  --black: #000;
  --muted: #6c6c6c;
  --line: #c1c1c1;
  --field: #f9f9f9;
  --font-display: "neue-haas-grotesk-display", "Neue Haas Grotesk Display Pro", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
  color: var(--black);
  font-family: var(--font-display);
}

body {
  overflow-x: auto;
}

button,
input,
textarea {
  font-family: inherit;
}

.figma-frame {
  position: relative;
  width: 1440px;
  height: 8450px;
  margin: 0 auto;
  background: #fff;
  isolation: isolate;
}

.topbar {
  position: absolute;
  left: 0;
  top: 0;
  width: 1440px;
  height: 120px;
  overflow: visible;
  background: var(--gold);
  z-index: 1;
}

.topbar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: -1;
  width: 100vw;
  height: 120px;
  transform: translateX(-50%);
  background: var(--gold);
}

.logo {
  position: absolute;
  left: 107px;
  top: 30px;
  width: 191px;
  height: 60px;
  object-fit: contain;
}

.topbar-title {
  position: absolute;
  left: 751px;
  top: 43px;
  width: 598px;
  height: 34px;
  color: #fff;
  font-size: 30px;
  line-height: normal;
  font-weight: 500;
}

.header-vector {
  position: absolute;
  left: 482px;
  top: 49px;
  width: 256px;
  height: 283px;
  object-fit: contain;
}

.intro-copy {
  position: absolute;
  left: 751px;
  top: 160px;
  width: 595px;
  height: 256px;
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 300;
}

.confidential-copy {
  position: absolute;
  left: 751px;
  top: 420px;
  width: 598px;
  height: 25px;
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 300;
}

.section {
  position: absolute;
  left: 0;
  top: var(--top);
  width: 1440px;
  height: var(--height);
  overflow: hidden;
  background: #fff;
}

.section-title {
  position: absolute;
  left: 107px;
  top: 30px;
  width: 659px;
  height: 179px;
  color: var(--black);
}

.section-title p {
  margin: 0;
  letter-spacing: 0;
}

.section-title p:first-child {
  font-size: 65px;
  line-height: 1.5;
  font-weight: 500;
  text-transform: uppercase;
}

.section-title p:first-child span {
  color: var(--gold);
  font-weight: 700;
}

.section-title p:nth-child(2) {
  margin-top: -6px;
  font-size: 40px;
  line-height: 1.5;
  font-weight: 300;
  text-transform: capitalize;
}

.section-title p:nth-child(3) {
  margin-top: -4px;
  font-size: 24.722px;
  line-height: 1.5;
  font-weight: 300;
}

.field-label {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 1239px;
  min-height: 21px;
  color: var(--black);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
}

.field-label b {
  color: var(--black);
  font-weight: 400;
  margin: 0 5px;
  background: none;
}

.field-label em {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
}

.field-control {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: var(--black);
  padding: 12px 14px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 300;
  outline: none;
  resize: none;
}

.field-control:focus,
.industry-button:focus,
.type-card:focus-within,
.reference-input:focus {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.industry-grid {
  position: absolute;
  left: 107px;
  top: 252px;
  width: 1239px;
  height: 240px;
  display: grid;
  grid-template-columns: repeat(4, 287.25px);
  grid-auto-rows: 60px;
  gap: 30px;
}

.industry-button {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: var(--black);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  padding: 0 16px;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.industry-button:hover {
  border-color: var(--gold);
  background: var(--field);
  color: var(--black);
}

.industry-button.is-selected {
  border-color: var(--gold);
  background: #fff;
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.palette-heading {
  position: absolute;
  left: 107px;
  top: 534px;
  font-size: 24.722px;
  line-height: 1.5;
  font-weight: 300;
}

.palette-heading em {
  font-size: 16px;
  font-style: italic;
  color: var(--muted);
}

.palette-grid {
  position: absolute;
  left: 107px;
  top: 609px;
  width: 1239px;
  height: 165px;
  display: flex;
  gap: 80px;
}

.palette-pair {
  display: flex;
  gap: 18px;
  width: 342px;
  height: 165px;
  border: 0;
  padding: 0;
}

.palette-pair:hover .palette-swatch {
  border-color: var(--gold);
}

.palette-pair.is-selected .palette-swatch {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.palette-swatch {
  width: 165px;
  height: 165px;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background: var(--field);
  padding: 0;
}

.palette-swatch input {
  width: 190px;
  height: 190px;
  margin: -12px;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.scale-row {
  position: absolute;
  left: 107px;
  width: 1239px;
  height: 62px;
}

.scale-left,
.scale-right {
  position: absolute;
  top: 0;
  width: 400px;
  font-size: 24.722px;
  line-height: 1.5;
  font-weight: 300;
}

.scale-left {
  left: 0;
}

.scale-right {
  right: 0;
  width: 1239px;
  text-align: right;
}

.scale-track {
  position: absolute;
  left: 0;
  top: 41px;
  width: 1239px;
  height: 20px;
  background: rgba(193, 193, 193, 0.25);
}

.scale-row input {
  position: absolute;
  left: -2px;
  top: 31px;
  width: 1243px;
  height: 42px;
  opacity: 0;
  cursor: pointer;
}

.scale-thumb {
  position: absolute;
  left: 592px;
  top: 30px;
  width: 30px;
  height: 30px;
  border: 3px solid var(--field);
  border-radius: 10px 0 10px 0;
  background: var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}

.type-card {
  position: absolute;
  width: 609.5px;
  height: 240px;
  border: 1px solid var(--line);
  background: var(--field);
}

.type-card input {
  position: absolute;
  left: 14px;
  top: 14px;
  accent-color: var(--gold);
}

.type-card.is-selected {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.type-card:hover {
  border-color: var(--gold);
}

.type-card.is-dimmed {
  opacity: 0.38;
}

.type-card.is-dimmed input {
  pointer-events: none;
}

.type-card img {
  position: absolute;
  object-fit: contain;
}

.type-card[data-type="Wordmark"] img {
  left: 128px !important;
  top: 83px !important;
}

.type-card[data-type="Monogram"] img {
  left: 230px !important;
  top: 78px !important;
}

.type-card[data-type="Abstract mark"] img {
  left: 252px !important;
  top: 53px !important;
}

.type-card[data-type="Pictorial mark"] img {
  left: 268px !important;
  top: 53px !important;
}

.type-caption {
  position: absolute;
  left: 0;
  top: 180px;
  width: 609.5px;
  text-align: center;
  font-size: 0;
  line-height: 0;
}

.type-caption strong {
  color: var(--black);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.type-caption em {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  font-style: italic;
}

.type-caption b {
  color: var(--black);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

.refs-title {
  position: absolute;
  left: 107px;
  top: var(--y);
  width: 1239px;
  height: 36px;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  text-transform: uppercase;
}

.refs-title span {
  color: var(--gold);
}

.refs-title b {
  color: var(--black);
  font-weight: 400;
}

.refs-title em {
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  text-transform: none;
}

.reference-input {
  position: absolute;
  width: 613px;
  height: 61px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 300;
  outline: 0;
}

.send-button {
  position: absolute;
  left: 1171px;
  top: 948px;
  width: 175px;
  height: 45px;
  border: 0;
  border-radius: 0;
  background: var(--gold);
  color: #fff;
  font-size: 24.722px;
  line-height: 1.5;
  font-weight: 300;
}

.footer-strip {
  position: absolute;
  left: 0;
  top: 8416px;
  width: 1440px;
  height: 34px;
  background: var(--muted);
  overflow: visible;
  z-index: 1;
}

.footer-strip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: -1;
  width: 100vw;
  height: 34px;
  transform: translateX(-50%);
  background: var(--muted);
}

#resultDialog {
  width: min(1100px, calc(100% - 40px));
  border: 1px solid var(--line);
  padding: 28px;
}

#resultDialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

#resultDialog h2 {
  margin: 0 0 20px;
  font-size: 40px;
  font-weight: 300;
}

.submit-status {
  margin: -8px 0 16px;
  color: #333;
  font-size: 16px;
}

#resultDialog label {
  display: block;
  margin-top: 18px;
  font-size: 14px;
}

#resultDialog textarea {
  display: block;
  width: 100%;
  min-height: 280px;
  margin-top: 8px;
  border: 1px solid var(--line);
  padding: 14px;
  font: 16px/1.5 var(--font-display);
}

.dialog-close {
  float: right;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--gold);
  padding: 8px 14px;
}
