:root {
  --ink: #1d241c;
  --muted: #687061;
  --paper: #fbf8ef;
  --warm: #efe6d3;
  --moss: #5f7557;
  --moss-dark: #243f33;
  --clay: #b8744c;
  --sun: #d0a760;
  --dark: #111711;
  --line: rgba(29, 36, 28, .14);
  --shadow: 0 26px 80px rgba(42, 34, 21, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(130, 158, 115, .13), transparent 24rem),
    radial-gradient(circle at 90% 38%, rgba(184, 116, 76, .1), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  opacity: .23;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-nav {
  position: fixed;
  z-index: 8000;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
  background: transparent;
  color: #fff8ee;
  transition: padding .35s ease, background .35s ease, box-shadow .35s ease, color .35s ease;
}
.site-nav.scrolled,
.site-nav.menu-open {
  padding: 18px 56px;
  background: rgba(242, 234, 220, .92);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(31, 32, 28, .08);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 248, 241, .38);
  border-radius: 50%;
  background: rgba(251, 248, 241, .12);
  overflow: hidden;
}
.brand-mark img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: brightness(2.4) grayscale(1);
  transition: filter .35s ease;
}
.brand-text { display: grid; gap: 1px; }
.brand-text strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .38);
}
.brand-text span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  opacity: .74;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .56);
}
.site-nav.scrolled .brand-mark,
.site-nav.menu-open .brand-mark {
  border-color: rgba(38, 57, 43, .24);
  background: rgba(38, 57, 43, .05);
}
.site-nav.scrolled .brand-mark img,
.site-nav.menu-open .brand-mark img { filter: none; }
.site-nav.scrolled .brand-text strong,
.site-nav.menu-open .brand-text strong,
.site-nav.scrolled .brand-text span,
.site-nav.menu-open .brand-text span { text-shadow: none; }
.menu-toggle {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #fff8ee;
  cursor: pointer;
}
.site-nav.scrolled .menu-toggle,
.site-nav.menu-open .menu-toggle { color: var(--ink); }
.menu-toggle span {
  display: block;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: width .45s cubic-bezier(.76, 0, .24, 1), transform .45s cubic-bezier(.76, 0, .24, 1), opacity .32s ease;
}
.menu-toggle span:nth-child(1) { width: 30px; }
.menu-toggle span:nth-child(2) { width: 18px; }
.menu-toggle span:nth-child(3) { width: 25px; }
.menu-toggle.is-open span:nth-child(1) { width: 25px; transform: rotate(45deg) translate(4.5px, 4.5px); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { width: 25px; transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav-overlay {
  position: fixed;
  z-index: 7600;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 120px 8vw 70px;
  background: #202819;
  color: #d8d3be;
  transform: translateY(-100%);
  pointer-events: none;
  transition: transform .82s cubic-bezier(.76, 0, .24, 1);
  overflow: hidden;
}
.nav-overlay::before {
  content: "WILD HEARTS";
  position: absolute;
  right: -4vw;
  bottom: 7vh;
  color: rgba(244, 237, 222, .045);
  font-size: clamp(64px, 12vw, 170px);
  font-weight: 900;
  line-height: .8;
  pointer-events: none;
}
.nav-overlay.is-open { transform: translateY(0); pointer-events: auto; }
.nav-inner {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(36px, 8vw, 96px);
  position: relative;
  z-index: 2;
  align-items: center;
}
.nav-menu-links { display: grid; gap: clamp(10px, 2vw, 18px); }
.nav-menu-links a {
  width: fit-content;
  color: #d8d3be;
  font-size: clamp(34px, 7vw, 86px);
  font-weight: 800;
  line-height: .92;
  text-decoration: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .28s ease, transform .28s ease, color .22s ease;
}
.nav-overlay.is-open .nav-menu-links a { opacity: 1; transform: translateY(0); }
.nav-menu-links a:hover { color: #b98752; }
.nav-side {
  padding: 26px 0 28px 34px;
  border-left: 1px solid rgba(216, 222, 202, .28);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .28s ease .18s, transform .28s ease .18s;
}
.nav-overlay.is-open .nav-side { opacity: 1; transform: translateY(0); }
.nav-kicker,
.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #b98752;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav-side p {
  margin: 0 0 20px;
  color: rgba(216, 222, 202, .76);
  font-size: 14px;
  line-height: 1.7;
}
.nav-side-links {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 222, 202, .18);
}
.nav-side-links a {
  color: rgba(251, 248, 241, .9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 80svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #121811;
  color: #fff8ee;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 8, .84), rgba(8, 12, 8, .5) 54%, rgba(8, 12, 8, .18)),
    linear-gradient(0deg, rgba(8, 12, 8, .82), transparent 48%),
    url("https://images.unsplash.com/photo-1513836279014-a89f7a76ae86?auto=format&fit=crop&w=2200&q=82") center / cover;
  opacity: .96;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 142px 0 clamp(54px, 8vw, 98px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .5fr);
  gap: clamp(30px, 7vw, 84px);
  align-items: end;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #f0d09b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: .55;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 800;
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  text-wrap: balance;
}
h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 800;
  line-height: 1.05;
}
.hero-subtitle {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
}
.hero-copy {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 248, 238, .82);
  font-size: 16px;
  line-height: 1.8;
}
.threshold-note {
  padding: 28px;
  border: 1px solid rgba(255, 248, 238, .22);
  border-radius: 58px 16px 74px 18px / 38px 70px 34px 78px;
  background: rgba(18, 24, 18, .5);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}
