/* Figma: Submit your artwork — form area (PSA 2-v5) */

.artwork {
  --art-bg: #010101;
  --art-fg: #ffffff;
  --art-muted: rgba(255, 255, 255, 0.5);
  --art-placeholder: rgba(255, 255, 255, 0.3);
  --art-line: rgba(255, 255, 255, 0.2);
  --art-line-hover: rgba(255, 255, 255, 0.7);
  --art-line-active: #ffffff;
  --art-pill: #ffffff;
  --art-send-fg: #000000;
  --art-accent: #1d3fff;
  --art-field-w: 407px;
  --art-small-text: 12px;
}

html.artwork-root {
  --bg: #010101;
}

body.artwork-body {
  margin: 0;
  min-height: 100vh;
  background: var(--art-bg, #010101);
  color: var(--art-fg);
  font-family: "Inter", system-ui, sans-serif;
}

.artwork a {
  color: inherit;
}

/* Let the content column use full width for centering; blog <main> rules may shrink it */
body.artwork-body main.artwork {
  display: block;
  width: 100%;
  max-width: none !important;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Figma: content column max ~834px; form fields max ~407px, left-aligned in this column */
.artwork-main {
  box-sizing: border-box;
  width: 100%;
  max-width: 834px;
  margin: 0 auto;
  padding: 0 0 4rem;
}

/* Success: same 834px centered column as nav links (.nav-primary__main) — only drop extra horizontal padding, not the column */
main.artwork.artwork--success .artwork-main {
  max-width: 834px;
  margin: 0 auto;
  padding: 0 0 4rem;
}
@media (max-width: 600px) {
  .artwork-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  main.artwork.artwork--success .artwork-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}


.artwork-hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-width: none;
  width: 100%;
}

.artwork-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.artwork-hero__subtitle {
  margin: 0;
  max-width: 27ch;
  font-size: clamp(1.5rem, 3.5vw, 3.125rem);
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.4);
}

.artwork-section__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.artwork-form {
  max-width: var(--art-field-w);
  width: 100%;
}

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

.artwork-field {
  display: block;
  margin-bottom: 1.75rem;
}

.artwork-field__label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: var(--art-small-text);
  line-height: 1.2;
  color: var(--art-muted);
}

.artwork-control {
  display: block;
  position: relative;
}

.artwork-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--art-line);
  pointer-events: none;
  transition: background 0.15s ease;
}

.artwork-input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.1rem 0 0.5rem;
  border: 0;
  background: transparent;
  color: var(--art-fg);
  font: inherit;
  font-size: var(--art-small-text);
  line-height: 1.2;
  outline: none;
  border-radius: 0;
}

.artwork-input::placeholder {
  color: var(--art-placeholder);
}

.artwork-control:hover .artwork-line {
  background: var(--art-line-hover);
}

.artwork-control:focus-within .artwork-line,
.artwork-control.is-active .artwork-line {
  background: var(--art-line-active);
}

.artwork-control:focus-within .artwork-field__label,
.artwork-control.is-active .artwork-field__label {
  color: var(--art-fg);
}

.artwork-files {
  margin-top: 0.25rem;
}

.artwork-files__label {
  display: block;
  margin: 0 0 0.25rem;
  font-size: var(--art-small-text);
  color: var(--art-muted);
}

.artwork-file-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 0.25rem;
}

.artwork-file {
  position: relative;
  flex-shrink: 0;
}

.artwork-file__native {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.artwork-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 1.25rem;
  border: 1px solid var(--art-pill);
  border-radius: 100px;
  background: transparent;
  color: var(--art-fg);
  font-size: var(--art-small-text);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.artwork-pill:hover,
.artwork-pill:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.artwork-file__meta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--art-small-text);
  color: var(--art-fg);
}

.artwork-file--has-name .artwork-pill[aria-hidden="true"] {
  display: none;
}

.artwork-file--has-name .artwork-file__meta {
  display: inline-flex;
}

.artwork-file__clear {
  margin: 0;
  padding: 0.25rem 0.4rem;
  border: 0;
  background: none;
  color: var(--art-fg);
  font: inherit;
  font-size: var(--art-small-text);
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.artwork-file__clear:hover,
.artwork-file__clear:focus-visible {
  color: var(--art-accent);
  outline: none;
}

.artwork-files__note {
  margin: 0.75rem 0 0;
  max-width: var(--art-field-w);
  font-size: var(--art-small-text);
  line-height: 1.3;
  color: var(--art-muted);
}

.artwork-footnote {
  margin: 1rem 0 0;
  max-width: var(--art-field-w);
  font-size: var(--art-small-text);
  line-height: 1.6;
  color: var(--art-muted);
}

.artwork-actions {
  margin-top: 1.75rem;
  max-width: var(--art-field-w);
}

.artwork-submit {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 0 1.5rem;
  border: 1px solid var(--art-pill);
  border-radius: 100px;
  background: #ffffff;
  color: var(--art-send-fg);
  font-size: var(--art-small-text);
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.artwork-submit:hover,
.artwork-submit:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  outline: 2px solid var(--art-accent);
  outline-offset: 2px;
}

.artwork-thanks {
  padding-top: 2.5rem;
  max-width: 40ch;
  text-align: left;
}

.artwork-thanks__title {
  margin: 0 0 0.4em;
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.artwork-thanks__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--art-muted);
}

@media (min-width: 900px) {
  .artwork-hero {
    padding-top: 2rem;
  }
}

@media (max-width: 600px) {
  .artwork-hero {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }

  .artwork-hero__title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .artwork-hero__subtitle {
    max-width: 18ch;
    font-size: 2rem;
    line-height: 1.2;
  }

  .artwork-section__title {
    font-size: 1.375rem;
  }
}
