/* Contact - Discord-style Q&A + gated form */
/* home-v4.css sets [data-reveal]{opacity:0}; contact has no reveal JS */
.sw-page--contact [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.sw-page--contact .sw-contact__hero {
  position: relative;
  padding: 3.25rem 0 2rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, var(--sw-glow-m), transparent 55%),
    radial-gradient(ellipse 55% 50% at 8% 80%, var(--sw-glow), transparent 50%),
    linear-gradient(180deg, #0c0a16 0%, var(--sw-ink) 100%);
}

.sw-contact__hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
}

.sw-contact__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sw-contact__hero-visual {
  position: relative;
  min-height: 260px;
}

.sw-contact__hero-glow {
  position: absolute;
  inset: 18% 12% 8% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 234, 21, 0.18), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.sw-contact__float {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  animation: sw-about-float 5.8s ease-in-out infinite;
}

.sw-contact__float--a {
  width: min(240px, 58%);
  left: 6%;
  bottom: -2%;
  z-index: 2;
}

.sw-contact__float--b {
  width: min(190px, 48%);
  right: 4%;
  bottom: -6%;
  animation-delay: -1.6s;
}

.sw-contact__qa,
.sw-contact__gate,
.sw-contact__company,
.sw-contact__helps {
  padding: 2.5rem 0 1.5rem;
}

.sw-contact__helps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.sw-contact__help {
  border: 1px solid var(--sw-line);
  border-radius: var(--r-card);
  background: rgba(18, 16, 28, 0.72);
  padding: 1.05rem 1.15rem;
  display: grid;
  gap: 0.55rem;
  transition: border-color 0.15s ease;
}

.sw-contact__help:hover {
  border-color: rgba(47, 234, 21, 0.32);
}

.sw-contact__help-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.25;
}

.sw-contact__help-title a {
  color: var(--sw-paper) !important;
}

.sw-contact__help-title a:hover {
  color: var(--sw-green) !important;
}

.sw-contact__help-excerpt {
  margin: 0;
  color: var(--sw-mist);
  font-size: 0.92rem;
}

.sw-contact__help-more {
  color: var(--sw-accent) !important;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 0.14em;
  justify-self: start;
}

.sw-contact__helps-note,
.sw-contact__helps-empty {
  color: var(--sw-mist);
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
}

.sw-contact__section-title {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

.sw-contact__section-lead {
  margin: 0 0 1.35rem;
  color: var(--sw-mist);
  max-width: 62ch;
}

.sw-contact__search-wrap {
  margin-bottom: 0.9rem;
}

.sw-contact__search {
  width: 100%;
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  background: rgba(18, 16, 28, 0.85);
  color: var(--sw-paper);
  font: inherit;
  padding: 0.85rem 1.15rem;
  outline: none;
}

.sw-contact__search:focus {
  border-color: rgba(47, 234, 21, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 234, 21, 0.12);
}

.sw-contact__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.sw-contact__chip {
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  background: rgba(7, 6, 15, 0.4);
  color: var(--sw-mist);
  font-family: var(--font-hud);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.42rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.sw-contact__chip:hover {
  color: var(--sw-paper);
  border-color: rgba(255, 255, 255, 0.2);
}

.sw-contact__chip.is-on {
  color: #061006;
  background: var(--sw-green);
  border-color: transparent;
}

.sw-contact__cards {
  display: grid;
  gap: 0.85rem;
}

.sw-contact__card {
  border: 1px solid var(--sw-line);
  border-radius: var(--r-card);
  background:
    linear-gradient(145deg, rgba(255, 64, 255, 0.05), transparent 42%),
    rgba(18, 16, 28, 0.72);
  padding: 0;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.sw-contact__card[hidden] {
  display: none !important;
}

.sw-contact__card:hover {
  border-color: rgba(47, 234, 21, 0.28);
}

.sw-contact__q {
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sw-contact__q::-webkit-details-marker {
  display: none;
}

.sw-contact__q::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--sw-green);
  font-family: var(--font-hud);
  font-size: 1.1rem;
  font-weight: 700;
}

.sw-contact__card[open] .sw-contact__q::after {
  content: "–";
}

.sw-contact__body {
  padding: 0 1.15rem 1.05rem;
  border-top: 1px solid var(--sw-line);
}

.sw-contact__a {
  margin: 0.85rem 0 0;
  color: var(--sw-mist);
  font-size: 0.95rem;
}

.sw-contact__form-shell {
  max-width: 640px;
}

.sw-contact__form--page {
  border: 1px solid var(--sw-line);
  border-radius: var(--r-card);
  background: rgba(18, 16, 28, 0.78);
  padding: 1.25rem;
}

.sw-contact__gate--page {
  padding-bottom: 3rem;
}

.sw-contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.sw-contact__link {
  color: var(--sw-accent) !important;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 0.14em;
}

.sw-contact__vote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sw-line);
}

