/* Contact — light panel with underline form — and the site footer */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0 clamp(110px, 14vw, 190px);
}

.contact__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

/* --- left ---------------------------------------------------------------- */

.contact__title {
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}

.contact__email {
  display: inline-block;
  margin-top: 26px;
  font-size: 26px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: opacity 0.2s ease;
}

.contact__email:hover {
  opacity: 0.65;
}

.contact__meta-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}

.contact__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 14px;
  background: rgba(10, 10, 10, 0.05);
  border: 1px solid var(--hairline-ink);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 600;
  color: #4a5452;
  letter-spacing: 0.03em;
}

/* --- form ---------------------------------------------------------------- */

.contact__form {
  display: grid;
  gap: 12px;
}

.contact__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Labels are for assistive tech; the visual cue is the placeholder, as designed. */
.contact__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 14px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--hairline-ink);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, padding 0.25s ease;
}

.contact__field textarea {
  resize: vertical;
  min-height: 92px;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: var(--ink-muted);
}

.contact__field input:focus,
.contact__field textarea:focus {
  border-bottom-color: var(--send-blue);
  padding-left: 8px;
}

.contact__send {
  margin-top: 22px;
  width: 100%;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--send-blue);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(59, 59, 232, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact__send:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(59, 59, 232, 0.5);
  background: #2a2ad8;
}

.contact__send-icon {
  transition: transform 0.25s ease;
}

.contact__send:hover .contact__send-icon {
  transform: translateX(4px);
}

.contact__status {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--send-blue);
}

/* --- decorations --------------------------------------------------------- */

.contact__deco--bolt {
  top: 4%;
  right: 5%;
  width: 130px;
}

.contact__deco--knot {
  top: 46%;
  left: -46px;
  width: 170px;
}

/* --- footer -------------------------------------------------------------- */

.site-foot {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 90px 0 0;
  background: var(--black);
  border-radius: var(--panel-radius) var(--panel-radius) 0 0;
  overflow: hidden;
}

.site-foot__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 70px;
}

.site-foot__brand {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.08;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

.site-foot__tagline {
  margin: 14px 0 0;
  font-size: 14px;
  color: #9da6a4;
  line-height: 1.6;
  max-width: 32ch;
}

.site-foot__head {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}

.site-foot__avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #23e878 !important;
  font-weight: 600;
  font-size: 12px;
  margin-top: 4px;
}

.site-foot__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: var(--white-muted);
}

.site-foot__list a {
  transition: color 0.2s ease;
}

.site-foot__list a:hover {
  color: var(--white);
}

/* --- footer shape strip -------------------------------------------------- */

.site-foot__strip {
  padding-bottom: 0;
}

.site-foot__shape {
  width: 150px;
  height: 150px;
  margin-right: 6px;
  flex: none;
}

.site-foot__shape--cycling {
  display: block;
  color: #ff20c0;
  animation: shape-cycle 4s ease-in-out infinite alternate;
}

.site-foot__shape--cycling svg {
  width: 100%;
  height: 100%;
}

@keyframes shape-cycle {
  from {
    color: #ff20c0;
  }
  to {
    color: #c8ff3d;
  }
}

/* --- responsive ---------------------------------------------------------- */

@media (max-width: 1099px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .site-foot__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-foot__brand {
    grid-column: 1 / -1;
    margin-bottom: 10px;
  }

  .contact__deco--bolt {
    width: 96px;
  }

  .contact__deco--knot {
    width: 120px;
  }
}

@media (max-width: 719px) {
  .contact {
    padding: 60px 0 90px;
  }

  .contact__inner {
    gap: 32px;
  }

  .contact__pair {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact__email {
    font-size: 17px;
    word-break: break-all;
  }

  .contact__send {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }

  .site-foot {
    padding-top: 60px;
  }

  .site-foot__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 40px;
  }

  .site-foot__shape {
    width: 90px;
    height: 90px;
  }

  .contact__deco--bolt {
    width: 60px;
    right: 2%;
  }

  .contact__deco--knot {
    width: 75px;
    left: -20px;
    top: 75%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quotes__emoji,
  .site-foot__shape--cycling {
    animation: none !important;
  }
}