.threshold-note strong {
  display: block;
  margin-bottom: 14px;
  color: #fff8ee;
  font-size: 21px;
  line-height: 1.18;
}
.threshold-note p {
  margin: 0;
  color: rgba(255, 248, 238, .74);
  font-size: 14px;
  line-height: 1.75;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}
.section.narrow { width: min(900px, calc(100% - 40px)); }
.intro-grid,
.thank-grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}
.intro-card,
.form-card,
.share-card,
.qr-card {
  border: 1px solid rgba(95, 117, 87, .22);
  border-radius: 58px 16px 74px 18px / 38px 70px 34px 78px;
  background: rgba(251, 248, 239, .78);
  box-shadow: var(--shadow);
}
.intro-card,
.share-card,
.qr-card { padding: clamp(24px, 4vw, 40px); }
.form-card { padding: clamp(16px, 3vw, 30px); }
.intro-card p,
.share-card p,
.qr-card p,
.form-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

form {
  display: grid;
  gap: 18px;
}
.bot-field { display: none; }
.form-section {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(95, 117, 87, .18);
  border-radius: 34px 12px 48px 14px / 30px 44px 26px 52px;
  background: rgba(251, 248, 239, .72);
}
.form-section.dark {
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, .28), transparent 28%),
    linear-gradient(135deg, #273f32, #111711);
  color: #fff8ee;
}
.form-section.dark p { color: rgba(255, 248, 238, .72); }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
label.field {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
label.field.full { grid-column: 1 / -1; }
input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(95, 117, 87, .24);
  border-radius: 18px 8px 18px 8px / 12px 18px 10px 18px;
  background: rgba(239, 230, 211, .64);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea {
  min-height: 132px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(184, 116, 76, .72);
  background: rgba(251, 248, 239, .92);
  box-shadow: 0 0 0 4px rgba(184, 116, 76, .12);
}
.choice-group {
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
}
.choice-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(95, 117, 87, .18);
  border-radius: 22px 8px 26px 10px / 18px 24px 16px 28px;
  background: rgba(239, 230, 211, .5);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}
.choice input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--moss);
  box-shadow: none;
}
.consent-list {
  display: grid;
  gap: 12px;
}
.consent-list .choice {
  background: rgba(255, 248, 238, .68);
  color: var(--ink);
  font-weight: 600;
}
.submit-button,
.copy-button,
.download-button,
.soft-button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(29, 36, 28, .16);
  border-radius: 999px;
  background: var(--ink);
  color: #fff8ee;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.submit-button:hover,
.copy-button:hover,
.download-button:hover,
.soft-button:hover {
  transform: translateY(-2px);
  background: var(--moss);
}
.submit-help {
  margin: 18px 0 0;
  color: rgba(255, 248, 238, .7);
  font-size: 13px;
  line-height: 1.65;
}
.automation-note {
  margin-top: 18px;
  color: rgba(255, 248, 238, .5);
  font-size: 12px;
  line-height: 1.6;
}

.group-summary {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}
.summary-line {
  padding: 18px;
  border: 1px solid rgba(95, 117, 87, .18);
  border-radius: 24px 8px 30px 10px / 20px 28px 18px 32px;
  background: rgba(239, 230, 211, .56);
}
.summary-line span {
  display: block;
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.summary-line strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}
.link-box {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}
.participant-link {
  display: block;
  padding: 16px;
  border: 1px solid rgba(95, 117, 87, .2);
  border-radius: 18px 8px 18px 8px / 12px 18px 10px 18px;
  background: rgba(239, 230, 211, .62);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
#qrcode {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(95, 117, 87, .18);
  border-radius: 34px 12px 48px 14px / 30px 44px 26px 52px;
  background: rgba(255, 248, 238, .72);
}
#qrcode canvas,
#qrcode img {
  width: 220px !important;
  height: 220px !important;
}
.status-message {
  min-height: 20px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  width: 100%;
  padding: 70px clamp(20px, 5vw, 70px) 36px;
  background: #10140f;
  color: rgba(251, 248, 239, .78);
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.15fr repeat(6, minmax(130px, 1fr));
  gap: 26px;
}
.footer-brand strong,
.footer-col h3 {
  display: block;
  margin-bottom: 14px;
  color: #fff8ee;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-brand p,
.footer-col a,
.footer-col span {
  display: block;
  margin: 0 0 10px;
  color: rgba(251, 248, 239, .62);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}
.footer-col a:hover { color: #fff8ee; }
.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid rgba(251, 248, 239, .12);
  color: rgba(251, 248, 239, .52);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .nav-inner,
  .hero-inner,
  .intro-grid,
  .thank-grid {
    grid-template-columns: 1fr;
  }
  .threshold-note { max-width: 620px; }
  .choices { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-nav,
  .site-nav.scrolled,
  .site-nav.menu-open {
    padding: 14px 18px;
  }
  .brand-text span { display: none; }
  .hero-inner {
    width: min(100% - 28px, 1120px);
    padding-top: 118px;
  }
  h1 { font-size: clamp(36px, 12vw, 54px); }
  .section,
  .section.narrow { width: min(100% - 28px, 1120px); }
  .form-card { padding: 12px; border-radius: 36px 12px 52px 14px / 28px 44px 24px 52px; }
  .field-grid { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr; }
}
