:root {
  --bg: #111111;
  --text-main: #b6b6a1;
  --button-text: #442b1e;
  --overlay: rgba(168, 86, 6, 0.70);
  --footer-bg: rgba(24, 18, 14, 0.34);
  --footer-border: rgba(182, 182, 161, 0.16);
  --max: 1400px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-main);
  font-family: Arial, Helvetica, sans-serif;
}

.hero,
.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('/assets/images/mc-home-bg.webp') center center / cover no-repeat;
}

.hero::before,
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(168, 86, 6, 0.70) 0%,
      rgba(168, 86, 6, 0.55) 28%,
      rgba(168, 86, 6, 0.32) 52%,
      rgba(168, 86, 6, 0.12) 72%,
      rgba(168, 86, 6, 0.00) 100%
    );
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.wrap {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 70px 0 110px;
}

.content {
  max-width: 920px;
  padding-left: 8px;
}

.logo-image {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 0 0 54px;
}

.tagline,
.page-title {
  margin: 0 0 56px;
  max-width: 16ch;
  color: var(--text-main);
  font-family: "cubano", Arial, sans-serif;
  font-size: clamp(54px, 7vw, 86px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(46, 28, 18, 0.55),
    0 5px 18px rgba(0, 0, 0, 0.18);
}

.subcopy,
.intro,
.copy,
.subhead {
  margin: 0 0 68px;
  max-width: 840px;
  color: var(--text-main);
  font-family: "cubano", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 42px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(46, 28, 18, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.14);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--text-main);
  font-family: "cubano", Arial, sans-serif;
  font-size: clamp(16px, 1vw, 22px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: .9;
}

.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--text-main);
  color: var(--button-text);
  text-decoration: none;
  font-family: "cubano", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
  transition: transform .12s ease, opacity .18s ease;
  border: 0;
  cursor: pointer;
}

.button:hover { opacity: .94; }
.button:active { transform: translateY(1px); }

.micro,
.back-link,
.fallback-link,
.inline-link {
  color: var(--text-main);
  font-family: "cubano", Arial, sans-serif;
  font-size: clamp(18px, 1.2vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(46, 28, 18, 0.45),
    0 3px 12px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.inline-link,
.back-link,
.fallback-link {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-top: 18px;
}

form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  max-width: 680px;
}

label {
  color: var(--text-main);
  font-family: "cubano", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(182, 182, 161, 0.18);
  background: rgba(255,255,255,.84);
  color: #d68435;
  border-radius: 14px;
  padding: 15px 16px;
  font-family: proxima-nova, sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  outline: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

input:focus,
textarea:focus {
  border-color: rgba(182,182,161,.36);
  box-shadow: 0 0 0 4px rgba(182,182,161,.12);
}

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

.progress-wrap {
  margin-top: 8px;
  max-width: 720px;
}

.progress-label {
  margin: 0 0 12px;
  color: var(--text-main);
  font-family: "cubano", Arial, sans-serif;
  font-size: clamp(16px, 1vw, 22px);
  font-weight: 600;
  text-transform: uppercase;
}

.progress {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(182,182,161,.22);
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--text-main);
  animation: fillBar 4s linear forwards;
}

@keyframes fillBar {
  from { width: 0; }
  to { width: 100%; }
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.footer-chip {
  pointer-events: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--footer-bg);
  border: 1px solid var(--footer-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(236, 233, 227, 0.88);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

.footer-chip a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .wrap {
    width: min(calc(100% - 32px), 900px);
    padding: 34px 0 90px;
  }

  .content {
    max-width: 100%;
    padding-left: 0;
  }

  .logo-image {
    width: min(100%, 280px);
    margin-bottom: 34px;
  }

  .tagline,
  .page-title {
    margin-bottom: 34px;
    max-width: 10ch;
    font-size: clamp(42px, 10vw, 68px);
  }

  .subcopy,
  .intro,
  .copy,
  .subhead {
    margin-bottom: 40px;
    max-width: 100%;
    font-size: clamp(18px, 4.8vw, 28px);
    line-height: 1.18;
  }

  .button {
    min-height: 54px;
    padding: 14px 26px;
    font-size: 19px;
  }

  .micro,
  .back-link,
  .fallback-link,
  .inline-link {
    font-size: clamp(16px, 4vw, 22px);
  }
}

@media (max-width: 720px) {
  .hero,
  .page {
    min-height: auto;
    align-items: flex-start;
    background-position: 60% center;
  }

  .hero::before,
  .page::before {
    background:
      linear-gradient(
        to bottom,
        rgba(168, 86, 6, 0.72) 0%,
        rgba(168, 86, 6, 0.56) 30%,
        rgba(168, 86, 6, 0.28) 58%,
        rgba(168, 86, 6, 0.08) 80%,
        rgba(168, 86, 6, 0.00) 100%
      );
  }

  .site-footer {
    position: static;
    display: flex;
    justify-content: center;
    padding: 0 14px 16px;
    margin-top: 8px;
    pointer-events: auto;
  }

  .footer-chip {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    font-size: 11px;
  }
}
