/* ===== Design tokens ===== */
:root {
  --green: #223d27;
  --tan: #c4b899;
  --cream: #f4f1ea;
  --green-dark: #182b1c;
  --tan-dark: #ab9d78;
  --text-on-green: var(--cream);
  --text-on-cream: var(--green);
  --font-head: "Libertinus Serif", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-on-cream);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding-top: 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark-icon {
  height: 42px;
  width: auto;
}

.social-nav {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 241, 234, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: rgba(244, 241, 234, 0.24);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--cream);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--green);
  color: var(--text-on-green);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(360px, 70vw);
  margin-bottom: 28px;
}

.hero-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0 0 10px;
  max-width: 16ch;
  line-height: 1.15;
}

/* On wider screens, let the tagline sit on a single line */
@media (min-width: 640px) {
  .hero-tagline {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  }
}

.hero-est {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 48px;
}

.more-to-come {
  border: 1px solid rgba(196, 184, 153, 0.35);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 480px;
  margin-bottom: 40px;
}

.more-to-come-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 12px;
}

.more-to-come p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--cream);
  opacity: 0.92;
}

.hero-cta { margin-top: 4px; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--tan);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--cream);
  transform: translateY(-2px);
}

.hero-mascot {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 340px;
  opacity: 0.16;
  z-index: 1;
  pointer-events: none;
}

/* ===== Join section ===== */
.join-section {
  background: var(--cream);
  padding: 90px 0 100px;
}

.join-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.join-heading h2 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 12px;
}

.join-heading p {
  margin: 0;
  color: var(--green);
  opacity: 0.75;
  font-size: 1.05rem;
}

.member-form {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(34, 61, 39, 0.1);
  border-radius: 16px;
  padding: 40px clamp(20px, 5vw, 48px);
  box-shadow: 0 20px 50px rgba(34, 61, 39, 0.08);
}

.form-row {
  margin-bottom: 22px;
  border: none;
  padding: 0;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label,
fieldset.form-row legend {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--green);
  margin-bottom: 7px;
}

fieldset.form-row legend { padding: 0; margin-bottom: 12px; }

.req { color: #a5433a; }
.opt { font-weight: 400; opacity: 0.55; font-size: 0.82rem; }

input[type="text"],
input[type="tel"],
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--green);
  padding: 12px 14px;
  border: 1.5px solid #d9d3c4;
  border-radius: 8px;
  background: var(--cream);
  transition: border-color 0.2s ease;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--green);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23223d27'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23223d27' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--green);
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.field-error {
  color: #a5433a;
  font-size: 0.82rem;
  margin: 8px 0 0;
}

.btn-submit {
  width: 100%;
  font-size: 1rem;
  padding: 15px;
  margin-top: 8px;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-status {
  min-height: 20px;
  font-size: 0.9rem;
  margin-bottom: 4px;
  text-align: center;
}

.form-status.success { color: #2f6b3a; font-weight: 600; }
.form-status.error { color: #a5433a; font-weight: 600; }
.form-status.success a { color: #2f6b3a; text-decoration: underline; }

/* ===== Contact section ===== */
.contact-section {
  background: var(--green);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
}

.contact-heading {
  max-width: 520px;
  margin: 0 auto 32px;
}

.contact-heading h2 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--cream);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 12px;
}

.contact-heading p {
  margin: 0;
  color: var(--cream);
  opacity: 0.8;
  font-size: 1.02rem;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--tan);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-email-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--green-dark);
}

.contact-email-btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

@media (max-width: 420px) {
  .contact-email-btn {
    font-size: 0.9rem;
    padding: 12px 18px;
    word-break: break-all;
  }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--green-dark);
  padding: 44px 0;
  text-align: center;
}

.footer-logo {
  width: 90px;
  margin: 0 auto 18px;
}

.footer-socials a {
  color: var(--tan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.footer-socials .dot {
  color: var(--tan);
  margin: 0 10px;
  opacity: 0.6;
}

.footer-copy {
  color: var(--cream);
  opacity: 0.55;
  font-size: 0.8rem;
  margin: 16px 0 0;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
  .hero { padding: 110px 0 60px; }
  .hero-mascot { width: 220px; opacity: 0.12; }
  .member-form { padding: 32px 20px; }
  .more-to-come { padding: 22px 20px; }
}
