/* Contact — Wire Desk (not beacon-stamp / glass pulse templates) */

body.wd-wire.a69-body {
  --wd-steel: #f0f4f8;
  --wd-ink: #1e3a5f;
  --wd-ink-deep: #12263d;
  --wd-muted: #3f5568;
  --wd-line: rgba(30, 58, 95, 0.14);
  --wd-hot: #ff4d6d;
  --wd-hot-deep: #e11d48;
  --wd-mint: #5eead4;
  --wd-display: "Newsreader", Georgia, serif;
  --wd-sans: "Space Grotesk", "Segoe UI", sans-serif;
  --wd-ease: cubic-bezier(0.2, 0.85, 0.2, 1);

  color: var(--wd-ink);
  font-family: var(--wd-sans);
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(255, 77, 109, 0.12), transparent 55%),
    radial-gradient(700px 420px at -10% 80%, rgba(94, 234, 212, 0.12), transparent 50%),
    var(--wd-steel) !important;
}

body.wd-wire .a69-main {
  padding-bottom: 3.5rem;
  overflow-x: clip;
}

.wd-world {
  width: min(1100px, calc(100% - 1.5rem));
  margin: 0.65rem auto 0;
}

.wd-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wd-hot);
}

.wd-hero {
  padding: 0.9rem 0 1.35rem;
  animation: wd-rise 0.65s var(--wd-ease) both;
}
.wd-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--wd-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.wd-hero h1 em {
  font-style: italic;
  color: var(--wd-ink-deep);
  background: linear-gradient(120deg, var(--wd-hot), #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wd-lede {
  margin: 0;
  max-width: 48ch;
  color: var(--wd-muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.55;
}

.wd-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
  gap: 1.15rem;
  align-items: start;
}

/* Office plaque with gradient mask border */
.wd-plaque {
  padding: 1.35rem 1.3rem 1.45rem;
  border-radius: 1.5rem 0.4rem 1.5rem 0.4rem;
  background: #fff;
  border: 1px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(145deg, var(--wd-hot), var(--wd-mint), var(--wd-ink));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 20px 44px rgba(18, 38, 61, 0.08);
  display: grid;
  gap: 0.85rem;
  animation: wd-rise 0.75s var(--wd-ease) both;
}
.wd-plaque h2 {
  margin: 0;
  font-family: var(--wd-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}
.wd-hours {
  margin: 0;
  font-weight: 600;
  color: var(--wd-ink-deep);
  font-size: 0.95rem;
}

.wd-address {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--wd-steel);
  border: 1px dashed var(--wd-line);
}
.wd-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wd-muted);
  margin-bottom: 0.35rem;
}
.wd-address p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.wd-legal {
  margin-top: 0.45rem !important;
  color: var(--wd-muted);
  font-size: 0.82rem !important;
}

.wd-channels {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.wd-channel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 1rem;
  background: rgba(30, 58, 95, 0.04);
  border: 1px solid transparent;
  transition: transform 0.3s var(--wd-ease), background 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.wd-channel:hover {
  transform: translateX(4px);
  background: #fff;
  border-color: rgba(255, 77, 109, 0.35);
  box-shadow: 0 10px 22px rgba(255, 77, 109, 0.1);
}
.wd-ch-ix {
  font-family: var(--wd-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wd-hot);
  min-width: 1.6rem;
}
.wd-channel strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}
.wd-channel small {
  display: block;
  color: var(--wd-muted);
  font-size: 0.8rem;
  word-break: break-all;
  margin-top: 0.1rem;
}

/* Console form */
.wd-console {
  container-type: inline-size;
  container-name: wire;
  animation: wd-rise 0.8s var(--wd-ease) 0.06s both;
}
.wd-console-inner {
  padding: clamp(1.25rem, 3vw, 1.85rem);
  background: var(--wd-ink-deep);
  color: #e8eef6;
  border-radius: 0.4rem 1.6rem 0.4rem 1.6rem;
  box-shadow: 0 24px 50px rgba(18, 38, 61, 0.28);
  display: grid;
  gap: 1rem;
}
.wd-console-head h2 {
  margin: 0 0 0.3rem;
  font-family: var(--wd-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.wd-console-head p {
  margin: 0;
  opacity: 0.7;
  font-size: 0.92rem;
}

.wd-notice {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.wd-notice.is-ok {
  background: rgba(94, 234, 212, 0.15);
  border: 1px solid rgba(94, 234, 212, 0.35);
  color: #99f6e4;
}
.wd-notice.is-bad {
  background: rgba(255, 77, 109, 0.15);
  border: 1px solid rgba(255, 77, 109, 0.4);
  color: #fecdd3;
}

.wd-form {
  display: grid;
  gap: 1rem;
}
.wd-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.wd-field-wide { grid-column: 1 / -1; }

@container wire (max-width: 520px) {
  .wd-fields { grid-template-columns: 1fr; }
}

.wd-field {
  display: grid;
  gap: 0.35rem;
}
.wd-field span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.wd-field span i {
  font-style: normal;
  opacity: 0.65;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.wd-field input,
.wd-field textarea {
  width: 100%;
  border: 1.5px solid rgba(232, 238, 246, 0.18);
  background: rgba(15, 28, 45, 0.55);
  color: #e8eef6;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.25s, background 0.2s, transform 0.2s;
}
.wd-field input::placeholder,
.wd-field textarea::placeholder {
  color: rgba(232, 238, 246, 0.35);
}
.wd-field input:focus,
.wd-field textarea:focus {
  border-color: var(--wd-mint);
  background: rgba(15, 28, 45, 0.85);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.15);
  transform: translateY(-1px);
}

.wd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  transition: transform 0.25s var(--wd-ease), background 0.2s, box-shadow 0.25s, color 0.2s, border-color 0.2s;
}
.wd-btn:hover { transform: translateY(-2px); }
.wd-btn-hot {
  background: var(--wd-hot);
  color: #fff;
  box-shadow: 0 14px 28px rgba(255, 77, 109, 0.32);
}
.wd-btn-hot:hover {
  background: var(--wd-hot-deep);
  box-shadow: 0 16px 32px rgba(225, 29, 72, 0.36);
}
.wd-btn-ghost {
  background: transparent;
  color: #e8eef6;
  border: 1.5px solid rgba(232, 238, 246, 0.28);
}
.wd-btn-ghost:hover {
  border-color: var(--wd-mint);
  color: var(--wd-mint);
}
.wd-sent {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@keyframes wd-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .wd-board { grid-template-columns: 1fr; }
  .wd-fields { grid-template-columns: 1fr; }
  .wd-console-inner {
    border-radius: 1.35rem;
  }
}
