:root {
  --bg: #0d1208;
  --bg-soft: rgba(20, 29, 12, 0.92);
  --panel: rgba(21, 29, 13, 0.92);
  --panel-strong: rgba(14, 20, 9, 0.98);
  --panel-border: rgba(199, 203, 106, 0.18);
  --text: #f4f1e2;
  --muted: #d6d3bb;
  --accent: #cbd168;
  --accent-strong: #6f8f39;
  --accent-deep: #4d6e24;
  --accent-gold: #f2df2a;
  --success: #ddea8c;
  --shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #0a0d07 0%, #11180d 52%, #0b0f08 100%);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
}

body {
  position: relative;
  overflow-x: hidden;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

.hero-card,
.form-card {
  background: linear-gradient(
    180deg,
    rgba(28, 40, 18, 0.85) 0%,   /* lighter at top */
    rgba(19, 26, 12, 0.95) 40%,
    rgba(12, 17, 8, 0.99) 100%
  );
  border: 1px solid rgba(199, 203, 106, 0.14);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.hero-copy {
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(16, 22, 10, 0.98) 0%, rgba(24, 34, 16, 0.96) 38%, rgba(12, 17, 8, 0.99) 100%);
}

.brand-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  padding-top: 2px;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-wrap-geo {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  display: block;
  height: auto;
  max-width: 100%;
}

.brand-logo-atv {
  width: min(100%, 190px);
  flex: 0 1 190px;
}

.brand-logo-geo {
  width: min(110%, 200px);
  flex: 0 1 200px;
}

.brand-divider {
  width: 1px;
  align-self: center;
  min-height: 52px;
  height: 52px;
  background: rgba(203, 209, 104, 0.58);
  box-shadow: none;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-copy h1,
.form-heading h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  max-width: 10ch;
}

.form-heading h2 {
  font-size: clamp(1.95rem, 4.2vw, 3.2rem);
}

.intro,
.form-heading p,
.meta-item small,
.form-status,
label span,
input {
  font-size: 1rem;
  line-height: 1.65;
}

.intro {
  margin: 20px 0 28px;
  max-width: 46rem;
  color: var(--muted);
}

.form-card {
  margin-top: 26px;
  padding: 40px;
}

.form-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.form-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

.rsvp-form {
  display: grid;
  gap: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: block;
}

input {
  width: 100%;
  border: 1px solid rgba(199, 203, 106, 0.2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border-radius: 18px;
  padding: 16px 18px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
  color: rgba(244, 241, 226, 0.42);
}

input:focus {
  border-color: rgba(199, 203, 106, 0.75);
  box-shadow: 0 0 0 4px rgba(199, 203, 106, 0.12);
}

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

button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: #132008;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 24px;
  cursor: pointer;
  min-width: 190px;
  box-shadow: 0 18px 40px rgba(66, 93, 31, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(66, 93, 31, 0.34);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: #ffb0b0;
}

@media (max-width: 860px) {
  .hero-copy,
  .form-card {
    padding: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
}
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 100%);
    padding: 14px 0 28px;
  }

  .hero-card,
.form-card {
  background: linear-gradient(180deg, rgba(19, 26, 12, 0.97), rgba(12, 17, 8, 0.99));
  border: 1px solid rgba(199, 203, 106, 0.14);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

  .hero-copy,
  .form-card {
    padding: 22px;
  }

  .brand-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  padding-top: 2px;
}

  .brand-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: nowrap;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 0;
}

  .brand-logo-atv {
    width: min(52vw, 150px);
    flex-basis: auto;
  }

  .brand-logo-geo {
  width: min(100%, 165px);
  flex: 0 1 165px;
}

  .brand-divider {
  width: 1px;
  align-self: center;
  min-height: 52px;
  height: 52px;
  background: rgba(203, 209, 104, 0.58);
  box-shadow: none;
}

  .eyebrow {
    letter-spacing: 2.2px;
    font-size: 0.73rem;
  }

  .hero-copy h1 {
    max-width: none;
    line-height: 1.02;
  }

  .intro,
  .form-heading p,
  .form-status,
  input {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .form-actions {
    align-items: stretch;
  }

  button {
    width: 100%;
  }
}


.hero-copy h1 span {
  display: inline-block;
}

@media (max-width: 640px) {
  .brand-row {
    gap: 12px;
  }

  .brand-logo-atv {
    width: min(46vw, 170px);
    flex: 0 1 170px;
  }

  .brand-logo-geo {
    width: min(34vw, 128px);
    flex: 0 1 128px;
  }

  .brand-divider {
    min-height: 40px;
    height: 40px;
  }
}
