*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-deep: #0f1c0f;
  --green-mid: #1a2e1a;
  --green-felt: #244024;
  --green-light: #3d6b3d;
  --cream: #f9f6f0;
  --cream-dim: #e2dac9;
  --gold: #d4a843;
  --gold-bright: #f5c962;
  --gold-dim: #b08a30;
  --bark: #5c4a32;
  --text: #f9f6f0;
  --text-mid: #a3a396;
  --text-light: #7a7a6e;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Newsreader', Georgia, serif;
  background: var(--green-deep);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* --- Layered background --- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    radial-gradient(ellipse 120% 80% at 20% 110%, rgba(61, 107, 61, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 90% -10%, rgba(212, 168, 67, 0.15) 0%, transparent 40%),
    linear-gradient(165deg, var(--green-deep) 0%, #152415 30%, var(--green-mid) 60%, var(--green-deep) 100%);
}

/* Subtle diagonal stripe overlay */
.page::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
      135deg,
      transparent,
      transparent 28px,
      rgba(255, 255, 255, 0.8) 28px,
      rgba(255, 255, 255, 0.8) 29px
  );
  pointer-events: none;
  z-index: 0;
}

/* --- Nav --- */
nav {
  position: relative;
  z-index: 10;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  border-radius: 8px;
}

.logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo-text span {
  color: var(--gold);
}

nav .tag {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  background: rgba(212, 168, 67, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(212, 168, 67, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Main layout: two columns --- */
.main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 40px 8% 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* --- Left: Hero --- */
.hero {
  padding-right: 20px;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.15s;
}

.mascot {
  width: 140px;
  margin-bottom: 24px;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.05s;
}

.mascot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.5));
  border-radius: 12px;
}

.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  opacity: 0.4;
  border-radius: 2px;
}

.hero .sub {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--cream-dim);
  opacity: 0.9;
  max-width: 440px;
}

/* --- Right: Form card --- */
.form-card {
  /* Modern Glassmorphism */
  background: rgba(26, 46, 26, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.3s;
  max-width: 460px;
  justify-self: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Subtle glow behind the card content */
.form-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(212, 168, 67, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.form-card h2 {
  position: relative;
  z-index: 1;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.form-card .form-sub {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 32px;
}

form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label .label-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

input,
textarea {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 14px 18px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

input:focus,
textarea:focus {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.15);
  transform: translateY(-1px);
}

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

button[type="submit"] {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 16px 32px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 8px 16px rgba(212, 168, 67, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

button[type="submit"]:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(212, 168, 67, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(212, 168, 67, 0.2);
}

button[type="submit"]:disabled {
  background: var(--green-felt);
  color: var(--cream-dim);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* --- Footer --- */
footer {
  position: relative;
  z-index: 2;
  padding: 24px 40px;
  text-align: center;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.5s;
}

footer p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* --- Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 960px) {
  nav {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
  
  .main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 20px 24px 40px;
    text-align: center;
  }
  
  .hero {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero .sub {
    margin: 16px auto 0;
  }
  
  .form-card {
    padding: 32px 24px;
  }
}
