/* ===== Sacramento Labor Association — Under Construction ===== */

:root {
  --black: #0b0a0a;
  --black-2: #17140f;
  --white: #f6f3ee;
  --white-dim: #cfc9c0;
  --bronze: #b6884f;
  --bronze-light: #d9b077;
  --red: #a8272c;
  --red-light: #c93a3f;

  --font-display: 'Oswald', sans-serif;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 24px 32px;
}

.brand-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze-light);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.hazard-divider {
  width: 200px;
  height: 10px;
  margin: 28px auto;
  background: repeating-linear-gradient(45deg, var(--bronze) 0 14px, var(--black-2) 14px 28px);
  border-radius: 2px;
}

.hero-sub {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-light);
}

.mission {
  max-width: 580px;
  margin: 30px auto 0;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--white-dim);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(246, 243, 238, 0.25);
}
.btn-ghost:hover {
  border-color: var(--bronze);
  color: var(--bronze-light);
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--bronze-light);
  outline-offset: 3px;
}

.wait-note {
  margin-top: 44px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.game-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn-game {
  padding: 11px 24px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--bronze-light);
  background: transparent;
  border: 1px dashed rgba(182, 136, 79, 0.5);
}
.btn-game:hover {
  border-color: var(--bronze);
  color: var(--white);
  background: rgba(182, 136, 79, 0.08);
  transform: translateY(-2px);
}

.launch-note {
  margin-top: 32px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-light);
}

/* ---------- Contact form dialog ---------- */
.contact-dialog {
  border: 1px solid rgba(182, 136, 79, 0.35);
  border-radius: 8px;
  background: var(--black-2);
  color: var(--white);
  padding: 0;
  max-width: 440px;
  width: calc(100% - 40px);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px 32px;
  position: relative;
}

.contact-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--white-dim);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.contact-close:hover {
  color: var(--white);
}

.contact-heading {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.contact-intro {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--white-dim);
  margin-top: -6px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-light);
}

.field-input {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 12px;
  background: var(--black);
  border: 1px solid rgba(246, 243, 238, 0.18);
  border-radius: 3px;
  color: var(--white);
}
.field-input:focus {
  outline: none;
  border-color: var(--bronze);
}
textarea.field-input {
  resize: vertical;
  min-height: 84px;
}

.contact-submit {
  margin-top: 6px;
  width: 100%;
}

.contact-status {
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 1.1em;
}
.contact-status.error {
  color: var(--red-light);
}
.contact-status.success {
  color: var(--bronze-light);
}

/* Honeypot: hidden from people, visible to naive bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(90vw, 400px);
  text-align: left;
  padding: 18px 28px;
  background: var(--black-2);
  border: 1px solid rgba(182, 136, 79, 0.4);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.toast-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--bronze-light);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
