/* ── Contact (redesigned 2026-11-10; owner: "mobile first and more visually appealing") ──
   One card. The heading, the address and the reply time sit on a lavender panel; the form sits under it
   on phones and beside it from 1020px. The confirmation names the address we will write to. */
.pl-landing .lp-contact {
  padding: var(--sect) 0;
  background: linear-gradient(180deg, transparent 0, var(--surface) clamp(56px, 7vw, 110px), var(--surface) 100%);
}

.pl-landing .lp-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  overflow: hidden;
}

/* the panel: heading, one line, then the address and the reply time */
.pl-landing .lp-contact-info {
  display: flex;
  flex-direction: column;
  background: var(--lavender);
  padding: clamp(24px, 6.4vw, 34px) clamp(18px, 5.4vw, 32px) clamp(20px, 5.4vw, 28px);
}
.pl-landing .lp-contact-info .h-section { margin: 0; }
.pl-landing .lp-contact-info .sub { margin: 10px 0 0; max-width: 40ch; font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.pl-landing .lp-contact-reach { display: grid; gap: 12px; margin-top: 22px; }

.pl-landing .lp-mail {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding-right: 6px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
}
.pl-landing .lp-mail-link {
  flex: 1;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px 0 16px;
  border-radius: 15px 0 0 15px;
  font-weight: 700;
  font-size: clamp(14px, 4.4vw, 16px);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.pl-landing .lp-mail-link span { overflow: hidden; text-overflow: ellipsis; }
.pl-landing .lp-mail-link svg { flex: none; color: var(--primary-ink); }
.pl-landing .lp-mail-link:hover { color: var(--primary-ink); }
.pl-landing .lp-mail-copy {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.pl-landing .lp-mail-copy:hover { background: var(--primary-soft); color: var(--primary-ink); }
.pl-landing .lp-mail-copy .ic-done { display: none; }
.pl-landing .lp-mail-copy.is-done { color: #1A8A4A; }
.pl-landing[data-theme="dark"] .lp-mail-copy.is-done { color: #4CCB85; }
.pl-landing .lp-mail-copy.is-done .ic-copy { display: none; }
.pl-landing .lp-mail-copy.is-done .ic-done { display: block; }
.pl-landing .lp-mail-tip {
  position: absolute;
  right: 4px;
  bottom: calc(100% + 8px);
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.pl-landing .lp-mail-tip:empty { padding: 0; }
.pl-landing .lp-mail-tip.is-on { opacity: 1; transform: none; }

.pl-landing .lp-contact-reply { display: flex; align-items: center; gap: 8px; margin: 0; padding-left: 4px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.pl-landing .lp-contact-reply svg { flex: none; color: var(--primary-ink); }

/* the form */
.pl-landing .lp-contact-form-col { padding: clamp(22px, 5.8vw, 32px) clamp(18px, 5.4vw, 32px) clamp(24px, 6.2vw, 34px); }
.pl-landing .lp-contact-form { display: flex; flex-direction: column; gap: 16px; }
.pl-landing .lp-contact-form[hidden] { display: none; }

.pl-landing .form-row-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pl-landing .lp-field { display: flex; flex-direction: column; min-width: 0; }
.pl-landing .lp-field-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 7px; font: 700 15px/1.3 var(--font-display); color: var(--ink); }
.pl-landing .lp-field-label i { font-style: normal; color: #C2363B; }
.pl-landing[data-theme="dark"] .lp-field-label i { color: #FF8A8F; }
.pl-landing .lp-field-label small { font: 500 14px/1.3 var(--font-body); color: var(--muted-2); }
.pl-landing .lp-field input,
.pl-landing .lp-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--rule);
  border-radius: var(--r-input);
  background: var(--paper);
  color: var(--ink);
  caret-color: var(--primary);
  font: 500 16px/1.45 var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pl-landing .lp-field input { height: 50px; padding: 0 16px; }
.pl-landing .lp-field textarea { display: block; min-height: 124px; max-height: 300px; padding: 13px 16px; resize: vertical; }
.pl-landing .lp-field input::placeholder,
.pl-landing .lp-field textarea::placeholder { color: var(--muted-2); opacity: 1; }
.pl-landing .lp-field input:hover,
.pl-landing .lp-field textarea:hover { border-color: var(--muted-2); }
.pl-landing .lp-field input:focus,
.pl-landing .lp-field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

.pl-landing .lp-contact-form .lp-send { width: 100%; height: 56px; min-height: 56px; margin-top: 6px; padding: 0 24px; justify-content: center; gap: 10px; font-size: 16px; }
.pl-landing .lp-contact-form .lp-send svg { flex: none; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.pl-landing .lp-contact-form .lp-send:hover { transform: translateY(-1px); }
.pl-landing .lp-contact-form .lp-send:hover svg { transform: translateX(3px); }
.pl-landing .lp-contact-form .lp-send:disabled { cursor: progress; }
.pl-landing .lp-contact-form .lp-send[aria-busy="true"] svg { display: none; }
.pl-landing .form-gdpr { margin: 0; text-align: center; font-size: 14px; line-height: 1.55; color: var(--muted-2); text-wrap: pretty; }
.pl-landing .form-gdpr a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pl-landing .form-gdpr a:hover { color: var(--primary-ink); }

/* inline field errors: text, not colour alone */
.pl-landing .form-err { display: block; margin-top: 7px; font-size: 14px; font-weight: 600; line-height: 1.4; color: #C2363B; }
.pl-landing[data-theme="dark"] .form-err { color: #FF8A8F; }
.pl-landing .form-err[hidden] { display: none; } /* display:block above would otherwise beat the hidden attribute */
.pl-landing .lp-field [aria-invalid="true"] { border-color: #C2363B; }
.pl-landing[data-theme="dark"] .lp-field [aria-invalid="true"] { border-color: #FF8A8F; }
.pl-landing .lp-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgb(194 54 59 / .16); }

/* after sending */
.pl-landing .lp-contact-success { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 0 2px; }
.pl-landing .lp-contact-success[hidden] { display: none; }
.pl-landing .lp-sent-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px; border-radius: 50%; background: rgb(26 138 74 / .12); color: #1A8A4A; }
.pl-landing[data-theme="dark"] .lp-sent-mark { background: rgb(76 203 133 / .14); color: #4CCB85; }
.pl-landing .lp-contact-success h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.pl-landing .lp-contact-success h3:focus { outline: none; }
.pl-landing .lp-contact-success p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.pl-landing .lp-contact-success strong { color: var(--ink); font-weight: 700; }
.pl-landing .lp-again {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-ink);
  font: 700 16px/1.3 var(--font-body);
  text-align: left;
  cursor: pointer;
}
.pl-landing .lp-again svg { flex: none; }
.pl-landing .lp-again:hover span { text-decoration: underline; text-underline-offset: 4px; }
.pl-landing .lp-again svg { transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.pl-landing .lp-again:hover svg { transform: translateX(3px); }

@media (min-width: 640px) {
  .pl-landing .form-row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1020px) {
  .pl-landing .lp-contact-card { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
  .pl-landing .lp-contact-info { padding: 44px 40px 40px; }
  .pl-landing .lp-contact-info .sub { font-size: 18px; margin-top: 14px; }
  .pl-landing .lp-contact-reach { margin-top: auto; padding-top: 32px; }
  .pl-landing .lp-contact-form-col { padding: 40px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-landing .lp-mail-tip { transition: none; }
}
