@font-face {
  font-family: "Druk Text Wide Medium";
  src: url("assets/DrukTextWide-Medium-Trial.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Druk Wide Medium";
  src: url("assets/DrukWide-Medium-Trial.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Druk Wide Bold";
  src: url("assets/DrukWide-Bold-Trial.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #150633;
  --accent: #e9e9f0;
  --input-bg: #fafafa;
  --white: #ffffff;
  --black: #000000;
  --muted: #444444;
  --error: #8b1538;
  --max: 760px;
  --font-body: "Druk Text Wide Medium", Arial, Helvetica, sans-serif;
  --font-medium: "Druk Wide Medium", Arial, Helvetica, sans-serif;
  --font-bold: "Druk Wide Bold", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
  font-family: var(--font-body);
  letter-spacing: -0.03em;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--black);
  min-height: 100%;
}

body {
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* Header: live fomo.london solid darkAccent bar, white nav, pill CTA */
.site-header {
  background: var(--purple);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}

.logo {
  display: inline-block;
  line-height: 0;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: auto;
  height: 40px;
  max-height: 40px;
}

.header-cta {
  display: inline-block;
  background: var(--white);
  color: var(--purple);
  border-radius: 300px;
  padding: 12px 28px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: transparent;
  color: var(--white);
  outline: 1px solid var(--white);
}

.preview-bar {
  background: var(--accent);
  color: var(--black);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.3;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

h1 {
  font-family: var(--font-bold);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 40px;
  font-size: 1.05rem;
  line-height: 1.4;
  max-width: 34em;
}

.row {
  display: flex;
  gap: 24px;
}

.row > * {
  flex: 1;
  min-width: 0;
}

.field {
  margin: 0 0 22px;
}

label,
.lab {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.req {
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0;
  color: var(--muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--input-bg);
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 0;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--purple);
  outline-offset: 1px;
}

.field.error input,
.field.error select,
.field.error textarea,
.drop.error {
  border-color: var(--error);
}

.hint,
.err {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
}

.err {
  color: var(--error);
  display: none;
}

.field.error .err,
.drop-wrap.error .err {
  display: block;
}

/* File drop */
.drop {
  border: 1px solid var(--black);
  background: var(--input-bg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
}

.drop:hover,
.drop.drag {
  background: var(--accent);
}

.drop p {
  margin: 0;
  font-size: 14px;
}

.drop .sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.file-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.file-list li {
  border: 1px solid var(--black);
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--white);
}

.file-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.file-name {
  font-size: 13px;
  word-break: break-word;
}

.file-meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.remove-file {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  letter-spacing: -0.03em;
  color: var(--black);
}

.bar {
  margin-top: 10px;
  height: 6px;
  background: var(--accent);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--purple);
  transition: width 0.16s linear;
}

.bar.done > span {
  background: var(--black);
}

/* Consent */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 8px;
}

.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 20px;
  accent-color: var(--purple);
  cursor: pointer;
}

.consent {
  text-transform: none;
}

.consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: -0.03em;
}

.legal-note,
.privacy {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 8px 0 0;
}

.legal-note {
  font-style: italic;
}

.form-error {
  color: var(--error);
  font-size: 14px;
  margin: 0 0 16px;
  display: none;
}

button.submit {
  margin-top: 12px;
  background: var(--accent);
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 0;
  padding: 16px 40px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  cursor: pointer;
}

button.submit:hover:not(:disabled) {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

button.submit:disabled {
  opacity: 0.55;
  cursor: default;
}

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

/* Success */
.success {
  display: none;
  padding-top: 12px;
}

.success h1 {
  margin-bottom: 18px;
}

.success p {
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 0 14px;
  max-width: 32em;
}

.again {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent);
  color: var(--black);
  border: 1px solid var(--black);
  padding: 14px 32px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

.again:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

.site-footer {
  border-top: 1px solid var(--black);
  padding: 28px 24px 40px;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .site-header-inner {
    padding: 12px 16px;
  }
  .logo img {
    height: 32px;
    max-height: 32px;
  }
  .header-cta {
    padding: 10px 18px;
    font-size: 13px;
  }
  main {
    padding: 36px 16px 64px;
  }
  h1 {
    font-size: clamp(26px, 8.2vw, 34px);
  }
  .row {
    flex-direction: column;
    gap: 0;
  }
}

#form-view[hidden],
#success-view[hidden] {
  display: none;
}

.file-list li.rejected {
  border-color: var(--error);
}

.file-list li.rejected .file-name,
.file-list li.rejected .reject-msg {
  color: var(--error);
}

.reject-msg {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--error);
}

.turnstile-wrap {
  margin: 8px 0 18px;
  min-height: 70px;
}

.turnstile-note {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 0;
}
