:root {
  --bg: #f4f4f5;
  --card: #ffffff;
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #e4e4e7;
  --accent: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.nav {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #000;
}

.nav img {
  height: 44px;
  width: auto;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0 28px;
}

.hero-photo {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 560px;
}

.tag {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}

.facts {
  list-style: none;
  padding: 16px 0 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
}

.facts li {
  padding: 6px 0;
}

.interview {
  margin: 0 0 64px;
  padding: 28px 24px 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.interview h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.intro {
  margin: 0 0 24px;
  color: var(--muted);
}

form {
  display: grid;
  gap: 18px;
  max-width: 520px;
}

label,
legend {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

input[type="text"],
input[type="date"],
input[type="number"],
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: 400 16px Inter, system-ui, sans-serif;
  background: #fff;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-note {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 800px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.form-summary {
  padding: 12px 14px;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 10px;
}

input.is-invalid,
select.is-invalid {
  border-color: #b42318;
}

fieldset.is-invalid {
  padding: 12px;
  border: 1px solid #fecdca;
  border-radius: 10px;
  background: #fff8f7;
}

fieldset.is-invalid .upload {
  border-color: #b42318;
  color: #b42318;
}

input:focus,
select:focus {
  outline: 2px solid #111;
  outline-offset: 1px;
}

input.is-invalid:focus,
select.is-invalid:focus {
  outline-color: #b42318;
}

.hint {
  margin: 0;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.upload {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border: 1px dashed #bbb;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  background: #fafafa;
}

.previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.preview-item {
  position: relative;
  width: 96px;
  height: 96px;
}

.previews img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  background: #eee;
}

.preview-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font: 700 16px/22px Inter, system-ui, sans-serif;
  cursor: pointer;
}

.preview-remove:hover {
  background: #b42318;
}

.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font: 600 16px Inter, system-ui, sans-serif;
  padding: 14px 18px;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background: #2a2a2a;
}

.error {
  color: #b42318;
  font-size: 13px;
  font-weight: 400;
  margin: 0;
}

.success {
  margin: 0;
  color: #067647;
  font-size: 14px;
}

footer {
  text-align: center;
  padding: 0 20px 40px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .hero-photo {
    max-height: 420px;
  }
}
