:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #687386;
  --line: #dce5ea;
  --surface: #ffffff;
  --soft: #f6faf9;
  --teal: #087f8c;
  --teal-dark: #075f6a;
  --coral: #eb6a5b;
  --sun: #f5c451;
  --leaf: #2f8f68;
  --focus: #1463ff;
  --shadow: 0 22px 70px rgba(19, 39, 47, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #16051d;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(235, 106, 91, 0.28), transparent 32%),
    radial-gradient(circle at 84% 4%, rgba(8, 127, 140, 0.26), transparent 34%),
    linear-gradient(180deg, #261238 0%, #f8fbfb 54%, #ffffff 100%);
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.experience {
  width: min(100%, 460px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  min-height: 204px;
  display: flex;
  align-items: end;
  padding: 24px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 23, 33, 0.04), rgba(5, 23, 33, 0.74)),
    url("/header-ballermann.png") center / cover;
}

.hero.image-only {
  min-height: 230px;
  padding: 0;
  background: url("/header-ballermann.png") center / cover;
}

.small-hero {
  min-height: 170px;
}

.hero-copy {
  max-width: 360px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 10px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-left: 4px solid var(--sun);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(7, 95, 106, 0.58);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.42;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 253, 252, 0.98)),
    var(--surface);
}

.field {
  display: grid;
  gap: 7px;
}

.field-label {
  color: #526176;
  font-size: 13px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  box-shadow: 0 1px 0 rgba(23, 32, 51, 0.03);
}

input::placeholder,
textarea::placeholder {
  color: #9aa6b2;
}

input:focus,
textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.13);
}

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

.file-field {
  position: relative;
}

input[type="file"] {
  min-height: 54px;
  padding: 9px;
  color: transparent;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--coral);
  cursor: pointer;
  font-weight: 850;
}

.file-name {
  pointer-events: none;
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: 45%;
  overflow: hidden;
  color: #526176;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.privacy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(245, 196, 81, 0.22), transparent 42%),
    linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 14px 28px rgba(8, 127, 140, 0.28);
  cursor: pointer;
  font-weight: 900;
}

.submit-button:hover {
  filter: brightness(1.04);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.status.success,
.status.sending {
  color: #0b7a45;
}

.status.error {
  color: #b42318;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.person-list {
  display: grid;
  gap: 12px;
}

.person-link,
.text-link {
  color: inherit;
  text-decoration: none;
}

.person-link {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(8, 127, 140, 0.08), transparent),
    #ffffff;
}

.person-link:hover {
  border-color: var(--teal);
  box-shadow: 0 10px 24px rgba(8, 127, 140, 0.12);
}

.person-name {
  font-size: 18px;
  font-weight: 900;
}

.person-url {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 13px;
}

.text-link {
  width: fit-content;
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 520px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    align-items: start;
    padding: 14px;
  }

  .experience {
    width: 100%;
  }

  .hero {
    min-height: 190px;
    padding: 20px;
  }

  .hero.image-only {
    min-height: 188px;
    padding: 0;
    background-position: center;
  }

  h1 {
    font-size: 31px;
  }

  .form-panel {
    gap: 15px;
    padding: 20px;
  }

  .file-name {
    max-width: 38%;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 28px;
  }

  .hero p:not(.eyebrow) {
    font-size: 14px;
  }

  input,
  textarea {
    padding-inline: 12px;
  }
}
