:root {
  --ink: #40251f;
  --pink: #f02070;
  --deep-pink: #d4145a;
  --yellow: #fcdf31;
  --orange: #db8211;
  --cream: #fff7df;
  --paper: #fffcf4;
  --display: "Bricolage Grotesque", "Trebuchet MS", Arial, sans-serif;
  --body: "Source Sans 3", "Trebuchet MS", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(252, 223, 49, 0.52), transparent 22rem),
    linear-gradient(145deg, var(--cream), #ffeab5 55%, #ffd69d);
  font-family: var(--body);
  font-size: 1rem;
}

a {
  color: inherit;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem clamp(1.25rem, 5vw, 5rem);
  color: var(--yellow);
  background: var(--pink);
  border-bottom: 5px solid var(--ink);
}

.portal-brand {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.portal-date {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

main {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.portal-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 0.92;
}

h1 {
  max-width: 780px;
  color: var(--pink);
  font-size: clamp(4rem, 10vw, 8.5rem);
}

h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.intro-copy {
  max-width: 680px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.portal-intro aside {
  padding: 1.35rem;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 16px 8px 18px 10px;
  box-shadow: 6px 7px 0 var(--ink);
  transform: rotate(0.7deg);
}

.portal-intro aside strong {
  font-family: var(--display);
  font-size: 1.25rem;
}

.portal-intro aside p {
  margin: 0.55rem 0 0;
  line-height: 1.45;
}

.portal-form-wrap {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: rgba(255, 252, 244, 0.92);
  border: 3px solid var(--ink);
  border-radius: 28px 14px 32px 18px;
  box-shadow: 10px 12px 0 var(--ink);
}

.form-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 1rem 3rem;
  align-items: end;
  padding-bottom: 2rem;
  border-bottom: 3px solid var(--ink);
}

.form-heading .eyebrow,
.form-heading h2 {
  grid-column: 1;
}

.form-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.performer-form {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.form-stage {
  padding: clamp(1.25rem, 3.5vw, 2.4rem);
  background: rgba(252, 223, 49, 0.17);
  border-radius: 22px 12px 25px 14px;
}

.documents-stage {
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
  background: rgba(240, 32, 112, 0.09);
}

.stage-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.stage-heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  color: var(--paper);
  background: var(--pink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
}

.documents-stage .stage-heading > span {
  color: var(--ink);
  background: var(--yellow);
}

.stage-heading .eyebrow {
  margin-bottom: 0.4rem;
}

.stage-note {
  max-width: 780px;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border-left: 5px solid var(--pink);
  line-height: 1.5;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.identity-grid,
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.wide-field {
  grid-column: 1 / -1;
}

label > span,
.bio-field > span {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--display);
  font-weight: 800;
}

input,
textarea,
button {
  font: inherit;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px 5px 12px 7px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 4px solid rgba(240, 32, 112, 0.25);
  outline-offset: 2px;
}

.bio-field {
  display: block;
  margin-top: 1.5rem;
}

.bio-field small {
  display: block;
  margin: -0.2rem 0 0.7rem;
  color: #795044;
}

.identity-grid label small {
  display: block;
  margin: -0.25rem 0 0.45rem;
  color: #795044;
}

.choice-field {
  min-width: 0;
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 10px 5px 12px 7px;
}

.choice-field legend {
  padding: 0 0.35rem;
  font-family: var(--display);
  font-weight: 800;
}

.choice-field label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.2rem 1.25rem 0.2rem 0;
}

textarea {
  min-height: 210px;
  resize: vertical;
}

.upload-grid {
  margin-top: 1.5rem;
}

.single-upload {
  grid-template-columns: minmax(0, 1fr);
}

.single-upload .upload-card {
  max-width: 680px;
}

.upload-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.8rem;
  align-content: start;
  min-height: 220px;
  padding: 1.35rem;
  color: var(--paper);
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: 18px 9px 20px 11px;
}

.upload-card:nth-child(2) {
  background: var(--orange);
}

.single-upload .upload-card {
  background: var(--pink);
}

.upload-number {
  grid-row: 1 / span 2;
  color: var(--yellow);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.upload-card strong {
  font-family: var(--display);
  font-size: 1.5rem;
}

.upload-card small {
  line-height: 1.4;
}

.upload-card input {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: 1rem;
  padding: 0.75rem;
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
}

.file-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: #a51d1d;
  font-weight: 700;
}

.confirmation-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.3rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.confirmation-field input {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--pink);
}

.confirmation-field span {
  margin: 0;
  font-family: var(--body);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--ink);
}

.form-submit p {
  margin: 0;
  color: #795044;
}

button {
  flex: 0 0 auto;
  padding: 0.9rem 1.25rem;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 12px 6px 14px 8px;
  box-shadow: 4px 5px 0 var(--ink);
  font-family: var(--display);
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 6px 0 var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 2rem clamp(1.25rem, 5vw, 5rem);
  color: var(--paper);
  background: var(--ink);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--yellow);
  font-weight: 700;
}

@media (max-width: 760px) {
  .portal-header,
  .form-submit,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-intro,
  .form-heading,
  .identity-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .form-heading .eyebrow,
  .form-heading h2,
  .form-heading > p:last-child,
  .wide-field {
    grid-column: 1;
    grid-row: auto;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.7rem);
  }

  .portal-form-wrap {
    box-shadow: 6px 7px 0 var(--ink);
  }
}

@media (min-width: 520px) and (max-width: 760px) {
  .required-uploads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
