.contact-main {
  --field-border: #adb1ae;
  --field-error: #8a3029;
  padding-inline: var(--content-edge);
  padding-block: clamp(52px, min(5.85vw, 10.2svh), 86px) clamp(67px, min(7.15vw, 12.4svh), 106px);
  background: var(--paper);
}
.contact-main [hidden] { display: none !important; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: first baseline;
  column-gap: clamp(52px, 7.8vw, 120px);
}
.contact-introduction { max-width: 440px; }
.contact-lead {
  max-width: 33ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(16px, 1.22vw, 18px);
  line-height: 1.5;
  letter-spacing: -.012em;
}
.contact-email {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.contact-email a, .contact-error a, .contact-noscript a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}
.contact-product { margin-top: clamp(32px, 3.8vw, 56px); }
.contact-product-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.96;
  padding: 6% 7%;
  background: #000;
}
.contact-product-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.contact-product figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  margin-top: 12px;
  font: 400 13px/1.5 var(--sans);
}
.contact-product figcaption span + span { color: var(--muted); }
.contact-product figcaption span + span::before { content: "·"; padding-right: 8px; }

.contact-form-column { min-width: 0; }
.contact-form-column fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.contact-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-field { min-width: 0; margin-bottom: clamp(22px, 1.8vw, 26px); }
.contact-field label, .contact-details summary {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font: 500 14px/1.4 var(--sans);
  letter-spacing: -.01em;
}
.contact-field label { margin-bottom: 8px; }
.contact-field label span, .contact-details summary span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.contact-field label .contact-required { margin-left: -4px; }
.contact-field :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--field-border);
  border-radius: 2px;
  background-color: var(--paper);
  color: var(--ink);
  font: 400 16px/1.45 var(--sans);
}
.contact-field :is(input, select, textarea):hover { border-color: var(--muted); }
.contact-field :is(input, select, textarea):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.contact-field :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
.contact-field select { padding-right: 24px; }
.contact-field select:invalid { color: var(--muted); }
.contact-field textarea { min-height: 112px; resize: vertical; }
.contact-field-hint, .contact-privacy, .contact-progress, .contact-reference {
  color: var(--muted);
  font: 400 13px/1.5 var(--sans);
}
.contact-field-hint { margin-top: 7px; }
.contact-field-error { display: block; color: var(--field-error); font-size: 13px; line-height: 1.5; margin-top: 6px; }
.contact-field [aria-invalid="true"] { border-color: var(--field-error); }

.contact-details { border-block: 1px solid var(--line); }
.contact-details summary {
  min-height: 48px;
  align-items: center;
  list-style: none;
  cursor: pointer;
}
.contact-details summary::-webkit-details-marker { display: none; }
.contact-details summary svg {
  width: 16px; height: 16px; margin-left: auto;
  fill: none; stroke: currentColor; stroke-width: 1.5;
}
.contact-details[open] summary svg { transform: rotate(180deg); }
.contact-details-fields { padding-top: 14px; }
.contact-details summary:focus-visible, .contact-newsletter input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact-newsletter {
  display: flex; align-items: center; gap: 10px;
  width: fit-content; min-height: 44px; margin-top: 10px;
  font-size: 13px; line-height: 1.5; cursor: pointer;
}
.contact-newsletter input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--ink); }
.contact-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(16px, 1.5vw, 22px); }
.contact-submit {
  display: inline-flex;
  align-items: center; justify-content: center; gap: 16px;
  min-height: 46px; padding: 12px 20px; border-radius: 2px;
  background: var(--ink); color: var(--paper); font: 500 14px/1.4 var(--sans);
}
.contact-submit:hover { background: #343835; }
.contact-submit:disabled { opacity: .6; cursor: wait; }
.contact-privacy { max-width: 34ch; }
.contact-progress:not(:empty), .contact-noscript { margin-top: 14px; }
.contact-error { margin-bottom: 22px; padding: 14px 16px; border-inline-start: 2px solid var(--field-error); background: #f8f3f1; font-size: 14px; line-height: 1.55; }
.contact-error a { display: inline-block; margin-top: 6px; }
.contact-form-column :is(form, .contact-error, .contact-success):focus { outline: none; }
.contact-form-column :is(form, .contact-error, .contact-success):focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.contact-success h2 { font: 400 var(--section-size)/1.18 var(--serif); letter-spacing: -.025em; }
.contact-success > p { max-width: 37ch; margin-top: 14px; color: var(--muted); line-height: 1.55; }
.contact-success .contact-reference { margin-top: 9px; overflow-wrap: anywhere; }
.contact-back { margin-top: 18px; }
.contact-another {
  display: block; min-height: 44px;
  font: 400 14px/1.5 var(--sans);
  color: var(--muted); text-decoration: underline; text-underline-offset: .2em;
}
.contact-noscript { font-size: 14px; line-height: 1.55; }
.contact-sr-only,.contact-trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact-trap { pointer-events: none; }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 36px; }
  .contact-field-pair { gap: 14px; }
}
@media (max-width: 760px) {
  .contact-main { padding-block: 42px 72px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 34px; }
  .contact-introduction { max-width: none; }
  .contact-lead { margin-top: 12px; }
  .contact-email { margin-top: 8px; }
  .contact-product { display: none; }
}
@media (max-width: 520px) {
  .contact-field-pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .contact-field { margin-bottom: 17px; }
  .contact-submit-row { align-items: start; flex-direction: column; gap: 10px; }
  .contact-privacy { max-width: none; }
}
