/* ============================================================
   Contact page — Swiss Grid
   Squared inputs, hairline rules, uppercase micro labels,
   blue focus ring. Scoped to .v-swiss. No radius/shadow.
   ============================================================ */

/* ---- body layout: form (1–7) + office aside (9–12) --------- */
.v-swiss .sw-contact__body {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
  row-gap: 48px;
  align-items: start;
}
.v-swiss .sw-contact__form { grid-column: 1 / span 7; }
.v-swiss .sw-contact__aside { grid-column: 9 / span 4; }

.v-swiss .sw-contact__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- qualifier fieldset + selectable choice cards ---------- */
.v-swiss .sw-field-group {
  margin: 0 0 32px;
  padding: 0;
  border: 0;
}
.v-swiss .sw-field-group__legend {
  padding: 0;
  margin: 0 0 14px;
  font-size: var(--sw-fs-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sw-ink-50);
}
.v-swiss .sw-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sw-gap);
}
.v-swiss .sw-choice {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--sw-rule);
  background: var(--sw-paper);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.v-swiss .sw-choice:hover { border-color: var(--sw-ink); }
.v-swiss .sw-choice.is-selected {
  border-color: var(--sw-blue);
  border-top: 3px solid var(--sw-blue);
  background: var(--sw-blue-100);
}
.v-swiss .sw-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.v-swiss .sw-choice__body { display: flex; flex-direction: column; gap: 6px; }
.v-swiss .sw-choice__title {
  font-family: var(--sw-display);
  font-weight: 700;
  font-size: var(--sw-fs-body);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--sw-ink);
}
.v-swiss .sw-choice__note {
  font-size: var(--sw-fs-body);
  line-height: 1.45;
  color: var(--sw-ink-50);
}
.v-swiss .sw-choice input:focus-visible + .sw-choice__body {
  outline: 2px solid var(--sw-blue);
  outline-offset: 6px;
}

/* ---- field grid + inputs ----------------------------------- */
.v-swiss .sw-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sw-gap);
}
.v-swiss .sw-fields[hidden] { display: none; }
.v-swiss .sw-field { display: flex; flex-direction: column; gap: 8px; }
.v-swiss .sw-field--wide { grid-column: 1 / -1; }
.v-swiss .sw-field__label {
  font-size: var(--sw-fs-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sw-ink-50);
}
.v-swiss .sw-input {
  width: 100%;
  font-family: var(--sw-text);
  font-size: var(--sw-fs-body);
  line-height: 1.4;
  color: var(--sw-ink);
  background: #fff;
  border: 1px solid var(--sw-rule);
  border-radius: 0;
  padding: 12px 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-appearance: none;
  appearance: none;
}
.v-swiss .sw-input::placeholder { color: var(--sw-ink-50); }
.v-swiss .sw-input:hover { border-color: var(--sw-ink-70); }
.v-swiss .sw-input:focus {
  outline: none;
  border-color: var(--sw-blue);
  box-shadow: inset 0 0 0 1px var(--sw-blue);
}
.v-swiss .sw-textarea { resize: vertical; min-height: 132px; }
.v-swiss .sw-select {
  cursor: pointer;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--sw-ink) 50%),
    linear-gradient(135deg, var(--sw-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.v-swiss .sw-contact__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--sw-rule);
}
.v-swiss .sw-contact__actions .sw-btn:disabled { opacity: 0.6; cursor: progress; }
.v-swiss .sw-contact__status {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--sw-blue);
  font-size: var(--sw-fs-body);
  line-height: 1.45;
  color: var(--sw-ink);
}
.v-swiss .sw-contact__status.is-error { border-left-color: #B42318; }

/* honeypot: off-screen so bots fill it but people never see it */
.v-swiss .sw-contact__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- office locations aside -------------------------------- */
.v-swiss .sw-contact__aside-eyebrow { margin-bottom: 20px; }
.v-swiss .sw-contact__offices {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sw-rule-strong);
}
.v-swiss .sw-contact__office {
  display: flex;
  flex-direction: column;
  padding: 18px 0;
  border-bottom: 1px solid var(--sw-rule);
}
.v-swiss .sw-contact__office-city {
  font-size: var(--sw-fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sw-ink);
  margin-bottom: 6px;
}
.v-swiss .sw-contact__office-line {
  font-size: var(--sw-fs-body);
  line-height: 1.5;
  color: var(--sw-ink-50);
}

/* ---- responsive -------------------------------------------- */
@media (max-width: 1024px) {
  .v-swiss .sw-contact__form { grid-column: 1 / span 7; }
  .v-swiss .sw-contact__aside { grid-column: 9 / span 4; }
}

@media (max-width: 860px) {
  .v-swiss .sw-contact__form { grid-column: 1 / -1; }
  .v-swiss .sw-contact__aside { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .v-swiss .sw-choices { grid-template-columns: 1fr; }
  .v-swiss .sw-fields { grid-template-columns: 1fr; }
}
