.contact-grid {
  --cols: 12;
  align-items: start;
  gap: 28px;
}

.contact-content {
  display: grid;
  gap: 12px;
  align-content: start;

  color: var(--soft-black);
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--warm-white);
  box-shadow: var(--shadow);
  padding: 24px;
}

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

.contact-form .field {
  display: grid;
  gap: 6px;
}

.contact-form .field.span-2 {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--soft-black);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06) inset;
  background: #fff;
}

.contact-form select {
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      var(--soft-black) 50%
    ),
    linear-gradient(135deg, var(--soft-black) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  border: 1px solid var(--soft-black);
  border-radius: 14px;
  padding: 12px 18px;
  background: var(--soft-black);
  color: #fff;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, background 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.contact-form ::placeholder {
  opacity: 0.6;
  color: var(--muted);
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  opacity: 0.35;
}

.contact-form :-ms-input-placeholder {
  opacity: 0.6;
  color: var(--muted);
}

.contact-form ::-ms-input-placeholder {
  opacity: 0.6;
  color: var(--muted);
}

.contact-form ::-webkit-input-placeholder {
  opacity: 0.6;
  color: var(--muted);
}

.locked-message{ background:rgba(0,0,0,.03); cursor:not-allowed; }

.motioneer-form{
  position:relative;
  background: color-mix(in srgb, var(--olive-green) 80%, transparent);
  color:var(--hero-ink);
  padding:90px min(6vw,48px);
  overflow:hidden;
  margin-bottom: 4rem;
}

.motioneer-form .form-opt {
  display: grid;
  gap: 12px;
  align-content: center;
}
.motioneer-form .form-opt .subhead {
  color: rgba(255, 255, 255, 0.9);
}

.motioneer-form .form-card {
  --field-h: 48px;
  --radius: 14px;
  border-radius: 16px;
  padding: 28px;
  color: var(--hero-ink);
}

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

.motioneer-form .field {
  display: grid;
  gap: 8px;
  position: relative;
}
.motioneer-form .field.span-2 {
  grid-column: 1 / -1;
}

.motioneer-form label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.85);
}

.motioneer-form input,
.motioneer-form select,
.motioneer-form textarea {
  appearance: none;
  width: 100%;
  height: var(--field-h);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--soft-black);
  padding: 12px 14px;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, transform 0.2s ease;
}

.motioneer-form p {
  color: var(--soft-black);
}

.motioneer-form textarea {
  min-height: 160px;
  height: auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 14px;
  resize: vertical;
}

.motioneer-form ::placeholder {
  opacity: 0.6;
  color: var(--muted);
}
.motioneer-form input:focus::placeholder,
.motioneer-form textarea:focus::placeholder {
  opacity: 0.35;
}

.motioneer-form input:hover,
.motioneer-form select:hover,
.motioneer-form textarea:hover {
  border-color: rgba(0, 0, 0, 0.25);
}

.motioneer-form input:focus,
.motioneer-form select:focus,
.motioneer-form textarea:focus {
  outline: 0;
  border-color: rgba(0, 0, 0, 0.32);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06) inset;
  background: #fff;
}

.motioneer-form select{
  padding-right:44px;
  appearance:none;
  background-color:rgba(255,255,255,.9);
  color: var(--soft-black);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--soft-black) 50%),
    linear-gradient(135deg, var(--soft-black) 50%, transparent 50%);
  background-repeat:no-repeat;
  background-size:6px 6px, 6px 6px;
  background-position:calc(100% - 24px) 52%, calc(100% - 18px) 52%;
}

.motioneer-form .actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-submit.green {
  background: var(--forest-green);
  border-color: var(--forest-green);
  color: #fff;
}

.btn-submit.green:hover {
  transform: translateY(-1px);
  filter: saturate(110%);
}

.btn-submit.green:active {
  transform: translateY(0);
}

.btn-submit.green:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.submit-details[hidden] { display: none !important; }

.form-card{
  border: 1px solid var(--line, rgba(0,0,0,.10));
  border-radius: 14px;
  background: color-mix(in oklab, #fff 94%, transparent);
  box-shadow: var(--shadow, 0 8px 26px rgba(0,0,0,.08));
  padding: 20px min(4vw, 24px);
}

.form-row{ display: grid; gap: 8px; margin-bottom: 14px; }
.form-row:last-child{ margin-bottom: 0; }

.config-forum {
  width: fit-content;
  justify-self: center;
}

label, legend{
  font-size: .95rem;
  color: var(--muted, #555);
  letter-spacing: .01em;
}

input[type="text"], select, textarea{
  border: 1px solid var(--line, rgba(0,0,0,.12));
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--ink, #111);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: var(--sage-green, #5d7f71);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--sage-green) 22%, transparent);
}

.radio-row{ display: flex; flex-wrap: wrap; gap: 12px; }
.radio{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 12px; border: 1px solid var(--line, rgba(0,0,0,.12));
  border-radius: 999px; background: color-mix(in oklab, #fff 96%, transparent);
}
.radio input{ accent-color: var(--sage-green, #5d7f71); }

#typeFieldset.locked{
  opacity: .65;
  pointer-events: none;
  border-radius: 12px;
}
#typeFieldset.locked .radio{
  border-color: color-mix(in oklab, var(--sage-green) 35%, transparent);
  background: color-mix(in oklab, var(--sage-green) 6%, #fff);
}

.muted{ color: var(--muted, #666); font-size: .9rem; }

.form-actions{ margin-top: 8px; }

.lock-summary .lock-card{
  border: 1px solid var(--line, rgba(0,0,0,.1));
  border-radius: 14px;
  background: color-mix(in oklab, #fff 92%, transparent);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.btn-solid{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; border-radius: 999px; text-decoration: none;
  background: var(--sage-green, #5d7f71); color: #fff; font-weight: 500;
  transition: transform .18s cubic-bezier(.22,.61,.36,1), filter .2s ease;
}
.btn-solid:hover{ transform: translateY(-1px); filter: brightness(1.02) saturate(1.02); }

.btn-solid.blank {
  background: var(--warm-white, #f5f5ef); color: var(--soft-black, #2e2f2a);
}

.green-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1.1rem 3.4rem;
  background-color: var(--forest-green);
  color: var(--hero-ink);

  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);

  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;

  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.green-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  border-color: rgba(0, 0, 0, 0.35);

  background-color: var(--forest-green);
  color: var(--hero-ink);
}

.green-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  opacity: 0.95;
}

@media (max-width: 1200px) {
  .form-card, .lock-summary {
    grid-column: span 12;
  }
}

@media (max-width: 960px) {
  .contact-form {
    padding: 20px;
  }
  .contact-form .fields {
    grid-template-columns: 1fr;
  }
  .contact-form .field.span-2 {
    grid-column: auto;
  }
  .motioneer-form {
    padding: 72px min(6vw, 32px);
  }
  .motioneer-form .form-card {
    padding: 22px;
  }
  .motioneer-form .fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .motioneer-form .field.span-2 {
    grid-column: auto;
  }
  #events .btn-solid {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .config-forum {
    width: 100%;
    justify-self: stretch;
  }
}
