/* Contact Room — 06B */
.contact-stage { --contact-width: 68rem; }
.contact-opening { margin-bottom: clamp(3.25rem, 7vw, 5.75rem); }
.contact-opening .room-opening__title { font-size: clamp(1.65rem, 3.2vw, 3.15rem); }
.contact-field { width: min(var(--contact-width), 100%); margin: 0 auto; }
.contact-label {
  margin: 0 0 1rem;
  color: var(--house-gold);
  font: 700 0.61rem/1.4 var(--house-ui);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-primary {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
  border-top: 1px solid var(--house-gold-soft);
  border-bottom: 1px solid var(--house-rule);
}
.contact-primary__paths { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 1px; background: var(--house-rule); }
.contact-path {
  display: flex;
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  flex-direction: column;
  gap: 0.35rem;
  color: var(--house-ivory);
  background: rgba(3, 5, 10, 0.92);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
.contact-path:hover, .contact-path:focus-visible { color: var(--house-gold-bright); background: rgba(15, 15, 24, 0.96); }
.contact-path:focus-visible, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .contact-form button:focus-visible, .contact-department a:focus-visible { outline: 1px solid var(--house-gold); outline-offset: 3px; }
.contact-path__type { color: var(--house-faint); font: 700 0.58rem/1.4 var(--house-ui); letter-spacing: 0.16em; text-transform: uppercase; }
.contact-path strong { overflow-wrap: anywhere; font-size: clamp(1.08rem, 2.25vw, 1.55rem); font-weight: 400; line-height: 1.25; }
.contact-form-section, .contact-departments { padding: clamp(4rem, 9vw, 7rem) 0; }
.contact-section-heading { width: min(42rem, 100%); margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.contact-section-heading--center { margin-right: auto; margin-left: auto; text-align: center; }
.contact-section-heading h2 { margin: 0 0 0.8rem; color: var(--house-ivory); font-size: clamp(1.65rem, 3.1vw, 2.85rem); font-weight: 400; line-height: 1.15; }
.contact-section-heading > p:last-child { margin: 0; color: var(--house-ivory-muted); }
.contact-form { position: relative; }
.contact-form__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.contact-control { margin-bottom: 1.6rem; }
.contact-control label { display: block; margin-bottom: 0.55rem; color: var(--house-ivory-muted); font: 700 0.62rem/1.4 var(--house-ui); letter-spacing: 0.13em; text-transform: uppercase; }
.contact-control label span { color: var(--house-faint); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(215, 185, 111, 0.35);
  border-radius: 0;
  padding: 0.82rem 0.15rem;
  color: var(--house-ivory);
  background: transparent;
  font: 400 1rem/1.5 var(--house-serif);
  appearance: none;
}
.contact-form select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--house-gold) 50%), linear-gradient(135deg, var(--house-gold) 50%, transparent 50%); background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.contact-form option { color: #111; background: #eee8dc; }
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: var(--house-gold); }
.contact-form__ending { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 0.5rem; }
.contact-form__ending p { max-width: 39rem; margin: 0; color: var(--house-faint); font: 400 0.75rem/1.6 var(--house-ui); }
.contact-form__ending a { color: var(--house-ivory-muted); }
.contact-form button { flex: 0 0 auto; border: 1px solid var(--house-gold); padding: 0.9rem 1.3rem; color: var(--house-void); background: var(--house-gold); font: 700 0.62rem/1 var(--house-ui); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.contact-form button:hover { color: var(--house-gold-bright); background: transparent; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin: 0 0 2rem; border: 1px solid var(--house-gold-soft); padding: 1.15rem 1.3rem; color: var(--house-ivory-muted); background: rgba(3, 5, 10, 0.86); }
.contact-status[data-state="success"] { color: var(--house-gold-bright); }
.contact-status a { color: var(--house-gold-bright); }
.contact-departments { border-top: 1px solid var(--house-rule); }
.contact-departments__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--house-rule); }
.contact-department { min-width: 0; padding: clamp(1.35rem, 3vw, 2.2rem); background: rgba(3, 5, 10, 0.92); }
.contact-department__number { margin: 0 0 2.5rem; color: var(--house-gold); font-size: 0.8rem; }
.contact-department h3 { margin: 0 0 0.8rem; font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.contact-department > p:not(.contact-department__number) { min-height: 6.4rem; margin: 0 0 1.2rem; color: var(--house-ivory-muted); font-size: 0.93rem; }
.contact-department a { color: var(--house-gold); font: 700 0.72rem/1.4 var(--house-ui); overflow-wrap: anywhere; text-decoration: none; }
.contact-department a:hover { color: var(--house-gold-bright); }
.contact-signals { padding: 0 0 clamp(2rem, 5vw, 4rem); text-align: center; }
.contact-signals .contact-label { margin-bottom: 1.5rem; }
@media (max-width: 760px) {
  .contact-primary__paths, .contact-form__pair, .contact-departments__grid { grid-template-columns: 1fr; }
  .contact-department > p:not(.contact-department__number) { min-height: 0; }
  .contact-department__number { margin-bottom: 1rem; }
  .contact-form__ending { align-items: stretch; flex-direction: column; }
  .contact-form button { align-self: flex-start; }
}
@media (max-width: 640px) {
  .contact-opening .room-opening__title { font-size: 1.45rem; }
  .contact-form-section, .contact-departments { padding: 3.6rem 0; }
  .contact-path strong { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) { .contact-path, .contact-form button { transition: none; } }