.sw-contact__vote-label {
  color: var(--sw-mist);
  font-size: 0.8rem;
  margin-right: 0.25rem;
}

.sw-contact__vote-btn {
  border: 1px solid var(--sw-line);
  border-radius: 999px;
  background: transparent;
  color: var(--sw-paper);
  font-family: var(--font-hud);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
}

.sw-contact__vote-btn:hover {
  border-color: rgba(47, 234, 21, 0.4);
  color: var(--sw-green);
}

.sw-contact__vote.is-done .sw-contact__vote-btn {
  opacity: 0.45;
  pointer-events: none;
}

.sw-contact__empty {
  margin: 1rem 0 0;
  color: var(--sw-mist);
}

.sw-contact__miss {
  border: 1px solid var(--sw-line);
  border-radius: calc(var(--r-card) + 0.15rem);
  background: rgba(18, 16, 28, 0.78);
  padding: 1.35rem 1.35rem 1.2rem;
}

.sw-contact__miss-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.sw-contact__miss-lead {
  margin: 0 0 1rem;
  color: var(--sw-mist);
  max-width: 58ch;
}

.sw-contact__miss-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.35rem;
}

.sw-contact__form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--sw-line);
}

.sw-contact__field {
  display: grid;
  gap: 0.35rem;
}

.sw-contact__field span {
  font-size: 0.82rem;
  color: var(--sw-mist);
  font-family: var(--font-hud);
}

.sw-contact__field input,
.sw-contact__field select,
.sw-contact__field textarea {
  width: 100%;
  border: 1px solid var(--sw-line);
  border-radius: 0.75rem;
  background: rgba(7, 6, 15, 0.55);
  color: var(--sw-paper);
  font: inherit;
  padding: 0.7rem 0.85rem;
}

.sw-contact__field textarea {
  resize: vertical;
  min-height: 8rem;
}

.sw-contact__hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.sw-contact__captcha {
  margin: 0.2rem 0;
}

.sw-contact__form-status {
  margin: 0;
  min-height: 1.25em;
  color: var(--sw-mist);
  font-size: 0.9rem;
}

.sw-contact__form-status.is-ok {
  color: var(--sw-green);
}

.sw-contact__form-status.is-err {
  color: #ff8ad8;
}

.sw-contact__company {
  padding-bottom: 3.5rem;
}

.sw-contact__company-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
}

.sw-contact__company-card {
  border: 1px solid var(--sw-line);
  border-radius: var(--r-card);
  background: rgba(18, 16, 28, 0.7);
  padding: 1.25rem 1.35rem;
}

.sw-contact__company-card h2 {
  margin: 0.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.sw-contact__company-body p {
  margin: 0 0 0.55rem;
  color: var(--sw-mist);
}

.sw-contact__company-body a {
  color: var(--sw-accent) !important;
  text-decoration: underline !important;
  text-underline-offset: 0.12em;
}

.sw-contact__company-cast img {
  width: 160px;
  animation: sw-about-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.4));
}

@media (max-width: 900px) {
  .sw-contact__hero-grid,
  .sw-contact__company-grid,
  .sw-contact__helps-grid {
    grid-template-columns: 1fr;
  }
  .sw-contact__float--b {
    display: none;
  }
  .sw-contact__company-cast {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .sw-contact__float--a {
    width: 150px;
    right: 0;
    left: auto;
    opacity: 0.85;
  }
}
