/* ============================================================
   Doorbin — connect
   ============================================================ */

.connect-page {
  min-height: 100vh;
  background: #0e0e0c;
  color: #ffffff;
  /* the full-bleed portrait is 100vw, which counts the scrollbar on desktop;
     clip the few pixels it overhangs rather than scroll sideways */
  overflow-x: clip;
}

/* the portrait starts right under the fixed bar; nav.js measures its height */
.connect {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--nav-h, 92px) 34px 100px;
}

/* full-bleed team portrait, at the photograph's own proportion so the whole
   group stays in frame on every screen */
.connect__portrait {
  width: 100vw;
  position: relative;
  left: 50%;
  margin: 0 0 1em -50vw;
  overflow: hidden;
  aspect-ratio: 1536 / 776;
  background: var(--ground-frame);
}
.connect__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.connect__about {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.connect__eyebrow {
  margin: 46px 0 0;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #ffffff;
}
.connect__body {
  margin: 24px 0 0;
  font-family: 'Josefin Slab', serif;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.6;
  color: #ffffff;
  text-wrap: pretty;
}
.connect__body + .connect__body { margin-top: 22px; }

.connect__talk {
  max-width: 640px;
  margin: 0 auto;
  padding: 90px 0 0;
  text-align: center;
}
.connect__title {
  margin: 0;
  font-family: 'Josefin Slab', serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0.01em;
}
.connect__intro {
  margin: 18px auto 0;
  max-width: 42ch;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  text-wrap: pretty;
}

/* ---------------- form ---------------- */
.form {
  margin: 42px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.form__row { display: flex; gap: 18px; }
.form__field {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  border: 1px solid rgba(232, 229, 221, 0.2);
  border-radius: 4px;
  background: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  transition: border-color 0.3s ease;
}
.form__field::placeholder { color: rgba(255, 255, 255, 0.55); }
.form__field:focus { outline: none; border-color: rgba(232, 229, 221, 0.5); }
textarea.form__field { resize: vertical; }

.form__status {
  margin: 0;
  min-height: 1.4em;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: inherit;
}
.form__status.is-error { color: #e0a58a; }
html[data-theme="light"] .form__status.is-error { color: #9a3b1c; }
.form__submit[disabled] { opacity: 0.6; cursor: default; }

.form__submit {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 4px 0 0;
  padding: 15px 34px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #0e0e0c;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}
.form__submit:hover { opacity: 0.82; }
.form__submit svg { width: 15px; height: 11px; display: block; }

/* ---------------- call ---------------- */
.call {
  margin: 52px 0 0;
  padding: 34px 0 0;
  border-top: 1px solid rgba(232, 229, 221, 0.14);
}
.call__label {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
}
.call__number {
  display: inline-block;
  margin: 14px 0 0;
  font-family: 'Josefin Slab', serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  color: #ffffff;
  transition: color 0.3s ease;
}
.call__number:hover { color: var(--accent); }
.call__hours {
  margin: 12px 0 0;
  font-weight: 300;
  font-size: 14px;
  color: #ffffff;
}

@media (max-width: 900px) {
  .form__row { flex-direction: column; align-items: stretch; }
}
