.bbb-contact {
  --bbb-ink: #f6f6f6;
  --bbb-muted: rgba(246, 246, 246, .72);
  --bbb-border: rgba(255, 255, 255, .12);
  --bbb-pink: #ff8ac7;
  --bbb-black: #0b0b0b;
  color: var(--bbb-ink);
  background: #000;
  padding: 24px 20px 0;
  font-family: "Libre Baskerville", Georgia, serif;
}

.bbb-contact__wrap {
  position: relative;
  max-width: var(--page-width, 1200px);
  margin: 0 auto;
  border: 1px solid var(--bbb-border);
  border-radius: 16px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, .03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  overflow: hidden;
}

.bbb-contact__wrap::before {
  content: "";
  position: absolute;
  inset: -40px;
  pointer-events: none;
  background:
    radial-gradient(760px 360px at 20% 0%, rgba(255, 255, 255, .08), transparent 65%),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, .03), rgba(255, 255, 255, .03) 1px, transparent 1px, transparent 26px);
  opacity: .55;
}

.bbb-contact__wrap > * {
  position: relative;
  z-index: 1;
}

.bbb-contact__toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.bbb-contact__toggleCopy {
  display: block;
  min-width: 0;
}

.bbb-contact__chev {
  display: block;
  flex: 0 0 auto;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1;
  color: rgba(246, 246, 246, .9);
  transition: transform .25s ease;
}

.bbb-contact__toggle[aria-expanded="true"] .bbb-contact__chev {
  transform: rotate(180deg);
}

.bbb-contact__kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 246, 246, .62);
}

.bbb-contact__title {
  margin: 10px 0 0;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: .25em;
  flex-wrap: wrap;
}

.bbb-contact__script {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 26px;
  opacity: .92;
}

.bbb-contact__main {
  font-size: 20px;
  font-weight: 400;
  text-transform: lowercase;
  opacity: .96;
}

.bbb-contact__sub {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--bbb-muted);
  max-width: 62ch;
}

.bbb-contact__panel {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height .32s ease, opacity .25s ease, margin-top .25s ease, visibility 0s linear .32s;
}

.bbb-contact__toggle[aria-expanded="true"] + .bbb-contact__panel {
  max-height: 1200px;
  opacity: 1;
  margin-top: 12px;
  visibility: visible;
  transition: max-height .32s ease, opacity .25s ease, margin-top .25s ease;
}

.bbb-contact__email {
  margin: 10px 0 14px;
  font-size: 12px;
  color: var(--bbb-muted);
}

.bbb-contact__emailLabel {
  margin-right: 8px;
  letter-spacing: .08em;
  text-transform: lowercase;
}

.bbb-contact__emailLink {
  color: var(--bbb-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .35);
}

.bbb-contact__notice {
  border-radius: 14px;
  padding: 12px;
  margin: 0 0 12px;
  border: 1px solid var(--bbb-border);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  line-height: 1.5;
}

.bbb-contact__notice--success {
  border-color: rgba(255, 138, 199, .35);
  background: rgba(255, 138, 199, .10);
}

.bbb-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bbb-field {
  margin: 12px 0 0;
}

.bbb-field__label {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 246, 246, .68);
  margin: 0 0 8px;
}

.bbb-field__input,
.bbb-field__textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(11, 11, 11, .38);
  color: var(--bbb-ink);
  padding: 12px;
  font-size: 12px;
  outline: none;
}

.bbb-field__textarea {
  min-height: 120px;
  resize: vertical;
}

.bbb-field__input:focus,
.bbb-field__textarea:focus {
  border-color: rgba(255, 138, 199, .55);
  box-shadow: 0 0 0 3px rgba(255, 138, 199, .18);
  background: rgba(11, 11, 11, .46);
}

.bbb-contact__helper,
.bbb-contact__alt {
  margin: 10px 2px 0;
  font-size: 11px;
  color: rgba(246, 246, 246, .62);
  line-height: 1.5;
}

.bbb-contact__actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bbb-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(255, 138, 199, .92);
  background: rgba(255, 138, 199, .92);
  color: var(--bbb-black);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .45);
}

@media (max-width: 740px) {
  .bbb-contact {
    padding: 18px 14px 0;
  }

  .bbb-contact__grid {
    grid-template-columns: 1fr;
  }

  .bbb-field__input,
  .bbb-field__textarea {
    font-size: 16px;
  }
}
